/* base style */
html {
    font-family: "Noto Sans JP", sans-serif;
    /* 1920pxの時に15px */
    font-size: 20px;
}
.sp {
    display: none;
}
body {
    width: 100%;
}
main {
    width: 100%;
    max-width: 2200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20rem 10rem 5rem;
}
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h2 {
    width: 80%;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 600;
    box-sizing: border-box;
    padding-bottom: 2rem;
    border-bottom: 2px solid #000;
    background: #fff;
    margin-top: 1rem;
}
h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
img {
    width: 100%;
}
/* header style */
header {
    width: 100%;
    max-width: 2200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-sizing: border-box;
    padding: 2rem 0 0;
    a {
        font-size: 2rem;
        font-style: italic;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    a img {
        width: 25%;
        margin-bottom: 1rem;
    }
}
/* main style */
#FirstSection,
#SeondSection {
    margin-bottom: 10rem;
}
.section_desc {
    font-size: 1rem;
    line-height: 2;
    margin-top: 2rem;
    font-weight: 500;
}
.section_inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 3.5rem;
}
#SeondSection .section_content:not(:last-child) {
    margin-bottom: 8rem;
}
.section_content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}
.section_content:not(:last-child) {
    margin-bottom: 5rem;
}
.img_box {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.img_box img.mb-20 {
    margin-bottom: 0.5rem;
}
.img_box p {
    font-size: 0.5rem;
    line-height: 1.5;
    text-align: right;
}
.img_box p.mb-30 {
    margin-bottom: 1.5rem;
}
.img_box p.name {
    font-size: 0.7rem;
}
.img_box p.flex-end {
    align-self: flex-end;
}
.img_box > p > span {
    margin-right: 1rem;
}
.img_title {
    align-self: center;
    border: 1px solid #000;
    box-sizing: border-box;
    padding: 1rem;
    margin-bottom: 1.5rem;
    margin-left: 1.8rem;
}
.img_title p {
    font-size: 0.98vw;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.img_title span {
    font-size: 0.98vw;
    font-weight: 400;
}


.text_box {
    width: 60%;
}
.text_box > p {
    font-size: 1rem;
    line-height: 2;
}
.text_box > p.bold {
    font-weight: 700;
}
/* cta style */
.cta {
    position: fixed;
    bottom: 5rem;
    left: 1rem;
}
.cta a {
    font-size: 1rem;
    writing-mode: vertical-rl;
    position: relative;
    color: #cebb52;
}
.cta a::before,
.cta a::after {
    content: "▲";
    position: absolute;
    font-size: 0.8em;
    color: #cebb52;
}
.cta a::before {
    left: 0;
    bottom: -2rem;
}
.cta a::after {
    left: 0;
    bottom: -3rem;
}



/* スマホ */
@media (max-width: 768px) {
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
    /* base style */
    html {
        /* 768pxの時に15px */
        font-size: 2.3vw;
    }
    main {
        width: 100%;
        max-width: 750px;
        padding: 18rem 4rem 5rem;
    }
    h2 {
        width: 85%;
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }
    h3.top_m {
        margin-top: 2rem;
    }
    /* header style */
    header {
        a {
            font-size: 2rem;
        }
        a img {
            margin-bottom: 1rem;
        }
    }
    /* main style */
    #FirstSection,
    #SeondSection {
        margin-bottom: 7rem;
    }
    .section_desc {
        font-size: 1rem;
    }
    #FirstSection .section_inner {
        margin-top: 5rem;
    }
    .section_inner {
        margin-top: 0rem;
    }
    .section_content {
        flex-direction: column;
        align-items: center;
    }
    .section_content:not(:last-child) {
        margin-bottom: 5rem;
    }
    #SeondSection .section_content:not(:last-child) {
        margin-bottom: 5rem;
    }
    .img_box {
        width: 80%;
    }
    .img_box img.mb-20 {
        margin-bottom: 0.5rem;
    }
    .img_box p {
        font-size: 0.8rem;
    }
    .img_box p.mb-30 {
        margin-bottom: 2rem;
    }
    .img_box p.name {
        font-size: 1rem;
    }
    .img_box p.flex-end {
        align-self: flex-end;
    }
    .img_box > p > span {
        margin-right: 1rem;
    }
    .img_title p {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    .img_title span {
        font-size: 1rem;
        font-weight: 400;
    }


    .text_box {
        width: 100%;
    }
    .text_box.tm30 {
        margin-top: 2.5rem;
    }
    .text_box > p {
        font-size: 1rem;
        margin-top: 2rem;
    }
    .text_box > p.bold {
        font-weight: 700;
    }
    /* cta style */
    .cta {
        bottom: 5rem;
        left: 1rem;
    }
    .cta a {
        font-size: 1rem;
    }
    .cta a::before,
    .cta a::after {
        font-size: 1rem;
    }
}