@charset "utf-8";
/********************************************************/
/******** 共通（body,inner,pタグ,imgタグの基本設定） ********/
/*******************************************************/
body p { word-break:break-all;}
.inner { width:95%; max-width:1080px; margin:0 auto;}
.spOnly { display: none;}
.googleMap iframe { max-width: 100%; }
.youtube { text-align: center; width: 50%; min-width: 560px; max-width: 1000px; margin: 0 auto;}
.youtube iframe { aspect-ratio: 16 / 9; width: 100%; height: 100%;}
#page-top { width: 60px; height: 60px; position: fixed; right: 0; bottom: 0; z-index: 3;}
img[src$=".svg"] { width: 100%; height: 100%; object-fit: contain;}
a { text-decoration: none;}

@media only screen and (max-width:768px){
  body { font-size: 1.4rem;}
  
  .inner { max-width: 90%;}
  .spOnly { display: block;}
  .pcOnly { display: none;}

  .googleMap iframe { max-height: 500px ;}
  .youtube { width: 90%; min-width: auto;}
  img { width: 100%; height: auto;}
  img[src$=".svg"] { width: 100%; height: auto;}

}
@media only screen and (max-width:768px){
  .wp-block-columns { margin-bottom: 0!important;}
}

/**********************/
/****** ヘッダー ******/
/**********************/
.headerArea { background: #ffe600; padding: 20px 5%;}
.headerNav ul { display: flex; justify-content: flex-end; align-items: flex-end;}
.headerNav ul li { font-size: 1.8rem;}
.headerNav ul li + li { position: relative; padding-left: 1em; margin-left: 2em;}
.headerNav ul li + li::before { content: "●"; position: absolute; left: -1em;}
@media only screen and (max-width:768px){
  .headerArea { padding: 20px 0;}
  .headerLogo { width: 70%;}
  .headerNav { margin-top: 10px;}
  .headerNav ul { flex-wrap: wrap;}
  .headerNav ul li + li { padding-left: 0.5em; margin-left: 1.5em;}
  .headerNav ul li + li::before { font-size: 1.4rem; top: 5px;}
  .headerNav ul a { font-size: 1.5rem;}
}

/**********************/
/****** フッター ******/
/**********************/
.footerArea { background: #ffe600; padding: 30px 5% 60px; text-align: center;}
.footerLogo { width: 600px; margin: 20px auto;}
.footerBannerArea { margin: 50px auto 70px;}
.footerBannerArea ul { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;}
.footerBannerArea ul li { max-width: 30%; margin-bottom: 15px;}
.footerBannerArea ul li:first-child { margin-bottom: 0;}
@media only screen and (max-width:768px){
  .footerLogo { width: 100%;}
  .footerBannerArea ul li { max-width: none; width: 80%; margin: 20px auto;}
}

/**********************/
/****** TOP ******/
/**********************/
.firstView { width: 100%; height: 100vh; min-height: 1200px; background: #f2f2f3; position: relative;}
.topRead { position: absolute; top: 30%; left: 50%; transform: translateX(-50%);}
.item { width: 70%; max-width: 700px; min-width: 500px; margin: 0 auto;}
.wrap { position: relative;}
.illustItem { position: absolute; /*top: 0; left: 0;*/}

.about { padding: 100px 0 300px; background: #f2f2f3; position: relative; z-index: 0; overflow: hidden;}
.about::after { content: ""; display: block; width: 100%; height: 500px; background: #fff; clip-path: polygon(100% 0%, 0% 100%, 100% 100%); position: absolute; left: 0; bottom: 0; z-index: -1;}
.aboutItem { margin: 0 auto; padding: 150px 0; position: relative; z-index: 0;}
.aboutItem + .aboutItem { padding-top: 0;}
.aboutItem::before { content: ""; display: block; width: 50vw; min-width: 720px; max-height: 500px; background: #ffe600; clip-path: polygon(100% 0%, 100% 256px, 0% 100%, 0% calc(100% - 256px)); clip-path: polygon(100% 0%, 100% 53%, 0% 100%, 0% 47%); aspect-ratio: 720 / 512; position: absolute; z-index: -1;}
.aboutItem.item01 { margin-top: 50px;}
.aboutItem.item01::before { right: 50%; top: 6%;}
.aboutItem.item02::before { left: 50%; bottom: 0;}

.service { padding: 340px 0; position: relative; z-index: 0;}
.service::after { content: ""; display: block; width: 100%; height: 500px; background: #f2f2f3; clip-path: polygon(100% 0%, 0% 100%, 100% 100%); position: absolute; left: 0; bottom: 0; z-index: -1;}

.itemRead { font-size: 2.0rem; font-weight: 500; text-align: center; margin: 10px 0 30px;}
.pointArea { display: flex; justify-content: space-around; flex-wrap: wrap; margin: 100px auto 200px;}
.pointItem { width: 25%; max-width: 340px; padding: 60px 0; position: relative; z-index: 0;}
.pointItem::before { content: ""; display: block; width: 165px; height: 165px; background: url(assets/images/point.svg) no-repeat; position: absolute; top: -50px; left: 0; z-index: -1;}
.pointItem::after { content: ""; display: block; width: 100%; height: 100%; background: #ffe600; clip-path: polygon(100% 0%, 100% 53%, 0% 100%, 0% 47%); position: absolute; top: 0; left: 0; z-index: -1;}
.pointItem p { text-align: center; font-size: 3.0rem; line-height: 1.5;}
.pointItem .small { display: block; font-size: 1.6rem;}
.pointItem .big { font-size: 4.0rem;}
.serviceCont { width: 90%; max-width: 1100px; min-width: 500px; margin: 50px auto 150px;}

.contact { padding: 150px 0; background: #f2f2f3;}
@media only screen and (max-width:768px){
  .firstView { height: 100vh; min-height: auto; padding-bottom: 50px;}

  .item { width: 90%; min-width: auto;}

  .topRead { width: 75%; top: 34%; z-index: 5;}

  .about { padding-top: 50px; padding-bottom: 200px;}
  .aboutItem.item01::before { right: 25%;}
  .aboutItem.item02::before { left: 25%;}

  .service { padding-top: 250px; padding-bottom: 150px;}
  .pointItem { width: 80%; padding: 40px 0;}
  .pointItem::before { width: 120px; height: 120px; background-size: contain; top: -35px;}
  .pointItem::after { clip-path: polygon(100% 0%, 100% 65%, 0% 100%, 0% 35%);}
  .pointItem + .pointItem { margin-top: 50px;}
  .pointItem p { font-size: 2.5rem; }
  .pointItem .small { font-size: 1.4rem;}
  .pointItem .big { font-size: 3.0rem;}
  .serviceCont { min-width: auto;}
  .contact { padding-top: 100px;}
}


.illustItem.item01 { left: 3%; top: 1%;}
.illustItem.item02 { left: 5%; top: 23%;}
.illustItem.item03 { left: 33%; top: 7%;}
.illustItem.item04 { right: 26%; top: 3%;}
.illustItem.item05 { right: 4%; top: 5%;}
.illustItem.item06 { left: 5%; top: 42%;}
.illustItem.item07 { left: 20%; top: 50%;}
.illustItem.item08 { left: 15%; top: 65%;}
.illustItem.item09 { left: 34%; top: 47%;}
.illustItem.item10 { left: 53%; top: 60%;}
.illustItem.item11 { right: 3%; top: 42%;}
.illustItem.item12 { right: 3%; top: 53%;}
.illustItem.item13 { left: 40%; top: 81%;}
.illustItem.item14 { left: 12%; bottom: -7%;}
.illustItem.item15 { bottom: 9%; right: 9%;}
.illustItem.item16 { left: 70%; top: 5%;}
.illustItem.item17 { left: 75%; bottom: 21%;}
.illustItem.item18 { right: 52%; bottom: 5%;}
.illustItem.item19 { left: 19%; bottom: 12%;}
.illustItem.item20 { left: 69%; top: -5%;}
.illustItem.item21 { left: 5%; top: 1%;}
.illustItem.item22 { right: 18%; top: 8%;}
.illustItem.item23 { left: 15%; top: 11%;}
.illustItem.item24 { right: 71%; top: 43%;}
.illustItem.item25 { left: 81%; top: 45%;}
.illustItem.item26 { right: 68%; bottom: 20%;}
.illustItem.item27 { left: 77%; bottom: 19%;}
.illustItem.item28 { left: 15%; bottom: 3%;}
.illustItem.item29 { left: 61%; top: -6%;}
.illustItem.item30 { left: 76%; bottom: 65%;}
@media only screen and (max-width:768px){
  .illustItem.item01 { width: 48%;}
  .illustItem.item02 { width: 21%; left: 9%; top: 21%;}
  .illustItem.item03 { width: 30%; left: auto; right: 9%; top: 2%;}
  .illustItem.item04 { width: 37%; left: 28%; top: 13%;}
  .illustItem.item05 { width: 22%; top: 13%;}
  .illustItem.item06 { width: 25%; top: 43%;}
  .illustItem.item07 { width: 16%; left: 21%; top: 50%;}
  .illustItem.item08 { width: 45%; left: 2%; top: 62%;}
  .illustItem.item09 { width: 31%; left: 47%; top: 55%;}
  .illustItem.item10 { width: 37%; top: 66%; left: auto; right: 5%;}
  .illustItem.item11 { width: 54%;}
  .illustItem.item12 { width: 33%; top: 50%;}
  .illustItem.item13 { width: 28%; left: 10%; top: 75%;}
  .illustItem.item14 { width: 21%; bottom: 0%; left: 20%;}
  .illustItem.item15 { width: 27%; bottom: 2%; right: 18%;}
  .illustItem.item16 { width: 13%; top: 2%; left: 76%;}
  .illustItem.item17 { width: 28%; bottom: 25%; left: auto; right: 5%;}
  .illustItem.item18 { width: 22%; bottom: 0; right: auto; left: 20%;}
  .illustItem.item19 { width: 22%; left: 13%; bottom: 8%;}
  .illustItem.item20 { width: 48%; left: 49%; top: -9%;}
  .illustItem.item21 { width: 73%; left: 25%;}
  .illustItem.item22 { width: 18%; right: 2%; top: 7%;}
  .illustItem.item23 { width: 21%; top: 6%;}
  .illustItem.item24 { width: 44%; right: auto; left: 5%; top: auto; bottom: 28%;}
  .illustItem.item25 { width: 28%; left: auto; right: 3%; top: auto; bottom: 29%;}
  .illustItem.item26 { width: 50%; right: auto; left: 3%; bottom: 13%;}
  .illustItem.item27 { width: 21%; left: auto; right: 3%; bottom: 14%;}
  .illustItem.item28 { width: 48%; bottom: 2%;}
  .illustItem.item29 { width: 48%; left: auto; right: 5%; top: -1%;}
  .illustItem.item30 { width: 23%; left: auto; right: 5%; bottom: 3%;}
}

/* =========================================
   スクロールアニメーション
   - .js-fadeup    : 下からふわっと（イラスト系）
   - .js-slidedown : 上からすっと（タイトル系）
   JSが動いたときだけ初期状態を隠す（JS無効時も表示される）
========================================= */

.is-anim-ready .js-fadeup,
.is-anim-ready .js-slidedown {
  opacity: 0;
  transition-property: opacity, transform;
  transition-delay: var(--anim-delay, 0s);
  will-change: opacity, transform;
}

/* 下からふわっと：ゆっくり・やわらかいイージング */
.is-anim-ready .js-fadeup {
  transform: translateY(40px);
  transition-duration: var(--anim-duration, 1.2s);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 上からすっと：短め・キレのあるイージング */
.is-anim-ready .js-slidedown {
  transform: translateY(-24px);
  transition-duration: var(--anim-duration, 0.7s);
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 表示状態 */
.is-anim-ready .js-fadeup.is-show,
.is-anim-ready .js-slidedown.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ::before を画面の端から出す
   - .js-before-left  : 画面の左端から
   - .js-before-right : 画面の右端から
   移動距離（--before-distance）は JS が要素ごとに自動計算します。
   CSSで --before-distance を指定した要素はその値が優先されます。
   transform ではなく translate を使うので、::before に既存の
   transform（位置調整の translateY(-50%) など）があっても崩れません */
.is-anim-ready .js-before-left::before,
.is-anim-ready .js-before-right::before {
  opacity: 0;
  /* フェードなし：動き出す瞬間に一気に表示し、スライドだけ見せる */
  transition:
    opacity 0s linear var(--anim-delay, 0s),
    translate var(--before-duration, 1s) cubic-bezier(0.25, 1, 0.5, 1) var(--anim-delay, 0s);
}
.is-anim-ready .js-before-left::before  { translate: calc(var(--before-distance, 60px) * -1) 0; }
.is-anim-ready .js-before-right::before { translate: var(--before-distance, 60px) 0; }

/* 画面外から入ってくる間に横スクロールが出ないように
   （hidden と違い position: sticky を壊さない clip を使用） */
.is-anim-ready body {
  overflow-x: clip;
}

.is-anim-ready .js-before-left.is-show::before,
.is-anim-ready .js-before-right.is-show::before {
  opacity: 1;
  translate: 0 0;
}

/* 動きを減らす設定のユーザーにはアニメーションなし */
@media (prefers-reduced-motion: reduce) {
  .is-anim-ready .js-fadeup,
  .is-anim-ready .js-slidedown {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .is-anim-ready .js-before-left::before,
  .is-anim-ready .js-before-right::before {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/*youtube 自動再生*/
/* ===== ダイアログ本体 ===== */
.video-dialog {
  width: min(90vw, 960px);
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

/* 背景の暗転 */
.video-dialog::backdrop {
  background: rgb(0 0 0 / 0.75);
}

.video-dialog__inner {
  position: relative;
}

/* 16:9 の動画枠 */
.video-dialog__frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-dialog__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* 閉じるボタン（動画の右上の外側） */
.video-dialog__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* 音声オンボタン（動画の下） */
.video-dialog__unmute {
  display: block;
  margin: 12px auto 0;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
  cursor: pointer;
}

.video-dialog__unmute[hidden] {
  display: none;
}

/* PC：閉じるボタンを動画の右（外側）に */
@media (min-width: 768px) {
  .video-dialog {
    /* 右側にボタン分の余白を確保 */
    width: min(calc(100vw - 140px), 960px);
  }

  .video-dialog__close {
    top: 0;
    right: -48px;
  }
}
