body {
    font-family: 'Merriweather';
    background-color: hsl(0, 2%, 11%);
    color:#ffffff;
    letter-spacing: 1px;
    font-weight: 300;
}

html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

header{
    font-weight: 700;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease-out;
    background-color: rgba(53, 53, 53, 0);
    background-color: transparent;
}

header .container{
    max-width: 1080px;
    width: 90%;
    margin: 0 auto;
    margin-top: 9px;
}

header .raw{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

header .logo{
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 500;
}

header ul{
    display: flex;
}

header ul li{
    margin-left: 25px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
}

header ul li a{
    display: inline-block;
    position: relative;
    overflow: hidden;
    color:#ffffff;
    text-decoration: none;
}

header ul li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translate(-100%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
    content: "";
    transform: scaleX(0); 
    transform-origin: left;
}

header ul li a:hover:after {
    transform: scaleX(1);
}


/* section1 */
.section1 {
    position: relative;
    height:  100vh;
    width: 100%;
    background-image: url(../image/tour.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 0;
}

.section1 .filter{
    position: absolute;
    width: 100%;
    height:100%;
    background-color: #000000;
    opacity:0.3;
    top: 0;
    left: 0;
    z-index: 1;
}

.section1 .container{
    width: 100%;
    max-width:1080px;
    margin:0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 20px;
    align-items: center;
    left: 40%;  
    transform: rotateX(-100);
    top: 30%;
    left: 0%;
    font-family: "Rock Salt", cursive;
}


.section1 h1{
    font-size: 80px;
    font-weight: 600;
    margin-bottom: 55px;
    letter-spacing: 6px;
}

.section1 .narrow{
    letter-spacing: 0.01em;
}

.section1 a{
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px 30px 10px 30px;
    display: inline-block;
    background-color: transparent;
    transition-duration: .2s;
    border: 1px solid #ffffff;
}

.section1 a:hover{
    background-color: #474747;
}

/*section2*/
.section2 {
    position: relative;
    width: 100%;
    z-index: 0;
    padding: 0px 0px; 
}

.section2 .container{
    z-index: 2;
    color: rgb(0, 0, 0);
    position: relative;
}


/* 斜め（右上がりタイプ）／カラム上に追加用*/
.cstm-clip-upper-r {
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    height:10vmin;
    background-color:#cecece; /* 背景色 */
    margin-bottom: 0; /*下部余白を0にする*/
}

.section2 .container2{
    z-index: 2;
    background-color: #cecece;
    padding: 50px 0px; 
}


.section2 h2{
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-left: 10%;
}

.section2 h3{
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: 10%;
    margin-right: 10%;
    overflow-wrap: break-word;    
    word-break: break-word;
}

.section2 a{
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: 10%;
    margin-right: 10%;
    overflow-wrap: break-word;    
    word-break: break-word;
    text-decoration: underline;
    display: block;
}
.section2 h4{
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-left: 10%;
}


.section2 h5{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 10%;
}

.section2 h6{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 14px;
    margin-left: 10%;
    font-weight: 700;
    margin-right: 8%;
    text-decoration: underline;
}
.section2 .sub{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 10%;
}

.section2 .heading{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-left: 10%;
}

/* 斜め（右上がりタイプ）／カラム下に追加用*/
.cstm-clip-lower-r {
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    height:10vmin;
    background-color:#cecece; /* 背景色 */
}


.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .0rem;
    margin-top: 80px;
    margin-left: 40px;
    margin-top: 20px;
}


/*footer*/

.footer {
    position: relative;  
    top: 0;
    left: 0;
    width: 100vw;     
    height: 30vh;    
    padding: 2rem;
    z-index: 1;      
}

.footer body {
    background: #0f0f0f;
    height: 30%;
}

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

address {
    margin-top: 20px;
    margin-left: 30px;
    font-style: normal;
    line-height: 25px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .0rem;
    margin-bottom: 30px;
    margin-left: 40px;
    margin-top: 20px;
}


.footer__navi-heading {
    font-weight: 600;
    font-size: 20px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer__navi li {
    margin-bottom: 0.75rem;
    margin-top: 15px;
}

.footer__address {
    margin-bottom: 3rem;
}

.footer__address a {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}


@media only screen and (max-width: 768px){
/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面の外に隠れている */
    width: 250px;
    height: 100%;
    background-color: #333333;
    color: #ffffff;
    transition: right 0.3s ease; /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 2;
    display:flex;
    flex-flow: column;
}

/* メニューが開いているとき */
.menu.open {
    right: 0;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 20;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    margin: 7px 0;
    transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    padding: 0;
    margin-top: 80px;
}

header .ul{
    display: block;
}



.menu li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

header ul li a::after {
    display: none;
}
}


@media (min-width: 768px) {
    .md-flex {
    display: flex;
    }

    .md-justify-between {
    justify-content: space-between;
    }

    .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .footer__address a {
    text-decoration: none;
    pointer-events: none;
    }
}

@media (min-width: 1024px) {
    .lg-flex {
    display: flex;
    }
}


