/* ==============================
  汎用変数・汎用クラス
================================ */
:root {
  --main-color: #007acc;
  --gradient-btn-start: #0094db;
  --gradient-btn-end: #330867;
  --text-color: #28292c;
  --bg-color: #f8f8f8;
  --heading-color: #004c9f;
  --global-bg-color: #f2f6ff;
  --gray-color: #c1c1c1;
  --max-width-inner: 1320px;
  --width-inner: 90%;
}

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

html {
  font-family: "Noto Sans JP", serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--text-color);
  letter-spacing: 0.05em;
  scroll-behavior: smooth;
}

a {
  color: var(--heading-color);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1 {
  font-weight: normal;
  color: #fff;
}

h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}

body {
  background-color: var(--global-bg-color);
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.btn {
  position: relative;
  display: inline-block;

  /* padding: 0.45em 3em; */
  overflow: hidden;
  font-size: 30px;
  font-weight: normal;
  color: #fff;
  text-align: center;
  letter-spacing: 0;

  /* background: var(--main-color); */
  border-radius: 50px;
  transition: opacity 0.3s ease;
}

.btn::after {
  position: absolute;
  top: 0;
  left: -120%;
  width: 110%;
  height: 100%;
  pointer-events: none;
  content: "";
  background: rgb(255 255 255 / 20%);
  transform: skewX(30deg);
  transition: all 0.2s ease-in;
}

.btn:hover::after {
  left: -5%;
  transform: skewX(-30deg);
}

.btn-cta {
  background: linear-gradient(
    135deg,
    var(--gradient-btn-start),
    var(--gradient-btn-end)
  );
}

/* ==============================
  Header
================================ */
.header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: rgb(255 255 255 / 70%);
}

.header-inner {
  display: flex;
  gap: 3%;
  align-items: center;
  justify-content: space-between;
  width: var(--width-inner);
  max-width: 1690px;
  height: 100px;
  margin: 0 auto;
}

.header-logo img {
  height: 58px;
}

.header-contact {
  display: flex;
  flex: 0 1 1055px;
  gap: 2.8%;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

.header-contact a {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  word-break: keep-all;
}

.header-tel span {
  font-size: 0.8em;
  color: #555;
}

.btn-line {
  display: flex;
  flex: 0 1 300px;
  align-items: center;
  justify-content: center;

  /* height: 44px; */
  background-color: #fff;
  border: 1px solid #00c300;
  border-radius: 50px;
  transition: 0.3s;
}

.btn-line:hover {
  background-color: #e5f9e5;
}

.btn-line img {
  width: 75%;
  padding: 5px 0;
}

.btn-line.sp-only {
  display: none;
}

.header-contact .btn {
  flex: 0 1 344px;
}

.hamburger {
  position: absolute;
  top: 34px;
  right: 4%;
}

.hamburger button {
  position: relative;
  width: 30px;
  height: 20px;
  color: var(--heading-color);
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger button::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background-color: var(--heading-color);
  border-radius: 2px;
  box-shadow:
    0 9px 0 0 var(--heading-color),
    0 18px 0 0 var(--heading-color);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 1001;
  width: 100%;
  height: 568px;
  transition: right 0.3s ease;
}

.mobile-menu::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(
    0deg,
    var(--gradient-btn-start),
    var(--gradient-btn-end)
  );
  opacity: 0.8;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  padding: 50px 0 20px;
  margin: 0;
  text-align: center;
  list-style: none;
}

.mobile-menu li {
  margin: 0 0 1.6em;
  line-height: 1;
  text-align: center;
}

.mobile-menu li:first-child {
  margin-bottom: 3em;
}

.mobile-menu li span {
  font-size: 13px;
}

.mobile-menu a:not(.btn) {
  font-size: 18px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.mobile-menu .btn {
  display: block;
  width: 245px;
  margin: 0 auto;
}

.mobile-menu > .btn.btn-cta {
  display: block;
  width: 245px;
  margin: 20px auto 0;
}

.mobile-menu #close-menu {
  position: absolute;
  top: 30px;
  right: 4%;
  width: 30px;
  height: 30px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}

#close-menu::before,
#close-menu::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background-color: #fff;
  border-radius: 2px;
}

