html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  font-family: "Hiragino Mincho ProN", "YuMincho", "Meiryo", serif;
  color: #0B1013;
  overflow-x: hidden;
  scroll-behavior: {
    smooth
  };
}

a{
  text-decoration: none;
  color: #0B1013;
}

ul li{
  list-style: none;
}

:root {
  --sans:"Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Meiryo", "メイリオ", "Noto Sans JP", sans-serif;
  --color: #7c1212;
  --black: #0B1013;
}

.pc_none{
  display: none;
}
@media(max-width:768px){
.sp_none{
 display: none;
}
.pc_none{
  display: block;
  margin: auto;
}
}
/* goolge-font */
.bodoni-moda-{
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.hina-mincho-regular {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

/* フェードアニメーション */


/* ページのトップへ戻るボタン */
.pagetop-btn {
  position: fixed;
  width: 52px;
  height: 52px;
  border: solid 1px var(--color);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.3s, transform 0.3s;
}
.pagetop-btn::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--color);
  border-top: 2px solid var(--color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%) rotate(45deg);
}
.pagetop-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 年齢確認モーダルウィンドウ */
.age_modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999; /* 最前面に表示 */
}
span.age_title{
  font-family: var(--sans);
  font-size: 1.5em;
  margin-bottom: 10px;
  display: block;
}
.age_content {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 5px;
}
.age_content p{
  font-size: 1.125em;
  margin-bottom: 20px;
}
.yes,
.no{
  display: inline-block;
  padding: 10px;
  border: 1px solid #000;
  margin: 0 10px;
}

.hidden { display: none !important; }


/* ---------- header ---------- */
#nav-input{
  display: none;
}
#header_wrap{
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: var(--color);
  z-index: 9999;
}
.header_inner{
  max-width: 1200px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 15px;
}

.header_logo{
  height: 50px;
}

/* PC */
#g_nav ul{
  display: flex;
  justify-content:space-around;
  align-items: center;
  gap: 30px;
}

#g_nav ul li a{
  color: #fff;
  font-family: var(--sans);
}

#g_nav-toggle{
  display: none;
}

/* SP */
@media(max-width:768px){
  .header_logo{
  height: 40px;
  }

  #g_nav-toggle{
    display: block;
    position: absolute;
    right: 15px;
    top: 20px;
    width: 35px;
    height: 30px;
    cursor:pointer;
    z-index: 10001;
  }
  #g_nav-toggle span{
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    left: 0;
    transition: .3s;
  }

  #g_nav-toggle span:nth-child(1){top:0;}
  #g_nav-toggle span:nth-child(2){top:12px;}
  #g_nav-toggle span:nth-child(3){top:24px;}

  /* ナビ初期状態 */

  #g_nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.85);
    transform: translateY(-100%);
    transition: .4s;
    z-index: 9998;

    overscroll-behavior: contain;
    will-change:transform;
  }

  #nav-input:checked ~ #g_nav{
    transform: translateY(0)
  }

  /* ナビリスト */

  #g_nav ul{
    display: block;
    margin-top: 100px;
    text-align: center;
  }
  #g_nav ul li{
    padding: 15px 100px;
  }
  #g_nav ul li a{
    display: block;
    font-size: 1em;
  }

  /* menu open */

  #nav-input:checked ~ #g_nav{
    transform: translateY(0);
  }

  #nav-input:checked + #g_nav-toggle span:nth-child(1){
    transform: rotate(45deg);
    top: 12px;
  }
  #nav-input:checked + #g_nav-toggle span:nth-child(2){
   opacity: 0; 
  }
  #nav-input:checked + #g_nav-toggle span:nth-child(3){
    transform: rotate(-45deg);
    top: 12px;
  }
}

body.nav-open{
  overflow:hidden;
}

/* ------------ footer ------------ */

