@charset "UTF-8";
/* ヘッダー */
.sub-header {
    padding: 20px 0px 50px;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index:99;
}
.sub-header .header_logo h1 a {
    margin: 0px;
    justify-content: center;
}
@media screen and (max-width:768px){
    .sub-header {
        padding: 10px 0px 50px;
    }
    .sub-header .header_logo h1 a {
        justify-content: flex-start;
    }
}

/* ヒーローコンテンツ */
.sub_page .section_text {
    top: 20%;
    width: 100%;
}
@media screen and (max-width:768px){
    .sub_page .section_text {
        top: 26%;
        width: auto;
    }
}

/* タイトル */
.sub_page .section_beginning {
    height: 550px;
    margin-bottom: 30px;
}
@media screen and (max-width:768px){
    .sub_page .section_text h1 {
        font-size:46px;
        line-height:1.3;
    }
}

/* サブページ共通 */
.sub_page {
    background: #E0E4E5;
    position: relative;
    padding: 0px 0px 60px;
}
.subpage_inner {
    max-width:920px;
    width:100%;
    margin:0 auto;
}
@media screen and (max-width:768px){
    .subpage_inner {
        padding: 0 15px;
    }
}
.sub_page h2 {
    font-size: 30px;
}
@media screen and (max-width:768px){
    .sub_page h2 {
        font-size: 26px;
    }
}
.sub_page h3 {
    font-size: 22px;
    margin-top: 0px;
    margin-bottom: 10px;
}
.sub_page p {
    margin-bottom:10px;
}
.sub_page ul {
    list-style: disc;
    margin: 0px 0px 10px 25px;
    padding: 0px;
}

/* 料金 */
.price_section {
    margin-bottom:70px;
}
.price_box {
    display: flex;
    align-items: center;
    gap:30px;
    margin-bottom:15px;
}
.price_image {
    width: 30%;
}
.price_text {
    width:70%;
}
@media screen and (max-width:768px){
    .price_page .section_line_beside {
        top: 89%;
    }
    .price_box {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    .price_image,
    .price_text {
        width:100%;
    }
    .price_image {
        max-width: 200px;
    }
    .price_text h3 {
        text-align: center;
    }
}
.price_table {
    border-collapse: collapse;
    border-spacing: 0;
}
.price_table th {
    background: #000;
    color: #fff;
    text-align: left;
    padding: 12px 10px;
    border: 1px solid #333;
}
.price_table td {
    padding: 12px 10px;
    border: 1px solid #333;
}
@media screen and (max-width:768px){
    .price_table {
        display: block;
    }
    .price_table th {
        display: block;
        margin-top: 10px;
    }
    .price_table td {
        display: block;
    }
}

/* サンクスページ */
.thanks_section {
    text-align: center;
}
.thanks_image {
    margin: 40px 0px;
}
@media screen and (max-width:768px){
    .sub_page.thanks_page .section_beginning {
        height: 450px;
    }
}

/* フォーム */
.contact__form{
    width: min(760px, 100%);
    margin: 0 auto;
}
legend {
    font-weight: bold;
}
.label{
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}
.req{
    display:inline-block;
    font-size: 12px;
    padding: 4px;
    border-radius: 3px;
    background:#222;
    color:#fff;
    line-height: 1;
    margin-left: 6px;
}
.formrow{ margin: 16px 0 20px; }
.input, .textarea, .select{
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #222;
    border-radius: 3px;
    background: transparent;
    outline: none;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
}
.input:focus, .textarea:focus, .select:focus{
    border-color: #222;
}
.contact__form .wpcf7-list-item {
    margin: 0;
}
.selectwrap{ position: relative; }
.selectwrap::after{
    content:"";
    position:absolute;
    right:12px;
    top:50%;
    width:8px;
    height:8px;
    border-right:2px solid #333;
    border-bottom:2px solid #333;
    transform: translateY(-60%) rotate(45deg);
    pointer-events:none;
}
.textarea{ resize: vertical; min-height: 160px; }
.checklist{
    list-style:none;
    margin: 8px 0 0;
    padding:0;
    display:grid;
    gap:10px;
}
.formrow--consent label,
.checklist label{
    display:flex;
    align-items:center;
    gap:10px;
    line-height:1.5;
    font-size: 16px;
    color:#000;
}
.privacy-check {
    justify-content: center;
}
.formrow--consent input[type="checkbox"],
.formset_items input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0px;
    border: 1px solid #000;  /* 枠線 */
    background: transparent; /* 背景透明 */
    cursor: pointer;
    position: relative;
}
.formrow--consent input[type="checkbox"]:checked::after,
.formset_items input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 12px;
    border-right: 2px solid #000; /* チェックマークの色 */
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
}
.formrow--consent a {
    text-decoration: underline;
}
.formrow--consent{
    text-align: center;
    margin-top: 8px;
}
.formrow--submit{ margin-top: 24px; text-align: center; }
input[type="submit" i] ,
.btn{
    display:inline-block;
    min-width: 300px;
    padding: 14px;
    border-radius: 0px;
    border: 0;
    background: #000;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 16px;
    cursor: pointer;
}
.btn:hover{ opacity:.9; }
.btn:active{ transform: translateY(1px); }
.contact__form .wpcf7-spinner {
    display: block !important;
}
.sub_page .footer {
    padding: 100px 0 40px;
}
@media screen and (max-width:768px) {
    .sub-header {
        padding: 10px 0px 0px;
    }
    .sub_page .header_logo h1 {
        justify-content: flex-start;
    }
    .sub_page .section_beginning {
        height: 440px;
    }
    .sub_page .section_text {
        top: 23%;
    }
    .subpage_inner {
        padding: 0px 15px;
    }
    .check input[type="checkbox"]{
        width: 16px;
        height: 16px;
    }
    .check span {
        width: 93%;
    }
    .privacy-check span {
        width:auto;
    }
}