@charset "utf-8";

html {
    --full-wide-sp: 30px;
}

section h2 {
    font-family : "YuGo Bold-90ms-RKSJ-H";
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;;
    font-weight : bold;
    font-size : 50px;
    line-height : 76.43px;
    color : #013360;
    letter-spacing: 3px;
    margin-bottom: 59px;
    letter-spacing: 1.4px;

}
section h2 .h2_uppon {
    text-decoration: none;
    line-height: 1;
    margin-bottom: 28px;
}
section h2 .h2_under {
    line-height: 1;
}
section h2 .h2_under span {
    border-bottom: 2px solid #013360;
    display: inline-block;
    line-height: 1;
}
section h3 {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight : bold;
    font-size : 40px;
    line-height : 76.43px;
    color : #013360;
    margin-bottom: 31px;
}
section h4 {
    font-weight : bold;
    font-size : 25px;
    line-height : 45.72px;
    color : #1A1A1A;
    margin-bottom: 72px;
    position: relative;
}
section h4::before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    width: var( --before-width );
    background-color: #CBDDE9;
    z-index: -1;
    bottom: -2px;
    height: 38px;

    /* bottom: calc(0.8928vw - 21.852px); */
    height: clamp(25px, -0.89vw + 37.835px, 31px);
}
@media ( max-width: 999px ) {
    section h4::before {
        bottom: -15px;
        height: 31px;
    }
}
@media ( max-width: 768px ) {
    section h4::before {
        bottom: -15px;
        height: 31px;

        bottom: -9px;
        height: 25px;
    }
}
/* @media ( max-width: 375px ) {
    section h4::before {
        bottom: -9px;
        height: 25px;
    }
} */
section .wrapper_text_img {
    display: flex;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
section .wrapper_text_img .name {
  font-weight : bold;
  font-size : 14px;
  line-height : 32.82px;
  color : #1A1A1A;
  white-space: nowrap;
  white-space: pre;
}
section .wrapper_text_img {
    margin-left: auto;
}
section .text_img {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    --gap-size: 30px;
}

section .text_img p {
    flex-basis: calc(50% - (var(--gap-size) / 2));
    font-weight : bold;
    font-size : 15px;
    line-height : 32.82px;
    color : #1A1A1A;
    margin-bottom: 23px;
}
section .text_img img {
    width: calc(47% - (var(--gap-size) / 2));
    vertical-align: bottom;transform: translateY(6px);
}
section .text_img p:nth-child(5) {
    /* margin-bottom: 71px; */
}
.first_sec_bottom_img {
    height: 256px;
    background-image: url(../img/3.jpg);
    background-position: 0px -192px;
    margin-top: 51px;
    margin-bottom: 93px;
}

@media ( max-width: 999px ) {
    section h2 {
        margin-bottom: 76px;
        margin-bottom: clamp(38px, 4.9679vw + 19.3702px, 69px);


    }
    section h4 {
        line-height: 1.5;
        margin-bottom: clamp(49px, 3.6859vw + 35.1779px, 72px);
    }
    section .wrapper_text_img {
        justify-content: center;
    }
    section h2 .h2_uppon {
        margin-bottom: 14px;
    }
    section h2 .h2_under {
        line-height: 1.21;
    }
    section .text_img {
        justify-content: center;
        max-width: 80%;
    }
    section .text_img.big {
        max-width: 100%;
    }
    section .text_img p {
        flex-basis: 100%;
        line-height: 1.85;
        margin-bottom: 28px;
    }
    section .text_img p:nth-child(1) {
        position: relative;
    }
    section .text_img p:nth-child(1)::before {
        content: "沖田課長 : ";
        position: absolute;
        top: 0;
        left: -71px;
    }
    section .text_img :nth-child(1) {
        order: 2;
    }
    section .text_img :nth-child(2) {
        order: 1;
    }
    section .text_img :nth-child(3) {
        order: 3;
        margin-bottom: 60px;
    }
    .feel_sky_close .text_img :nth-child(3) {
        display: none;
    }
    section .text_img :nth-child(4) {
        order: 4;
    }
    section .text_img p:nth-child(5) {
        order: 5;
        margin-bottom: 79px;

        margin-bottom: clamp(2.375rem, 0.835rem + 6.57vw, 4.938rem);
    }
    section .text_img :nth-child(6) {
        order: 4;
    }
    section .text_img img {
        width: 79%;
        width: 100%;
        margin-bottom: 40px;
    }
    .first_sec_bottom_img {
        height: 214px;
        background-image: none;
        position: relative;
    }
    .first_sec_bottom_img_full {
        height: 215px;
        background-image: url(../img/3.jpg);
        width: 100vw;
        background-position: 0px -192px;
        background-position: 0px -21vw;
        background-size: cover;
        position: absolute;
        top: 0;
        left: -30px;
        background-repeat: no-repeat;

        height: clamp(105px, calc(105px + (100vw - 375px) * 110 / 392), 215px);
    }
    section .wrapper_text_img .name {
        display: none;
    }
}
@media ( max-width: 767px ) {
    .text_img_wrapper {
        width: 100%;
    }
    section .text_img p {
        display: flex;
    }
    section .text_img p:nth-child(1)::before {
        position: relative;
        top: unset;
        left: unset;
        white-space: pre;
    }
    section .text_img img {
        width: 100%;
    }
    section .text_img {
        justify-content: right;
    }
    section .text_img {
        max-width: 100%;
    }
    .first_sec_bottom_img {
        margin-bottom: clamp(3.5rem, 1.288rem + 9.44vw, 5.813rem);
    }
    section .text_img p:last-child {
        margin-bottom: 23px;
    }
}
@media ( max-width: 700px ) {
    section h2 {
        font-size: clamp(30px, 6.1538vw + 6.9231px, 50px);
        letter-spacing: 1px;
    }
    section h4 {
        font-size: clamp(20px, 1.5385vw + 14.2308px, 25px);
    }
    .particular_about {
        padding-bottom: 36px;
    }
}
@media ( max-width: 510px ) {
    section h3 {
        font-size: clamp(1.813rem, -0.097rem + 8.15vw, 2.5rem);
    }
}
/* @media ( max-width: 375px ) { */
@media ( max-width: 500px ) {
    section h2 {
        font-size: 30px;
        letter-spacing: 1px;
        margin-bottom: 38px;
    }
    section h4 {
        font-size: 20px;
        margin-bottom: 47px;
    }

    section .text_img img {
        width: 100%;
        margin-bottom: 23px;
    }
    section.first .text_img :nth-child(3) {
        margin-bottom: 16px;
    }
    section .text_img p:nth-child(5) {
        margin-bottom: 38px;
    }
    .first_sec_bottom_img {
        margin-top: 0;
        margin-bottom: 37px;
    }
    .first_sec_bottom_img_full {
        left: -15px;
    }
    section h3 {
        font-size: 28px;
        margin-bottom: 14px;
    }
    section .text_img p.sec_first_bottom_p {
        margin-bottom: 55px;
    }
    section.first .text_img .sp_last {
        margin-bottom: 30px;
    }
}

