@import url('sections.css');
:root {
  --cyan: #03b5cf;
  --navy: #13245d;
  --orange: #ff7601;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--navy);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}
a {
  color: inherit;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #163aa1;
  outline-offset: 3px;
}
.header {
  height: 80px;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}
.logo {
  display: grid;
  place-items: center;
  width: 212px;
  height: 50px;
  font-size: 23px;
  font-weight: bold;
  text-decoration: none;
}
.logo img {
  width: 100%;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 11px;
}
.header-phone {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding-left: 35px;
  position: relative;
}
.header-phone:before {
  content: '♧';
  position: absolute;
  left: 0;
  font-size: 38px;
}
.header-phone span {
  font-size: 13px;
  font-weight: bold;
}
.header-phone b {
  font-size: 24px;
  color: #fe567e;
  letter-spacing: -1px;
}
.header-mail,
.header-line {
  padding: 15px 8px;
  border-radius: 5px;
  color: white;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  background: #ff9400;
  box-shadow: 0 3px #a75a00;
}
.header-line {
  background: #00b522;
  box-shadow: 0 3px #087500;
}
.art {
  position: relative;
  overflow: hidden;
}
.art-inner {
  position: relative;
  margin: auto;
  max-width: none;
}
.art-inner > img {
  display: block;
  width: 100%;
  height: auto;
}
.sp {
  display: none;
}
.hotspot {
  position: absolute;
  display: block;
  border-radius: 8px;
}
.hotspot:hover {
  background: #ffffff20;
}
.badges {
  position: absolute;
  bottom: 22px;
  left: 3.62%;
  width: 92.75%;
  display: flex;
}
.badges img {
  width: 34.64%;
  height: auto;
}
.faq {
  background: var(--cyan);
  padding: 40px 15px;
  color: var(--navy);
}
.section-heading {
  text-align: center;
  margin: 0 auto 32px;
}
.section-heading > p {
  font-style: italic;
  font-weight: 900;
  font-size: 24px;
  color: white;
  margin: 0 0 0;
  line-height: 45px;
}
.section-heading h2 {
  color: var(--cyan);
  position: relative;
  background: white;
  border-radius: 60px;
  padding: 18px 30px 22px;
  width: 384px;
  max-width: 100%;
  font-size: 31px;
  line-height: 1.9;
  margin: auto;
}
.section-heading h2:before {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 10%;
  width: 80%;
  border-bottom: 1px solid var(--cyan);
}
.section-heading h2:after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: calc(50% - 22px);
  border-width: 18px 22px 0;
  border-style: solid;
  border-color: white transparent transparent;
}
.faq-list {
  max-width: 1000px;
  margin: auto;
  background: white;
  border: 2px solid #a8dfec;
  border-radius: 9px;
  overflow: hidden;
}
.faq details + details {
  border-top: 1px solid #a8dfec;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 125px 15px 160px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.q {
  color: var(--cyan);
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
}
.faq summary:after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
  position: absolute;
  right: 145px;
  top: 28px;
}
.faq details[open] summary:after {
  transform: rotate(225deg);
}
.answer {
  display: flex;
  gap: 18px;
  padding: 20px 120px 30px 160px;
  font-size: 16px;
  line-height: 1.7;
}
.answer > span {
  color: #ff6150;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
}
.answer p {
  margin: 0;
}
.contact {
  background: var(--cyan);
  padding: 122px 15px 40px;
  scroll-margin-top: 20px;
}
.container {
  max-width: 1000px;
  margin: auto;
}
.application {
  background: white;
  border-radius: 15px;
  padding: 40px 44px;
  color: #343948;
}
.form-row {
  display: grid;
  grid-template-columns: 319px minmax(0, 1fr);
  gap: 15px;
  margin: 0 0 15px;
  align-items: center;
}
.form-row > label,
.form-row > legend {
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.required {
  background: #ff7601;
  color: white;
  font-weight: normal;
  border-radius: 4px;
  font-size: 14px;
  padding: 1px 7px;
  margin-left: 8px;
}
.application input:not([type='radio']):not([type='checkbox']),
.application select {
  width: 100%;
  height: 55px;
  border: 0;
  border-radius: 5px;
  background: #eff2f6;
  padding: 15px 20px;
  font: inherit;
  color: #343948;
}
.application input::placeholder {
  color: #8b8f9a;
}
.application select:invalid {
  color: #8b8f9a;
}
.form-row:has(#company) {
  border-top: 5px solid var(--cyan);
  padding-top: 40px;
  margin-top: 40px;
}
.radio-row {
  border: 0;
  padding: 0;
  margin-top: 20px;
  display: block;
  position: relative;
  min-height: 37px;
  padding-left: 334px;
}
.radio-row legend {
  position: absolute;
  left: 0;
  top: 5px;
  width: 319px;
  padding: 0;
}
.radio-options {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.radio-options label {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}
.radio-options input {
  width: 19px;
  height: 19px;
  accent-color: var(--cyan);
}
.radio-options small {
  color: #dd445f;
  font-size: 12px;
  width: 100%;
  margin-top: -20px;
}
.consent {
  text-align: center;
  margin: 35px 0 20px;
  font-size: 16px;
}
.consent a {
  color: #1e8cd2;
}
.consent input {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 9px;
  accent-color: var(--cyan);
}
.submit-button {
  display: block;
  width: 438px;
  max-width: 100%;
  height: 55px;
  border: 0;
  margin: auto;
  border-radius: 30px;
  color: white;
  background: linear-gradient(#febc09, #ff7801);
  font: inherit;
  cursor: pointer;
}
.submit-button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-error {
  color: #b51a2e;
  background: #fff0f0;
  padding: 15px;
}
footer {
  padding: 35px 15px 40px;
  text-align: center;
  font-size: 13px;
  color: #343948;
}
footer a {
  text-decoration: none;
}
footer p {
  margin: 30px 0 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.subpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #111;
}
.sub-content {
  width: 700px;
  max-width: calc(100% - 30px);
  margin: 45px auto 60px;
  flex: 1;
  font-size: 16px;
  line-height: 1.75;
}
.sub-content h1 {
  text-align: center;
  font-size: 24px;
  margin: 0 0 30px;
}
.sub-content p {
  white-space: pre-line;
}
.company {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid #ddd;
}
.company dt,
.company dd {
  margin: 0;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}
.company dt {
  background: #f3f3f3;
}
.policy {
  width: 650px;
}
.subpage footer {
  margin-top: auto;
}
@media (min-width: 768px) and (max-width: 1399px) {
  .art-inner {
    left: 50%;
    margin-left: -700px;
  }
  .header .logo {
    width: 180px;
  }
  .header nav {
    gap: 8px;
  }
}
@media (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .art-inner {
    width: 100% !important;
  }
  .header {
    height: 16.908vw;
    padding: 2.4vw 3.62vw;
    gap: 1.8vw;
  }
  .logo {
    width: 46.75vw;
    height: 8.45vw;
    font-size: 3.86vw;
    flex-shrink: 0;
  }
  .logo img {
    width: 100%;
  }
  .header nav {
    gap: 1.6vw;
  }
  .header-phone {
    padding: 0;
  }
  .header-phone:before {
    display: none;
  }
  .header-phone span {
    font-size: 2.9vw;
  }
  .header-phone b {
    font-size: 5.65vw;
    letter-spacing: -0.25vw;
    white-space: nowrap;
    line-height: 1.2;
  }
  .header-mail {
    width: 12.5vw;
    height: 12.3vw;
    display: grid;
    place-items: center;
    background: #03b5cf;
    border: 1px solid #13245d;
    box-shadow: none;
    font-size: 9vw;
    line-height: 1;
    padding: 0;
  }
  .header-mail span,
  .header-line {
    display: none;
  }
  .badges {
    bottom: 5.31vw;
  }
  .faq {
    padding: 20px 3.62vw;
  }
  .section-heading h2 {
    font-size: 7.59vw;
    padding: 12px 20px 20px;
  }
  .section-heading > p {
    font-size: 5.8vw;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .faq summary {
    min-height: 72px;
    padding: 10px 36px 10px 15px;
    gap: 16px;
    font-size: 4.1vw;
    line-height: 1.55;
  }
  .faq summary:after {
    right: 18px;
    top: 30px;
  }
  .answer {
    padding: 15px;
    font-size: 3.86vw;
    gap: 16px;
  }
  .q,
  .answer > span {
    font-size: 24px;
  }
  .contact {
    padding: 35px 3.62vw 20px;
  }
  .application {
    border-radius: 12px;
    padding: 25px 15px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }
  .form-row > label {
    justify-content: flex-start;
    font-size: 16px;
  }
  .form-row:has(#company) {
    margin-top: 25px;
    padding-top: 25px;
  }
  .radio-row {
    padding-left: 0;
    min-height: 0;
    margin-top: 25px;
  }
  .radio-row legend {
    position: static;
    width: auto;
    margin-bottom: 12px;
    justify-content: flex-start;
    font-size: 15px;
  }
  .radio-options {
    gap: 25px;
  }
  .radio-options small {
    margin-top: 0;
  }
  .consent {
    font-size: 14px;
  }
  .sub-content {
    margin-top: 35px;
    font-size: 15px;
  }
  .sub-content h1 {
    font-size: 24px;
  }
  footer {
    font-size: 11px;
    line-height: 2;
  }
  footer nav {
    max-width: 384px;
    margin: auto;
  }
  .company {
    grid-template-columns: 110px 1fr;
  }
  .company dt,
  .company dd {
    padding: 15px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.header-phone:before {
  display: none;
}
.phone-icon {
  position: absolute;
  left: 0;
  top: 0;
}
.phone-icon img {
  display: block;
}
.header-mail {
  display: flex;
  align-items: center;
  gap: 3px;
}
.pc-mail-icon {
  display: block;
}
.sp-mail-icon {
  display: none;
}
@media (max-width: 767px) {
  .header-phone {
    padding-left: 7.4vw;
  }
  .phone-icon {
    top: 0.1vw;
    width: 6.2vw;
    height: 10.4vw;
    background: url(phone_sp.svg) center/contain no-repeat;
  }
  .phone-icon img {
    display: none;
  }
  .header-phone span:not(.phone-icon) {
    font-size: 2.9vw;
  }
  .header-phone b {
    font-size: 5.8vw;
  }
  .header nav {
    gap: 1.8vw;
  }
  .header-mail {
    width: 12.5vw;
    height: 12.3vw;
    flex-shrink: 0;
    border: 0;
    background: transparent;
  }
  .sp-mail-icon {
    display: block;
    width: 100%;
    height: auto;
  }
  .pc-mail-icon {
    display: none;
  }
  .header-mail span {
    display: none;
  }
}

.back-home {
  margin-top: 35px;
  text-align: center;
}
.back-home a {
  color: #3784bd;
  text-decoration: underline;
}
@media (max-width: 767px) {
  .subpage .header,
  .subpage footer {
    display: none;
  }
  .subpage .sub-content {
    margin: 45px 20px 35px;
    padding: 0;
    width: auto;
  }
  .subpage .sub-content h1 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 35px;
  }
  .subpage .company {
    display: block;
    border: 0;
  }
  .subpage .company dt {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 20px;
    font-weight: 700;
    margin-top: 24px;
  }
  .subpage .company dd {
    padding: 8px 0 0;
    border: 0;
    margin: 0;
  }
  .subpage .back-home {
    text-align: left;
    margin-top: 25px;
  }
  .custom-select select {
    background: #f1f1f4;
  }
}

.application hr {
  display: none;
}

.scroll-cta {
  display: none;
}
@media (max-width: 767px) {
  body:has(.scroll-cta) {
    padding-bottom: calc(48.309vw + env(safe-area-inset-bottom, 0px));
  }
  .scroll-cta {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: transparent;
  }
  .scroll-cta-inner {
    position: relative;
    width: 100%;
    max-width: 767px;
    margin: auto;
  }
  .scroll-cta img {
    width: 100%;
    height: auto;
    display: block;
  }
  .cta-mail {
    left: 3.623%;
    top: 24.865%;
    width: 92.754%;
    height: 27.5%;
  }
  .cta-line {
    left: 3.623%;
    top: 57.46%;
    width: 45.062%;
    height: 32.678%;
  }
  .cta-phone {
    left: 51.316%;
    top: 57.46%;
    width: 45.062%;
    height: 32.678%;
  }
}

.pc .art-inner > .foreground {
  position: absolute;
  width: var(--asset-width);
  height: auto;
}
.hero.pc {
  background: #fff !important;
}
.hero.pc:before {
  content: '';
  position: absolute;
  inset: 0 0 36px;
  background: url(backgrounds/hero.png) center/cover no-repeat;
}

.hero.pc .foreground {
  mix-blend-mode: multiply;
}

@media (max-width: 767px) {
  .header .header-mail {
    display: none;
  }
  .scroll-cta-inner:before {
    content: '';
    position: absolute;
    inset: 9.865% 0 0;
    background: rgba(255, 255, 255, 0.9);
  }
  .scroll-cta .cta-art {
    position: relative;
    clip-path: inset(22% 0 0 0);
  }
  .scroll-cta .cta-callout {
    position: absolute;
    left: 3.623%;
    top: 0;
    width: 92.754%;
    height: auto;
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  .scroll-cta-inner:before {
    display: none;
  }
  .native-cta {
    height: 48.30918vw;
    background: transparent;
  }
  .cta-bubble {
    position: absolute;
    left: 3.623%;
    top: 0;
    width: 92.754%;
    height: 21.864%;
    margin: 0;
    padding-top: 1.93237vw;
    background: url(cta-bubble_sp.svg) center/100% 100% no-repeat;
    text-align: center;
    font-size: 4.10628vw;
    line-height: 4.83092vw;
    letter-spacing: 0.12319vw;
    font-weight: 700;
    color: #fc4475;
    white-space: nowrap;
  }
  .cta-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.2;
  }
  .cta-button.cta-mail {
    background: #fe920b;
    border-color: #743600;
    box-shadow: 0 0.90217vw 0 #743600;
    font-size: 5.3442vw;
  }
  .cta-button.cta-line {
    background: #09af29;
    border-color: #00722f;
    box-shadow: 0 1.07198vw 0 #00722f;
    font-size: 4.34783vw;
    padding-left: 7vw;
  }
  .cta-button.cta-phone {
    background: #fc4475;
    border-color: #721100;
    box-shadow: 0 1.07198vw 0 #721100;
    font-size: 4.34783vw;
    padding-left: 7vw;
  }
  .cta-button .cta-symbol {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .cta-mail .cta-symbol {
    left: 5.314vw;
    width: 9.66184vw;
    height: 7.00483vw;
    background-image: url(cta-mail_sp.svg);
  }
  .cta-line .cta-symbol {
    left: 1.448vw;
    width: 9.17vw;
    height: 8.83vw;
    background-image: url(cta-line_sp.svg);
  }
  .cta-phone .cta-symbol {
    left: 2.066vw;
    width: 6.52174vw;
    height: 10.86957vw;
    background-image: url(cta-phone_sp.svg);
  }
  .cta-arrow {
    position: absolute;
    top: 50%;
    right: 7.72947vw;
    transform: translateY(-50%);
    width: 4.67609vw;
    height: 4.67609vw;
    background: url(cta-arrow_sp.svg) center/contain no-repeat;
  }
  .cta-line .cta-arrow,
  .cta-phone .cta-arrow {
    right: 1.5vw;
  }
}

.cta-mail .cta-arrow {
  background-image: url(cta-arrow-mail_sp.svg);
}
.cta-line .cta-arrow {
  background-image: url(cta-arrow-line_sp.svg);
}
.cta-phone .cta-arrow {
  background-image: url(cta-arrow-phone_sp.svg);
}

@media (max-width: 767px) {
  .scroll-cta-inner.native-cta:before {
    display: block;
    content: '';
    position: absolute;
    inset: 9.865% 0 0;
    background: rgba(255, 255, 255, 0.9);
  }
}

.contact-heading {
  margin-bottom: 48px;
}
.contact-heading h2 {
  font-size: 31px;
  line-height: 1.9;
}
@media (max-width: 767px) {
  .contact-heading {
    margin-bottom: 35px;
  }
  .contact-heading h2 {
    font-size: 7.49vw;
  }
}

@media (max-width: 767px) {
  .subpage .header {
    display: flex;
    justify-content: flex-start;
  }
  .subpage .header nav {
    display: none;
  }
  .subpage footer {
    display: block;
    width: 100%;
    margin-top: auto;
    background: white;
  }
}

/* 2026-10-13 スマホのヘッダー：電話番号がはみ出さないように調整 */
@media (max-width: 767px) {
  .header { padding: 2.4vw 3.2vw; gap: 2vw; }
  .logo { width: 41vw; }
  .header-phone { padding-left: 6.6vw; }
  .header-phone span:not(.phone-icon) { font-size: 2.7vw; white-space: nowrap; }
  .header-phone b { font-size: 5.5vw; letter-spacing: -0.2vw; }
  .phone-icon { width: 5.6vw; }
}