#close-menu::before {
  transform: translateY(-50%) rotate(45deg);
}

#close-menu::after {
  transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu .mobile-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  padding: 0 20px;
  background-color: #001e54;
}

/* ==============================
  Hero
================================ */
.hero {
  position: relative;
  width: 100%;
  height: 428px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  background-color: rgb(0 0 0 / 50%);
}

.hero-overlay-center {
  justify-content: center;
}

.hero-title {
  margin: 5.5em auto 0.5em;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.1em;
}

.hero-overlay-center .hero-title {
  margin: 100px 0 0;
}

.hero-title span {
  font-size: 27px;
}

.hero-subtitle {
  width: 90%;
  font-size: 25px;
}

.hero-top {
  height: 100dvh;
  overflow: hidden;
  background-image: url("/img/top_mv.jpg");
  background-position: center bottom;
}

.hero-top .hero-overlay {
  position: absolute;
  top: 27vh;
  left: 13vw;
  align-items: flex-start;
  text-align: left;
  background: none;
}

.hero-top .hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: min(3.2vw, 61px);
  line-height: 1.6;
}

.hero-top .hero-title::before {
  position: absolute;
  top: -22%;
  left: -17vw;
  z-index: -1;
  width: 175%;
  height: 140%;
  content: "";
  background: var(--heading-color);
  transform: skew(-26deg);
}

.hero-top .hero-subtitle {
  margin: 1.7em 0 0.7em;
  font-size: min(2vw, 38px);
}

.hero-top .btn {
  width: min(30vw, 328px);
}

/* ==============================
  Breadcrumb
================================ */
.breadcrumb ul {
  display: flex;
  gap: 0.5em;
  width: var(--width-inner);
  max-width: 1690px;
  margin: 0.1em auto 0;
  font-size: 17px;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 0.5em;
  color: var(--gray-color);
  content: "＞";
}

/* ==============================
  Top
================================ */
.top-menu {
  padding: 10px 0;
  background: var(--heading-color);
}

.top-menu ul {
  display: flex;
  justify-content: space-evenly;
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  margin: 0 auto;
  text-align: center;
  list-style: none;
  border-right: 2px solid #fff;
}

.top-menu li {
  width: 100%;
  font-size: min(2.5vw, 30px);
  border-left: 2px solid #fff;
}

.top-menu a {
  position: relative;
  display: block;
  padding: 0.5em 0;
  overflow: hidden;
  color: #fff;
}

.top-menu a span {
  position: relative;
}

/* 追加: ホバー時、中央から下線が広がるアニメーション */
.top-menu ul li a span::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 100%;
  height: 3px;
  content: "";
  background-color: #fff;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.top-menu ul li a:hover span::after {
  transform: translateX(-50%) scaleX(1);
}

.top-plan h2.heading,
.price h2.heading,
.lineup h2.heading {
  padding-top: 100px;
  margin-top: -100px;
  margin-bottom: 0;
}

.top-plan h2.heading span,
.price h2.heading span,
.lineup h2.heading span {
  width: 130%;
  transform: translateX(-11%);
}

.top-plan {
  padding: 90px 0 190px;
}

.top-plan-inner {
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  margin: 0 auto;
}

.top-plan-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 50px auto 0;
}

/* 全カード共通 */
.top-plan-item {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #000;
}

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

/* 画像領域 */
.top-plan-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.top-plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* ホバーで拡大 */
.top-plan-image:hover img {
  transform: scale(1.05);
}

/* テキストオーバーレイ */
.top-plan-content {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 1.4em;
  color: #fff;
  background: rgb(0 0 0 / 50%);
  transition: background 0.3s ease;
}

.top-plan-item:hover .top-plan-content {
  background: rgb(0 0 0 / 0%);
}

.top-plan-content h3 {
  position: relative;
  margin: 0;
  font-size: min(3.1vw, 35px);
  font-weight: normal;
  line-height: 0.8;
  color: #fff;
}

.top-plan-content h3::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 30px;
  height: 30px;
  content: "";
  background: url("/img/arrow.svg") no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

.top-plan-content h3 span {
  font-size: 0.7em;
}

.top-plan-content p {
  margin: 0.5em 0 0;
  font-size: min(1.7vw, 20px);
  line-height: 1.4;
}

