@charset "utf-8";

@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url(//use.fontawesome.com/releases/v5.0.6/css/all.css);
@import url('https://fonts.googleapis.com/css?family=Kosugi');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

/*
	font-family:"FontAwesome";
	font-family:"Font Awesome 5 Free";
*/

/*========================================
 Base／固定
========================================*/
body {font-family:"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;}

/*===== FontSize 早見表(必要なもののみ残す) 　※ 16pxは1remで記載 ※ =====*/
html {
    --12px:calc(12 / 16 * 1rem);
    --13px:calc(13 / 16 * 1rem);
    --14px:calc(14 / 16 * 1rem);
    --15px:calc(15 / 16 * 1rem);
    --18px:calc(18 / 16 * 1rem);
    --20px:calc(20 / 16 * 1rem);
    --24px:calc(24 / 16 * 1rem);
    --30px:calc(30 / 16 * 1rem);
}

/* topへ戻る */
footer #totop{
    width:40px;
    height:40px;
    padding:0;
    text-indent:-9999px;
    background-color:#cd9e4f;
    border-radius:100%;
    position:fixed;
    bottom:10px;
    right:0;
    z-index:800;
    display:none;
    cursor:pointer;
}
footer #totop a {display:block;}
footer #totop::after{
    content:"\f106";
    font-family:"FontAwesome";
    font-size:40px;
    line-height:35px;
    text-indent:0;
    text-align:center;
    color:#fff;
    display:block;
    position:absolute;
    top:0;
    left:0;
    right:0;
}

/*========================================
 カスタム用 ／PC&SP
========================================*/

/*===== class名でfontを使用する場合／下記の記述でfontを設定 =====*/
.Font13 {font-size:var(--13px);}
html,body {
  height: 100%
}
html {
    scroll-behavior: smooth;
}
body {
    font-size: 1rem;
    line-height:1.6;
    background: #fff;
    color: #000;
    background: url(../images/bg.jpg) top center / cover no-repeat fixed;
}
a {
    color: #fff;
    text-decoration: none;
}
a:hover {
    opacity: 0.7;
    transition: 0.3s;
}

header, main {
    margin: 5rem auto;
    max-width: 1080px;
    width: 90%;
}
main img {
    max-width: 100%;
    background: #111;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.sp {display: none;}

.headTtl {
    font-family: "Sawarabi Mincho", "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", serif;
    text-align: center;
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}


/*nav*/
.topNav {
    margin-bottom: 8rem;
    padding: 1.5em 0;
    border-top: 2px #9f8435 dotted;
    border-bottom: 2px #9f8435 dotted;
}
.navGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* モバイルは2列 */
    gap: 1.5rem;
}
.navItem a {
    transition: opacity 0.2s;
}
.navItem a:hover {
    opacity: 0.8;
}
.navItem img {
    width: 100%;
}


/*contents*/
.awardBanner {
    list-style: none;
    padding: 0;
}
.awardItem {
    margin: 5% auto 10%;
}
/*.awardItem:last-child {
    margin-bottom: 0;
}*/


/*modal*/
.modal-window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 90%;
    max-width: 650px;
    z-index: 11;
}
.modal-window img {
    width: 100%;
    height: auto;
}
.button-open {
    background: none;
    border: none;
}
.button-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border:0;
    background: #b59041;
    cursor: pointer;
    transition: opacity .3s;
}
.button-close:before,
.button-close:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #fff;
    content: '';
}
.button-close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.button-close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 10;
}


/*contents*/
#other {
    padding: 4% 0;
}
.note {
    font-size: var(--14px);
}


/*footer*/
.copyright {
    text-align: center;
    font-size: var(--14px);
}
footer {
    background: #fff;
    text-align:center;
    border-top: 1px solid #cd9e4f;
}
footer a img {
    padding:10px 0;
    max-width: 100px;
    width:100%;
}

/* PC */
@media screen and (min-width: 768px) {
    .navGrid {
        grid-template-columns: repeat(4, 1fr); /* PCは4列 */
    }
}

/* スマホ */
@media screen and (max-width: 767px) {
    body {
        background: none;
        background-color: #fff;
    }
    body:before {
        content:"";
        display:block;
        width:100%;
        height:100vh;
        position:fixed;
        top:0;
        left:0;
        z-index:-10;
        background-image: url(../images/bg_sp.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .pc {display: none;}
    .sp {display: block;}

    /*other*/
    #other {
        padding: 0 0 1rem;
    }
    .note {
        font-size: var(--13px);
    }
}