@charset "UTF-8";

/* --- 共通設定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: min(100px, 9.09vw);
}

body {
  margin: 0;
}

li {
  list-style: none;
}

h2, h3, p, span, a, th, td {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}

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

a:hover {
  opacity: .8;
}

.orenzi {
  color: #EB7E1E;
}

/* --- コンテナ設定 --- */
.w-container {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
}

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

/* 消してる要素 */
.sp-header, .sp-br, .sp-img, .sp-br2 {
  display: none;
}

/* アニメーションの動き */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  /* 画面に入った時に動くためのトリガー */
}

/* 画面に入った時に付与するクラス */
.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ヘッダー */
#header {
  width: 100%;
  height: min(100px, 9.09vw);
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.header-container {
  width: 100%;
  height: 100%;
  padding: 0 min(80px, 7.27vw);
}

.header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header-logo {
  width: min(280px, 25.45vw);
  height: auto;
}

.header-nav ul {
  display: flex;
  gap: min(40px, 3.64vw);
}

.header-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-nav ul li a .first-span {
  font-size: min(22px, 2vw);
  font-family: "Oswald", sans-serif;
}

.header-nav ul li a span {
  font-size: min(16px, 1.45vw);
  font-weight: bold;
}

/* トップ */
.main-v {
  width: 100%;
  height: calc(100vh - min(100px, 9.09vw));
  margin-top: min(100px, 9.09vw);
  position: relative;
  overflow: hidden;
}

