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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #222;
  background: #82cefe;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.lp-wrap {
  width: 100%;
  overflow-x: hidden;
}

.sp-fixed-cta {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1000;
  display: block;
  width: 360px;
  max-width: calc(100vw - 36px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}

.sp-fixed-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  height: 40px;
  background: #82cefe;
}

.sp-fixed-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sp-fixed-cta__bg {
  display: block;
  width: 100%;
  height: auto;
}

.sp-fixed-cta a {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: auto;
  transition: opacity .3s ease, transform .3s ease;
}

.sp-fixed-cta a:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.sp-fixed-cta a img {
  display: block;
  width: 100%;
  height: auto;
}

.sp-fixed-cta__tel {
  left: 1.8%;
  top: 51.8%;
  width: 60.7%;
}

.sp-fixed-cta__mail {
  right: 1.9%;
  top: 51.8%;
  width: 32.7%;
}
/* =============================
   LP画像エリア
============================= */
.lp-images {
  width: 100%;
}

.lp-images--pc {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.lp-images--sp {
  display: none;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
}

.lp-block {
  position: relative;
  width: 100%;
}

.lp-block img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-block--time {
  position: relative;
}

.current-time-label {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  display: inline-block;
  color: #f15a24;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
}

.current-time-label--pc {
  top: 27%;
  left: 49.2%;
  font-size: clamp(13px, calc(1.8vw - 3px), 31px);
  transform: translate(calc(-50% - 2px), -50%);
}

.current-time-label--sp {
  top: 14%;
  left: 45%;
  font-size: clamp(19px, calc(5.5vw + 2px), 30px);
}

.current-time-label--pc-09 {
  top: calc(27% + 1px);
}

.current-time-label--pc-16 {
  top: calc(27% + 5px);
}

.current-time-label--sp-05 {
  top: calc(14% + 2px);
}

.current-time-label--sp-lower {
  top: calc(22% - 1px);
}
/* =============================
   PC FV右上ボタン
============================= */
.lp-block--pc-hero {
  position: relative;
}

.pc-hero-buttons {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
  padding: 5px clamp(8px, 3vw, 40px);
  background: #003f96;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.pc-hero-brand {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.pc-hero-brand img {
  width: clamp(100px, 9vw, 164px);
  height: auto;
}

.pc-hero-brand__text {
  color: #ffef49;
  font-size: clamp(14px, 1.45vw, 24px);
}

.pc-hero-buttons a {
  display: block;
  width: clamp(92px, 8vw, 124px);
}
.pc-hero-buttons a img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .3s ease, transform .3s ease;
}

.pc-hero-buttons a:hover img {
  opacity: .9;
  transform: translateY(-1px);
}

/* =============================
   SP FV右上小ボタン
============================= */
.hero-wrap {
  position: relative;
  width: 100%;
}

.hero-wrap__header-buttons {
  position: absolute;
  top: 3px;
  right: 3px;
  display: flex;
  gap: 4px;
  z-index: 20;
}

.hero-wrap__header-buttons a {
  display: block;
  width: 60px;
}

.hero-wrap__header-buttons a img,
.cta-overlay a img {
  display: block;
  transition: opacity .3s ease, transform .3s ease;
}

.hero-wrap__header-buttons a:hover img,
.cta-overlay a:hover img {
  opacity: .9;
  transform: translateY(-1px);
}

/* =============================
   CTA重ねボタン
============================= */
.cta-overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-overlay a {
  display: block;
	flex-shrink: 0; /* 追加：親のflexによって潰されるのを防ぐ */
}

/* PC CTA */
.cta-overlay--pc {
  gap: 10px;
  width: auto;
  min-width: 0;
  max-width: none;
}

.cta-overlay--pc a {
  flex: 0 0 auto;
  width: clamp(190px, 18vw, 290px);
}

.cta-overlay--pc a img {
  width: 100% !important;
  height: auto;
}

/* SP CTA */
.cta-overlay--sp {
  flex-direction: column;
  gap: 12px;
  width: 92%;
  max-width: 690px;
}

.cta-overlay--sp a {
  width: 100%;
}

/* CTA位置 */
.cta-overlay--pc-01 { bottom: 15%; }
.cta-overlay--pc-02 { bottom: 15%; }
.cta-overlay--pc-03 { bottom: 15%; }

.cta-overlay--sp-01 { bottom: 11%; }
.cta-overlay--sp-02 { bottom: 11%; }
.cta-overlay--sp-03 { bottom: 11%; }

/* =============================
   共通内側
============================= */
.inner,
.faq-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.section-title--white {
  color: #fff;
}

.section-lead {
  margin: 0 0 30px;
  text-align: center;
  font-size: 16px;
  color: #fff;
}

