@charset "utf-8";




/*ページトップ戻るボタン*/
#page_top {
    width: 90px;
    height: 90px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #fffcb0;
    opacity: 0.6;
    border-radius: 50%;
    margin-right: 20px;
    margin-bottom: 20px;
}


#page_top a {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #000;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #000;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}






/*ハンバーガーボタン設定*/
.header-button {
    width: 75px;
    height: 75px;
    border: none;
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.548);
    color: #000;
    margin-top: 20px;
    margin-right: 20px;


}


/*ブレイクポイント　768ｐｘ以上 ハンバーガーボタン消す*/
@media screen and (min-width: 768px) {
    .header-button {
        display: none;
    }

}



.header-button .icon {
    width: 24px;
    height: 2px;
    background-color: #292929;
    display: block;
    position: relative;
    top: 0;


}

/*iconに疑似要素を作成して3本線を作る*/
.header-button .icon::before,
.header-button .icon::after {
    /*図形をCSSで描いてるので””中身は不要*/
    content: "";
    width: 100%;
    height: 2px;
    display: block;
    background-color: inherit;
    position: absolute;
    left: 0;
    transition: all .3s;


}

.header-button .icon::before {
    top: -9px;
}

.header-button .icon::after {
    top: 9px;
}

.header-gnav {
    position: fixed;
    right: 0;
    top: 0;
    text-align: center;
    width: 70%;
    height: 100%;

    background-color: #fffff8d8;
    transform: translateX(100%);
    transition: .3s ease-in-out;
    z-index: 40;



}

.header-gnav ul {

    margin-top: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;


}

.header-gnav a {

    color: #333;
    font-weight: bold;
    font-size: 18px;
    padding: .8em;
    display: block;
}

/*メディアクエリ　ブレイクポイント 768ｐｘ以上 ※スマホ用を解除*/
@media screen and (min-width:768px) {
    .header-gnav {
        position: static;
        background: none;
        margin-right: -0.8em;
        transform: translateX(0);

    }

    .header-gnav ul {
        flex-direction: row;
        justify-content: flex-end;

    }

}

/*ハンバーガーボタンを押したときの動作*/
body.open .header-gnav {
    transform: translateX(0);
}

/*ハンバーガーボタンを押したときのボタン見た目設定*/
body.open .header-button {
    z-index: 50;
}

/*ハンバーガーボタンの×ボタン設定*/
body.open .header-button .icon {
    width: 30px;
    /*真ん中線消す*/
    background-color: transparent;
}

body.open .header-button .icon::before,
body.open .header-button .icon::after {
    background-color: #292929;
    /*位置調整リセット*/
    top: 0;

}

body.open .header-button .icon::before {
    /*変形*/
    transform: rotate(45deg);
}

body.open .header-button .icon::after {
    transform: rotate(-45deg);
}



/*メイン設定*/

/*========= レイアウトのためのCSS ===============*/

.sp-only {
    display: block;
}

.pc-only {
    display: none;
}

@media screen and (min-width:768px) {


    .sp-only {
        display: none;
    }

    .pc-only {
        display: block;
    }
}



* {
    box-sizing: border-box;
}

body {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    padding: 0 ;
    background-color: #fffee5;
    font-family: "Meiryo,メイリオ", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic UI", sans-serif;
}


#container{
    padding: 0 20px;
}


header {
    width: 100%;
    height: 120px;


}


/*ヘッダー設定　ブレイクポイント　768ｐｘ以上 タイトル画像垂直センター揃え*/
@media screen and (min-width:768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 1200px;
        height: 130px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 100;

        align-items: center;
        width: 100%;

    }

}

.header-logo img {
    width: 40%;
    height: 60%;
    margin-top: 20px;
    margin-bottom: 20px;
    object-fit: cover;

    

}



/*ヘッダー設定　ブレイクポイント　992ｐｘ以上 タイトル画像大きくする*/
@media screen and (min-width:992px) {
    header {
        max-width: 1200px;
        padding-top: 0;

    }

    header .header-logo {
        flex: none;
    }

    header .header-logo img {
        width: 250px;
    }


}


a {

    text-decoration: none;
    /*👇時間の移り変わり指定*/
    transition: opacity 0.6s;
}

a:hover {
    opacity: 0.8;
}


.mainvisual img {
    display: block;
    margin: 0 auto;
}


/*画像の下に出る隙間部分調整　よく使う*/
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;

}

ul {
    padding: 0;
    list-style: none;
}

h2.oubo {
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #fff;
}


@media screen and (min-width:768px) {
    #guest h2 {
        margin-top: -40px;
        margin-bottom: -30px;

    }
}


@media screen and (min-width:768px) {
    h2.oubo {
        margin-top: -30px;

    }

}

