@charset "utf-8";

/* CSS Document */
p {
    line-height: 1.8;
}

.footer {
    margin-top: 10em;
}

.page .entry-content {
    padding: 5em 0;
}


/*faq-list---------------------------*/
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.faq-item {
    padding-bottom: 1.5em;
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
}

.faq-item h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: bold;
    margin-bottom: 1em;
    position: relative;
    padding-left: 2.3em;
    line-height: 1.6;
}

.faq-item p {
    font-size: clamp(14px, 1.5vw, 16px);
    position: relative;
    padding-left: 3.3em;
    display: flex;
    align-items: center;
    padding-top: 0.4em;
}

.faq-item h3::before {
    content: 'Q';
    display: inline-block;
    margin-right: 1em;
    color: #fff;
    font-weight: bold;
    font-family: var(--font-din);
    background-color: #000;
    padding: 0.2em 0.5em;
    border-radius: 100%;
    font-size: 20px;
    width: 20px;
    height: 30px;
    text-align: center;
    position: absolute;
    left: 0;
    line-height: 1.5;
}

.faq-item p::before {
    content: 'A';
    display: inline-block;
    margin-right: 1em;
    color: #fff;
    font-weight: bold;
    font-family: var(--font-din);
    background-color: var(--brand);
    padding: 0.2em 0.5em;
    border-radius: 100%;
    font-size: 20px;
    width: 20px;
    height: 30px;
    text-align: center;
    position: absolute;
    left: 0;
    line-height: 1.5;
    top: 0;

}

/*expert -----------------------------*/
.expert-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    flex-direction: row;
    gap: 60px;
}

.expert-content-left .expert-name h3 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: bold;
    margin: 1em 0;
    line-height: 1.4;
    color: var(--brand);
    text-align: center;
    line-height: 1.8;

}

.expert-content-left .expert-name small {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: normal;
    font-family: var(--font-din);
    line-height: 1.4;
    color: #000;
    display: block;
}

.expert-content-left .expert-detail {
    margin: 2em 0 0;
}

.expert-content-left .expert-detail dl {
    display: flex;
    flex-direction: column;
    margin: 1em 0 0.5em;
    gap: 5px
}

.expert-content-left .expert-detail dl dt {
    font-weight: bold;
    font-size: clamp(16px, 1.6vw, 18px);
}

.expert-content-left .expert-detail dl dd {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: normal;
    line-height: 1.4;
    color: #000;
    display: block;
}

.expert-content-right p {
    margin-bottom: 2em;
}

.expert-content-right h3 {
    font-weight: bold;
    margin-bottom: 1em;
}

.expert-content-right .expert-content-right-list-item {}

.expert-content-right-list-item {}

.expert-content-right-list-item dl {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    padding-left: 30px;
    padding-bottom: 20px;
}

.expert-content-right-list-item dl::before {
    content: '';
    width: 1px;
    height: 100%;
    background: var(--brand);
    position: absolute;
    left: 10px;
    top: 0;
}

.expert-content-right-list-item dl dt {
    font-size: clamp(16px, 1.6vw, 16px);
    color: var(--brand);
    position: relative;
}

.expert-content-right-list-item dl dt::before {
    content: '';
    width: 11px;
    height: 11px;
    background: var(--brand);
    position: absolute;
    left: -25px;
    top: 7px;
    border-radius: 100%;
}

.expert-content-right-list-item dl dd {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    color: #000;
    display: block;
}

.expert-content-right-list-item .morehistory {
    margin: 2em 0;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.7;
    color: #000;
    display: block;
}

.site-main .innerhead {
    margin-bottom: 2em;
    font-size: clamp(20px, 2vw, 32px);

    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 2em;
    color: #000;
    font-family: var(--font-din);
}

/*about-us -----------------------------*/
.site-main .innerhead span {
    font-size: clamp(14px, 2vw, 32px);
    font-weight: normal;
    display: block;
    color: var(--brand);
}

.about-us-info {
    display: flex;
    gap: 2em;
}

.about-us-info dl {
    display: flex;
    gap: 1em;
}

.about-us-info dl dt {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
    margin-bottom: 1em;
    font-weight: bold;
    font-size: clamp(16px, 1.6vw, 16px);
    color: #000;
    display: block;
    width: 9em;
}

.about-us-info-item {
    width: 100%;
}

.about-us-info dl dd {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
    margin-bottom: 1em;
    width: 100%;
}

.about-us-info-map {
    position: relative;
    width: 100%;
    aspect-ratio: 450 / 350;
    margin: 2em 0;
}

.about-us-info-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-us-office h3 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: bold;
    position: relative;
    margin-bottom: 2em;
}