.top-plan-item:nth-of-type(1),
.top-plan-item:nth-of-type(2) {
  flex: 1 1 50%;
}

.top-plan-item:nth-of-type(3),
.top-plan-item:nth-of-type(4),
.top-plan-item:nth-of-type(5) {
  flex: 1 1 33.333%;
}

.price {
  padding: 80px 0 50px;
  background: url("/img/bg_price.jpg") center/cover no-repeat;
}

.price-inner {
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  margin: 0 auto;
}

.price h2.heading {
  margin-bottom: 40px;
  color: #fff;
}

.price h2.heading span {
  width: 200%;
  color: #fff;
  border-color: #fff;
  opacity: 0.7;
  transform: translateX(-25%);
}

.price p {
  margin: 0 0 0.4em;
  font-size: 30px;
  color: #fff;
  text-align: center;
}

.price p.small {
  font-size: 22px;
  font-weight: 200;
}

.plan-table.plan-table-top {
  margin: 50px 0;
  letter-spacing: 0.1em;
}

.plan-table.plan-table-top th {
  font-size: min(1.8vw, 25px);
  background: #c2d4ec;
}

.plan-table.plan-table-top td {
  padding: 0.3em 1.5em;
  font-size: min(1.7vw, 23px);
}

.plan-table.plan-table-top td:nth-child(2) {
  font-weight: normal;
  text-align: left;
}

.plan-table.plan-table-top td:nth-child(3) {
  text-align: center;
}

.price .bubble {
  position: relative;
  width: fit-content;
  margin: 0 auto 40px;
  font-size: 28px;
}

.price .bubble::before,
.price .bubble::after {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  content: "";
  background-color: #fff;
}

.price .bubble::before {
  left: -20px;
  transform: rotate(-30deg);
}

.price .bubble::after {
  right: -20px;
  transform: rotate(30deg);
}

.price .btn {
  display: block;
  width: 691px;
  margin: 0 auto 40px;
}

.price .credit {
  display: block;
  width: 880px;
  margin: 40px auto 0;
}

.lineup {
  padding: 90px 0 70px;
}

.lineup-inner {
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  margin: 0 auto;
}

.lineup p {
  margin: 20px auto 110px;
  font-size: 26px;
  color: var(--heading-color);
  text-align: center;
}

.lineup h3 {
  position: relative;
  padding: 0.3em 0 0.5em 0.6em;
  margin: 0 0 50px;
  font-size: 26px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--heading-color);
}

.lineup h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 85%;
  content: "";
  background-color: var(--heading-color);
}

/* スワイパー全体のスタイル */
.swiper {
  position: relative;
  margin: 50px auto;
}

/* 各スライド */
.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0) scale(0.666);
  transition: 0.6s;
}

.swiper-backface-hidden .swiper-slide-active {
  transform: translateZ(0) scale(1);
}

.swiper-slide-next {
  /* translate: -60px; */
}

.swiper-slide-prev {
  /* translate: 60px; */
}

/* スライドの中の画像例 */
.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* 黒40%のオーバーレイ。デフォルトでは全スライドにかけておいて、
       アクティブスライドだけ消すようにする */
.swiper-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(0 0 0 / 40%);
  opacity: 1;
  transition: opacity 0.6s;
}

.swiper-slide-active::after {
  opacity: 0;
}

/* Swiperのデフォルト矢印表示を無効にする */
.swiper-button-next::after,
.swiper-button-prev::after {
  content: none !important;
}

.swiper-button-next,
.swiper-button-prev {
  width: 35px;
  height: 35px;
  opacity: 0.7;
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}

.swiper-button-next img,
.swiper-button-prev img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-button-next {
  right: 30.5%;
}

.swiper-button-prev {
  left: 30.5%;
}

.lineup dl {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 70px;
  font-size: 18px;
  text-align: center;
}

.lineup dl div {
  display: flex;
}

.lineup dt,
.lineup dd {
  padding: 0.6em 0.5em;
}

.lineup dt {
  width: 164px;
  background: #c2d4ec;
}

.lineup dd {
  width: 236px;
  background: #fff;
}

/* ==============================
  Service Intro
================================ */
.service {
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  margin: 65px auto 150px;
}

