@charset "UTF-8";

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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  background-color: transparent;
  color: #000;
  text-decoration: none;
}

img {
  width: 100%;
  border-style: none;
}

li {
  list-style: none;
}

h1 {
  font-size: 56px;
}

a:hover, button:hover {
  opacity: .8;
}

.w-container {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
}

/* 消してる要素 */
.header {
  display: none;
}

.sp-br, .sp-br2, .sp-br3 {
  display: none;
}

.p1-b-img1 {
  display: none;
}

.sp-fixed-footer {
  display: none;
}

/* ヘッダー */
#header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 23px;
  margin-left: 4%;
  margin-right: 4%;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-nav ul li a {
  color: #fff;
  font-size: 16px;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 17px;
}

.header-logo {
  width: 267px;
  height: 67px;
}

.header-tel {
  width: 280px;
  height: 66px;
}

.header-insta {
  width: 66px;
  height: 66px;
}

/* トップ */
main {
  background-color: #00053A;
}

.main-v {
  width: 100%;
  height: 100vh;
  position: relative; /* 子要素の基準点 */
  overflow: hidden;    /* 動画のはみ出しをカット */
  background-color: #000; /* 動画読み込み前の背景色 */
}

.video-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 重なり順を一番下に */
  pointer-events: none; /* 動画を触れないようにしてクリックを邪魔しない */
}

.video-area iframe {
  /* 動画を背景サイズ（cover）のように調整 */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 の比率 */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 (100 * 16 / 9) */
  transform: translate(-50%, -50%); /* 中央配置 */
}

.main-v-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.main-v-title {
  padding-bottom: 57px;
}

