@charset "utf-8";
/*
  CSS のみの多段階階層ドロップダウン&ハンバーガーメニュー Ver. 2.01
  Copyright Rectus Inc, 2020
  https://www.rectus.co.jp/
 */

/* 基本CSS */
ul,
div,
img {
  margin: 0px;
  padding: 0px;
  list-style: none;
  font-weight: normal;
}

/* 本文をメニューの高さ分下げる */
#main {
  margin-top: 60px;
}

#navi {
  background-color: #0A519F;
  position: fixed;
  top: 0;
  left: 0;
  height: 60px;
  width: 100%;
  z-index: 9999;
  color: #FFF;
//	  opacity: 0.9;
}
#navi a {
  color: #FFF;
}

/* チェックボックスを非表示 */
#navi input {
  display: none;
}
/* 左上ロゴ */
.menu-left {
  float: left;
  line-height: 60px;
}

.menu-left img {
  vertical-align: middle;
  margin-left: 10px;
  max-height: 45px;
}
/* 上部メニュー */
#menu {
  float: right;
  margin-right: 10px;
}
#menu li {
  position: relative;
  white-space: nowrap;
}
#menu li a, #menu li a:hover {
  display: block;
  text-decoration: none;
}
#menu > li {
  float: left;
  margin: 0 0px;
  line-height: 60px;
  font-size: 12px;
  font-weight: normal;
}
@media (max-width: 1180px) and (min-width: 769px) {
.menu-left {
  width: 10%;
}

#menu > li {
  float: left;
  margin: 0 0px;
  line-height: 60px;
  font-size: 10px;
  font-weight: normal;
  width: auto;
}
.link-underline a {
    padding: 0 0.1em;
    // background: linear-gradient(currentcolor, currentcolor) 1em calc(100% - 1em) / calc(100% - 2em) 1px no-repeat, linear-gradient(lightblue, lightblue) left top / 100% 0 no-repeat;
    background: linear-gradient(currentcolor, currentcolor) 1em calc(10% - 1em) / calc(100% - 2em) 1px no-repeat, linear-gradient(#0A519F, lightblue) left top / 100% 0 no-repeat;
    transition: background-size .4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#tel { 
	width: 200px;
	float: right;
}
#tel img {
	width: 100%;
	padding: 10px;
}
}
/* パソコンでは V を非表示 */
#menu > li .pd i{
  display: none;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}
.link-underline a {
	padding: 0 2em;
//	background: linear-gradient(currentcolor, currentcolor) 1em calc(100% - 1em) / calc(100% - 2em) 1px no-repeat,
		linear-gradient(lightblue, lightblue) left top / 100% 0 no-repeat;
	background: linear-gradient(currentcolor, currentcolor) 1em calc(10% - 1em) / calc(100% - 2em) 1px no-repeat,
		linear-gradient(#0A519F, lightblue) left top / 100% 0 no-repeat;
	transition: background-size .4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.link-underline a:hover {
	background-position: calc(100% - 1em) calc(100% - 1em), left bottom;
	background-size: 0 1px, 100% 100%;
}

/* スマホ用 @media screen and (max-width: 620px) {　→768に変更*/

@media screen and (max-width: 768px) {
  /* 基本非表示 */
  #menu {
    display: none;
  }
  #menu li {
    height: auto;
    width: 100%;
    padding: 0px 20px;
    border-bottom: 1px solid #DDD;
    white-space: nowrap;
  }
  #menu > li {
    margin-right: -20px;
  }
  /* V を表示 */
  #menu > li .pd ,#menu > li .pd i{
    display: inline-block;
    width: 100%;
  }
  #menu li a,#menu li a:hover {
    display: inline-block;
  }
  #menu li:first-child {
    border-top: 1px solid #DDD;
  }
  #menu li i {
    padding: 0px 6px;
  }
  /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
    position: fixed;
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;

  }
.link-underline a {
	padding: 0 0em;
	background: none;
	transition: none;
}
.link-underline a:hover {
	background-position: center;
	background-size: nomal;
}


}