.footer_container{
  width: 100%;
  height: 500px;
  background-color: #7c1212;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 90;
}
.footer_inner{
  max-width: 1200px;
  display: block;
  margin: auto;
  padding: 30px 15px;
}
.footer_name{
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 40px;
  gap: 15px;
}
.footer_name>img{
  width: 180px;
}
.footer_name>p{
  font-size: 1.125em;
  font-weight: 600;
}

.footer_nav ul{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}
.footer_nav ul li a{
  color: #fff;
  font-family: var(--sans);
}
ul.footer_attention{
  max-width: 600px;
  margin: auto;
}
ul.footer_attention li{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 1em;
  padding-bottom: 5px;
}
@media(max-width:550px){
  .footer_name{
    margin: 0 auto 30px;
    gap: 5px;
  }
  .footer_nav ul{
    flex-direction: column;
    gap: 10px;
  }
  ul.footer_attention li{
    font-size: .875em;
  }
}

/* ----page 共通----- */
#container_wrap{
  margin-top: 70px;
}

.h2_wrap{
  padding: 0 10px;
  letter-spacing: 0.1em;
  color: var(--black);
  font-weight: 400;
  display: flex;
  box-sizing: border-box;
  text-align: center; 
  align-items: baseline;
}
h2.h2_title{
  font-size: 1.125em;
  position: relative;
}
h2.h2_title::after{
  content: '';
  position: absolute;
  background: var(--color);
  width: 25px;
  height: 1px;
  rotate: -45deg;
  display: inline-block;
  bottom: 7px;
  right: -20px;
}

h3{
  display: inline-block;
  position: relative;
  padding: 0 2em;
  font-family: var(--sans);
  color: var(--black);
  font-size: 1.25em;
  margin-bottom: 40px;
}
h3::before,
h3::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--color);
}
h3::before {
    left: 0;
}
h3::after {
    right: 0;
}

h5{
  position: relative;
  padding: .5em 1.5em;
  color: #333;
  font-size: 1.125em;
  font-weight: 400;
  text-align: left;
}
h5::before,
h5::after{
  display: inline-block;
  position: absolute;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #bababa;
  content: '';
}
h5::before{
  top: calc(50% - 3px);
  left: 0;
}
h5::after{
  top: calc(50% - -3px);
  left: 5px;
}

@media(max-width:550px){
  h3{
    font-size: 1.125em;
    margin-bottom: 30px;
  }
}
/* MORE ボタン */
.more_btn a {
    font-size: .875em;
    letter-spacing: 0.1em;
    color: var(--black);
    font-weight: 400;
    display: block;
    position: relative;
    box-sizing: border-box;
    max-width: 90px;
    text-align: center;
    padding: 4px 10px 0px 0;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}
.more_btn a::before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 1px;
  background: #333;
  bottom: 3px;
  transition: all 0.3s;
  right: -13px;
}
.more_btn a::after {
  content: "";
  display: block;
  position: absolute;
  width: 9px;
  height: 1px;
  background: #333;
  rotate: 40deg;
  right: -14px;
  bottom: 6px;
  transition: all 0.3s;
}
.more_btn a:hover::after,
.more_btn a:hover::before {
  translate: 6px 0;
  transition: all 0.3s;
}
/* 戻るボタン */
a.back_btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--black);
  box-sizing: border-box;
  width: 270px;
  height: 40px;
  color: var(--black);
  font-size: 1em;
  text-align: left;
  padding: 0 100px 0 20px;
  margin: auto;
  text-decoration: none;
  transition-duration: 0.2s;
}
a.back_btn:hover {
  background: var(--black);
  color: #fff;
}

/* もっと見る ボタン */
a.more_btn2{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid var(--black);
  box-sizing: border-box;
  width: 270px;
  height: 40px;
  color: var(--black);
  font-size: 1em;
  margin: auto;
  text-decoration: none;
  transition-duration: 0.2s;
}
a.more_btn2:hover {
  background: var(--black);
  color: #fff;
}
