@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&family=Kiwi+Maru&family=Sacramento&display=swap');

/*
font-family: 'Sacramento', cursive;
font-family: 'Comfortaa', cursive;
font-family: 'Kiwi Maru', serif;
*/

/*
        poster：動画ファイルが利用できない環境で代替表示される画像
        webkit-playsinline：iOS 9までのSafari用インライン再生指定
        playsinline：iOS 10以降のSafari用インライン再生指定
        muted：音声をミュートさせる
        autoplay：動画を自動再生させる
        loop：動画をループさせる
        controls：コントロールバーを表示する
*/

/* レイアウト
____________________________________*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Kiwi Maru', serif;
}

img {
  display: block;
  border-style: none;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

figure img {
  width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-block-start: 0em;
  margin-block-end: 0em;
}


/*========= 背景動画設定のCSS ===============*/


/* header設定 */

#header {
  position: relative;
  /*h1の中央寄せ配置の起点とするためのrelative*/
  height: 100vh;
  /*高さを全画面にあわせる*/
}

#video-area {
  position: fixed;
  z-index: -1;
  /*最背面に設定*/
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

#video {
  /*天地中央配置*/
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*縦横幅指定*/
  width: 177.77777778vh;
  /* 16:9 の幅→16 ÷ 9＝ 177.77% */
  height: 56.25vw;
  /* 16:9の幅 → 9 ÷ 16 = 56.25% */
  min-height: 100%;
  min-width: 100%;
}


/*見出し設定*/

h1 {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-family: 'Sacramento', cursive;
  font-size: 3rem;
  text-shadow: 0 0 15px #666;
  text-transform: capitalize;
}

h1 span {
  display: block;
}

p {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  line-height: 1.8;
}

.mv-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color: #fff;
  text-shadow: 0 0 15px #666;
  text-align: center;
}

.message {
  font-size: 1rem;
}

#sns-icon {
  position: absolute;
  top: 45%;
  left: 20px;
}

#sns-icon img {
  width: 20px;
  filter: invert(92%) sepia(84%) saturate(228%) hue-rotate(167deg) brightness(113%) contrast(100%);
}

#sns-icon li {
  margin: 0 0 15px 0;
}

h2 {
  color: #e3bab3;
  font-family: 'Sacramento', cursive;
  font-size: 4rem;
  text-align: center;
  padding: 50px 0;
}

#area-2 h3 {
  color: #fff;
  font-size: 1.1rem;
  padding: 10px 0;
}

#area-4 h3 {
  color: #333;
  font-size: 1.1rem;
}


/*========= レイアウトのためのCSS ===============*/

#container {
  background: #fff;
}

#area-1, #area-2, #area-3, #area-4 {
  padding: 30px 0 80px 0;
}

section:nth-child(2n) {
  background: #f3f3f3;
}

.copyright {
  padding: 100px 0 0 0;
  text-align: center;
  font-family: 'Comfortaa', cursive;
  color: #bbb;
}

.footer {
  color: #808080;
  background: #fff;
  text-align: center;
  padding: 40px;
}

.footer a {
  color: #808080;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: none;
}

.footer .footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer .footer-menu li {
  margin: 0;
  padding: 0 20px;
  border-right: 1px #808080 solid;
}

.footer .footer-menu li:last-child {
  border: none;
}

.footer .copyright {
  margin: 0;
  padding: 20px 0 0 0;
}

@media only screen and (max-width: 599px) {
  .footer .footer-menu {
    justify-content: flex-start;
  }
  .footer .footer-menu li {
    width: 50%;
    padding: 0;
    box-sizing: border-box;
    border: none;
  }
  .footer .footer-menu li:nth-child(odd) {
    border-right: 1px #808080 solid;
  }
}

.footer-menu-sns {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-menu-sns li {
  margin: 0;
  padding: 50px 20px 0 0;
  width: 50px;
}


/*==================================================
共通　横並びのための設定
===================================*/

.gnavi {
  display: flex;
  flex-wrap: wrap;
  /*スマホ表示折り返し用なのでPCのみなら不要*/
  margin: 0 0 50px 0;
  list-style: none;
}

.gnavi li a {
  display: block;
  padding: 10px 30px;
  text-decoration: none;
  color: #333;
}

.gnavi li {
  margin-bottom: 20px;
}


/*==================================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
}

.gnavi li.current a, .gnavi li a:hover {
  color: #0481A2;
}

.gnavi li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background: #0481A2;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1);
  /*X方向0、Y方向1*/
  transform-origin: center top;
  /*上部中央基点*/
}


/*現在地とhoverの設定*/

.gnavi li.current a::after, .gnavi li a:hover::after {
  transform: scale(1, 1);
  /*X方向にスケール拡大*/
}

.grid {
  display: grid;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  grid-template-columns: repeat(auto-fit, 17rem);
  gap: 2rem;
}

.item {
  position: relative;
  height: 19rem;
  background-color: #fff;
  overflow-y: hidden;
  box-shadow: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 0.1);
}

.item h3 {
  margin: 0;
  display: block;
  color: #fff;
  font-family: 'Kiwi Maru', serif;
  font-size: 1rem;
  background-color: #e3bab3;
  padding: 1rem;
  transform: translate3d(0, -100%, 0);
  transition: transform 300ms;
}

.item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.item a:hover~.item__overlay, .item a:focus~.item__overlay {
  transform: translate3d(0, 0, 0);
}

.item a:hover~.item__overlay h3, .item a:focus~.item__overlay h3 {
  transform: translate3d(0, 0, 0);
}

.item a:hover~.item__overlay .item__body, .item a:focus~.item__overlay .item__body {
  opacity: 1;
}

.item__overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  transition: transform 300ms;
  background-color: #F4F5EF;
  transform: translate3d(0, 100%, 0);
}

