@charset "utf-8";

@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);


/*
	font-family:"FontAwesome";
	font-family:"Font Awesome 5 Free";
*/

/*========================================
 Base／固定
========================================*/
body {font-family:'Noto Sans JP', "メイリオ", 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);
    --20px:calc(20 / 16 * 1rem);
    --24px:calc(24 / 16 * 1rem);
    --26px:calc(26 / 16 * 1rem);
    --30px:calc(30 / 16 * 1rem);
    --40px:calc(40 / 16 * 1rem);
}

/* topへ戻る */
footer #totop{
    width:40px;
    height:40px;
    padding:0;
    text-indent:-9999px;
    background-color:#997D27;
    border-radius:100%;
    position:fixed;
    bottom:10px;
    right:20px;
    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
========================================*/
body {
    position: relative;
    background: #fefefe;
    color: #473f53;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.6;
    background-image: url(../images/ptn.png);
    background-size: 100px;
}

img {
    width: 100%;
    height: auto;
}

/*共通*/
section {
    padding-top: 80px;
}
.container {
    max-width: 1000px;
    width: 90%;
    margin: auto;
    padding: 70px;
    background: #fefefe;
    /*border: 1px solid #997D27;*/
    background: url(../images/box_top.png), 
        url(../images/box_btm.png), 
        url(../images/box_mdl.png);
    background-position: top, bottom, center;
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-size: 100% auto, 100% auto, 100% auto;
}
.container2 {
    max-width: 1000px;
    width: 90%;
    margin: 80px auto;
    padding: 40px;
}
.inner {
    margin-bottom: 60px;
}
.inner:last-child {
    margin-bottom:0;
}
.point {
    color: #997D27;
}
.imgWrap {
    margin: 0 auto 2rem;
    width: min(100%, 1000px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 6px;
}

/*見出し*/
.heading {
    font-family: "MS明朝", 'YuMincho', "ヒラギノ明朝", 'Hiragino Mincho ProN', serif;
    margin-bottom: 60px;
    text-align: center;
    line-height: 1;
    color: #997D27;
    font-size: 70px;
    font-weight: bold;
    letter-spacing: 2px;
}
.heading span {
    display: block;
    padding-top: .4em;
    font-size: var(--20px);
}
.innerTitle {
    margin-bottom: 2rem;
    padding-bottom: .4em;
    font-size: var(--20px);
    font-weight: bold;
    border-bottom: 1px solid #997D27;
}

/*btn*/
.btnWrap {
    margin-top: 20px;
}
.button {
    margin-inline: auto;
    position:relative;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 16px 26px 16px 16px;
    width: min(100%, 500px);
    color: #fff;
    background-color: #997D27;
    border-radius: 9999px;
    line-height: 1.4;
    font-weight:bold;
    transition: all 0.3s;
    
}
.button:hover {
    background-color: #473f53;
}
.button:before {
	position: absolute;
	content: "\f105";
	font-family: "FontAwesome";
	font-weight: 900;
	font-size: 16px;
	top: 50%;
	right: 12px;
	transform: translatey(-50%);
}
.btnInvert {
    padding: 14px 26px 14px 16px;
    color: #997D27;
    background-color: #ffffff;
    border: 2px solid #997D27;
}
.btnInvert:hover {
    color: #fff;
    background-color: #997D27;
}


/*注意分*/
.note {
    padding-left: 0;
    list-style: none;
    font-size: var(--14px);
}

/*top*/
#top {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding-top: 40px;
}
.topImg {
    opacity: 0;
    animation: fade .8s ease forwards;
}

@keyframes fade {
  from {
    opacity: 0; /* 開始時の不透明度 */
  }
  to {
    opacity: 1; /* 終了時の不透明度 */
  }
}

/*grid*/
.grid {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.gridItem {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 10px;
    width: 100%;
    padding-bottom: 20px;
}
.gridTitle {
    margin: 0;
    font-size: 1rem;
}

/*list*/
.data {
    margin: 2rem auto;
}
.dataList {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: space-around;
}
.dataCap {
    position: relative;
    margin: 0 0 16px;
    padding: 4px 6px;
    color: #997D27;
    border: 1px solid #997d27;
    letter-spacing: 3px;
    font-size: var(--15px);
    width: 8em;
    text-align: center;
}
.dataText {
    margin: 0 0 14px;
    padding: 4px 10px;
    width: calc(100% - 10em);
}

/*hamburger*/
.header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}
.hamburger {
    position: relative;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #997d27;
    z-index: 110;
}
.hamburgerLine {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #eee; 
    position: absolute;
    left: 18px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburgerLine:nth-child(1) { top: 20px; }
.hamburgerLine:nth-child(2) { top: 29px; }
.hamburgerLine:nth-child(3) { top: 38px; }

.hamburger.active .hamburgerLine:nth-child(1) { top: 29px; transform: rotate(45deg); }
.hamburger.active .hamburgerLine:nth-child(2) { opacity: 0; }
.hamburger.active .hamburgerLine:nth-child(3) { top: 29px; transform: rotate(-45deg); }

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    color: #999;
    font-size: var(--20px);
    font-weight: bold;
    background: #473f53;
    backdrop-filter: blur(5px);
    z-index: 105;
    transition: right 0.5s;
    padding-top: 150px;
}
.nav.active {
    right: 0; 
}
.navList {
    padding-left: 0;
    list-style: none;
}
.navItem {
    text-align: center;
    margin-bottom: 30px;
}
.navLink {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}
.navLink:hover {
    color: #997d27;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 104;
}
.overlay.active {
    display: block;
}


/*footer*/
.copyright {
    margin: 20px auto;
    padding: 1em;
    text-align: center;
}
footer {
    border-top: 1px solid #997d27;
    background: #fff;
    text-align:center;
}
.logoLink img {
    padding:10px 0;
    max-width: 100px;
    width:100%;
}


/*========================================
 2.スクロール連動 フェードイン
========================================*/
.scroll {
    opacity: 0;
    transition: all 2s;
}
.fadeIn {
    opacity: 1;
    /*animation: fadein .5s ease-out 1 forwards;*/
    animation: fadein .5s cubic-bezier(0.42,0,0.58,1) forwards;
}
/*フェードインを下から上に*/
@keyframes fadein { 
  0% {
      opacity: 0;
      transform: translateY(30px);
  }
  100% { 
      opacity: 1;
      transform: translateY(0);
  }
}

/* PC */
@media screen and (min-width: 768px) {

    .sp {display: none;}
    
}

/* スマホ */
@media screen and (max-width: 767px) {
    
    #top {
        width: 90%;
        padding-top: 20px;
    }
    section {
        margin-bottom:40px;
        padding-top: 40px;
    }
    .container {
        padding: 40px 24px;
    }
    .container2 {
        padding: 0;
    }
    
    .heading {
        margin-bottom: 40px;
        font-size: 40px;
        letter-spacing: 1px;
    }
    .innerTitle {
        font-size: var(--18px);
    }

    .button {
        padding: 12px 20px 12px 12px;
        font-size: var(--14px);
    }
    .button:before {
        font-size: var(--12px);
        right: 8px;
    }
    .grid .button {
        padding: 10px 20px 10px 12px;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .dataCap {
        width: 100%;
        margin-bottom: 10px;
        font-size: var(--14px);
    }
    .dataText {
        width: 100%;
        padding: 0;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

}