@charset "UTF-8";

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-image: url('../image/minimalist_background_japanese_mythology_converted.png'); /* 背景画像のパス */
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
}

/* ヘッダー */

header{
    font-family: serif;
    font-size: 20px;
    font-weight: bold;
}

.c-header {
  align-items: center;
  background-color: #eeeeee; /* カスタマイズしてください */
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem; /* カスタマイズしてください */
  width: 100%;
}

.c-header__logo {
  color: #000; /* カスタマイズしてください */
  min-width: 80px; /* カスタマイズしてください */
  text-decoration: none;
}

.c-header__list {
  box-sizing: border-box;
  display: flex;
  margin: 0;
  padding: 0;
}

.c-header__list-item {
  list-style: none;
  text-decoration: none;
}

.c-header__list-link {
  color: #000; /* カスタマイズしてください */
  display: block;
  margin-right: 40px; /* カスタマイズしてください */
  text-decoration: none;
  padding: 10px 0px; /* カスタマイズしてください */
}

.c-header__list-link:hover {
  filter: opacity(0.6); /* カスタマイズしてください */
}

.c-hamburger-menu {
  position: relative;
}

.logo {
    width: 200px;
}

.c-header__list c-hamburger-menu__list {
    list-style: none;
    display: flex; /* 横並び */
    gap: 40px;
    margin-right: 40px;
}

.c-header__list c-hamburger-menu__list li {
    margin: 0;
    font-size: 20px;
}

.c-header__list c-hamburger-menu__list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.c-header__list-item a:hover {
    color: #007bff;
}

/* ヒーローセクション */

.hero {
    position: relative;
    height: 500px;
    background: url('../image/top.png') no-repeat center center/cover;
    color: #fff;
}

.hero2{
    position: relative;
    height: 500px;
    background: url('../image/takamagahara_converted.png') no-repeat center center/cover;
    color: #fff;
}

.hero3 {
  position: relative;
  height: 500px;
  background: url('../image/amaterasu_converted.png') no-repeat center top/cover;
  color: #fff;
}

.hero4{
  position: relative;
  height: 500px;
  background: url('../image/modern_museum_converted.png') no-repeat center center/cover;
  color: #fff;
}

.hero-overlay,.hero-overlay2,.hero-overlay4{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: serif;
    z-index: 1;
}

.hero-overlay3{
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: serif;
    z-index: 1;
}

.hero-overlay h1 {
    font-size: 3em;
}

.hero-overlay2 h1 {
    font-size: 4rem;
}

.hero-overlay3 h1 {
  font-size: 4rem;
}

.hero-overlay4 h1 {
  font-size: 4rem;
}

.hero-overlay p {
    font-size: 1.2em;
}

/* 背景色 */
.recommendations,.news,.intro,.gods,.museum{
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  width: 90%;
  position: relative;
  margin: auto auto 10px auto;
}

/* おすすめセクション */
.recommendations {
    text-align: center;
    padding: 50px 20px;
}

.recommendations h2{
    font-size: 35px;
    margin-bottom: 20px;
}

.recommendation-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.recommendation-item {
    width: 300px;
    text-align: center;
}

.recommendation-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.recommendation-item img:hover {
    transform: scale(1.05);
}

.recommendation-item p {
    margin-top: 10px;
    font-size: 1.1em;
}

/* ニュースセクション */
.news {
    text-align: center;
    padding: 50px 20px;
    margin-top: 10px;
}

.news h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

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

.news li {
    margin: 10px 0;
    font-size: 1.2em;
}

.date {
    font-weight: bold;
    color: #000;
}

/* イントロ */


.intro {
  width: 65%;
  margin: 30px auto 30px auto;
  padding-top: 20px;
  padding-bottom: 50px;
}

.intro h2{
  margin: 50px 0 20px auto;
  text-align: center;
}

.intro p{
  font-family: serif;
  font-size: 20px;
  width: 55%;
  margin: auto auto auto auto;
}

/* 神様紹介ページ */
.gods{
  width: 65%;
  margin: 30px auto 30px auto;
  padding-top: 20px;
  padding-bottom: 50px;
}

