@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Maru+Gothic&family=Zen+Old+Mincho&display=swap');

body {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
  user-select: none;
  -webkit-user-select: none; /* Safari対応 */
  -moz-user-select: none;    /* Firefox対応 */
  -ms-user-select: none;     /* IE対応 */
}

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
}

header {
    background-color: #007DC1;
    color: #fff;
    padding: 10px 0;
}


header .flex {
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin: auto;
    align-items: center;
}

header a {
    color: #fff;
}

h1 {
    margin: 0;
    font-size: 38px;
    display: flex;
    align-items: center;
}

h1 span {
    display: inline-block;
    font-size: 28px;
    margin-left: 30px;
}

header img {
    display: inline-block;
    margin-left: 10px;
    width: 45px;
}

.kv img {
    width: 100%;
}

.achv {
    position: relative;
    background-color: #B80F1E;
    color: #fff;
    padding: 20px 0;
}

.achv h2 {
    margin: 10px auto;
    font-size: 60px;
    text-align: center;
}

.achv a.btn {
    display: flex;
    margin: auto;
    color: #000;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 460px;
    padding: 15px 30px;
    background-color: #fff;
    font-size: 24px;
    font-weight: 600;
    border-radius: 35px;
}


.achv a.btn img {
    display: block;
    width: 38px;
}


.achv::after {
    position: absolute;
    content: "";
    border: 150px transparent solid;
    border-top: 90px #B80F1E solid;
    border-bottom: 0px;
    bottom: -70px;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
}


.s01 {
    padding-top: 150px;
    text-align: center;
}

.s01 article {
    font-size: 50px;
    font-weight: 600;
}

.s01 .policy {
    width: 95%;
    max-width: 1000px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
}

.s01 .policy img {
    width: 30vw;
    max-width: 285px;
}

.s01 .red {
    color: #B80F1E;
}

.s01 article p {
    font-size: 40px;
}

.s01 article p .blue {
    font-size: 50px;
    color: #007DC1
}

.s01 article p .blue strong {
    font-size: 80px;
}