/* ドロップダウンメニュー */
#menu li ul {
  position: absolute;
}
/* 子メニュー */
#menu > li > ul li {
  font-size: 12px;
  display: none;
  padding: 0px 0px;
  background-color: #84A8CF;
  border-left: 1px solid #0A519F;
  border-right: 1px solid #0A519F;
  border-bottom: 1px solid #fff;
  opacity: 0.8;
}
#menu li ul li:first-child {
  border-top: 1px solid #0A519F;
}
#menu li ul li:last-child {
  border-bottom: 1px solid #0A519F;
}
#menu li ul li ul {
  top: -1px;
  left: 100%;
}
#menu li ul li ul li ul,
#menu li:nth-child(n+3) ul li ul {
  left: inherit;
  right: 100%;
}
#menu > li > ul {
//  margin-left: -40px;
  margin-left: -1px;
  width: auto;
}

/* パソコン用 @media screen and (min-width: 620px) {　→769に変更　*/
@media screen and (min-width: 769px) {
  #menu li:hover {
//    background: #EEE;
//	text-decoration: underline;
  }
  #menu > li:hover > ul > li,
  #menu li ul li:hover > ul > li {
    display: block;
  }
  /* 階層がある場合の誘導の印 */
  #menu li ul li ul:before,
  #menu li ul li ul li ul:before,
  #menu li:nth-child(n+3) ul li ul:before {
    position: absolute;
    top: 28px;
    content: "";
    border: 5px solid transparent;
    display: block;
  }
  /* 通常タイプ */
  #menu li ul li ul:before {
    left: -10px;
    border-left-color: #666;
  }
  /* 右側タイプ */
  #menu li ul li ul li ul:before,
  #menu li:nth-child(n+3) ul li ul:before {
    right: -10px;
    border-right-color: #666;
  }
}
/* スマホ用 */
@media screen and (max-width: 768px) {
  /* ハンバーガーメニューがクリックされた時 */
  #menu-navibtn:checked ~ * #menu {
    display: block;
  }
  #menu-navibtn:checked ~ * #menu > li {
    max-height: inherit;
    overflow-y: visible;
  }
  #menu > li ul {
    line-height: 50px;
  }
  #menu > li > label:hover {
    cursor: pointer;
    cursor: hand;
  }
  #menu li ul {
    position: static;
  }
  /* 子メニュー */
  #menu > li > ul {
    margin-left: initial;
    position: relative;
  }
  #menu li ul li:first-child {
    border-top: 1px solid #DDD;
  }
  #menu ul li:last-child {
    border-bottom: none;
  }
  #menu > li > ul li {
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
  }
  #menu li ul li ul {
    top: inherit;
    left: 0;
  }
  #menu li ul li:last-child {
    border-bottom: none;
  }
  /* 子メニューがクリックされた時 */
  #menu input[type="checkbox"]:checked ~ label ~ ul > li {
    max-height: inherit;
    overflow-y: visible;
	visibility: visible;
    display: block;
	padding-left: 20px;
  }
  .angletoggle::before {
    content: "\f107";
  }
  #navi input[type="checkbox"]:checked ~ label .pd .angletoggle:before {
    content: "\f106";
  }

/* スマホで幅が変わるのを防ぎたい*/

.anileft, .aniright, anislow {
  overflow: hidden;
}

}

/* ハンバーガー */

#navi #navibtn {
  display: none;
}
@media screen and (max-width: 768px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #fff;
  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #0A519F;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:19px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:18px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
}

  /* メインイメージに乗せるテキスト用 */
  .mainimg {/*親div*/
  position: relative;/*相対配置*/
  }
.mainimg p {
  position: absolute;/*絶対配置*/
  color: white;/*文字は白に*/
  font-size: 3em;/*サイズ3倍*/
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  z-index: 9999;
  color: rgba(255, 255, 255, 0.7);
 }


/*ローディングアニメーション*/

/* ローディング画面 */
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.spinner {
  width: 100px;
  height: 100px;
  margin: 200px auto;
  background-color: #00306d;
  border-radius: 100%;
  animation: sk-scaleout 2.0s infinite ease-in-out;
}
/* ローディングアニメーション */
@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  } 100% {
    transform: scale(1.0);
    opacity: 0;
  }
}
 
/* コンテンツ部分の装飾 
.gallery {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}*/

.loaded {
//  opacity: 0;
  visibility: hidden;
}


/*
.gallery {
  gap: .5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}*/
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

  .baguetteBoxOne {
    margin-bottom: 10px;
	text-align: center;
  }

  .gallery_col4 {
    width: 24%;
    display: inline-table;
    font-weight: 200;
    margin-bottom: 20px;
    margin-right: 1px;
    margin-left: 1px;
  }

@media screen and (max-width: 768px) {
.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

  .gallery_col4 {
    width: 45%;
  }

}