.item__body {
  flex-grow: 1;
  padding: 1rem;
  opacity: 0;
  transition: opacity 500ms 100ms;
}

.item__body p {
  margin: 0;
}

.flex-container {
  max-width: 60rem;
  margin: 0 auto 5rem auto;
  filter: drop-shadow(0.4rem 0.4rem 0.45rem rgba(0, 0, 30, 0.5));
}

.col {
  position: relative;
}

.col--img {
  flex: 0 0 33.333%;
  align-self: flex-start;
  background: white;
}

.col--text {
  background-color: #36384c;
  color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (min-width: 40em) {
  #area-2 h3 {
    font-size: 1.1rem;
  }
  .flex-container {
    display: flex;
  }
  .col--text {
    padding: 2rem 4rem;
    margin-top: 2rem;
    margin-left: -2rem;
    z-index: -1;
  }
}

.link {
  margin-top: auto;
  color: white;
  font-weight: 700;
  color: #ffc663;
}


/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0;
  /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background: rgba(255, 255, 255, 0.7);
  /*動き*/
  transition: all 0.3s;
}


/*アクティブクラスがついたら透過なしにして最前面へ*/

#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}


/*ナビゲーションの縦スクロール*/

#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}


/*ナビゲーション*/

#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav.panelactive ul {
  display: block;
}


/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #333;
  font-family: 'Comfortaa', cursive;
  font-size: 3rem;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}


/* 横幅が768px以下になった際の指定 */

@media only screen and (max-width: 768px) {
  /* クリックしたら背景が全面に広がる
        ____________________________________*/
  #g-nav li a {
    font-size: 2rem;
  }
}


/*========= ボタンのためのCSS ===============*/

.openbtn {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}


/*×に変化*/

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}


/*==================================================
スライダーのためのcss
===================================*/

.slider-box {
  margin: 0 0 10px 0;
  background: #fff;
}

.menu-area {
  padding: 20px;
  background: #fff;
  box-shadow: 5px 0 10px #ccc;
}

#area-3 h4 {
  color: #333;
  font-size: 1.1rem;
  font-weight: bold;
}

#area-3 p {
  padding: 20px 0 0 0;
  font-size: 0.9rem;
}

.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}

.slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}


/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
  margin: 0 10px;
}


/*矢印の設定*/


/*戻る、次へ矢印の位置*/

.slick-prev, .slick-next {
  position: absolute;
  /*絶対配置にする*/
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}


/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  /*ドットボタンのサイズ*/
  height: 8px;
  /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc;
  /*ドットボタンの色*/
}

.slick-dots .slick-active button {
  background: #333;
  /*ドットボタンの現在地表示の色*/
}


/*==================================================
アコーディオンのためのcss
===================================*/


/*アコーディオン全体*/

.accordion-area {
  list-style: none;
  width: 96%;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-area li {
  margin: 10px 0;
}

.accordion-area section {
  border: 1px solid #ccc;
}


/*アコーディオンタイトル*/

.title {
  position: relative;
  /*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  font-size: 1rem;
  font-weight: normal;
  padding: 3% 3% 3% 50px;
  transition: all .5s ease;
}


/*アイコンの＋と×*/

.title::before, .title::after {
  position: absolute;
  content: '';
  width: 15px;
  height: 2px;
  background-color: #333;
}

.title::before {
  top: 48%;
  left: 15px;
  transform: rotate(0deg);
}

.title::after {
  top: 48%;
  left: 15px;
  transform: rotate(90deg);
}


/*　closeというクラスがついたら形状変化　*/

.title.close::before {
  transform: rotate(45deg);
}

.title.close::after {
  transform: rotate(-45deg);
}


/*アコーディオンで現れるエリア*/

.box {
  display: none;
  /*はじめは非表示*/
  background: #f3f3f3;
  margin: 0 3% 3% 3%;
  padding: 3%;
}


/*========= ページトップのためのCSS ===============*/


/*リンクを右下に固定*/

#page-top {
  position: fixed;
  right: 10px;
  bottom: 30px;
  z-index: 99999;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(150px);
}


/*　上に上がる動き　*/

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*　下に下がる動き　*/

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(150px);
  }
}


/*画像の切り替えと動き*/

#page-top a {
  /*aタグの形状*/
  display: block;
  width: 100px;
  height: 100px;
  color: #333;
  font-family: 'Comfortaa', cursive;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  /*背景画像の指定*/
  background: url("../img/pagetop_1.png") no-repeat center;
  background-size: contain;
}

#page-top.floatAnime a {
  width: 100px;
  height: 100px;
  /*背景画像の指定*/
  background: url("../img/pagetop_2.png") no-repeat center;
  background-size: contain;
  /*アニメーションの指定*/
  animation: floatAnime 2s linear infinite;
  opacity: 0;
}

@keyframes floatAnime {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  25% {
    transform: translateX(-6px);
    opacity: 1;
  }
  50% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(6px);
    opacity: 1;
  }
}


/*Page Topと書かれたテキストの位置*/

#page-top span {
  position: absolute;
  bottom: -20px;
  right: 20px;
  color: #666;
}


/*==================================================
ページの読み込み時と、スクロール時に、要素をふわっと表示
===================================*/


/* スクロールで ふわっ
____________________________________*/


/* fadeUp */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定 */

.fadeUpTrigger {
  opacity: 0;
}


/* アニメーションスタートの遅延時間を決めるCSS*/

.delay-time02 {
  animation-delay: 0.2s;
}

.delay-time03 {
  animation-delay: 0.3s;
}

.delay-time04 {
  animation-delay: 0.4s;
}

.delay-time07 {
  animation-delay: 0.7s;
}

.delay-time1 {
  animation-delay: 1s;
}