/* 共通 */
.head-bnr .bg {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-top: 1px #191919 solid;
    border-bottom: 1px #191919 solid;
}
.head-bnr .bg .img {
    width: 100%;
    height: 100%;
    position: relative;
}
.head-bnr .bg .img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 高さを優先しつつ左右トリミング */
    object-position: center;
    display: block;
}
.head-bnr .bg .txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}
.head-bnr .txt h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.head-bnr .txt .sub-ja {
    line-height: 1;
    margin: 0;
}
.head-bnr-s h1 {
	width: 100%;
	white-space: nowrap;
	margin-bottom: 0;
}
.head-bnr-s .bg {
    position: relative;
    height: 160px;
    border-top: 1px #191919 solid;
    border-bottom: 1px #191919 solid;
}
.head-bnr-s .bg .txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}
.pages-sub h1 {
    font-size: 1.6rem;
	
}
#main section {
    margin-bottom: 6rem;
    ;
}
section .title {
    margin: 3rem 0;
}
section .title h2 {
    text-align: center;
    margin-bottom: 2rem;
}
/* FEATURE */
.feature-block .layout-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding: 2rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    border-radius: 1rem;
    border: 1px #191919 solid;
}
.feature-block .num {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    font-size: 60px;
    font-weight: 900;
    z-index: 1;
    letter-spacing: 0.1em;
}
.feature-block .img img {
    width: 100%;
    border-radius: 1rem;
    border: 1px #191919 solid;
    display: block;
}
/* PLAN */
.plan-block .layout-group {
    border-radius: 1rem;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    border: 1px #191919 solid;
}
.plan-block .layout-group.a {
    background-color: #FFFDDD;
}
.plan-block .layout-group.b {
    background-color: #ECF5D8;
}
.plan-block .layout-group.c {
    background-color: #FFF0F0;
}
.plan-title {
    font-size: 2.4rem;
    text-align: center;
}
.plan-title-sub {
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.plan-lead {
    font-size: 1.1rem;
    text-align: center;
    line-height: 2;
    margin-bottom: 40px;
}
.plan-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 0 auto;
    margin-bottom: 2rem;
}
.plan-table th, .plan-table td {
    border: 1px solid #000;
    padding: 16px;
    vertical-align: middle;
}
.plan-table th {
    width: 40%;
    font-weight: 400;
}
.plan-block .layout-group.a .plan-table th {
    background: #F5EE88;
}
.plan-block .layout-group.b .plan-table th {
    background: #C3DC82;
}
.plan-block .layout-group.c .plan-table th {
    background: #F5CDCD;
}
.plan-table td {
    text-align: center;
    background-color: #FFFFFF;
}
.plan-table td span {
    margin-left: 4px;	
    margin-right: 4px;
}
.plan-note {
    font-size: 0.9rem;
    text-align: center;
}
.plan-block .flowchart-block .img {
    width: 100%;
}
.payment-box {
    margin-bottom: 3rem;
}
.payment-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.payment-box table {}
.payment-box .contact-box p {
    margin: 0;
}
.payment-box table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.payment-box table th, .payment-box table td {
    border: 1px solid #000;
    padding: 16px;
}
.payment-box table th {
    width: 40%;
    font-weight: 400;
    background-color: #F5F5F5;
}
.payment-box table td {
    background-color: #FFFFFF;
}
/* WORKS */
.case-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}
.case-list li {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 0.5rem;
    line-height: 1.6;
    border-bottom: 1px dotted #aaa;
}
.case-list li .circle {
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 12px;
    height: 12px;
    background-color: #CDE589;
    border: 1px solid #333;
    border-radius: 50%;
}
.voice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem; /* ボックス間の余白 */
}
.voice-box {
    width: 100%;
    border: 1px solid #191919;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 800px;
}
.voice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}
.voice-label {
    margin-bottom: 0;
    letter-spacing: 0.1em;
}
.voice-meta {
    font-weight: 500;
    margin: 0.3rem 0 0;
}
.voice-icon img {
    width: 80px;
    height: 80px;
}
.voice-title {
    font-size: 1.4rem;
}
.voice-text {
    margin: 0;
}
/* COMPANY */
.company-block table {
    width: 100%;
}
.company-block table th {
    font-weight: 500;
}
.company-block table td {
    font-size: 1.1rem;
}
.company-block tr {
    border-bottom: 1px dotted #191919;
}
.company-block tr:nth-child(1) {
    border-top: 1px dotted #191919;
}
.company-block th {
    padding-right: 1em;
}
.company-block td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-decoration: none;
}
.member-block .member-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding: 2rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    border-radius: 1rem;
    border: 1px #191919 solid;
}
.member-block .name-en {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-20px);
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
}
.member-block .img img {
    width: 80%;
    max-width: 300px;
    border-radius: 1rem;
    border: 1px #191919 solid;
    display: block;
    margin: 1rem auto 0;
}
.member-bio-2 {
    font-size: 0.9rem;
    margin-top: 2rem;
}
.member-bio-2 th {
    width: 100%;
    display: block;
}
.member-bio-2 td {
    width: 100%;
    display: block;
    line-height: 1.5;
    margin-bottom: 1rem;
}
/* FAQ */
.faq-group {
    margin-bottom: 2rem;
}
.faq-group p {}
.faq-q {
    width: 90%;
    display: flex;
    padding: 1.3rem 2rem 0.7rem;
    border-radius: 1rem;
    border: 1px #191919 solid;
    margin-bottom: 10px;
}
.faq-a {
    display: flex;
    padding: 1.3rem 2rem 0.7rem;
    border-radius: 1rem;
    border: 1px #191919 solid;
}
.faq-a a{
	text-decoration: none;
	border-bottom: 1px #191919 solid;
	padding-bottom: 0.1rem;
}
.icon-q, .icon-a {
    flex-shrink: 0;
    width: 40px;
}
/* GUIDE */
.guide-table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    margin: 0 auto;
    margin-bottom: 2rem;
}
.guide-block th, .guide-block td {
    border: 1px solid #000;
    padding: 16px;
}
.guide-block th {
    width: 40%;
    font-weight: 400;
    background-color: #F5EE88;
}
.guide-block td {
    background-color: #FFFFFF;
}
/* PRIVACY */
.privacy-box {
    margin-bottom: 3rem;
}
.privacy-box h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.privacy-box .contact-box {
    border: 1px #191919 solid;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    background-color: #F5F5F5;
}
.privacy-box .contact-box p {
    margin: 0;
}
/* CONTACT */
#contact .title .tel {
    font-size: 2.5rem;
    margin-bottom: 0;
}
.contact-form form {
    display: block;
}
.contact-form p.desc {
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 2em;
}
.form-group.width-s {
    width: 70%;
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5em;
}
.required {
    color: #e60033;
}
.form-group .required {
    font-size: 0.9em;
    margin-left: 0.3em;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.7em 1em;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1em;
    background-color: #fff;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #000;
    outline: none;
}
textarea {
    resize: vertical;
}
.form-buttons {
    text-align: center;
}
.form-buttons button {
    position: relative;
    min-width: 240px;
    max-width: 90%;
    font-size: 1.1rem;
    display: inline-block;
    color: #191919;
    border: 1px solid #191919;
    border-radius: 999px;
    padding: 1em 3em 1em 2.5em;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    margin-bottom: 1rem;
}
.form-buttons button:hover .arrow-icon-right {
    transform: translateY(-50%) translateX(-0.2em);
    transition: transform 0.3s ease;
}
.form-buttons button:hover .arrow-icon-left {
    transform: translateY(-50%) translateX(0.2em);
    transition: transform 0.3s ease;
}
.contact-info {
    margin-top: 3em;
    text-align: center;
    font-size: 14px;
    color: #555;
}
.contact-info strong {
    font-size: 18px;
    display: block;
    margin-top: 0.5em;
}
/* CONFIRM */
#confirm .form-buttons {
    margin-top: 4rem;
}
#confirm .confirm-box {
    margin-bottom: 2rem;
}
#confirm .confirm-table {
    margin-top: 5rem;
}
@media screen and (min-width: 992px) {
    /* 共通 */
    .head-bnr .bg {
        height: 300px;
    }
    /* FEATURE */
    .feature-block .layout-group {
        flex-direction: row;
        padding: 3rem;
    }
    .feature-block .layout-group:nth-child(even) {
        flex-direction: row-reverse;
    }
    .feature-block .img {
        flex: 0 0 45%;
    }
    .feature-block .txt {
        flex: 1;
    }
    .feature-block .num {
        transform: translateY(-50%);
        left: 3rem;
        right: auto;
        font-size: 100px;
    }
    .feature-block .layout-group:nth-child(odd) .num {
        left: 3rem;
        right: auto;
    }
    .feature-block .layout-group:nth-child(even) .num {
        left: auto;
        right: 3rem;
    }
    /* PLAN */
    .plan-block .layout-group {
        position: relative;
    }
    .plan-title {
        font-size: 3rem;
    }
    .plan-table th, .plan-table td {
        font-size: 18px;
        padding: 20px;
    }
    .plan-note {
        font-size: 14px;
        margin-bottom: 40px;
    }
    .flowchart-block .img {
        width: 80%;
        max-width: 700px;
        margin: 0 auto;
    }
    /* WORKS */
    .case-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 3rem;
    }
    .voice-box {
        width: calc(50% - 1rem); /* gapを考慮して2列 */
    }
    .voice-icon img {
        width: 100px;
        height: 100px;
    }
    /* COMPANY */
    .member-block .member-card {
        flex-direction: row;
        padding: 3rem;
    }
    .member-block .name-en {
        text-align: right;
        position: absolute;
        top: 0;
        left: 0;
        right: 3rem;
        transform: translateY(-25px);
        font-size: 50px;
        font-weight: 900;
        letter-spacing: 0.05em;
        line-height: 1;
    }
    .member-block .img {
        flex: 0 0 auto;
    }
    .member-block .img img {
        margin: 1rem auto;
    }
    .member-block .txt {
        flex: 1;
    }
    .member-bio-2 th {
        width: 30%;
        display: table-cell;
        vertical-align: top;
    }
    .member-bio-2 td {
        width: 70%;
        display: table-cell;
        padding-bottom: 1rem;
    }
    /* FAQ */
    .icon-q, .icon-a {
        flex-shrink: 0;
        width: 50px;
    }
    .faq-q-text, .faq-a-text {
        padding-top: 0.5rem;
    }
    /* CONTACT */
    .form-group {
        display: flex;
        align-items: flex-start;
        gap: 2em;
    }
    .form-group label {
        width: 260px;
        margin-bottom: 0; /* 横並びなので消す */
        text-align: left;
        flex-shrink: 0;
    }
    .form-group input, .form-group textarea {
        flex: 1;
        width: auto;
    }
    .form-buttons {
        justify-content: center;
    }
}