@charset "utf-8";

* {
    box-sizing: border-box;
}

.bg {
    background: #000000
}


/* @font-face {
      font-family: "HiraKaku";
      font-style: normal;
      font-weight: 500;
      src:
        url(../font/HiraKakuW3_ss.woff2) format('woff2'),
        url(../font/HiraKakuW3_ss.woff) format('woff'),
        url(../font/HiraKakuW3_ss.otf) format('opentype');
    } */

@media screen and (max-width: 767px) {
    .pc_only {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .sp_only {
        display: none;
    }
}

html {
    /* font-family: "HiraKaku", "AzoSans", "Genshin Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif;"; */
    font-size: 10px;
}

body {
    font-size: 1.6rem;
    word-break: break-all;
    line-height: 1.8;
    color: #3e1010;
}

main {
    overflow: hidden;
    margin-bottom: 60px;
}

section {
    padding: 60px 0 120px;
}

.wrapper {
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    max-width: 1100px;

}

.grid_container {
    display: grid;
    color: #fff;
}

a {
    text-decoration: none;
    list-style: dot;
    color: #3e1010;
    transition: 0.3s;
}

a:hover {
    /* color: #82106d; */
    color: crimson;
}

section.mv {
    max-height: 1280px;
    /* height: 100%; */
    background-image: url(../img/main.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .8);
    width: 100%;
    aspect-ratio: 16 / 9;
}

section.mv h1 {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

section.mv h1 img {
    width: 100%;
}

@media screen and (max-width: 767px) {
    section {
        padding-bottom: 30px;
    }

    p {
        text-align: left;
    }

    .pc_only {
        display: none;
    }

    .wrapper {
        padding: 0;
    }

    .section.about .wrapper {
        padding: 15px;
    }

    .section.about h2,
    .section.notice h2 {
        font-size: 2.2rem;
    }
}


section.notice {
    background-color: #fff;
    /* color: #000000; */
}

section.notice h2 {
    padding: 50px 0;
    margin-bottom: 30px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    background-color: #000000;

}

section.notice figure {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    border: #fff 1px solid;
}

section.notice img {
    width: 100%;

}

section.notice p {
    /* color: #fff; */
    padding: 30px 20px;
    text-align: center;
    margin: 60px auto 0;
    max-width: 800px;
    line-height: 2;
    font-weight: 700;
    border: #82106d 3px solid;
    border-radius: 20px;
}

@media screen and (max-width: 767px) {
    section.notice h2 {
        font-size: 2.2rem;
    }

    section.notice h3 {
        font-size: 8vw;
    }

    section.notice p {
        margin: 0 15px;
        text-align: left;
        font-size: 16px;
    }

}

@media screen and (min-width: 501px) and (max-width: 767px){
    section.notice h3 {
        font-size: 8vw;
    }

}


section.about {
    padding-bottom: 0;
}


section.about {
    background-color: #fff;
    text-align: center;
}

section.about h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
}

section.about ul {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    grid-gap: 20px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

section.about li {
    line-height: 1.2;
}

section.about li span {
    font-size: 1.2rem;
}

section.about .postscript {
    max-width: 800px;
    font-size: 1.2rem;
    text-align: right;
}

@media screen and (max-width: 767px) {
    section.about .wrapper {
        padding: 15px;
    }

    section.about h2 {
        font-size: 2.2rem;
    }
}


section.box.left .grid_container {
    display: block;
    grid-template-columns: 1fr;
}

section.box.right .grid_container {
    grid-template-columns: 1fr;
}

section.box.left .grid_container figure {
    grid-column-start: 1;
    grid-column-end: 2;
}

section.box.left .grid_container .content_wrap {
    width: fit-content;
    grid-column-start: 2;
    grid-column-end: 3;
}

@media screen and (min-width: 768px) {
    section.box.right .grid_container div {
        margin-left: 30px;
    }

    section.box.left .grid_container div {
        margin-right: 30px;
    }
    section.box.left .grid_container .content_wrap {
        margin-left: auto;
    }
}

/* section.box.right .grid_container figure {
    grid-column-start: 2;
    grid-column-end: 3;
}

section.box.right .grid_container div {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
} */

/* section.box .grid_container div {
    position: relative;
} */

section.box .grid_container h3 {
    font-size: 5rem;
    white-space: nowrap;
    /* position: absolute; */
}

section.box .grid_container h3 span {
    font-size: 3rem;
    /* position: absolute; */
}

section.box p {
    margin-bottom: 60px;
    text-align: justify;
}

@media screen and (max-width: 767px) {
    section.box .grid_container h3 {
        font-size: 3rem;
    }
    section.box .grid_container h3 span {
        font-size: 2rem;
    }
}

/* ボックス内ボタン設定 */
section.box .btn_area .btn {
    padding: 15px 30px;
    background-color: blanchedalmond;
    font-weight: 700;
    border-radius: 30px;
    transition: 0.3s;
    color: #3e1010;
}

section.box .btn_area .btn:hover {
    background-color: crimson;
    color: #fff;
}

section.box .btn_area {
    width: fit-content;
    margin: 0 auto;

}

/* section.box.left .grid_container h3 {
    top: 10px;
    left: -20px;
}

section.box.right .grid_container h3 {
    top: 10px;
    right: -20px;
} */


/* フェードインするボックスの設定 */
.box {
    width: 100%;
    /* margin-top: 20px;  */

    /*text-align: center;
    */
    padding: 0px;
    /*border: 1px solid #333;
    */
    opacity: 0;
    /*最初は非表示にしておく*/
    transition: opacity 1s, transform 1s;
    /*透明度と位置を設定*/
    transition: all 1s;
    min-height: 360px;
}

#budo_01 {
    margin-top: 60px;
}

/* .box {
    transform: translateX(300px); */
/*最初は元の位置より左にずらしておく*/
/* -webkit-transform: translateX(300px);
    -moz-transform: translateX(300px);
    -ms-transform: translateX(300px);
    -o-transform: translateX(300px);
    -webkit-transform: translateX(300px);
} */


/*最初は元の位置より左にずらしておく*/
.box.left {
    transform: translateX(300px);
    -webkit-transform: translateX(300px);
    -moz-transform: translateX(300px);
    -ms-transform: translateX(300px);
    -o-transform: translateX(300px);
    -webkit-transform: translateX(300px);
}

/*最初は元の位置より左にずらしておく*/
.box.right {
    transform: translateX(-300px);
    -webkit-transform: translateX(-300px);
    -moz-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    -o-transform: translateX(-300px);
    -webkit-transform: translateX(-300px);
}

/* 条件を満たしたあとに追加するクラス */
.box.left.fadein,
.box.right.fadein {
    opacity: 1;
    /*表示させる*/
    transform: translateX(0px);
    /* 位置を最初の位置に戻す */
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
}

.box+.box {
    margin-top: 40px;
}

.box .grid_container {
    /* grid-template-columns: 1fr 1fr; */
    position: relative;
    min-height: 360px;
}

.box figure {
    position: absolute;
    top: 0;
    z-index: -1;
}

@media screen and (min-width: 768px) {
    .box.left figure {
        left: 0;
    }
    .box.right figure {
        right: 0;
    }
}

@media screen and (max-width: 767px) {
    .box.budo_01 {
        margin-top: 30px;
    }

    section.box p {
        font-size: 14px;
        max-width: 500px;
    }

    section.box .grid_container div {
        padding-left: 15px;
        padding-right: 15px;
    }
    section.box.left .grid_container div {
        margin-left: auto;
    }

    .box.left figure {
        right: 0;
    }
    .box.right figure {
        left: 0;
    }
}
@media screen and (max-width: 710px) {
    section.box p {
        max-width: 500px;
    }
    section.box.left .grid_container .content_wrap {
        margin-left: auto;
    }
    .box.left figure,
    .box.right figure {
        left: calc(-1 * ((710px - 100vw) / 2));
    }
}

section.sns {
    margin-top: 120px;
    padding: 20px;
}
section.sns ul {
    display: flex;
    justify-content: center;
}
section.sns ul img {
    max-width: 50px;
    vertical-align: top;
}

footer {
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}