.main-v-title h1 {
  color: #fff;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* タイトル */
/* .p1-a-container, .p1-b-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
} */

.p1-a-box {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(../image/top-back1.png), url(../image/top-back2.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: 628px auto, 628px auto;
}

.p1-a-img {
  width: 312px;
  height: 423px;
}

.p1-a-h3 h3 {
  color: #fff;
  font-size: 64px;
  font-family: "Eczar", serif;
}

.p1-a-h2 h2 {
  color: #fff;
  font-size: 96px;
  font-family: "Dela Gothic One", sans-serif;
  -webkit-text-stroke: 1px #00053A;
}

.p1-b {
  background-image: url(../image/top-back3.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.p1-b-box {
  display: flex;
  justify-content: space-between;
  padding: 118px 20px 147px 0;
}

.p1-b-item {
  text-align: center; 
}

.p1-b-h2 h2 {
  color: #fff;
  font-size: 128px;
  font-family: "Eczar", serif;
}

.p1-b-img {
  max-width: 423px;
  height: 636px;
}

.p1-b-h3 {
  display: inline-block;
  text-align: center;
  background-image: url(../image/top-back4.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: 34px 90px 82px;
}

.p1-b-h3 h3 {
  font-size: 56px;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
}

.p1-b-p {
  text-align: left;
}

.p1-b-p p {
  font-size: 18px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: bold;
  line-height: 2em;
  padding-left: 78px;
  margin-top: -25px;
}

.p1-c {
  background-image: url(../image/top-back5.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.p1-c-container {
  padding-top: 70px;
  padding-bottom: 80px;
}

.p1-c-box {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}

.p1-c-item {
  padding-top: 54px;
  padding-bottom: 93px;
}

.p1-c .c1 {
  background-image: url(../image/top-img2.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 600px auto; 
}

.p1-c-title {
  display: flex;
  align-items: flex-end;
  line-height: 1;
}

.p1-c-h3 h3 {
  color: #fff;
  font-size: 40px;
  font-family: "Dela Gothic One", sans-serif;
  margin: 0;
}

.p1-c-text p {
  color: #fff;
  font-size: 96px;
  font-family: "Dela Gothic One", sans-serif;
  margin: 0;
}
.p1-c-p {
  display: inline-block;
  background-color: #fff;
  padding: 25px 22px 18px 10px;
  margin-top: 26px;
}

.p1-c-p p {
  color: #00053A;
  font-size: 48px;
  font-family: "Dela Gothic One", sans-serif; 
}

.p1-c .c2 {
  text-align: right;
  background-image: url(../image/top-img3.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 600px auto;
  margin-top: 32px;
}

.p1-c .c2 .p1-c-title {
  justify-content: flex-end;
}

.p1-c .c3 {
  background-image: url(../image/top-img4.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 600px auto;
  margin-top: 32px; 
}

.p1-d-container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.p1-d {
  background-image: url(../image/top-back8.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 666px auto;  
}

.p1-d-title {
  text-align: center;
  background-image: url(../image/top-back6.png), url(../image/top-back7.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left bottom, right bottom;
  background-size: 436px auto, 436px auto;
}

.p1-d-title h2 {
  color: #fff;
  font-size: 128px;
  font-family: "Eczar", serif;
}

.p1-d-title h3 {
  color: #fff;
  font-size: 40px;
  font-family: "Dela Gothic One", sans-serif; 
  padding-top: 20px;
}

.p1-d-p {
  text-align: center;
  padding-top: 38px;
}

.p1-d-p p {
  color: #fff;
  font-size: 24px;
  font-family: "Zen Kaku Gothic Antique", sans-serif; 
  font-weight: 600;
}

.p1-d-item {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  margin-top: 60px;
}

.p1-d-left, .p1-d-right {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.p1-d-left .p1-d-bold, .p1-d-right .p1-d-bold {
  font-size: 32px;
  font-family: "Dela Gothic One", sans-serif;   
}

.p1-d-left p, .p1-d-right p {
  font-size: 20px;
  font-weight: 500;
  font-family: "Zen Maru Gothic", sans-serif;
}

.d1, .d2, .d3 {
  /* justify-content: space-between; */
  gap: 4%;
}

.d1 .p1-d-left, .d1 .p1-d-right {
  flex: 1;
  height: 678px;
}

.d2 .p1-d-left, .d2 .p1-d-right {
  flex: 1;
  height: 408px;
}

.d3 .p1-d-left, .d3 .p1-d-right {
  flex: 1;
  height: 330px;
}

.d3 .p1-d-right {
  background-color: transparent;
}

.p1-e {
  background-image: url(../image/top-back9.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;  
}

.p1-e-box {
  height: 100%;
}

.p1-e-img {
  width: 600px;
  padding-top: 78px;
  padding-bottom: 78px;
  margin-left: auto;
  margin-right: auto;
}

.p1-f {
  background-image: url(../image/top-back10.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;    
}

.p1-f-container {
  padding-top: 80px;
  padding-bottom: 310px;
}

.p1-f-title, .p1-g-title, .p1-h-title {
  text-align: center;
}

.p1-f-h2 h2, .p1-g-h2 h2, .p1-h-h2 h2 {
  color: #fff;
  font-size: 128px;
  font-family: "Eczar", serif;
  font-weight: bold;
}

.p1-f-h3, .p1-g-h3, .p1-h-h3 {
  padding-top: 24px;
  padding-bottom: 60px;
}

.p1-f-h3 h3, .p1-g-h3 h3, .p1-h-h3 h3 {
  color: #fff;
  font-size: 40px;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
}

.p1-f-gallery {
  width: 100%;
  overflow: hidden; /* はみ出た画像（左右の見切れ）を隠す */
  display: flex;
}

.p1-f-gallery-inner {
  display: flex;
  width: max-content; /* 中身の幅に合わせる */
}

.p1-f-images {
  display: flex;
  animation: loop-slide 60s linear infinite; /* 60秒かけてゆっくり1周 */
}

.p1-f-images img {
  width: 300px;  /* 画像のサイズ（お好みで調整） */
  height: 200px; /* 高さを揃える */
  object-fit: cover;
  margin-right: 26px; /* 画像同士の間隔 */
}

/* 無限ループのアニメーション設定 */
@keyframes loop-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* マウスを乗せた時に止める設定（お好みで） */
.p1-f-gallery:hover .p1-f-images {
  animation-play-state: paused;
}

.p1-g {
  background-color: #AFDFE4;
}

.p1-g-container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.p1-g-box {
  padding: 0 20px; /* 左右の余白 */
}

/* 口コミスライダー全体 */
.p1-g-item {
  max-width: 1090px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 20px; /* 矢印とスライダーの間の隙間 */
  position: relative; /* 矢印を絶対配置にする場合の基準 */
}

/* スライダーの「窓」部分 */
.review-window {
  flex-grow: 1; /* 残りのスペースを全て使う */
  overflow: hidden; /* はみ出たカードを隠す */
  position: relative;
}

/* スライドするリスト */
.review-list {
  display: flex;
  transition: transform 0.5s ease-in-out; /* スライドのアニメーション */
  gap: 30px; /* カード間の隙間 */
  will-change: transform;
}

/* 各口コミカード */
.review-card {
  flex: 0 0 calc((100% - 60px) / 3); /* (100% - 隙間2つ分) / 3枚表示 */
  max-width: calc((100% - 60px) / 3); /* IE対策 */
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  box-sizing: border-box; /* paddingを含めて幅を計算 */
  text-align: left;
}

/* 口コミカード内の要素（以前の設定を流用） */
.review-stars {
  display: flex;
  align-items: center;
  font-family: "Zen Kaku Gothic Antique", sans-serif; 
  gap: 8px;
  margin-bottom: 15px;
}
.stars {
  color: #FFB800;
  font-size: 16px;
  letter-spacing: 5px;
}
.rating-num {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}
.review-text {
  font-size: 16px;
  font-family: "Zen Kaku Gothic Antique", sans-serif; 
  font-weight: 600;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

/* 矢印のデザイン */
.arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0; /* デフォルトのpaddingを消す */
  z-index: 10; /* 他の要素より手前に表示 */
  flex-shrink: 0; /* 縮まないようにする */
}
.arrow img {
  width: 40px; /* 矢印画像のサイズ */
  height: auto;
  display: block;
}

.p1-h-container {
  padding-top: 80px;
  padding-bottom: 120px;
}

.p1-h-title {
  background-image: url(../image/top-back11.png), url(../image/top-back12.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left bottom 70px, right bottom 70px;
  background-size: 450px auto, 450px auto;  
}

.p1-h-table {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.p1-h-table table {
  width: 100%;
  border-collapse: collapse;
}

.p1-h-table table tr th, .p1-h-table table tr td {
  color: #00053A;
  font-size: 20px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 600;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #00053A;
}

.p1-h-table table tr th {
  width: 26%;
  background-color: #AFDFE4;
}

.p1-h-table table tr td {
  width: 74%;
  background-color: #fff;
  padding-left: 50px;
}

.p1-h-table table tr:last-child th, .p1-h-table table tr:last-child td {
  border-bottom: none;
}

.payment-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.p1-h-map {
  margin-top: 60px;
}

.p1-h-map iframe {
  width: 100%;
  height: 560px;
}

/* フッター */
footer {
  background-image: url(../image/top-back9.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;  
}

.footer-container {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 70px;
}

.footer-logo {
  width: 267px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.footer-insta {
  width: 60px;
  height: 60px;
  margin: 30px auto 60px;
}

.footer-insta a {
  display: block;
}

.copy-right {
  font-size: 14px;
  font-weight: 600;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* アニメーション前の状態（透明で少し下に配置） */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 画面に入った時に付与するクラス（表示状態） */
.fade-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1200px) {
  .header-nav ul {
    gap: 20px;
  }

  .p1-a-box {
    background-size: 450px auto, 450px auto;
  }

  .p1-b {
    background-position: 30% center;
  }

  .p1-b-h3 {
    align-items: center;
    padding: 20px 40px 50px;
  }

  .p1-b-h3 h3 {
    font-size: 40px;
  }

  .p1-b-p p {
    padding-left: 0;

  }

  .p1-d-title {
    background-size: 400px auto, 400px auto;
  }
}



@media screen and (max-width: 930px) {
  /* ヘッダー */
  .header-container {
    display: none;
  }

  /* ハンバーガーメニュー */
  .header {
    display: block;
  }
  .header {
    z-index: 1000; /* 他のコンテンツの上に表示させる */
    margin-top: 10px;
  }
  .hamburger {
    display: block;
    height: 44px;
    position: relative;
    z-index: 1110;
    width: 44px;
    border: none;
    background-color: #fff;
    border-radius: 10px;
  } 
  .header__inner {
    display: flex;
    justify-content: space-between;
    margin-left: 25px;
    margin-right: 25px;
  }
  .header .header-logo {
    width: 182px;
    height: 44px;
  }
  .hamburger.-active .hamburger__line {
      background-color: transparent;
  }
  .hamburger.-active .hamburger__line::before {
      top: 0;
      transform: rotate(45deg);
  }
  .hamburger.-active .hamburger__line::after {
      top: 0;
      transform: rotate(-45deg);
  }
  .hamburger.-active .hamburger__text::before {
    content: '閉じる';
  }
  .hamburger__line {
    display: block;
    height: 3px;
    position: absolute;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: #000;
    transition: 0.4s;
  }
  .hamburger__line:before,
  .hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #000;
    transition: inherit;
  }
  .hamburger__line:before {
    top: -8px;
  }
  .hamburger__line:after {
    top: 8px;
  }
  .hamburger__text {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  .hamburger__text::before {
    content: "メニュー";
    text-align: center;
    color: #172e59;
    font-size: 10px;
    font-weight: 900;
  }
  .header {
    position: fixed;
    width: 100%;
    height: 44px;
  }
  .header__nav-area {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 1100;
    height: 100vh;
    width: 100vw;
    visibility: hidden;
    padding-top: 60px;
    background-color: #00053A;
    transition: 0.4s;
  }
  .header__nav-area.-active {
    left: 0;
    visibility: visible;
  }
  .global-navigation {
    padding-top: 40px;
    padding-right: 25px;
    padding-bottom: 120px;
    padding-left: 25px;
  }
  .global-navigation__list > li {
    padding-bottom: 20px;
  }
  .global-navigation__list > li + li {
    margin-top: 20px;
  }
  .global-navigation__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-weight: 900;
    transition: color 0.4s;
    font-size: 24px;
  }
  .global-navigation__link.-accordion {
    position: relative;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
  }
  .global-navigation__link.-accordion::after {
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    background-color: #ed3242;
    transform: translateY(-50%);
    transition: transform 0.4s;
  }
  .global-navigation__link.-accordion::before {
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    background-color: #ed3242;
    transform: translateY(-50%);
      
  }
  .global-navigation__link.-active::after {
    transform: translateY(-50%) rotate(-90deg);
  }
  .accordion {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
  }
  .accordion.-active {
    height: auto;
    padding-top: 30px;
    visibility: visible;
  }
  .accordion__list li {
    font-size: 0.75rem;
  }
  .accordion__list li + li {
    margin-top: 21px;
  }
  .accordion__link {
    color: #172e59;
  }

  .global-navigation__list {
    width: 188px;
    margin-left: auto;
    margin-right: auto;
  }

  .global-navigation__list li a span {
    font-family: "Quicksand", sans-serif;
  }

  .nav-icon {
    width: 37px;
    height: 17px;
  }

  /* トップ */
  .sp-br {
    display: block;
  }

  .main-v-title {
    text-align: center;
  }

  .p1-a-box {
    background-image: url(../image/sp-back-2.png);
    background-size: cover;  
  }

  .p1-b-h2 h2 {
    font-size: 70px;
  }

  .p1-b-p p {
    font-size: 15px;
  }

  .p1-c-item {
    padding-top: 260px;
    padding-bottom: 0;
  }

  .p1-c .c1, .p1-c .c2, .p1-c .c3 {
    background-position: center top;
  }

  .p1-d-title {
    background-size: 280px auto, 280px auto;
  }

  .review-list {
    gap: 20px; 
  }

  /* 各口コミカード：2枚表示の設定 */
  .review-card {
    /* (100% - 隙間1つ分20px) / 2枚表示 */
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    padding: 20px; /* 中の余白も少し詰めるとスッキリします */
  }

  /* 矢印が邪魔な場合はサイズを少し小さく */
  .arrow img {
    width: 30px;
  }

  .p1-h-title {
    background-size: 330px auto, 330px auto;
  }


}

@media screen and (max-width: 790px) {
  .br {
    display: none;
  }

  .p1-b-box {
    padding-right: 0;
  } 

  .p1-b-h3 h3 {
    font-size: 26px;
  }

  .sp-br2 {
    display: block;
  }

  
  .p1-b-p p {
    margin-top: 0;
  }  

  /* フッター */
  .sp-fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px; /* 画像の大きさに合わせて調整 */
    z-index: 9999;
    display: flex;
    align-items: center; /* 上下中央 */
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sp-footer-container {
    display: flex;
    width: 100%;
    justify-content: space-around; /* 2つを均等に配置 */
    align-items: center;
  }

  .sp-fixed-footer .header-tel {
    width: 240px;
    height: 56px;
  }

  .sp-fixed-footer .header-insta {
    width: 56px;
    height: 56px;
  }

  .footer-item img {
    width: auto;     /* 横幅はお好みで */
    height: 40px;    /* 高さを固定すると揃いやすいです */
    display: block;
    margin: 0 auto;
  }

} 

@media screen and (max-width: 680px) {
  .br2 {
    display: none;
  }

  .sp-br3 {
    display: block;
  }

  .w-container {
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
  }

  /* トップ */
  .main-v-title h1 {
    font-size: 32px;
  }

  .p1-b {
    height: 860px;
    position: relative;
    background-image: url(../image/sp-top-back1.png);
    background-position: center top;
  }

  .p1-b-box {
    position: absolute;
    top: -20px;
    left: 0;
    flex-direction: column;
    padding: 0px 0px 40px 0;
  }

  .p1-b-h2 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .p1-b-h2 h2 {
    font-size: 48px;
    line-height: .9em;
  }

  .p1-b-img1 {
    display: block;
    width: 262px;
    height: auto;
  }

  .p1-b-p {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }

  .p1-c-item {
    padding-top: 195px;
    padding-bottom: 0;
  }

  .p1-c .c1, .p1-c .c2, .p1-c .c3  {
    background-size: 335px auto;
  }

  .p1-c-h3 h3 {
    font-size: 20px;
  }

  .p1-c-text p {
    font-size: 36px;
  }

  .p1-c-p p {
    font-size: 32px;
  }

  .p1-d {
    background-image: url(../image/sp-top-back5.png);
    background-size: 375px auto;
  }

  .p1-d-container {
    padding-top: 40px;
    padding-bottom: 334px;
  }

  .p1-d-title {
    background-image: url(../image/sp-top-back3.png), url(../image/sp-top-back2.png);
    background-size: 112px auto, 112px auto;
  }

  .p1-d-title h2 {
    font-size: 48px;
  }

  .p1-d-title h3 {
    font-size: 24px;
    padding-top: 10px;
  }

  .p1-d-p p {
    font-size: 15px;
    line-height: 2em;
    letter-spacing: 2px;
  }

  .p1-d-item {
    flex-direction: column;
    row-gap: 20px;
    margin-top: 20px;
  }

  .p1-d .d1 {
    margin-top: 30px;
  }

  .p1-d-left p, .p1-d-right p {
    font-size: 15px;
  }

  .p1-d-left .p1-d-bold, .p1-d-right .p1-d-bold {
    font-size: 24px;
  }

  .p1-d-left, .p1-d-right {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .d1 .p1-d-left, .d1 .p1-d-right, .d2 .p1-d-left, .d2 .p1-d-right, .d3 .p1-d-left, .d3 .p1-d-right {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .p1-e-img {
    width: 100%;
  }

  .p1-f-h2 h2, .p1-g-h2 h2, .p1-h-h2 h2 {
    font-size: 48px;
  }

  .p1-f-container {
    padding-top: 40px;
    padding-bottom: 240px;
  }

  .p1-f-h3, .p1-g-h3, .p1-h-h3 {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .p1-f-h3 h3, .p1-g-h3 h3, .p1-h-h3 h3 {
    font-size: 24px;
  }

  .p1-f-images img {
    width: 160px;
    height: 107px;
    margin-right: 15px;
  }

  .p1-g-container {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .p1-g-box {
    padding-left: 0;
    padding-right: 0;
  }

  .p1-g-item {
    position: relative;
    overflow: hidden; /* ここで画面外をカット */
    padding: 0;
  }

  .review-window {
    overflow: visible; /* 左右のチラ見えを許可 */
    width: 100%;
  }

  .review-list {
    gap: 20px; /* カード間の隙間 */
  }

  .review-text {
    font-size: 15px;
  }

  .review-card {
    /* 画面幅の75%をカード1枚にする（左右に12.5%ずつチラ見え） */
    flex: 0 0 75% !important;
    max-width: 75% !important;
    padding: 20px;
  }

  /* 矢印をカードの上に浮かせて左右端に固定 */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100; /* カードより上に */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }

  .p1-h-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .p1-h-title {
    background-image: url(../image/sp-top-back8.png), url(../image/sp-top-back7.png);
    background-position: left bottom 28px, right bottom 28px;
    background-size: 130px auto, 130px auto;
  }

  .p1-h-table table tr th, .p1-h-table table tr td {
    font-size: 15px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .p1-h-table table tr td {
    padding-left: 30px;
  }

  .p1-h-map {
    margin-top: 30px;
  }

  .p1-h-map iframe {
    height: 400px;
  }

  /* フッター */
  .footer-container {
    padding-top: 40px;
    padding-bottom: 25px;
  }

  .footer-logo {
    width: 182px;
    height: 44px;
  }

  .footer-insta {
    width: 40px;
    height: 40px;
    margin-top: 26px;
    margin-bottom: 50px;
  }

 
}
 

@media screen and (max-width: 430px) {
  .p1-a-img {
    width: 177px;
    height: 240px;
  }

  .p1-a-h3 h3 {
    font-size: 40px;
  }

  .p1-a-h2 h2 {
    font-size: 48px;
  }

  .p1-b-h3 {
    align-items: center;
    padding: 28px 10px 72px;
  }

  .p1-f {
    background-image: url(../image/sp-top-back6.png);
  }


}