.main-v-slider {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-img.is-active {
  opacity: 1;
}

.slide1 { background-image: url(../image/top-back1.png); }
.slide2 { background-image: url(../image/top-back2.png); }
.slide3 { background-image: url(../image/top-back3.png); }

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

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

.main-v-title h1 {
  font-size: min(56px, 5.09vw);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.main-v-title h1 span {
  display: inline-block;
  font-size: min(40px, 3.64vw);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  color: #fff;
  padding-bottom: min(40px, 3.64vw);
}

.p1-a {
  position: relative;
  background-image: url(../image/top-back4.png);
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.p1-a-container {
  padding: min(60px, 5vw) 0 min(360px, 30vw);
  position: relative;
  z-index: 2;
}

.p1-a-box {
  width: min(740px, 61.67vw);
  margin: 0 auto;
}

.p1-a-h2 {
  padding-bottom: min(30px, 2.5vw);
  border-bottom: 1px solid #000;
}

.p1-a-h2 h2 {
  font-size: min(32px, 2.67vw);
  line-height: 1.6;
}

.p1-a-h2 h2 span {
  font-size: min(32px, 2.67vw);
}

.p1-a-p {
  padding-top: min(30px, 2.5vw);
}

.p1-a-p p {
  font-size: min(16px, 1.33vw);
  line-height: 2;
}

.p1-a-back-text {
  position: absolute;
  top: 0;
  left: min(80px, 6.67vw);
  z-index: 1;
  pointer-events: none;
}

.p1-a-back-text p {
  font-size: min(200px, 16.67vw);
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  color: #5E5E5E;
  line-height: .7;
  opacity: 15%;
}

.p1-b-container {
  padding-bottom: min(80px, 5.93vw);
}

.p1-b .h2-title {
  background-image: url(../image/top-back8.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p1-b-box1 {
  position: relative;
  background-color: #000;
  padding: min(60px, 4.44vw) 0 min(80px, 5.93vw);
  overflow: hidden;
}

.p1-b-h2 {
  width: min(740px, 54.81vw);
  padding-bottom: min(30px, 2.22vw);
  border-bottom: 1px solid #fff;
  margin: 0 auto;
}

.p1-b-h2 h2 {
  font-size: min(32px, 2.37vw);
  font-weight: 400;
  color: #fff;
}

.p1-b-p {
  width: min(740px, 54.81vw);
  padding: min(30px, 2.22vw) 0 min(60px, 4.44vw);
  margin: 0 auto;
}

.p1-b-p p {
  font-size: min(16px, 1.19vw);
  color: #fff;
  line-height: 2;
}

.p1-b-img1 {
  width: min(1280px, 94.81vw);
  height: auto;
  margin: 0 auto;
}

.p1-b-back-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
}

.p1-b-back-text p {
  font-size: min(200px, 14.81vw);
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  color: #fff;
  line-height: .8;
  opacity: 15%;
  margin: 0;
}

.p1-b-box2 {
  background-color: #fff;
  padding: min(60px, 4.62vw) 0 0;
}

.p1-b-item {
  width: min(1440px, 100vw);
  display: flex;
  margin: 0 auto;
}

.p1-b-img {
  width: min(720px, 55.38vw);
  height: auto;
}

.p1-b-text {
  width: min(680px, 52.31vw);
  background-color: rgba(255, 255, 255, 0.7);
  padding: min(20px, 1.54vw);
  margin-top: min(50px, 3.85vw);
}

.p1-b-box2 .p1-b-text.left {
  margin-left: max(-120px, -9.23vw);
}

.p1-b-title {
  padding-bottom: min(30px, 2.31vw);
  border-bottom: 1px solid #000;
}

.p1-b-title p, .p1-b-title p span {
  font-size: min(32px, 2.46vw);
  font-family: "Oswald", sans-serif;
}

.p1-b-title p span {
  padding-left: min(5px, 0.38vw);
}

.p1-b-title h3 {
  font-size: min(32px, 2.46vw);
}

.p1-b-p2 {
  padding-top: min(30px, 2.31vw);
}

.p1-b-p2 p {
  font-size: min(16px, 1.23vw);
  line-height: 2;
}

.p1-b-title2 {
  text-align: center;
  padding-bottom: min(40px, 3.08vw);
}

.p1-b-title2 p, .p1-b-title2 p span {
  font-size: min(32px, 2.46vw);
  font-family: "Oswald", sans-serif;
}

.p1-b-title2 p span {
  padding-left: min(5px, 0.38vw);
}

.p1-b-title2 h3 {
  font-size: min(32px, 2.46vw);
}

.p1-b-box3 {
  background-color: #E5E3E3;
  padding: min(60px, 4.62vw) 0 min(80px, 6.15vw);
}

.p1-b-box3 .p1-b-item {
  justify-content: flex-end;
}

.p1-b-box3 .p1-b-item:last-child {
  margin-top: min(60px, 4.62vw);
}

.p1-b-box3 .p1-b-text.right, .p1-b-box2 .p1-b-text.right {
  position: relative;
  z-index: 10;
  margin-right: max(-120px, -9.23vw);
  margin-top: min(150px, 11.54vw);
}

.p1-b-box4 .p1-b-item:last-child {
  justify-content: flex-end;
  margin-top: min(60px, 4.62vw);
}

.p1-b-box4 .p1-b-text.left {
  margin-top: min(80px, 6.15vw);
}

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

.p1-c-box1 {
  position: relative;
  background-image: url(../image/top-back6.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: min(40px, 3.33vw) 0 min(120px, 10vw);
}

.p1-c-item {
  width: min(840px, 70vw);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.6);
  padding: min(40px, 3.33vw) min(60px, 5vw);
  margin: 0 auto;
}

.p1-c-item h3 {
  font-size: min(32px, 2.67vw);
}

.p1-c-p {
  margin-top: min(40px, 3.33vw);
}

.p1-c-p p {
  font-size: min(16px, 1.33vw);
  line-height: 2;
}

.p1-c-back-text {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 10;
  pointer-events: none;
}

.p1-c-back-text p {
  font-size: min(140px, 11.67vw);
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  color: #fff;
  line-height: .8;
  margin: 0;
}

.p1-c-box2 {
  background-color: #000;
  padding: min(60px, 5vw) min(80px, 6.67vw);
}

.p1-c-h3 {
  text-align: center;
  padding-bottom: min(40px, 3.33vw);
  font-size: min(32px, 2.67vw);
  font-weight: 400;
  color: #fff;
}

.p1-c-table {
  width: min(960px, 80vw);
  margin: 0 auto;
}

.p1-c-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 min(20px, 1.67vw);
}

.p1-c-table table tr th, .p1-c-table table tr td {
  font-size: min(18px, 1.5vw);
  font-weight: 400;
  background-color: #fff;
  padding: min(20px, 1.67vw) 0;
}

.p1-c-table table tr th {
  width: min(300px, 25vw);
  color: #fff;
  background-image: url(../image/part1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-right: min(20px, 1.67vw);
}

.p1-c-table table tr td {
  width: auto;
  padding-left: min(60px, 5vw);
}

.p1-c-table table .part2 td, .p1-c-table table .part3 td {
  line-height: 1.8;
}

.p1-c-table table .part2 th {
  background-image: url(../image/part2.png);
  background-size: 100% 101%;
}

.p1-c-table table .part3 th {
  background-image: url(../image/part3.png);
  background-size: 100% 101%;
}

.p1-c-map iframe {
  width: 100%;
  height: min(480px, 40vw);
}

.p1-d .h2-title {
  background-image: url(../image/top-back7.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p1-d-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: min(40px, 3.33vw);
  padding: min(60px, 5vw) 0 min(80px, 6.67vw);
}

.p1-d-text {
  width: min(540px, 45vw);
}

.p1-d-p1 p {
  font-size: min(16px, 1.33vw);
  line-height: 2;
}

.p1-d-img1 {
  width: 100%;
  height: auto;
  margin: min(30px, 2.5vw) 0;
}

.p1-d-img2 {
  position: relative;
}

.p1-d-img2 img {
  width: min(540px, 45vw);
  height: auto;
}

.p1-d-p2 {
  position: absolute;
  left: min(5px, 0.42vw);
  bottom: min(15px, 1.25vw);
  z-index: 10;
  background-color: #fff;
  padding: min(10px, 0.83vw);
}

.p1-d-p2 p {
  font-size: min(16px, 1.33vw);
}

.p1-d-box2 {
  background-color: #F6F6F6;
  padding: min(60px, 5vw) 0 min(100px, 8.33vw);
}

.p1-d-text2 {
  width: min(1080px, 90vw);
  margin: 0 auto;
}

.p1-d-text2 p {
  font-size: min(16px, 1.33vw);
  line-height: 2;
}


.p1-d-contact {
  width: min(1080px, 90vw);
  background-color: #fff;
  padding: min(60px, 5vw) min(80px, 6.67vw);
  margin: min(40px, 3.33vw) auto 0;
  box-sizing: border-box;
}

.form-row {
  display: flex;
  align-items: center;
  padding: min(25px, 2.08vw) 0;
  border-bottom: 1px solid #ccc;
}

.form-row.no-border {
  border-bottom: none;
  align-items: flex-start;
}

.form-label {
  width: min(300px, 25vw);
  font-size: min(20px, 1.67vw);
  display: flex;
  align-items: center;
  padding-left: min(30px, 2.5vw);
}

.form-label .required {
  background-color: #ff8c33;
  color: #fff;
  font-size: min(20px, 1.67vw);
  padding: min(4px, 0.33vw) min(12px, 1vw);
  margin-right: min(15px, 1.25vw);
  border-radius: 2px;
}

.form-field {
  flex: 1;
  font-size: min(20px, 1.67vw);
}

.p1-d-contact input[type="radio"],
.p1-d-contact input[type="checkbox"] {
  /* transform: scale(2); ← これを削除 */
  
  /* 直接サイズを指定（1300px基準で可変） */
  width: min(24px, 1.85vw); 
  height: min(24px, 1.85vw);
  
  /* 15pxを1300px基準で計算 */
  margin-right: min(15px, 1.15vw);
  
  cursor: pointer;
  vertical-align: middle;
  
  /* ブラウザ標準のデザインを維持しつつサイズだけ変える */
  appearance: auto; 
  -webkit-appearance: auto;
}

.p1-d-contact input[type="text"],
.p1-d-contact input[type="email"],
.p1-d-contact input[type="tel"],
.p1-d-contact textarea {
  width: 100%;
  padding: min(15px, 1.25vw);
  border: none;
  background-color: #f0f0f0;
  font-size: min(16px, 1.33vw);
  box-sizing: border-box;
}

.p1-d-contact textarea {
  height: min(250px, 20.83vw);
}

.wpcf7-list-item {
  display: block;
  margin: min(10px, 0.83vw) 0;
}

.form-consent {
  text-align: center;
  margin-top: min(40px, 3.33vw);
  font-size: min(18px, 1.5vw);
}

.form-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  /* 1200pxでちょうど20pxになる計算（20/1200*100 = 1.67vw） */
  width: min(20px, 1.67vw);
  height: min(20px, 1.67vw);
  border: 1px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  display: inline-block;
  /* 1200px基準の10px（10/1200*100 = 0.83vw） */
  margin-right: 0;
  box-sizing: border-box;
  padding: 0;
  margin-top: 0;
  margin-bottom: 5px;
}

.form-consent input[type="checkbox"]:checked {
  border-color: #007bff;
  background-color: #007bff;
}

.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  /* サイズ変更に合わせて位置を中央（50%）にリセットするのが一番安定します */
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  /* 1200px基準の8pxくらいが見栄えが良いです（8/1200*100 = 0.67vw） */
  width: min(8px, 0.67vw);
  height: min(8px, 0.67vw);
  background-color: #fff;
  border-radius: 50%;
}

.form-consent label {
  font-size: min(18px, 1.5vw);
  vertical-align: middle;
  cursor: pointer;
}

.form-submit {
  text-align: center;
  margin-top: min(30px, 2.5vw);
}

.p1-d-contact input[type="submit"] {
  background-color: #ff8c33;
  color: #fff;
  padding: min(20px, 1.67vw) min(100px, 8.33vw);
  font-size: min(20px, 1.67vw);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.p1-d-contact input[type="submit"]:hover {
  opacity: 0.8;
}

.wpcf7-spinner {
  display: none;
}

.p1-d-box3 {
  background-color: #E5E3E3;
  padding: min(60px, 5vw) 0;
}

.p1-d-item {
  width: min(1080px, 90vw);
  background-color: #fff;
  padding: min(40px, 3.33vw) min(70px, 5.83vw);
  margin: 0 auto;
}

.p1-d-title h2 {
  font-size: min(36px, 3vw);
  font-weight: 400;
  color: #FF8B25;
  padding-bottom: min(50px, 4.17vw);
}

.p1-d-title p {
  font-size: min(16px, 1.33vw);
  line-height: 2;
}

.p1-d-text3 {
  margin-top: min(60px, 5vw);
}

.p1-d-text3 h3 {
  font-size: min(24px, 2vw);
  font-weight: 400;
}

.p1-d-text3 p {
  font-size: min(16px, 1.33vw);
  line-height: 2;
  margin-top: min(20px, 1.67vw);
}

.p1-d-text3 ul {
  margin-top: min(20px, 1.67vw);
}

.p1-d-text3 ul li {
  font-size: min(16px, 1.33vw);
  line-height: 2;
  letter-spacing: 1px;
}

.p1-e-container {
  padding: 40px 0;
}

.p1-e-img {
  width: 360px;
  height: auto;
  margin: 0 auto;
}


/* フッター */
.footer-container {
  background-color: #000;
  padding-top: min(60px, 5vw);
}

.footer-logo {
  width: min(280px, 23.33vw);
  height: auto;
  margin: 0 auto;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: min(30px, 2.5vw);
  padding: min(40px, 3.33vw) 0 min(60px, 5vw);
}

.footer-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(5px, 0.42vw);
}

.footer-nav ul li a .orenzi {
  font-size: min(22px, 1.83vw);
  font-family: "Crimson Text", serif;
  color: #EB7E1E;
}

.footer-nav ul li a span {
  font-size: min(16px, 1.33vw);
  color: #fff;
}

.footer-box {
  display: flex;
  justify-content: center;
  padding-bottom: min(60px, 5vw);
}

.footer-item {
  display: flex;
  align-items: center;
  padding-left: min(30px, 2.5vw);
}

.footer-box .footer-item:nth-child(2) {
  border-left: 1px solid #fff;
}

.footer-item span {
  font-size: min(16px, 1.33vw);
  color: #fff;
  padding-right: min(20px, 1.67vw);
}

.footer-p {
  padding-right: min(30px, 2.5vw);
}

.footer-p p {
  font-size: min(16px, 1.33vw);
  color: #fff;
}

.footer-p .tel {
  margin-top: min(5px, 0.42vw);
  display: flex;
  align-items: center;
}

.footer-p .tel::before {
  content: "";
  display: inline-block;
  width: min(14px, 1.17vw);
  height: min(14px, 1.17vw);
  margin-right: min(10px, 0.83vw);
  background-image: url(../image/tel.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.copy-right {
  text-align: center;
  background-color: #FF8B25;
  padding: min(30px, 2.5vw) 0;
}

.copy-right p {
  font-size: clamp(9px, 1.17vw, 14px);
}







/* 共通パーツ */
.h2-title {
  text-align: center;
  padding: min(80px, 6.67vw) 0;
}

.h2-title h2 {
  font-size: min(72px, 6vw);
  font-weight: 400;
  font-family: "Oswald", sans-serif;
  color: #fff;
  padding-bottom: min(20px, 1.67vw);
}

.h2-title h2 span {
  font-family: "Oswald", sans-serif;
}

.h2-title p {
  font-size: min(32px, 2.67vw);
  color: #fff;
}





@media screen and (max-width: 767px) {
  /* 全体 */
  #header, .pc-img, .pc-br {
    display: none;
  }

  .sp-img, .sp-br2 {
    display: block;
  }

  /* ヘッダー */
 .sp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    z-index: 9999;
    display: block; /* スマホでは表示 */
  }

  .sp-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 15px;
  }

  .sp-header-logo img {
    height: 30px;
    width: auto;
  }

  /* ハンバーガーボタン */
.sp-menu-btn {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: #000;
  border: none;
  z-index: 1000;
}

.sp-menu-btn span {
  position: absolute;
  left: 7.5px;       /* 中央寄せ：(40px - 25px) / 2 */
  width: 25px;
  height: 4px;       /* 4pxに変更 */
  background-color: #fff;
  transition: 0.3s;
}

/* 通常時：4pxの厚みを考慮した配置 */
.sp-menu-btn span:nth-child(1) { top: 10px; }
.sp-menu-btn span:nth-child(2) { top: 18px; } /* 19pxから18pxに微調整 */
.sp-menu-btn span:nth-child(3) { top: 26px; }

/* ×印に変形 */
.sp-menu-btn.is-active span:nth-child(1) {
  top: 18px; /* 中央に集める */
  transform: rotate(45deg);
}

.sp-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
  /* 横にずれるのを防ぐため、transformは動かさない */
}

.sp-menu-btn.is-active span:nth-child(3) {
  top: 18px; /* 中央に集める */
  transform: rotate(-45deg);
}

  /* 全画面メニュー */
  .sp-header-nav {
    position: fixed;
    top: 0;
    right: -255px;
    width: 255px;
    height: 100vh;
    background-color: #000;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .sp-header-nav.is-active {
    right: 0;
  }

  .sp-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sp-nav-list li { margin: 25px 0; }
  .sp-nav-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 16ppx;
  }

  .sp-nav-list li a .first-span {
    font-size: 22px;
    font-family: "Oswald", sans-serif;
  }

  /* トップ */
  .main-v {
    height: calc(100vh - 60px);
    margin-top: 60px;
  }

  .main-v-title h1 {
    font-size: 36px;
  }

  .main-v-title h1 span {
    font-size: 24px;
    padding-bottom: 20px;
  }

  .p1-a-container {
    width: 92%;
    padding: 40px 0 100px;
    margin: 0 auto;
  }

  .p1-a-box {
    width: 100%;
  }

  .p1-a-h2 {
    padding-bottom: 30px;
  }

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

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

  .p1-a-p {
    padding-top: 20px;
  }

  .p1-a-p p {
    font-size: 14px;
  }

  .p1-a-back-text {
    left: 0;
  }

  .p1-a-back-text p {
    font-size: 100px;
  }

  .p1-b .h2-title {
    background-image: url(../image/sp-top-back5.png);
  }

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

  .p1-b-box1 {
    padding: 40px 4%;
  }

  .p1-b-h2 {
    width: 100%;
    padding-bottom: 20px;
  }

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

  .p1-b-p {
    width: 100%;
    padding: 30px 0 20px;
  }

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

  .p1-b-img1 {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .p1-b-back-text {
    left: 50%;
    transform: translateX(-50%);
  }

  .p1-b-back-text p {
    font-size: 50px;
  }

  .p1-b-box2 {
    padding: 30px 0 30px;
  }

  .p1-b-item {
    width: 100%;
    flex-direction: column;
    padding-right: 4%;
    margin: 0 auto;
  }

  .p1-b-img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  .p1-b-text {
    width: 100%;
    background-color: transparent;
    padding: 0;
    margin-top: 20px;
  }

  .p1-b-box2 .p1-b-text.left {
    padding-left: 4%;
    margin-left: 0;
  }

  .p1-b-title {
    padding-bottom: 20px;
  }

  .p1-b-title p, .p1-b-title p span {
    font-size: 24px;
  }

  .p1-b-title p span {
    padding-left: 5px;
  }

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

  .p1-b-p2 {
    padding-top: 20px;
  }

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

  .p1-b-title2 {
    padding-bottom: 30px;
  }

  .p1-b-title2 p, .p1-b-title2 p span {
    font-size: 24px;
  }

  .p1-b-title2 p span {
    padding-left: 5px;
  }

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

  .p1-b-box3 {
    background-color: #E5E3E3;
    padding: 30px 0 40px;
  }

  .p1-b-box3 .p1-b-item {
    flex-direction: column-reverse;
    align-items: flex-end;
    padding-right: 0;
    padding-left: 4%;
  }

  .p1-b-box3 .p1-b-item:last-child {
    margin-top: 30px;
  }

  .p1-b-box3 .p1-b-text.right, .p1-b-box2 .p1-b-text.right {
    width: 100%;
    position: relative;
    z-index: 10;
    padding-right: 4%;
    margin-right: 0;
    margin-top: 20px;
  }

  .p1-b-box4 .p1-b-item:last-child {
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 30px;
    padding-right: 0;
    padding-left: 4%;
  }

  .p1-b-box4 .p1-b-text.left {
    margin-top: 20px;
  }

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

  .p1-c-box1 {
    padding: 40px 0;
  }

  .p1-c-item {
    width: 92%;
    padding: 20px 30px;
  }

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

  .p1-c-p {
    text-align: left;
    margin-top: 10px;
  }

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

  .p1-c-back-text {
    display: none;
  }

  .p1-c-box2 {
    padding: 30px 0;
  }

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

  .p1-c-table {
    width: 92%;
    margin: 0 auto;
  }

  .p1-c-table table {
    border-spacing: 0 10px;
  }

  .p1-c-table table tr th, .p1-c-table table tr td {
    font-size: 14px;
    padding: 20px 0;
  }

  .p1-c-table table tr th {
    width: 132px;
    color: #fff;
    background-image: url(../image/sp-part1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-right: 12px;
  }

  .p1-c-table table tr td {
    width: auto;
    padding-left: 8px;
  }

  .p1-c-table table .part2 td, .p1-c-table table .part3 td, .p1-c-table table .part4 td {
    line-height: 1.8;
  }

  .p1-c-table table .part2 th {
    background-image: none;
  }

  .p1-c-table table .part3 th {
    background-image: url(../image/sp-part3.png);
    background-size: 100% 101%;
  }

  .p1-c-table table .part4 th {
    background-image: url(../image/sp-part2.png);
    background-repeat: no-repeat;
    background-size: 100% 101%;
  }

  .p1-c-map iframe {
    width: 100%;
    height: 400px;
  }

  .p1-d .h2-title {
    background-image: url(../image/sp-top-back8.png);
  }

  .p1-d-box {
    width: 92%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0 40px;
    margin: 0 auto;
  }

  .p1-d-text {
    width: 100%;
  }

  .p1-d-p1 p {
    font-size: 14px;
  }

  .p1-d-img1 {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 20px auto;
  }

  .p1-d-img2 img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  .p1-d-p2 {
    left: 5px;
    bottom: 15px;
    padding: 10px;
  }

  .p1-d-p2 p {
    font-size: 16px;
  }

  .p1-d-box2 {
    padding: 40px 0;
  }

  .p1-d-text2 {
    width: 92%;
    margin: 0 auto;
  }

  .p1-d-text2 p {
    font-size: 14px;
  }


  .p1-d-contact {
    width: 92%;
    padding: 10px 30px;
    margin: 30px auto 0;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 0 20px 0;
  }

  .form-row.no-border {
    border-bottom: none;
    align-items: flex-start;
  }

  .form-label {
    width: 100%;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding-left: 0;
    padding-top: 20px;
  }

  .form-label .required {
    display: inline-block;
    font-size: 16px;
    padding: 5px;
    margin-right: 20px;
  }

  .form-field {
    width: 100%;
    font-size: 16px;
  }

  .p1-d-contact input[type="radio"],
  .p1-d-contact input[type="checkbox"] {
    width: 20px; 
    height: 20px;
    margin-right: 5px;
    cursor: pointer;
    vertical-align: middle;
    appearance: auto; 
    -webkit-appearance: auto;
  }

  .p1-d-contact input[type="text"],
  .p1-d-contact input[type="email"],
  .p1-d-contact input[type="tel"],
  .p1-d-contact textarea {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #f0f0f0;
    font-size: 16px;
    box-sizing: border-box;
  }

  .p1-d-contact textarea {
    height: 300px;
  }

  .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin: 6px 0;
  }

  .form-consent {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
  }

  .form-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    /* 1200pxでちょうど20pxになる計算（20/1200*100 = 1.67vw） */
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    /* 1200px基準の10px（10/1200*100 = 0.83vw） */
    margin-right: 0;
    box-sizing: border-box;
    padding: 0;
    margin-top: 0;
    margin-bottom: 5px;
  }

  .form-consent input[type="checkbox"]:checked {
    border-color: #007bff;
    background-color: #007bff;
  }

  .form-consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    /* サイズ変更に合わせて位置を中央（50%）にリセットするのが一番安定します */
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    /* 1200px基準の8pxくらいが見栄えが良いです（8/1200*100 = 0.67vw） */
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
  }

  .form-consent label {
    font-size: 14px;
    vertical-align: middle;
    cursor: pointer;
  }

  .form-submit {
    text-align: center;
    margin-top: 30px;
  }

  .p1-d-contact input[type="submit"] {
    background-color: #ff8c33;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
  }

  .p1-d-box3 {
    padding: 30px 0;
  }

  .p1-d-item {
    width: 92%;
    padding: 30px;
    margin: 0 auto;
  }

  .p1-d-title h2 {
    font-size: 20px;
    padding-bottom: 20px;
  }

  .p1-d-title p {
    font-size: 14px;
  }

  .p1-d-text3 {
    margin-top: 20px;
  }

  .p1-d-text3 h3 {
    font-size: 16px;
  }

  .p1-d-text3 p {
    font-size: 14px;
    margin-top: 10px;
  }

  .p1-d-text3 ul {
    margin-top: 15px;
  }

  .p1-d-text3 ul li {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .p1-e-container {
    padding: 40px 0;
  }

  .p1-e-img {
    width: 335px;
    height: auto;
    margin: 0 auto;
  }


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

  .footer-logo {
    width: 140px;
  }

  .footer-nav ul {
    display: none;
  }

  .footer-box {
    max-width: 500px;
    width: 100%;
    flex-direction: column;
    padding: 0 8% 30px;
    /* padding-bottom: 30px; */
    margin: 30px auto 0;
  }

  .footer-item {
    padding-left: 0;
  }

  .footer-box .footer-item:first-child {
    padding-bottom: 30px;
  }

  .footer-box .footer-item:nth-child(2) {
    padding-top: 30px;
    border-left: none;
    border-top: 1px solid #fff;
  }

  .footer-item span {
    width: 80px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    padding-right: 0;
  }

  .footer-p {
    padding-right: 0;
  }

  .footer-p p {
    font-size: 14px;
    color: #fff;
  }

  .footer-p .tel {
    margin-top: 8px;
    display: flex;
    align-items: center;
  }

  .footer-p .tel::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    background-image: url(../image/tel.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .copy-right {
    text-align: center;
    background-color: #FF8B25;
    padding: 30px 0;
  }

  .copy-right p {
    font-size: 12px;
  }



  /* 共通パーツ */
  .h2-title {
    padding: 50px 0;
  }

  .h2-title h2 {
    font-size: 48px;
    padding-bottom: 15px;
  }

  .h2-title p {
    font-size: 20px;
  }


}


@media screen and (max-width: 430px) {
  /* 全体 */
  .sp-br {
    display: block;
  }

  /* トップ */
  .slide1 { background-image: url(../image/sp-top-back1.png); }
  .slide2 { background-image: url(../image/sp-top-back2.png); }
  .slide3 { background-image: url(../image/sp-top-back3.png); }

  .main-v-container {
   align-items: flex-start;
   padding-top: 40px;
  }



} 



@media screen and (max-width: 375px) {
  .p1-a {
    background-image: url(../image/sp-top-back4.png);
  }

  .p1-c-box1 {
    background-image: url(../image/sp-top-back7.png);
  }



}