.service-inner {
  display: flex;
  gap: 6%;
  align-items: center;
  margin: 0 auto 100px;
}

.service-inner:nth-of-type(even) {
  flex-direction: row-reverse;
}

.service-inner + .service-inner {
  margin-top: -60px;
}

.service-image {
  flex: 1 0 648px;
}

.service .btn {
  display: block;
  width: 691px;
  margin: 0 auto;
}

.service-desc {
  flex: 0 1 45%;
}

.service-desc h2 {
  margin-bottom: 0.4em;
  font-size: 1.6em;
  line-height: 1.2;
}

/* ==============================
  Plan (料金プラン) Table
================================ */
.plan {
  width: 100%;
  margin: 0;
  background: url("/img/bg_plan.jpg") center/cover no-repeat;
}

.plan-inner {
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  padding: 80px 0 100px;
  margin: 0 auto;
}

.plan h3 {
  margin-bottom: 0.7em;
  font-size: 40px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.plan-table.pc-only {
  display: table;
}

.plan-table.sp-only {
  display: none;
}

.plan-table {
  width: 100%;
  margin-bottom: 0.5em;
  overflow: hidden;
  font-size: 25px;
  font-weight: bold;
  font-feature-settings: "palt";
  line-height: 1.4;
  letter-spacing: 0;
  border-spacing: 2px;
  border-collapse: separate;
  background-color: transparent;
}

.plan-table.pc-only + .plan-table.pc-only {
  margin-top: 1.5em;
}

.plan-table caption {
  margin-bottom: 0.3em;
  font-size: 30px;
  font-weight: bold;
  color: var(--heading-color);
  text-align: left;
}

.plan-table th {
  padding: 0.5em;
  font-weight: bold;
  text-align: center;
  background-color: #89acd5;
}

.plan-table.narrow th {
  padding-right: 0.3em;
  padding-left: 0.3em;
}

.plan-table th span,
.plan-table td span {
  font-size: 16px;
}

.plan-table td {
  padding: 0.9em;
  vertical-align: middle;
  color: #333;
  text-align: center;
  background-color: #fff;
}

.plan-table.narrow td {
  padding-right: 0.3em;
  padding-left: 0.3em;
}

.plan-table td:first-child,
.plan-table td:last-child {
  text-align: left;
}

.plan h4 {
  margin: 30px 0 0;
  font-size: 25px;
}

.plan ul {
  padding-left: 1.5em;
  margin-bottom: 30px;
  list-style: disc;
}

.plan ul li {
  margin-bottom: 0.1em;
}

/* ==============================
  Company
================================ */

.company {
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  margin: 65px auto 100px;
}

h2.heading {
  width: fit-content;
  margin: 0 auto 70px;
  font-size: 40px;
  font-weight: normal;
  line-height: 1.5;
  color: var(--heading-color);
  text-align: center;
  letter-spacing: 0.1em;
}

h2.heading span {
  display: block;
  padding-top: 0.2em;
  font-size: 30px;
  font-weight: normal;
  color: var(--gray-color);
  border-top: 2px solid var(--heading-color);
}

.company dl {
  display: flex;
  flex-flow: column;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 120px;
  font-size: 20px;
}

.company dl div {
  display: flex;
  gap: 80px;
}

.company dl dt {
  flex: 0 0 130px;
  color: var(--heading-color);
  text-align-last: justify;
}

.company dl dd {
  flex: 1 1 auto;
  margin-left: 0;
}

.company dl dd a {
  color: var(--text-color);
  text-decoration: underline;
}

.company .map {
  width: 100%;
  height: 500px;
  margin: 0 0 80px;
}

.company .map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
}

.company .map iframe .place-card {
  display: none !important;
}

/* ==============================
  Contact
================================ */

.contact {
  width: var(--width-inner);
  max-width: var(--max-width-inner);
  margin: 65px auto 100px;
}

.contact p {
  margin: -20px auto 30px;
  font-size: 30px;
  color: var(--heading-color);
  text-align: center;
}

.contact .contact-tel {
  display: block;
  width: fit-content;
  margin: 0 auto 20px;
}

.contact .contact-email {
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin: 0 auto;
}

form span {
  font-size: 20px;
}

form .note {
  margin: 0 0 100px;
  font-size: 23px;
  color: var(--text-color);
  text-align: left;
}