/* =============================
   FAQ
============================= */
.faq {
  padding: 80px 0;
  background: linear-gradient(to bottom, #52b3ea 0%, #1566bd 100%);
}

.faq-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.faq-item {
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.faq-question {
  width: 100%;
  border: none;
  background: #f5f5f5;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
}

.faq-qmark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #003f96;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-question-text {
  flex: 1;
  color: #003f96;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.faq-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff6a00;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  background: #f5f5f5;
}

.faq-answer-inner {
  border-top: 2px dotted #8bc8f3;
  padding-top: 16px;
  color: #003f96;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* =============================
   フォーム
============================= */
.contact-form {
  padding: 80px 0;
  background: #82cefe;
}

.form-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.form-table th,
.form-table td {
  border: 1px solid #d8d8d8;
  padding: 18px 20px;
  vertical-align: middle;
}

.form-table th {
  width: 32%;
  background: #f4f8fc;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: #003d87;
}

.form-table th span {
  display: inline-block;
  margin-right: 10px;
}

.form-table th em {
  display: inline-block;
  padding: 2px 8px;
  background: #ff5b5b;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  border-radius: 4px;
}

.form-table th i {
  display: inline-block;
  padding: 2px 8px;
  background: #8ba3bd;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  border-radius: 4px;
}

.form-table input,
.form-table select,
.form-table textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  appearance: none;
}

.form-table textarea {
  resize: vertical;
  min-height: 160px;
}

.form-note {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

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

.form-submit button {
  min-width: 260px;
  padding: 18px 30px;
  border: none;
  border-radius: 9999px;
  background: #ff6a00;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .3s;
}

.form-submit button:hover {
  opacity: .85;
}

/* =============================
   会社概要
============================= */
.company {
  padding: 70px 0;
  background: #003d87;
}

.company-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 35px 30px;
  background: rgba(255, 255, 255, .08);
  border-radius: 16px;
  color: #fff;
  text-align: left;
}

.company-box p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.8;
}

.company-box p:last-child {
  margin-bottom: 0;
}

.company-box span {
  font-weight: 700;
}

/* =============================
   Thanks
============================= */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #82cefe;
}

.thanks-box {
  width: 100%;
  max-width: 760px;
  padding: 50px 30px;
  background: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.thanks-box h1 {
  margin: 0 0 20px;
  color: #003d87;
  font-size: 32px;
  line-height: 1.5;
}

.thanks-box p {
  margin: 0 0 12px;
  font-size: 16px;
}

.thanks-box a {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  border-radius: 9999px;
  background: #003d87;
  color: #fff;
  font-weight: 700;
}

/* =============================
   SP
============================= */
@media screen and (max-width: 767px) {
  html,
  body {
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
  }

  .lp-wrap {
    width: 100%;
  }

  .pc-hero-brand,
  .pc-hero-buttons {
    display: none !important;
  }

  .lp-images--pc {
    display: none !important;
  }

  .lp-images--sp {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
  }

  .lp-block,
  .hero-wrap {
    width: 100%;
  }

  .sp-fixed-cta {
    left: 50%;
    right: auto;
    bottom: calc(-1px - env(safe-area-inset-bottom));
    width: 100%;
    max-width: 750px;
    transform: translate(-50%, 16px);
  }

  .sp-fixed-cta.is-visible {
    transform: translate(-50%, 0);
  }

  .sp-fixed-cta__tel {
    left: 1.8%;
    top: 47.5%;
    width: 60.7%;
  }

  .sp-fixed-cta__mail {
    right: 1.9%;
    top: 47.5%;
    width: 32.7%;
  }

  .hero-wrap__header-buttons {
    position: absolute;
    top: 3px;
    right: 3px;
    left: auto;
    height: auto;
    z-index: 20;
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0;
    background: transparent;
  }

  .hero-wrap__header-buttons a {
    width: 60px;
  }

  .cta-overlay--sp {
    width: 92%;
    max-width: 690px;
    gap: 12px;
  }

  .cta-overlay--sp-01 { bottom: 11%; }
  .cta-overlay--sp-02 { bottom: 11%; }
  .cta-overlay--sp-03 { bottom: 11%; }

  body {
    padding-bottom: calc(42.4vw + env(safe-area-inset-bottom));
  }
  .inner,
  .faq-inner {
    padding: 0 15px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .section-lead {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .faq {
    padding: 50px 0;
  }

  .faq-title {
    font-size: 32px;
    margin-bottom: 22px;
  }

  .faq-item {
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .faq-question {
    padding: 16px 12px;
    gap: 10px;
  }

  .faq-qmark {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .faq-question-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .faq-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .faq-answer {
    padding: 0 12px 16px;
  }

  .faq-answer-inner {
    padding-top: 14px;
    font-size: 14px;
    line-height: 1.8;
  }

  .contact-form {
    padding: 50px 0;
  }

  .form-table,
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }

  .form-table tr {
    margin-bottom: 12px;
  }

  .form-table th,
  .form-table td {
    padding: 14px;
  }

  .form-table th {
    border-bottom: none;
    font-size: 16px;
  }

  .form-table td {
    border-top: none;
  }

  .form-submit button {
    width: 100%;
    min-width: 0;
    font-size: 17px;
  }

  .company {
    padding: 50px 0;
  }

  .company-box {
    padding: 24px 18px;
  }

  .company-box p {
    font-size: 16px;
  }

  .thanks-box {
    padding: 36px 20px;
  }

  .thanks-box h1 {
    font-size: 24px;
  }
}
