
/*
Theme Name: 24souzoku
*/

html * {
    line-height: 1.6;
    box-sizing: border-box;
    font-family: "Noto Serif", serif;
    margin: 0;
}

/*-----------------------------------
    header
-----------------------------------*/
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1000;
}
header a {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

footer {
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}

a {
    transition: all 0.3s;
}
a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
}

p:first-of-type {
    margin-top: 0;
}
p {
    margin-bottom: 1rem;
}
p:last-of-type {
    margin-bottom: 0;
}

h1 {
    font-size: 72px;
    margin: 0 0 30px;
}

h2 {
    font-size: 36px;
    text-align: center;
    color: #DD9933;
    font-weight: bold;
    position: relative;
    margin: 0 0 60px;
}

h2:after {
    display: block;
    content: "";
    width: 132px;
    height: 2px;
    background-color: #DD9933;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 28px;
    text-align: center;
    margin: 0 0 50px;
}

ul {
    padding-left: 2rem;
}

input, textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
input[type="text"], input[type="email"], input[type="tel"] {
    font-size: 16px;
    height: 2.4em;
    width: 100%;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    margin-top: 5px;
}
textarea {
    font-size: 16px;
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    margin-top: 5px;
}

.inner {
    width: 94%;
    max-width: 1100px;
    margin: auto;
}

.main_blk{
    padding: 100px 0;
}

.bg_green {
    background-color: #DEE7E7;
}

.pic {
    line-height: 0;
}

.grid {
    display: grid;
    gap: 50px;
}

.required {
    display: inline-block;
    margin-left: 10px;
    padding: 0 5px;
    background-color: #FF0000;
    color: #FFFFFF;
    font-size: 14px;
}

.tar {
    text-align: right;
}
.tac {
    text-align: center;
}
.fontL {
    font-size: 130%;
}
.underline {
    text-decoration: underline;
}
.bold {
    font-weight: bold;
}
br.sp {
    display: none;
}
br.pc {
    display: block;
}

dl {
    margin: 0;
}
dl:not(:last-of-type) {
    margin-top: 0;
    margin-bottom: 70px;
}
dl dt {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
dl dt span {
    display: inline-block;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 28px;
    font-weight: bold;
}
dl dd {
    margin: 0;
}
dl dd:not(:last-of-type) {
    margin-bottom: 50px;
}


#mainvisual {
    background: url(src/img/mv.jpg) no-repeat center right / 60% auto
}
#mainvisual .mv_box {
    width: 50%;
    max-width: 874px;
    color: #fff;
    background-color: rgba(47, 72, 88, 0.95);
    padding: 100px 0 100px 50px;
}
#mainvisual .mv_box p {
    font-size: 40px;
}
@media screen and (max-width: 1320px) {
    #mainvisual {
        background: url(src/img/mv.jpg) no-repeat center right /auto 100%;
    }
    #mainvisual h1 {
        font-size: 60px;
    }
    #mainvisual .mv_box p {
        font-size: 32px;
    }
}

#mind .mind:not(:last-of-type) {
    margin-bottom: 50px;
}
#mind .mind .pic {
    line-height: 0;
}
#mind .mind .pic img {
    width: 50%;
    max-width: 550px;
}
#mind .mind .txt {
    width: 65%;
    max-width: 700px;
    background-color: #E8E8E8;
    padding: 30px 20px;
    position: relative;
    z-index: 99;
}
#mind .mind_01 .pic {
    text-align: right;
}
#mind .mind_01 .txt {
    margin-top: -200px;
    text-align: right;
}
#mind .mind_02 .pic {
    text-align: left;
}
#mind .mind_02 .txt {
    margin-top: -200px;
    margin-left: 385px;
}

#about dl dt span {
    background-color: #fff;
}

#profile .grid {
    grid-template-columns: 330px 1fr;
}

#about dl {
    margin-bottom: 50px;
}

#flow .step {
    display: grid;
    grid-template-columns: 155px 1fr;
}
#flow .step:not(:last-of-type) {
    margin-bottom: 50px;
}
#flow .step span {
    font-size: 24px;
    font-weight: bold;
    color: #4B7F52;
}

#advantage .wrap:not(:last-of-type) {
    margin-bottom: 50px;
}
#advantage dl dt {
    width: 100%;
    background-color: #fff;
    color: #4B7F52;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 20px;
}
#advantage dl dd {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: 400px 1fr;
    gap: 20px;
}
#advantage dl dd p {
    margin: 0;
}
#advantage dl dd p.w100 {
    margin-top: 0;
    grid-row: 2 / 3;
    grid-column: 1 / 3;
}

#voice dl dt {
    display: grid;
    grid-template-columns: 60px 1fr;
}
#voice dl dt span {
    color: #4B7F52;
}
#voice .voice:not(:last-of-type) {
    margin-bottom: 50px;
}

#faq details:not(:last-of-type) {
    margin-bottom: 30px;
}
#faq details summary {
    display: grid;
    grid-template-columns: 1fr 30px;
    align-items: center;
    position: relative;
    width: 100%;
    background-color: #fff;
    color: #4B7F52;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 20px;
    list-style: none;
    cursor: pointer;
}
#faq details summary::-webkit-details-marker {
    display: none;
}
#faq details summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 15px;
    height: 15px;
    margin-left: 10px;
    border-bottom: 3px solid #4B7F52;
    border-right: 3px solid #4B7F52;
    content: '';
    transition: transform .3s;
}
#faq details[open] summary::after {
    transform: rotate(225deg);
}
#faq details div {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 10px 40px 20px;
    background-color: #fff;
    transition: transform .5s, opacity .5s;
}
#faq details[open] div {
    transform: none;
    opacity: 1;
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    h2:after {
        width: 100px;
    }
    h3 {
        font-size: 24px;
    }

    br.sp {
        display: block;
    }
    br.pc {
        display: none;
    }

    dl dt {
        font-size: 20px;
    }
    dl dt span {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
    }

    .main_blk {
        padding: 50px 0;
    }
    .grid {
        gap: 30px;
    }
    .pic {
        text-align: center;
    }

    #mainvisual {
        padding-top: 40%;
        background: url(src/img/mv.jpg) no-repeat center center / cover;
        background-color: rgba(47, 72, 88, 0.9);
    }
    #mainvisual .mv_box {
        width: 100%;
        padding: 20px;
    }
    #mainvisual h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }
    #mainvisual .mv_box p {
        font-size: 20px;
        margin: 0;
    }

    #mind .mind {
        display: flex;
        flex-direction: column-reverse;
    }
    #mind .mind .pic img {
        width: 100%;
    }
    #mind .mind .txt {
        width: 100%;
    }
    #mind .mind_01 .pic {
        text-align: center;
    }
    #mind .mind_01 .txt {
        margin-top: 0px;
        text-align: left;
    }
    #mind .mind_02 .pic {
        text-align: center;
    }
    #mind .mind_02 .txt {
        text-align: left;
        margin-top: 0px;
        margin-left: 0px;
    }

    #profile .grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
    }

    #flow .step {
        grid-template-columns: 100px 1fr;
    }
    #flow .step span {
        font-size: 20px;
    }

    #advantage dl dt {
        font-size: 20px;
    }
    #advantage dl dd {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 20px 0;
    }

    #advantage dl dd p.w100 {
        grid-row: auto;
        grid-column: auto;
    }

    #voice dl dt {
        display: grid;
        grid-template-columns: 50px 1fr;
        align-items: start;
    }

    #faq details summary {
        font-size: 20px;
    }
}