.about-us-office h3::before {
    content: '';
    width: 3em;
    height: 1px;
    background: #000;
    position: absolute;
    left: 0;
    bottom: -5px;
}

.about-us-office h4 {
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--brand);
    font-weight: bold;
    border-left: 4px solid var(--brand);
    padding-left: 0.4em;
    margin-bottom: 1em;
    margin: 1em 0;
}

.about-us-office h4+p {
    margin-bottom: 1em;
}

.about-us-office ul {
    display: flex;
    gap: 1px;
    margin-bottom: 3em;
}

.about-us-office ul.imgrow2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 1px;
}

/*flow -----------------------------*/

.flow-section article {
    display: grid;
    flex-direction: row;
    gap: 2em;
    margin-bottom: 2em;
    position: relative;
    padding-bottom: 3em;
    grid-template-columns: 23% 1fr;
}

.flow-section article .flow-section-inner {
    position: relative;
}

.flow-section article:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 32px solid transparent;
    border-right: 32px solid transparent;
    border-top: 18px solid #D9D9D9;
    right: 0;
    margin: auto;
}

.flow-section-content-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: bold;
    position: relative;
    margin-bottom: 1em;
    position: relative;
    line-height: 1;
}

.flow-section-content-title span {
    font-size: clamp(12px, 1.4vw, 14px);
    font-family: var(--font-din);
    position: absolute;
    top: 0;
}

.flow-section-content-title span+span::before {
    content: '';
    width: 1px;
    height: 1.1em;
    background: #000;
    position: absolute;
    left: 0.45vw;
    top: 0;
    transform: rotate(33deg);
    right: 0;
    margin: auto;

}

.flow-section-content-title span+span {
    font-size: clamp(14px, 3vw, 40px);
    color: var(--brand);
    padding-left: clamp(30px, 4vw, 50px);
    position: relative;
    font-weight: normal;
}

.flow-section-content-title strong {
    padding-left: 1em;
    font-size: clamp(16px, 1.6vw, 20px);
}

.flow-section-content-text p {
    margin-bottom: 1em;
}

.sp {
    display: none;
}

.pc {
    display: inline-block;
}





/*privacy-policy -----------------------------*/

/* タイトル */
.privacy-policy h1 {
  
}

/* 各条文ブロック */
body.privacy-policy .privacy-policy section {
    margin-bottom: 40px;
}

/* 条文見出し */
body.privacy-policy .privacy-policy h2 {
    font-size: 20px;
    font-weight: 700;
    margin:2em 0 1em;
        padding-left: 12px;
    border-left: 4px solid #1f2f44;
}

/* 小見出し（6-(1)など） */
body.privacy-policy .privacy-policy h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 8px;
}

/* 段落 */
body.page main#primary p,
.disclaimers-cont p,
body.privacy-policy .privacy-policy p {
    margin-bottom: 1em;
}

body.page.privacy-policy main,
body.page.page-id-103 main{
    margin: 0;
}
/* 箇条書き */

.disclaimers-cont ol,
.disclaimers-cont ul,
body.privacy-policy .privacy-policy ol,
body.privacy-policy .privacy-policy ul {
    margin: 16px 0 16px 1.5em;
    padding: 0;
}
.disclaimers-cont ol li,
body.privacy-policy .privacy-policy li {
    margin-bottom: 8px;
    list-style: decimal;
}
.disclaimers-cont ul li{
    margin-bottom:8px;
    list-style: disc;
}
/* address（問い合わせ先） */
body.privacy-policy .privacy-policy address {
    font-style: normal;
    background: #f7f8fa;
    padding: 20px;
    border-radius: 6px;
    line-height: 1.7;
}

body.privacy-policy .privacy-policy address p {
    margin-bottom: 8px;
}

/* 制定日 */
body.privacy-policy .privacy-policy .established-date {
    margin-top: 48px;
    text-align: right;
    font-size: 14px;
    color: #666;
}

/*price-section -----------------------------*/
.price-section {
    margin: 3em 0;
}

.price-section-item {
    margin-bottom: 3em;
    padding-bottom: 2em;
    border-bottom: 1px solid #e0e0e0;
}

.price-section-item:last-child {
    border-bottom: none;
}

.price-section-item h3 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: bold;
    margin-bottom: 1em;
    color: #ffffff;
    position: relative;
    padding-left: 0.3em;
    border-left: 4px solid #045e9c;
    background: #036eb8;
    padding: 10px;
}

.price-section-item p {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    margin-bottom: 1em;
}

.price-section-item p strong {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--brand, #1f2f44);
    font-weight: bold;
}

.price-section-item p small {
    font-size: 0.8em;
    font-weight: normal;
}

.price-section-item ul {
    margin: 1.5em 0;
    padding-left: 1.5em;
    list-style: disc;
}