.s02 {
    background-image: url(https://ogiwara-kenji.jp/wp-content/themes/ogiwara/img2/bg_s02.jpg);
    background-size: cover;
    color: #fff;
    padding: 50px 0;
}

.s02 .wrap1366 {
    max-width: 1366px;
    margin: auto
}

.s02 h2 {
    text-align: center;
    font-size: 70px;
    position: relative;
    text-shadow: 5px 5px 5px #494949;
}

.s02 h2::before {
    content: "";
    position: absolute;
    width: 25%;
    max-width: 350px;
    height: 4px;
    background-color: #fff;
    top: calc(50% - 2px);
    left: 0;
}

.s02 h2::after {
    content: "";
    position: absolute;
    width: 25%;
    max-width: 350px;
    height: 4px;
    background-color: #fff;
    top: calc(50% - 2px);
    right: 0;
}

.s02 .wrap1366>div {
    margin-bottom: 100px;
}

.s02 .wrap1366>div>span {
    font-size: 45px;
    font-weight: 400;
    color: #000;
    text-shadow: 5px 5px 10px #fff,
        -5px 5px 10px #fff,
        5px -5px 10px #fff,
        -5px -5px 10px #fff;
    display: block;
    margin-left: 150px;
    margin-bottom: 20px;
}

.s02 .wrap1366>div h3 {
    font-size: 52px;
    font-weight: 600;
    display: flex;
    align-items: center;
    width: 100%;
    background: linear-gradient(to right, #323E47, transparent);
    line-height: 1.2em;
    margin: 0;
    margin-bottom: 50px;
    padding-left: 20px;
}

.s02 .wrap1366>div h3 p {
    margin: 10px 0;
}


.s02 .wrap1366>div h3 span {
    display: block;
    margin-left: 50px;
}

.s02 .wrap1366>div h3 img {
    display: block;
    width: 102px;
}

.s02 .flex {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
}

.s02 .left {
    max-width: 507px;
}

.s02 .left h4 {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    padding: 15px;
    border: 3px #fff solid;
    box-shadow: #323E47 0 0 10px;
    text-shadow: #323E47 0 0 10px;
    margin-top: 0;
}

.s02 .left p {
    font-size: 24px;
    text-shadow: #323E47 0 0 10px;
    line-height: 1.8;
}

.s02 .left .update {
    width: 220px;
    margin-left: auto;
}

.s02 .right {
    max-width: 801px;
}

.s02 .right article {
    background-color: #B80F1E;
    font-size: 24px;
    line-height: 1.8;
    padding: 60px;
    border-radius: 20px;
}

.s02 .right .btn {
    display: flex;
    font-size: 24px;
    padding: 10px 40px;
    background-color: #fff;
    align-items: center;
    color: #000;
    margin-top: 20px;
    width: fit-content;
    margin-left: auto;
    border-radius: 40px;
}

.s02 .right .btn img {
    display: block;
    width: 34px;
    margin-left: 30px;
}


.summary {
    padding: 10px 0;
    background-color: #FFEB00;
    color: #B80F1E;
    font-size: 30px;
    text-align: center;
}



.s03 {
    padding: 100px 0;
}

.s03 .greet {
    width: 95vw;
    max-width: 1120px;
    margin: auto;
}

.s03 .greet h2 {
    width: 95vw;
    max-width: 1120px;
    display: inline-block;
    position: relative;
    height: 1px;
    background-color: #5D7484;
}
.hide {
  font-size: 0!important;
}
.mt30 {
  margin-top: 30px;
}

.s03 .greet h2::before {
    content: "皆さまへ";
    font-size: 50px;
    padding: 20px 50px;
    width: fit-content;
    margin: 50px auto;
    color: #B80F1E;
    background-color: #fff;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.s03 .greet>div {
    margin-top: 0px;
    display: flex;
    padding: 50px 0 350px;
    position: relative;

}

.s03 .greet p {
    font-size: 25px;
    line-height: 2.8;
    font-family: "Noto Serif JP", serif;
}

.s03 .ogiwara {
    position: absolute;
    top: 50px;
    right: -130px;
}

.s03 .ogiwara .greeting {
    width: 364px;
    display: block;
}

.s03 .ogiwara .name {
    width: 625px;
    display: block;
    position: absolute;
    bottom: -300px;
    left: -1000px;
}


.s04 {
    color: #fff;
    padding: 0;
    background-color: #004A9366;
    position: relative;
}

.s04::before {
    position: absolute;
    content: "";
    background-image: url(../img/prf_bg.png);
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;

}

.s04 .profile {
    width: 80%;
    max-width: 980px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s04 .profile>img {
    width: 496px;
}

.s04 .relative {
    position: relative;
    max-width: 582px;
}

.s04 .efct {
    width: 83%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 20px;
    right: 0;
    opacity: 0.3;
}

.s04 span {
    font-size: 24px;
    font-weight: 600;
}

.s04 h4 {
    font-size: 32px;
    margin: 0.5em 0;
}

.s04 article {
    font-size: 18px;
    line-height: 2;
}

footer {
    background-color: #007DC1;
    color: #fff;
    padding-top: 30px;
    text-align: center;
}

footer a {
    color: #fff;
}

footer .flex {
    display: flex;
    justify-content: center;
}

footer .btn {
    display: flex;
    width: 190px;
    padding: 5px 30px;
    border: 1px #fff solid;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    font-size: 21px;
    font-weight: 600;
    margin: 20px;
    text-align: left;
}

footer .btn img {
    width: 34px;
}

footer h3 {
    font-size: 32px;
    margin-bottom: 0;
}

footer .info {
    font-weight: 600;
    line-height: 1.5;
}

footer h4 {
    font-size: 26px;
}

footer p {
    font-size: 20px;
}

footer .copy {
    font-size: 15px;
    background-color: #004A93;
    margin-top: 100px;
    padding: 10px 0;
}


.pc {
    display: block;
}

.sp {
    display: none;
}

.space{
    display: none!important;
}

.space2{
    display: none!important;
}


@media screen and (max-width:767px) {

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    body {
        overflow-x: hidden;
    }

    header {
        padding: 10px 0;
    }

    header .flex {
        width: 90%;
    }

    h1 {
        margin: 0;
        font-size: 18px;
        display: flex;
        align-items: center;
    }

    h1 span {
        font-size: 0.8em;
        margin-left: 10px;
    }

    header img {
        display: inline-block;
        margin-left: 5px;
        width: 25px;
    }

    .kv img {
        width: 100%;
    }

    .achv {
        background-color: #B80F1E;
        color: #fff;
    }

    .achv h2 {
        font-size: 25px;
        padding: 10px 0;
    }

    .achv a.btn {
        display: flex;
        margin: auto;
        color: #000;
        align-items: center;
        justify-content: space-between;
        width: 80%;
        max-width: 280px;
        padding: 10px 20px;
        background-color: #fff;
        font-size: 15px;
        font-weight: 600;
        border-radius: 20px;
    }

    .achv a.btn span {
        display: block;
    }

    .achv a.btn img {
        display: block;
        width: 20px;
    }

    .achv::after {
        border: 100px transparent solid;
        border-top: 40px #B80F1E solid;
        border-bottom: 0px;
        bottom: -30px;
    }


    .s01 {
        padding-top: 100px;
        text-align: center;
    }

    .s01 article {
        font-size: 30px;
    }

    .s01 .policy {
        margin: 30px auto;
        display: flex;
        justify-content: space-between;
    }

    .s01 .policy img {
        width: 28vw;
        max-width: 325px;
    }


    .s01 article p {
        font-size: 20px;
    }

    .s01 article p .blue {
        font-size: 30px;
        color: #007DC1;
        line-height: 1em;
        display: inline-block;
        margin: 30px 0;
    }

    .s01 article p .blue strong {
        font-size: 45px;
    }

    .s02 {
        color: #fff;
        padding-bottom: 80px;
    }

    .s02 .wrap1366 {
        width: 100%;
        margin: auto;
    }

    .s02 .wrap1366>div {
        width: auto;
        padding: 30px 0 80px;
        margin: 0;
        text-align: center;
    }

    .s02 .wrap1366>div::before {
        content: "";
        width: 90%;
        height: 2px;
        top: 162px;
        left: 5%;
    }

    .s02 h2 {
        font-size: 28px;
    }

    .s02 h2::before {
        width: 12%;
        height: 2px;
        top: calc(50% - 1px);
        left: 3%;
    }

    .s02 h2::after {
        width: 12%;
        height: 2px;
        top: calc(50% - 2px);
        right: 3%;
    }



    .s02 .wrap1366>div>span {
        font-size: 25px;
        color: #000;
        text-shadow: 2px 2px 10px #fff,
            -2px 2px 10px #fff,
            2px -2px 10px #fff,
            -2px -2px 10px #fff;
        display: block;
        margin: auto;
        margin-bottom: 20px;
    }

    .s02 .wrap1366>div h3 {
        font-size: 23px;
        display: block;
        text-align: left;
        background: linear-gradient(to bottom, #323E47, transparent);
        line-height: 1.2em;
        margin: 0;
        margin-bottom: 50px;
        padding: 10px 0;
        position: relative;
    }

    .s02 .wrap1366>div h3 p {
        margin: 10px 0;
        padding-left: calc(4% + 72px);
    }


    .s02 .wrap1366>div h3 span {
        display: block;
        margin-left: 0;
        font-size: 20px;
    }

    .s02 .wrap1366>div h3 .space {
        display: inline-block;
        width: 40px;
        margin-left: 0;
    }

    .s02 .wrap1366>div h3 .space2 {
        display: inline-block;
        width: 20px;
        margin-left: 0;
    }

    .s02 .wrap1366>div h3 img {
        display: block;
        width: 60px;
        position: absolute;
        top: 10px;
        left: 4%;
    }

    .s02 .flex {
        display: block;
        width: 100%;
    }

    .s02 .left {
        width: 80%;
        max-width: 325px;
        margin: auto;
    }

    .s02 .left h4 {
        font-size: 20px;
        padding: 10px;
        border: 2px #fff solid;
        margin: auto;
    }

    .s02 .left p {
        font-size: 17px;
        text-shadow: #323E47 0 0 10px;
        line-height: 1.8;
        text-align: left;
    }

    .s02 .left .update {
        width: 150px;
        margin: 30px auto;
    }

    .s02 .right {
        width: 90%;
        max-width: 801px;
        margin: auto;
    }

    .s02 .right article {
        font-size: 18px;
        line-height: 1.8;
        padding: 20px 30px;
        border-radius: 10px;
        text-align: left;
    }

    .s02 .right .btn {
        display: flex;
        font-size: 16px;
        padding: 10px 20px;
        background-color: #fff;
        align-items: center;
        color: #000;
        width: fit-content;
        margin: auto;
        margin-top: 20px;
        border-radius: 30px;
    }

    .s02 .right .btn img {
        display: block;
        width: 20px;
        margin-left: 20px;
    }


    .summary {
        width: 90% !important;
        margin: auto !important;
        padding: 10px 0 !important;
        background-color: #FFEB00;
        color: #B80F1E;
        font-size: 16px;
        text-align: center;
        margin: auto;
    }




    .s03 {
        padding: 50px 0;
    }

    .s03 .greet {
        width: 95vw;
        max-width: 1120px;
        margin: auto;
    }

    .s03 .greet h2 {
        width: 100%;
        max-width: 1120px;
        display: inline-block;
        position: relative;
        height: 1px;
    }

    .s03 .greet h2::before {
        content: "皆さまへ";
        font-size: 25px;
        padding: 20px;
        width: fit-content;
        margin: 50px auto;
        color: #B80F1E;
        background-color: #fff;
        z-index: 10;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .s03 .greet>div {
        margin-top: 0;
        display: block;
        padding: 0;
        position: relative;
        text-align: center;
    }

    .s03 .greet p {
        font-size: 14px;
        line-height: 2.5;
    }

    .s03 .ogiwara {
        position: relative;
        top: auto;
        right: auto;
        transform: translateY(0);
    }

    .s03 .ogiwara .greeting {
        width: 60%;
        display: block;
        margin: auto;
        transform: translateX(22%);
        margin-top: 30px;
    }

    .s03 .ogiwara .name {
        position: static;
        width: 80%;
        display: block;
        margin: 0;
    }


    .s04 {
        color: #fff;
        padding: 30px 0;
        background-color: #004A93;
    }

    .s04::before {
        display: none;
    }

    .s04 .profile {
        width: 95%;
        max-width: 980px;
        margin: auto;
        display: block;
    }

    .s04 .profile>img {
        display: none;
    }

    .s04 .relative {
        position: relative;
        max-width: 767px;
    }

    .s04 .efct {
        width: 78%;
        height: 1px;
        background-color: #fff;
        position: absolute;
        top: 15px;
        right: 0;
        opacity: 0.3;
    }

    .s04 .efct img:first-child {
        height: 50px;
        position: absolute;
        top: 0;
        right: 0;
        transform: translateY(-99%);
    }

    .s04 .efct img:last-child {
        height: 50px;
        position: absolute;
        top: 0;
        right: 0;
        transform: translateY(-1%);
    }

    .s04 span {
        font-size: 18px;
        font-weight: 600;
    }

    .s04 h4 {
        font-size: 22px;
        margin: 0.5em 0;
    }

    .s04 article {
        font-size: 12.5px;
        line-height: 1.8;
    }

    .s05 img {
        width: 100%;
    }

    footer {
        background-color: #007DC1;
        color: #fff;
        padding-top: 30px;
        text-align: center;
    }

    footer a {
        color: #fff;
    }

    footer .ogiwara {
        width: 50%;
        margin: auto;
    }

    footer .flex {
        display: flex;
        justify-content: center;
    }

    footer .btn {
        display: flex;
        width: 45vw;
        padding: 5px 0;
        border: 1px #fff solid;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        font-size: 15px;
        font-weight: 600;
        margin: 5px;
        text-align: left;
    }

    footer .btn img {
        width: 25px;
        margin-left: 10px;
    }

    footer h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    footer .info {
        font-weight: 600;
        line-height: 1.5;
    }

    footer h4 {
        font-size: 20px;
    }

    footer p {
        font-size: 18px;
    }

    footer .copy {
        font-size: 12px;
        background-color: #004A93;
        margin-top: 0px;
        padding: 10px 0;
    }


}
