/* ==================================

    About - 聞くだけ屋について

================================== */

h2 {
    text-align: center;
}

.about-area-box {
    max-width: 850px;
    margin: -48px auto 64px;
    padding: 0 32px;
}

.about-title-box {
    width: 100%;
    margin-right: 64px;
}

.about-text-box {
    width: 100%;
    padding: 24px 0;
    text-align: justify;
    text-justify: inter-ideograph;
}

.about-text-box p {
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.about-text-box .p1 {
    font-weight: bold;
}

@media screen and (min-width: 600px) {
    .about-area-box {
        padding: 0 64px;
        margin: -80px auto 64px;
    }

    .about-title-box {
        width: 35%;
        padding-top: 32px;
    }
}

.about-flex-space-between {
    display: block;
}

@media screen and (min-width: 600px) {
    .about-flex-space-between {
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (min-width: 1025px) {
    .about-flex-space-between {
        display: flex;
        justify-content: space-between;
    }
}



/* ==================================

    Service - サービス

================================== */

h3 {
    text-align: center;
}

.service-area-box {
    max-width: 850px;
    margin: 0 auto 64px;
    padding: 0 32px;
}

@media screen and (min-width: 600px) {
    .service-area-box {
        padding: 0 64px;
    }
}

.service-text-box {
    margin-top: 32px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.service-text-box p,
.service-text-box a {
    color: #101828;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

.service-title:first-letter {
    font-size: 3.0rem;
}

.service-detail-text-box {
    margin-top: 32px;
}

.service-detail-text-box p:nth-of-type(4) {
    margin-top: 16px;
}

.service-border {
    width: 80%;
    margin: 48px auto;
    border-top: 1px dotted #a4a4a4;
}



/* ==================================

    How To - こんな使い方

================================== */

h4 {
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
    text-align: center;
}

.howto-area-box {
    color: #f3f3f3;
    max-width: 850px;
    margin: 0 auto 64px;
}

.howto-text-box {
    width: 100%;
    padding: 32px 24px;
    background-color: #404f70;
}

@media screen and (min-width: 600px) {
    .howto-text-box {
        padding: 48px 64px;
    }
}

.howto-box {
    text-align: justify;
    text-justify: inter-ideograph;
}

.howto-box p:nth-of-type(1) {
    font-size: 1.7rem;
    margin-bottom: 24px;
}

.howto-box p:nth-of-type(2) {
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.howto-border {
    font-family: 'Lobster', cursive;
    text-align: right;
    font-size: 2.0rem;
    width: 85%;
    margin: 16px 0 48px auto;
    border-bottom: 1px dotted #a4a4a4;
}

.sns-area-box {
    width: 60%;
    max-width: 200px;
    margin: 32px auto 96px auto;
}

.sns-icon-box {
    width: 40px;
}

.sns-icon-box img {
    transition: .3s;
}

.sns-icon-box img:hover {
    opacity: 0.8;
}

@media screen and (min-width: 600px) {
    .sns-area-box {
        margin: 32px auto 96px 0;
    }
}

@media screen and (min-width: 1025px) {
    .sns-area-box {
        margin: 32px auto 96px 0;
    }
}



/* ==================================

    Profile - プロフィール

================================== */

h5 {

}

.profile-area-box {
    background-color: #f5f5f5;
    height: 280px;
    margin-bottom: 64px;
}

@media screen and (min-width: 600px) {
    .profile-area-box {
        height: 500px;
    }
}

.profile-box {
    max-width: 850px;
    margin: 0 auto 64px;
}

.profile-title-box {
    padding: 16px 0 16px 32px;
}

.profile-title-box p:nth-of-type(1) {
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    padding: 16px 0;
}

@media screen and (min-width: 1025px) {
    .profile-title-box p:nth-of-type(1) {
        font-size: 2.8rem;
    }
}

.profile-title-box p:nth-of-type(2) {
    letter-spacing: 0.08em;
    padding-bottom: 64px;
}

.profile-title-box p:nth-of-type(3) {
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

.profile-title-box p:nth-of-type(4),
.profile-title-box p:nth-of-type(5) {
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.profile-border-box {
    position: relative;
    z-index: -1;
}

.profile-area-box img {
    display: block;
    width: auto;
    height: 280px;
    margin: 0 0 auto 0;
}

@media screen and (min-width: 600px) {
    .profile-area-box img {
        height: 500px;
    }
}

.profile-title-box i,
.profile-title-box a {
    color: #404f70;
}

.profile-border-box::before {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 0 100vw;
    border-color: transparent transparent transparent #f3f3f3;
}



/* ==================================

    Terms - 利用規約

================================== */

h6 {

}

.terms-area-box {
    max-width: 850px;
    margin: 0 auto 64px;
    padding: 0 32px;
}

.terms-title-box span {
    letter-spacing: 0.08em;
    padding: 0 4px;
    background: linear-gradient(transparent 70%, rgba(64,79,112,0.3) 0%);
}

.terms-text-box {
    margin-top: 48px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.terms-text-box p:nth-of-type(1),
.terms-text-box p:nth-of-type(2),
.terms-text-box p:nth-of-type(3),
.terms-text-box p:nth-of-type(4) {
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-indent: -1.5rem;
    padding-left: 1em;
    padding-bottom: 8px;
}

.terms-text-box p:nth-of-type(1):before,
.terms-text-box p:nth-of-type(2):before,
.terms-text-box p:nth-of-type(3):before,
.terms-text-box p:nth-of-type(4):before {
    content: '・';
}

.terms-text-box a {
    color: #101828;
    padding-bottom: 2px;
    border-bottom: 1px solid #101828;
}

.terms-text-box a:hover {
    transition: all 0.3s ease;
    border-bottom: none;
}



/* ==================================

    Notes - 注意事項

================================== */

.notes-area-box {
    max-width: 850px;
    margin: 0 auto 128px;
    padding: 0 32px;
}

.notes-title-box span {
    letter-spacing: 0.08em;
    padding: 0 4px;
    background: linear-gradient(transparent 70%, rgba(64,79,112,0.3) 0%);
}

.notes-text-box {
    margin-top: 48px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.notes-text-box p {
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-indent: -1.5rem;
    padding-left: 1em;
    padding-bottom: 8px;
}

.notes-text-box p:nth-of-type(1):before,
.notes-text-box p:nth-of-type(2):before,
.notes-text-box p:nth-of-type(3):before {
    content: '・';
}