@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    font-family: 'Noto Serif JP';
    color: #333333;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.9;
}

/* header */

header {
    width: 100%;
    color: #fff;
    height: 80px;
    background-color: #1A4B7D;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    max-width: 1200px;
}

.header .logo img {
    width: 60px;
    height: 60px;
    margin-top: 10px;
    margin-left: 20px;
}

.header ul li {
    color: #fff;
    margin-right: 40px;
}

/* .header ul li:last-child {
    margin-right: 0;
  } */
.navi {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navi li a {
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-size: 16px;
}

.navi li a {
    /*線の基点とするためrelativeを指定*/
    position: relative;
}

.navi li.current a,
.navi li a:hover {
    color: #E88D14;
}

.navi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background: #E88D14;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);
    /*X方向0、Y方向1*/
    transform-origin: center top;
    /*上部中央基点*/
}

.burger {
    display: none;
}

/*現在地とhoverの設定*/
.navi li.current a::after,
.navi li a:hover::after {
    transform: scale(1, 1);
    /*X方向にスケール拡大*/
}



/* スマホ header */
@media screen and (max-width: 767px) {
    .header {
        max-width: 100%;
        padding: 0 20px;
    }

    .burger {
        display: block;
        /* PCで隠していたハンバーガーアイコンを表示 */
        cursor: pointer;
        width: 36px;
        height: 36px;
        z-index: 100;
        /* ナビの上に表示させる */
    }

    .burger img {
        width: 100%;
        height: 100%;
        margin: 0;
        padding-top: 10px;
    }

    nav {
        /* メニュー全体を画面いっぱいに広げる */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* 画面の高さ全体 */
        background-color: #1a4b7dbe;
        /* ヘッダーと同じ背景色 */
        z-index: 50;

        /* 初期状態（閉じた状態）：画面外に移動させて非表示にする */
        transform: translateY(-100%);
    }

    .navi {
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        /* 中央揃え */
        height: 100%;
        padding-top: 160px;
        /* ヘッダーの高さ分、上から離す */
        margin-right: 0;
    }

    .navi li {
        margin: 15px 0;
        /* 縦方向の余白 */
    }

    .navi li a {
        font-size: 16px;
        display: block;
        /* リンクのタップ領域を広げる */
        padding: 10px 0;
    }

    .open nav {
        /* メニューが開いた状態：元の位置に戻す */
        transform: translateX(0);
    }

    .open {
        overflow: hidden;
        /* 背景のスクロールを止める */
    }
}

/* pc-section１ */

.section-1 {
    width: 100%;
    margin: 0 auto;
}

.section-1 .bg {
    display: flex;
    width: 100%;
    height: 810px;
    background-image: url(../img/common/bg.png);
    background-size: cover;
}

.section-1 .flex-1 {
    display: flex;
    align-items: center;
    width: 1000px;
    margin: 0 auto;
    gap: 30px;

}

.section-1 .title {
    font-size: 48px;
    text-align: center;
    padding: 36px 0;
    background-image: url(../img/common/bg-2.png);
    background-size: 136px 96px;
    background-position: center;
}


.img-1 img {
    width: 100%;
}

.section-1 .text {
    text-align: center;
    width: 100%;
}

.section-1 .text h2 {
    width: 100%;
    margin: 24px 0;
    padding: 10px;
    font-size: 24px;
    letter-spacing: 5px;
    line-height: 40px;
}

.section-1 .text p {
    width: 100%;
    padding: 0 0 36px 0;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    letter-spacing: 7px;
}

@media screen and (max-width: 767px) {

    /* section１ */
    .section-1 .bg {
        display: flex;
        flex-direction: column;
    }

    .section-1 .flex-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 370px;
        padding-top: 50px;
    }

    .section-1 .title {
        font-size: 24px;
        background-size: 96px 67px;
        padding: 24px 0;
    }

    .img-1 img {
        width: 253px;
    }

    .section-1 .text h2 {
        margin: 16px 0;
        font-size: 16px;
        padding: 0 20px;
    }

    .section-1 .text p {
        width: 100%;
        font-size: 14px;
        letter-spacing: 2px;
        margin: 0 auto;
    }
}

.section-2 .flex-2 {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.section-2 .bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 460px;
    background-image: url(../img/common/bg-2.png);
    background-size: 60%;
    background-position: center;
}

.section-2 .bg .title {
    margin-bottom: 36px;
}

.section-2 .bg .text p {
    margin: 0 auto;
    padding: 16px 0;
    width: 60%;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    letter-spacing: 7px;
}

/* --- セクション2 ボタンのスタイル --- */

.btn {
    margin-top: 64px;
    /* 上部に余白を作成 */
    text-align: center;
}

.btn button {
    /* ボタンの初期設定 */
    background-color: #1A4B7D;
    /* オレンジ色 */
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 15px 80px;
    border-radius: 30px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn button a {
    /* リンクテキストのスタイル */
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    /* ボタン全体がリンクになるように */
    padding: 0;
    /* aタグにpaddingを入れない */
}

/* ホバー時のスタイル */
.btn button:hover {
    background-color: #E88D14;
    /* ホバーで少し明るいオレンジ色に */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    /* 影を強調 */
    opacity: 1;
    /* 親のa:hover のスタイルを打ち消す */
}

@media screen and (max-width: 767px) {
    .section-2 .bg {
        height: 460px;
        background-image: url(../img/common/bg.png);
        background-size: 100%;
        background-position: center;
    }

    .section-2 .bg .text p {
        margin: 0 auto;
        padding: 16px 0;
        width: 65%;
        text-align: center;
        font-size: 14px;
        line-height: 40px;
        letter-spacing: 0px;
    }

    /* --- セクション2 ボタンのスタイル --- */

    .btn button {
        padding: 10px 36px;
    }
}

.section-3 {
    width: 100%;
}

.section-3 .haisou img {
    width: 100%;
    margin: 0 auto;
    padding: 80px 0 0 0;
}

.section-3 .bg {
    display: flex;
    flex-direction: column;
    background-image: none;
    background-color: #1a4b7d11;
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.section-3 .flex-3 {
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    width: 100%;
}

.section-3 .flex-3 .text {
    width: 70%;
    margin: 0 auto;
    padding: 14px 0 50px 0;
    font-size: 16px;
}

.parent img {
    width: 300px;
    height: 300px;
}




.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    width: 600px;
    margin: 0 auto;
}



.div3 {
    grid-row-start: 2;
}

.div4 {
    grid-row-start: 2;
}

.footer-navi p {
    color: white;
}

.copyright {
    color: #E88D14;
    padding: 10px;
}

@media screen and (max-width: 767px) {
    .parent {
        gap: 5px;
        width: 80%;
        margin: 0 auto;
    }

    .parent img {
        width: 150px;
        height: 150px;
    }

    .section-3 .flex-3 .text {
        width: 70%;
        padding: 0;
    }
}

/* fooer */

.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 0;
    background-color: #1A4B7D;
}

.footer img {
    width: 10%;
    padding: 24px 0;
}

.footer ul {
    text-align: center;
}

.footer ul li a {
    padding: 24px 0;
    color: #fff;
    position: relative;
}

.footer .footer-navi li {
    padding: 10px;
    font-size: 24px;
}

@media screen and (max-width: 767px) {
    .footer .footer-navi li {
        padding: 10px;
        font-size: 16px;
    }
}