.gods h1{
  font-size: 50px;
  font-family: serif;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

.gods p {
  font-family: serif;
  font-size: 20px;
  text-align: center;
  margin: 20px auto 40px auto;
  width: 85%;
}

.gods_photo{
  width: 800px;
  height: 400px;
  object-fit: cover;
  object-position: top;
  margin: auto;
}

/* SNS */

.museum{
  width: 65%;
  margin: 30px auto 30px auto;
  padding-top: 20px;
  padding-bottom: 50px;
}

.museum h1 {
  font-size: 50px;
  font-family: serif;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

.museum p {
  font-family: serif;
  font-size: 25px;
  text-align: center;
  margin: 20px auto 40px auto;
  width: 85%;
}

.map {
  width: 800px;
  height: 400px;
  object-fit: cover;
  object-position: bottom;
  margin: auto;
}

.x {
  width: 40px;
  height: auto;
  margin: auto auto auto 300px;
}

.museum h2{
  font-size: 35px;
  font-family: serif;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

html {
  scroll-behavior: smooth;
}
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #000000;
  border: solid 2px #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: translateY(20%) rotate(-45deg);
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
}
  
  @media screen and (max-width: 768px) {
    .c-hamburger-menu__list {
      background-color: #eeeeee; /* カスタマイズしてください */
      align-items: flex-start;
      display: flex;
      flex-direction: column;
      left: 0;
      padding: 2rem; /* カスタマイズしてください */
      position: absolute;
      transform: translateX(-100%);
      transition: 0.3s; /* カスタマイズしてください */
      top: 100%;
      width: 100%;
      z-index: 10;
    }
  
    #hamburger:checked ~ .c-hamburger-menu__list {
      transform: translateX(0%);
      transition: 0.3s;
    }
  }
  
  .c-hamburger-menu__input {
    display: none;
  }
  
  .c-hamburger-menu__bg {
    background-color: #000; /* カスタマイズしてください */
    cursor: pointer;
    display: none;
    height: 100vh;
    left: 0;
    opacity: 0.4; /* カスタマイズしてください */
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
  }
  
  #hamburger:checked ~ .c-hamburger-menu__bg {
    display: block;
  }
  
  .c-hamburger-menu__button {
    display: none;
  }
  
  @media screen and (max-width: 768px) {
    .c-hamburger-menu__button {
      align-items: center;
      appearance: none;
      background-color: transparent;
      border: none;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 5px;
      height: 32px;
      justify-content: center;
      width: 32px;
    }
  }
  
  .c-hamburger-menu__button-mark {
    background-color: #000;
    display: block;
    height: 1px; 
    transition: 0.3s; 
    width: 20px; 
  }
  
  @media screen and (max-width: 768px) {
    #hamburger:checked
      ~ .c-hamburger-menu__button
      .c-hamburger-menu__button-mark:nth-of-type(1) {
      transform: translate(2px, 1px) rotate(45deg); 
      transform-origin: 0%; /* カスタマイズしてください */
    }
    #hamburger:checked
      ~ .c-hamburger-menu__button
      .c-hamburger-menu__button-mark:nth-of-type(2) {
      opacity: 0;
    }
    #hamburger:checked
      ~ .c-hamburger-menu__button
      .c-hamburger-menu__button-mark:nth-of-type(3) {
      transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
      transform-origin: 0%; /* カスタマイズしてください */
    }
  }

  @media screen and (max-width: 768px) {
    .hero-overlay h1,.hero-overlay2 h1,.hero-overlay3 h1,.hero-overlay4 h1{
      font-size: 45px;
    }

    .intro{
      width: 90%;
    }

    .intro p {
      width: 85%;
    }

    .gods,.museum{
      width: 90%;
    }

    .gods h2,.museum h2{
      font-size: 20px;
      margin: 10px;
    }

    .gods_photo{
      width: 85%;
      height: 55%;
    }

    .gods p {
      width: 85%;
    }

    .map{
      width: 85%;
      height: 55%;
    }

    .museum p{
      font-size: 18px;
    }

    .x{
      width: 30px;
      height: auto;
      margin: 20px auto auto 100px;
    }

    .museum h2{
      font-size: 30px;
    }
  }