form .dash {
  font-size: 25px;
  color: var(--heading-color);
}

.required {
  margin-left: 1em;
  color: #f00;
}

/* 各フォームグループ */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

/* ラベルと必須マーク */
legend,
.form-group label {
  margin-bottom: 0.2em;
  font-size: 25px;
  color: var(--heading-color);
}

.radio-group label,
.checkbox-group label {
  display: inline-flex !important;
  gap: 0;
  align-items: center;
  margin: 0;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0 !important;
  margin-right: 0.3em !important;
  vertical-align: middle;
}

input[type="checkbox"],
input[type="checkbox"] + label,
input[type="radio"],
input[type="radio"] + label,
input[type="submit"],
button,
select {
  cursor: pointer;
}

input[type="image"],
fieldset {
  padding: 0;
  border: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.5em 1em;
  font: inherit;
  font-size: 22px;
  accent-color: var(--heading-color);
  border: 1px solid var(--heading-color);
  border-radius: 10px;
}

.form-group textarea {
  width: 100% !important;
  height: 290px !important;
}

.form-group select {
  padding-right: 2em;
  appearance: none;
  background: #fff url("/img/contact_arrow.svg") no-repeat right 12px center;
  background-size: 27px;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-color);
}

input#date {
  text-align: left !important;
}

/* 2カラムレイアウト */
.form-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.form-row.gap-narrow {
  gap: 20px;
}

.form-row .half {
  flex: 1;
}

.form-row .wide {
  flex: 0 1 58%;
}

.radio-group {
  display: flex;
  gap: 30px;
}

.radio-group label {
  display: flex;
  align-items: center;
}

.num-people input {
  width: 100px;
}

.mfp_err {
  display: none !important;
}

.num-people div:not(.mfp_err)::after {
  margin-left: 0.2em;
  color: var(--heading-color);
  content: "名";
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  margin-top: 2em;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

/* 注意書きやメモ */
.note {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* 送信ボタン */
.form-submit {
  display: flex;
  gap: 80px;
  align-items: center;
  justify-content: center;
}

.form-submit .back-to-top {
  display: flex;
  align-items: center;
  margin: 0;
}

.form-submit button {
  width: 326px;
  height: 64px;
  padding: 0;
  cursor: pointer;
  background: url("/img/btn_contact_confirm.png") no-repeat center;
  background-size: contain; /* 画像全体がボタン内に収まるように */
  border: none;
}

.form-submit button:hover {
  /* background-color: #3b86bb; */
}

div#mfp_overlay_inner {
  width: auto;
  padding: 0 0 60px;
  border-radius: 30px;
}

div#mfp_overlay_inner h4 {
  font-size: min(3vw, 36px);
  font-weight: normal;
  line-height: 2.2;
  color: var(--text-color);
  text-align: center;
  letter-spacing: 0.2em;
  background: #c2d4ec;
  border-radius: 30px 30px 0 0;
}

table#mfp_confirm_table {
  width: 65%;
  margin: 80px auto;
}

table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
  padding: 0.3em 0;
  font-size: min(2vw, 24px);
  letter-spacing: 0;
  border-top: none;
  border-bottom: 1px solid var(--heading-color);
}

table#mfp_confirm_table tr:last-child th,
table#mfp_confirm_table tr:last-child td {
  border-bottom: none;
}

table#mfp_confirm_table tr td {
  padding-left: 50px;
}

table#mfp_confirm_table tr.mfp_colored {
  background-color: #fff;
}

.mfp_buttons {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.mfp_element_button {
  width: 326px;
  height: 64px;
  padding: 0;
  color: transparent;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.mfp_element_button:hover {
  opacity: 0.7;
}

#mfp_button_cancel {
  background: url("/img/btn_contact_back.png") no-repeat center;
  background-size: contain;
}

#mfp_button_send {
  background: url("/img/btn_contact_send.png") no-repeat center;
  background-size: contain;
}

/* ==============================
  Back to Top
================================ */
.back-to-top {
  margin: 60px 0 0;
  text-align: center;
}

.back-to-top .btn {
  width: 326px;

  /* padding: 0.35em 2.7em; */
  font-size: 28px;
  color: #fff;
}