.price-section-item ul li {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    margin-bottom: 0.8em;

}

.price-section-item table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: clamp(14px, 1.5vw, 16px);
}

.price-section-item table th {
    background-color:#0386b8;
    color: #fff;
    padding: 1em;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ddd;
}

.price-section-item table td {
    padding: 1em;
    border: 1px solid #ddd;
    vertical-align: top;
    line-height: 1.6;
}
.price-section-item table td strong {
    color: #000;
    font-weight: bold;
}
.price-section-item table .priceboxtext strong {
    padding-left: 10px;
}
.price-section-item table td:first-child {
    font-weight: bold;
}

.price-section-item table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-section-item table tr:hover {
    background-color: #f5f5f5;
}

.price-section-item table td ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
    list-style: decimal;
}

.price-section-item table td ol li {
    margin-bottom: 0.2em;
    list-style: decimal;
}


.price-section-item .pricebox {
    border: 1px solid #045e9c;
    padding: 10px;
    text-align: center;

}
.price-section-item .pricebox strong {
    padding-left: 10px;
}
ul.komelist {
    margin-bottom: 1em;
    margin-top: 1em;
    padding-left: 1em;
    margin-left: 0;
}
ul.komelist li {
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 1.5em;
    font-feature-settings: "palt";
}
ul.komelist li::before {
    content: '※';
    margin-right: 0.5em;
    position: absolute;
    left: 0;
}

ul.komelist {
    margin-bottom: 1em;
    margin-top: 1em;
    padding-left: 1em;
}
ul.komelist li {
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 1.5em;
    font-feature-settings: "palt";
}
ul.komelist li::before {
    content: '※';
    margin-right: 0.5em;
    position: absolute;
    left: 0;
}



@media screen and (max-width: 768px) {
    /*faq-list---------------------------*/

    .faq-item h3 {
        margin-bottom: 1em;
        line-height: 1.3;
    }

    .faq-item p {
        align-items: baseline;
        padding-top: 0;
    }

    .faq-item h3::before,
    .faq-item p::before {
        border-radius: 100%;
        font-size: 16px;
        width: 15px;
        height: 24px;

    }

    .faq-item h3::before {
        top: -1px;
    }

    /*expert -----------------------------*/
    .expert-content {
        grid-template-columns: 1fr;
    }

    .expert-content-left {
        order: 1;
    }

    .expert-content-right {
        order: 2;
    }

    .expert-content-left {
        display: grid;
        grid-template-columns: 35% 1fr;
        gap: 1em;
    }

    .expert-content-left .expert-name h3 {
        text-align: left;
        margin-top: 0;

    }

    /*about-us -----------------------------*/
    .about-us-info {
        flex-direction: column;
        gap: 0.5em;
        margin-bottom: 2em;
    }

    /*flow -----------------------------*/
    .flow-section {
        flex-direction: column;
    }

    .flow-section article {
        margin-bottom: 2em;
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .flow-section-inner {
        width: 100%;
    }

    .flow-section-content {
        width: 100%;
    }

    .flow-section-content-title {
        margin-bottom: 0;

    }

    .flow-section-content-title span+span {
        font-size: 24px;

    }

    .flow-section-content-title span+span::before {
        left: 7px;
    }

    .flow-section .flow-section-inner img {
        width: 100%;
        height: auto;
    }

    .flow-section-content-title strong {
        font-size: 22px;
        ;
    }

    .flow-section article {}

    .flow-section-content-title strong {
        padding-left: 0;
        font-size: 20px;
        display: block;
        margin-top: 10px;
    }

    .sp {
        display: inline-block;
    }

    .pc {
        display: none;
    }


    body.privacy-policy .privacy-policy {
  
        font-size: 15px;
    }

    body.privacy-policy .privacy-policy h1 {
        font-size: 24px;
    }

    body.privacy-policy .privacy-policy h2 {
        font-size: 18px;
    }

    /*price-section -----------------------------*/
    .price-section {
        margin: 2em 0;
    }

    .price-section-item {
        margin-bottom: 2em;
        padding-bottom: 1.5em;
    }

    .price-section-item h3 {
        font-size: 18px;
        padding-left: 0.8em;
        border-left-width: 3px;
    }

    .price-section-item p {
        font-size: 14px;
    }

    .price-section-item p strong {
        font-size: 16px;
    }

    .price-section-item ul {
        margin: 1em 0;
        padding-left: 0;
    }

    .price-section-item ul li {
        font-size: 14px;
        margin-bottom: 0.6em;
    }

    .price-section-item table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .price-section-item table th,
    .price-section-item table td {
        padding: 0.8em 0.6em;
        font-size: 12px;
    }

    .price-section-item table th {
        font-size: 13px;
    }
    
}