@charset "utf-8";
* {
    font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3',"游ゴシック体","YuGothic","游ゴシック","Yu Gothic",'Meiryo','メイリオ', sans-serif;
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 0;
}
.abs {
    position: absolute;
}
.rel {
    position: relative;
}
.mt10 {
    margin-top: 10px;
}
.fcr {
    color: #ff0000;
}
.fcp {
    color: #FA57CC;
}
.fcb {
    color: #0047b2;
}
.fcsb {
    color: #0497FF;
}
.fsm {
    font-size: 19px;
}
.fsl {
    font-size: 21px;
}
.fsll {
    font-size: 23px;
}
.tal {
    text-align: left;
}
.tar {
    text-align: right;
}
.tac {
    text-align: center;
}
.bold {
    font-weight: bold;
}
.mark {
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 60%,#ffff00 0%) repeat scroll 0 0;
}
#wrapper{
    margin: auto;
}
img,video {
    width: 100%;
    vertical-align: middle;
}
.anno {
    font-size: 10px;
    color: gray;
    text-align: right;
    margin-top: -10px;
}
.pc {
    display: block;
}
.sp {
    display: none;
}

@media only screen and (max-width: 767px){
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}

p {
    font-size: clamp(16px, 1.2vw, 24px);
}
.head {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 15px 20px 5px;
    background: #fff;
}
.head a {
    max-width: 300px;
    display: block;
}
@media only screen and (max-width: 767px){
    .head {
        padding: 10px 5px 5px;
    }
    .head .left {
        max-width: 140px;
    }
    .head .right {
        width: 55%;
    }
}