.back-to-top-fixed {
  position: fixed;
  bottom: 70px;
  left: 115px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 75px;
  height: 75px;
  padding-top: 25px;
  padding-bottom: 7px;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--gradient-btn-start),
    var(--gradient-btn-end)
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.back-to-top-fixed.visible {
  opacity: 1;
}

.back-to-top-fixed::before,
.back-to-top-fixed::after {
  position: absolute;
  width: 25px;
  height: 6px;
  content: "";
  background: #fff;
  border-radius: 3px;
}

.back-to-top-fixed::before {
  top: 22px;
  left: 16px;
  transform: rotate(-45deg);
}

.back-to-top-fixed::after {
  top: 22px;
  left: 31px;
  transform: rotate(-135deg);
}

.contact-fixed-wrap {
  position: fixed;
  right: 50px;
  bottom: 70px;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-fixed-wrap.visible {
  opacity: 1;
}

.contact-fixed-wrap.hidden {
  display: none;
}

.contact-fixed-wrap .btn-close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 1110;
  cursor: pointer;
  background: none;
  border: none;
}

.contact-fixed-wrap .btn-close img {
  width: 32px;
  height: 32px;
}

.contact-fixed {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 215px;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  border-radius: 13px;
}

/* ==============================
  Footer
================================ */
.footer {
  padding: 70px 0 40px;
  font-size: 16px;
  text-align: center;
  background: var(--bg-color) url("/img/bg_footer.png") center/cover no-repeat;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo img {
  width: 136px;
}

.footer-inner a {
  line-height: 1;
  letter-spacing: 0;
}

.footer-inner a img {
  display: inline;
  vertical-align: text-bottom;
}

.copyright {
  margin: 1.3em auto 0;
  line-height: 1;
  color: var(--heading-color);
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  html {
    font-size: 18px;
  }

  .btn {
    font-size: 25px;
  }

  .header-inner {
    height: 80px;
  }

  .header-logo img {
    height: 50px;
  }

  .header-contact {
    gap: 1.5%;
  }

  .header-contact a {
    /* flex-shrink: 0; */
    font-size: 14px;
  }

  .hero {
    height: 300px;
  }

  .hero-title {
    margin: 4em auto 0.5em;
    font-size: 35px;
  }

  .hero-title span {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-top {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero-top .hero-overlay {
    top: 130px;
    left: 8%;
  }

  .hero-top .hero-title::before {
    width: 150%;
    height: 135%;
  }

  .lineup dt {
    width: 134px;
  }

  .lineup dd {
    width: 206px;
  }

  .service {
    margin: 50px auto 120px;
  }

  .service-inner {
    gap: 4%;
  }

  .service-image {
    flex: 1 0 50%;
  }

  .service-desc h2 {
    font-size: 1.4em;
  }

  .service-desc p {
    font-size: 16px;
  }

  .plan-inner {
    padding: 60px 0;
  }

  .plan h3 {
    font-size: 35px;
  }

  .plan-table {
    font-size: 20px;
  }

  .plan-table th {
    padding: 0.3em;
  }

  .plan-table td {
    padding: 0.6em;
  }

  .plan-table td span {
    font-size: 14px;
  }

  .plan h4 {
    font-size: 25px;
  }

  .plan .indent {
    display: none;
  }

  .back-to-top-fixed {
    left: 4%;
  }

  .footer {
    padding: 50px 0;
  }

  .footer-logo img {
    width: 120px;
  }

  .footer-inner a {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
    line-height: 1.5;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .btn {
    /* padding: 0.4em 2.3em; */
    font-size: 17px;
    line-height: 1.35;
  }

  .btn span {
    display: none;
  }

  .btn-line.sp-only {
    display: flex;
    flex: 0 0 130px;
    margin-right: 45px;
  }

  .btn-line.sp-only img {
    width: 70%;
    padding: 4px 0;
  }

  .hero {
    height: 200px;
  }

  .hero-title {
    margin: 4.5em auto 0.3em;
    font-size: 25px;
    line-height: 0.8;
  }

  .hero-title span {
    font-size: 15px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .hero-top {
    height: 647px;
    background-image: url("/img/top_mv_sp.png");
    background-position: right bottom;
  }

  .hero-top .hero-overlay {
    top: 150px;
    left: 4%;
    height: auto;
  }

  .hero-top .hero-title {
    font-size: min(6.6vw, 36px);
  }

  .hero-top .hero-title::before {
    top: -15%;
    left: -12%;
    width: 115%;
    height: 130%;
    transform: skew(-20deg);
  }

  .hero-top .hero-subtitle {
    margin: 1.6em 0 1em;
    font-size: min(4.2vw, 23px);
  }

  .hero-top .btn {
    width: 224px;
  }

  .header-inner {
    height: 90px;
  }

  .header-logo img {
    height: 33px;
  }

  .header-contact {
    display: none;
  }

  .top-plan {
    padding: 10px 0;
  }

  .top-plan-wrap {
    margin: 10px auto 0;
  }

  .top-plan-item {
    flex: 1 1 100% !important;
    background: none;
  }

  .top-plan-image {
    height: auto;
  }

  .top-plan-image:hover img {
    transform: scale(1);
  }

  .top-plan-content {
    position: static;
    height: auto;
    padding: 0;
    background: none;
  }

  .top-plan-content h3 {
    margin: 0.2em 0 0;
    font-size: 20px;
    line-height: 1.6;
    color: var(--heading-color);
  }

  .top-plan-content h3::after {
    content: none;
  }

  .top-plan-content h3 span {
    font-size: 15px;
  }

  .top-plan-content h3 span.sp-only {
    font-size: 16px;
    color: var(--gray-color);
    border-top: 1px solid var(--heading-color);
  }

  .top-plan-content p {
    margin: 0.2em 0 1.4em;
    font-size: 14px;
    color: var(--text-color);
  }

  .price {
    padding: 20px 0 60px;
  }

  .price h2.heading {
    margin-bottom: 10px;
  }

  .price p {
    font-size: 20px;
  }

  .price p.small {
    font-size: 14px;
  }

  .plan-table.plan-table-top {
    margin: 20px 0;
  }

  .plan-table.plan-table-top th,
  .plan-table.plan-table-top td {
    height: 60px;
    padding: 0.8em 0.5em;
    font-size: 14px;
  }

  .plan-table.plan-table-top th {
    width: 120px;
  }

  .price .bubble {
    margin: 0 auto 30px;
    font-size: 16px;
  }

  .price .bubble::before,
  .price .bubble::after {
    width: 2px;
  }

  .price .bubble::before {
    left: -30px;
    transform: rotate(-20deg);
  }

  .price .bubble::after {
    right: -30px;
    transform: rotate(20deg);
  }

  .price .btn {
    width: 100%;
    margin: 0 auto 30px;
  }

  .price .credit {
    width: 100%;
    margin: 10px auto 0;
  }

  .lineup {
    padding: 60px 0 40px;
  }

  .lineup h2.heading {
    margin-bottom: 1em;
  }

  .lineup h3 {
    padding: 0.6em 0 1em 1em;
    margin: 0 0 20px;
    font-size: 14px;
  }

  .lineup h3::before {
    width: 5px;
  }

  .swiper {
    margin: 20px auto;
  }

  .swiper-slide-next {
    translate: -10vw;
  }

  .swiper-slide-prev {
    translate: 10vw;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .swiper-button-next {
    right: 4%;
  }

  .swiper-button-prev {
    left: 4%;
  }

  .lineup dl {
    flex-direction: column;
    gap: 3px;
    margin: 0 auto 50px;
    font-size: 14px;
  }

  .lineup dt {
    width: 40%;
  }

  .lineup dd {
    width: 60%;
  }

  .service {
    margin: 30px auto 40px;
  }

  .service-inner {
    flex-direction: column !important;
    gap: 0;
    margin-bottom: 40px;
  }

  .service-inner + .service-inner {
    margin-top: -10px;
  }

  .service-image img {
    width: 100%;
  }

  .service-image,
  .service-desc {
    flex-basis: auto;
    width: 100%;
  }

  .service-desc {
    display: contents;
    letter-spacing: 0;
  }

  .service-desc h2 {
    order: 1;
    margin: 0 auto 0.2em;
    font-size: 24px;
  }

  .service-image {
    order: 2;
  }

  .service-desc p {
    order: 3;
    width: 100%;
    margin: 0.3em 0 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .service .btn {
    width: 245px;
  }

  .breadcrumb {
    display: none;
  }

  .plan-inner {
    padding: 50px 0;
  }

  .plan h3 {
    font-size: 25px;
  }

  .plan-table.pc-only {
    display: none;
  }

  .plan-table.sp-only {
    display: table;
  }

  .plan-table {
    font-size: 14px;
    letter-spacing: 0;
    border-spacing: 0 3px;
  }

  .plan-table th,
  .plan-table td {
    padding: 1em 0.6em;
  }

  .plan-table td {
    font-weight: normal;
  }

  .plan-table td span {
    font-size: 11px;
  }

  .plan h4 {
    margin-top: 0.5em;
    font-size: 20px;
  }

  .plan ul {
    margin-bottom: 0.5em;
  }

  .company {
    margin: 20px auto 50px;
  }

  h2.heading {
    width: 100%;
    margin: 0 0 30px;
    font-size: 25px;
  }

  h2.heading span {
    display: block;
    width: 100% !important;
    padding-top: 0.1em;
    font-size: 16px;
    border-width: 1px;
    transform: translateX(0) !important;
  }

  .company dl {
    gap: 14px;
    width: 90%;
    margin: 0 auto 50px;
    font-size: 15px;
    letter-spacing: 0;
  }

  .company dl div {
    gap: 20px;
  }

  .company dl dt {
    flex: 0 0 90px;
    text-align: left;
  }

  .company dl dd {
    margin-left: 0;
  }

  .company .map {
    width: 80%;
    height: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 50px;
  }

  .company .map iframe {
    filter: grayscale(100%);
  }

  .contact {
    margin: 20px auto 50px;
  }

  .contact p {
    margin: -10px auto 30px;
    font-size: 20px;
  }

  .contact .contact-tel {
    width: 80%;
  }

  .contact .contact-email {
    width: 75%;
  }

  form span {
    font-size: 10px;
  }

  form .note {
    margin: 0 0 20px;
    font-size: 15px;
  }

  .form-group {
    margin-bottom: 8px;
  }

  legend,
  .form-group label {
    font-size: 16px;
  }

  select#model {
    padding: 0.8em 2.2em 0.8em 0.3em;
    font-size: 12px;
    letter-spacing: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    border-radius: 4px;
  }

  .form-group select {
    background-size: 16px;
  }

  .form-row {
    display: block;
  }

  .form-row-sp {
    display: flex !important;
    gap: 20px;
  }

  .form-row .wide {
    flex: 0 1 auto;
  }

  .radio-group {
    display: flex;
    gap: 15px;
  }

  input#date {
    width: 60%;
  }

  .form-row.gap-narrow {
    display: flex;
    gap: 10px;
  }

  form .dash {
    font-size: 16px;
  }

  .num-people input {
    width: 70px;
  }

  .checkbox-group label {
    font-size: 14px;
  }

  .form-submit .back-to-top {
    display: none;
  }

  .form-submit button {
    width: 220px;
  }

  div#mfp_overlay_inner {
    padding: 0 0 20px;
    margin-bottom: 30px;
    border-radius: 10px;
  }

  div#mfp_overlay_inner h4 {
    font-size: 22px;
    border-radius: 10px 10px 0 0;
  }

  table#mfp_confirm_table {
    width: 95%;
    margin: 20px auto 30px;
  }

  table#mfp_confirm_table tr th,
  table#mfp_confirm_table tr td {
    display: block;
    width: 100%;
    font-size: 16px;
  }

  table#mfp_confirm_table tr th {
    padding-bottom: 0;
    border-bottom: none;
  }

  table#mfp_confirm_table tr td {
    padding-top: 0;
    padding-left: 0;
  }

  .mfp_buttons {
    gap: 0;
    justify-content: space-evenly;
    width: 95%;
    margin: 0 auto;
  }

  .mfp_element_button {
    width: 45%;
    height: 8vw;
  }

  .footer {
    padding: 40px 0;
    background-image: url("/img/bg_footer_sp.png");
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-logo img {
    width: 107px;
  }

  .footer-inner a {
    color: var(--text-color);
  }

  .copyright {
    margin: 2.5em auto 0;
    font-size: 10px;
    color: var(--text-color);
  }
}