h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0 0 30px 0;
    padding-top: 0;
    padding: 20px;
    background-color: #333;
    color: #fff;

}

@media screen and (min-width:768px) {
    h2 {
        font-size: 3rem;
        padding: 30px;

    }
}

/*h2:nth-child(2n+1){
    background-color:#333; 
  }
*/


h3 {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;

    border-bottom: 1px solid #fff;
    width: 230px;
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: 0;
}

@media screen and (min-width:768px) {
    h3 {
        margin-top: 50px;
    }

}


h4 {
    color: #fff;
    text-align: center;
}

h5 {
    color: #fff;
    font-size: medium;


}



p {

    text-align: center;
    color: #000;
    margin: 20px 20px;
    font-size: medium;
    font-weight: bold;
}

@media screen and (min-width:768px) {
    p {
        font-size: 1.4rem;
        margin: 40px 0;

    }
}



.oubo p {
    color: #fff;
    padding-bottom: 20px;
    margin-bottom: 0;
    margin-top: 0;

}



@media screen and (min-width:768px) {
    .oubo {
        padding-bottom: 0;
    }

}


.rule p {
    text-align: left;
    padding-left: 10px;

}




small {
    color: #fff;
    display: block;
    text-align: center;
    font-size: medium;
    background-color: #333;
    margin-top: 50px;

}

@media screen and (min-width:768px) {

    small {
        margin-top: 0;

    }
}


div {

    width: 100%;
    margin: 0 auto;
}


section {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
    margin-top: 50px;
}


@media screen and (min-width:768px) {

    section {
        padding: 50px 0px;
    }
}



section:nth-child(2n) {
    background: #333;
}


table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    padding: 20px;
    border: solid 2px #962020;
}

.nowrap {
    white-space: nowrap;
}

th {
    background-color: #333;
    color: #fff;
    font-size: 18px;

}

td {
    background-color: #fff;
    font-size: medium;
    font-weight: bold;
}





#guest ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#guest ul li {
    margin-top: 30px;
    width: 100%;
}

#guest ul li h4 {
    font-weight: 700;
    font-size: 20px;
}

#guest ul li h4 span {
    font-size: 20px;
    font-weight: normal;
}

#guest ul li img {
    width: 100%;
    height: auto;
    margin: 0
}

#guest ul li:first-child {
    margin-top: 0;
}


/*メディアクエリ　ブレイクポイント　768ｐｘ以上*/
@media screen and (min-width:768px) {
    #guest ul li {
        width: calc(33.33% - 20px * 3 / 2);
        margin-right: 20px;
    }

    #guest ul li:nth-child(-n + 3) {
        margin-top: 0;
    }

    #guest ul li:nth-child(3n) {
        margin-right: 0;
    }
}






/*エントリーリンクボタン*/



.btn-flat-logo {

    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 30px;
    padding: 0.25em 2em;
    text-decoration: none;
    color: #FFF;
    background: #962020;
    transition: .4s;
    text-align: center;
    border-radius: 50px;
    margin-top: 20px;
}

@media screen and (min-width:768px) {
    .btn-flat-logo {

        font-size: 40px;

    }
}

.btn-flat-logo:hover {
    background: #fffcb0;
    color: #000;
}


.entry-btn {
    margin-bottom: 30px;
    margin-top: 30px;
    text-align: center;
}


@media screen and (min-width:768px) {
    .entry-btn {
        margin-bottom: 70px;
        margin-top: 90px;


    }


    #footer {
        max-width: 1200px;
        margin: 0 auto;
        background: #333;
        padding: 20px;
    }

}




/*メディアクエリ*/
/*768px以上でｐｃ用(最大幅1200ｐｘ)に変わる*/
@media screen and (min-width:768px) {

    .inner {

        max-width: 1200px;
    }

}

/*========= ローディング画面のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #962020;
    z-index: 9999999;
    text-align: center;
    color: #fff;
}

#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg {
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleX(0);
    background-color: #fffcb0;
    /*伸びる背景色の設定*/
    background-image: url(../SVG/logo-white.png);
    background-color: transparent;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes PageAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    50% {
        transform-origin: left;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: right;
    }

    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

/*画面遷移の後現れるコンテンツ設定*/
#container {
    opacity: 0;
    /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*問い合わせフォーム*/

@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

body {
    background: #fffee5
    
}

form {
    max-width: 420px;
    margin: 50px auto;
}

.feedback-input {
    color: #333;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border: 2px solid #CC6666;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: 0;
}

.feedback-input:focus {
    border: 2px solid #CC4949;
}

textarea {
    height: 150px;
    line-height: 150%;
    resize: vertical;
}

[type="submit"] {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    width: 100%;
    background: #CC6666;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.3s;
    margin-top: -4px;
    font-weight: 700;
}

[type="submit"]:hover {
    background: #CC4949;
}