.fv {
    background-image: url(../img/fv_pc_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.fv img {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}
.fv .rel {
    max-width: 1000px;
    margin: auto;
}
.fv .rel .btn {
    bottom: 25vh;
    left: 0;
}
@media only screen and (max-width: 767px){
    .fv .rel .btn {
        bottom: 28%;
        left: 3%;
        width: 75%;
        margin: auto;
    }
}

.why {
    padding: 5vh 0 8vh;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.why img {
    width: 92%;
    max-width: 1000px;
    margin: auto;
}

.exam {
    padding: 8vh 0 18vh;
    background-color: #eef6f9;
}
.exam img {
    width: 92%;
    max-width: 1000px;
    margin: auto;
}
.exam .btn {
    left: 0;
    right: 0;
    margin: 3vh auto 2vh;
    width: 90%;
    max-width: 500px;
    display: flex;
}

.check {
    padding-bottom: 5vh;
    background-color : #ffffff;
	background-image:
		repeating-linear-gradient( 0deg,rgba(238, 238, 238, 0.5) 0px 1px, transparent 1px 20px),
		repeating-linear-gradient( 90deg,rgba(238, 238, 238, 0.5) 0px 1px, transparent 1px 20px);
}
.check .ttl {
    display: block;
    background-image: linear-gradient( 90deg, rgb(16,55,162) 0%, rgb(16,108,189) 65%, rgb(15,160,216) 100%);
}
.check .ttl img {
    width: 92%;
    max-width: 750px;
    margin: auto;
    padding-top: 2vh;
}
.check .tri {
    height: 2vh;
    width: 6%;
    margin: auto auto 2vh;
    background-color: #105fb6;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.check .rel {
    width: 92%;
    max-width: 1000px;
    margin: auto;
}
.check .btn {
    left: 0;
    right: 0;
    margin: 3vh auto 2vh;
    width: 90%;
    max-width: 500px;
    display: flex;
}
.check .anno {
    text-align: center;
    color: black;
    font-size: 12px;
    margin-top: -20px;
}
@media only screen and (max-width: 767px){
    .check .ttl img {
        width: 96%;
        margin: auto 0 auto 4%;
        padding-top: 2vh;
    }
}

.flow {
    padding: 8vh 0;
    background-image: url(../img/flow_bg_pc.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.flow img {
    max-width: 1000px;
    width: 94%;
    margin: auto;
}
@media only screen and (max-width: 767px){
    .flow {
        background-image: url(../img/flow_bg_sp.jpg);
    }
}

.faq {
    padding: 7vh 0;
}
.faq .ttl {
    width: 45%;
    max-width: 300px;
    margin: auto auto 2vh;
    display: block;
}
.accordion-006 {
    margin: auto;
    width: 92%;
    max-width: 800px;
    margin-bottom: 2vh;
    background-color: #eef6f9;
    border-radius: 5px;
}
.accordion-006 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 1.5em;
    color: #1136a5;
    font-weight: 600;
    cursor: pointer;
}
.accordion-006 summary::-webkit-details-marker {
    display: none;
}
.accordion-006 summary::before,
.accordion-006 summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #1136a5;
    content: '';
}
.accordion-006 summary::before {
    position: absolute;
    right: 2em;
    rotate: 90deg;
}
.accordion-006 summary::after {
    transition: rotate .3s;
}
.accordion-006[open] summary::after {
    rotate: 90deg;
}
.accordion-006 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 1.5em 1.5em;
    transition: transform .5s, opacity .5s;
}
.accordion-006[open] p {
    transform: none;
    opacity: 1;
    font-size: unset;
    text-align: justify;
}
@media only screen and (max-width: 767px){
    .accordion-006 summary {
        padding: 1em 1.5em 1em 1em;
    }
    .accordion-006 summary::before {
        right: 1.5em;
    }
    .accordion-006 p {
        padding: .3em 1em 1.5em;
    }
}

.form {
    background-color: #eef6f9;
}

footer {
    background-color: #001d69;
    padding: 10px 0;
}
footer p {
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: 10px;
}

/* フォーム-------------------------------------------------- */
:root {
    --color-bg: #f7f5f2;
    --color-surface: #ffffff;
    --color-primary: #1a1a2e;
    --color-accent: #c8973a;
    --color-accent-light: #e8c97a;
    --color-text: #2d2d2d;
    --color-text-sub: #6b6b6b;
    --color-border: #ddd8d0;
    --color-error: #c0392b;
    --color-required: #c0392b;
    --radius: 4px;
    --shadow: 0 2px 20px rgba(0,0,0,0.06);
    --transition: 0.25s ease;
  }
.form-card {
    width: 92%;
    max-width: 1000px;
    margin: 4vh auto;
    background: var(--color-surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 48px 52px;
  }

  .form-card {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-text-sub);
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
  }

  /* ========== FORM ROWS ========== */
  .form-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0 24px;
    align-items: start;
    padding: 20px 0;
  }
  .form-row:last-of-type {
    border-bottom: none;
  }

  label {
    font-size: 0.88rem;
    font-weight: 500;
    padding-top: 10px;
    color: var(--color-text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }
  .badge-required {
    font-size: 0.68rem;
    background: var(--color-required);
    color: #fff;
    padding: 2px 7px;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .badge-optional {
    font-size: 0.68rem;
    background: #e0ddd8;
    color: var(--color-text-sub);
    padding: 2px 7px;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    color: var(--color-text);
    background: #faf9f7;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
  }
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="tel"]:focus,
  select:focus,
  textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(200,151,58,0.12);
    background: #fff;
  }
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6b6b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
  }
  textarea {
    resize: vertical;
    min-height: 140px;
  }
  .input-hint {
    font-size: 0.78rem;
    color: var(--color-text-sub);
    margin-top: 6px;
  }
  .error-msg {
    font-size: 0.78rem;
    color: var(--color-error);
    margin-top: 5px;
    display: none;
  }
  .field-wrap { width: 100%; }

  /* ========== SUBMIT AREA ========== */
  .form-actions {
    margin: 10px auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .privacy-note {
    font-size: 0.8rem;
    color: var(--color-text-sub);
    text-align: center;
    line-height: 1.7;
  }
  .privacy-note a {
    color: var(--color-accent);
    text-decoration: underline;
  }
  .btn-confirm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 15px 56px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
  }
  .btn-confirm::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .btn-confirm:hover {
    background: #2c2c4a;
    background-image: linear-gradient( -75deg, rgb(241,102,34) 0%, rgb(239,86,33) 65%, rgb(237,70,31) 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  }

  @media only screen and (max-width: 767px){
    .form-row {
        display: block;
        padding: 6px 0;
    }
    .form-card {
        width: 80%;
        padding: 4%;
    }
    input[type="text"], input[type="email"], input[type="tel"], textarea {
        width: 90%;
    }
    select {
        width: 100%!important;
    }
    label {
        margin-bottom: 6px;
    }
  }