@charset "UTF-8";
.wrapper{
  overflow: hidden;
  text-align: center;
}
h1{
  font-size: 1.1rem;
}
label{
  font-size: 1.1rem;
}
img{
  max-width: 100%;
  height:auto;
  vertical-align: bottom;
}
.r_header{
  background-color: white;
  width: 100%;
  height: 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.header_inner {
  padding: 0 10px; /*左右の余白確保*/
  display: flex; /*ロゴとハンバーガーメニューを横に並べる*/
  align-items: center;
  justify-content: space-between;
  height: inherit; /*親要素の高さを継承*/
  position: relative;
}
/* ヘッダーのロゴ部分 */
.header_title {
  width: 120px;
}
.header_title img {
  display: block;
  width: 100%;
  height: 27px;
}
/* ヘッダーのナビ部分 */
.header_nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 40px;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #FFF9F3; /*ハンバーガーメニュークリック時のナビゲーションメニュー背景色*/
  transition: ease .4s; /*ハンバーガーメニュークリック時のナビゲーションメニュー出現を遅延*/
}
/* ハンバーガーメニュー */
.header_hamburger {
  width: 45px;
  height: 100%;
}
.hamburger {
  background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  z-index: 9999;
}
/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #3B2714;
  position: relative;
  transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
  display: block;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  margin: 8px 0;
}
.hamburger span:nth-child(3) {
  top: 0;
}
/* ハンバーガーメニュークリック後のスタイル */
.header_nav.active {
  transform: translateX(0);
}
.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}
.nav_items {
  padding-top: 100px;
  padding-bottom: 100px;
  width:170px;
  margin:0 auto;
}
/* ナビのリンク */
.nav_items_item a {
  color: #3B2714;
  width: 100%;
  display: block;
  text-align: left;
  font-size: 20px;
  margin-bottom: 50px;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.nav_items_item:last-child a {
  margin-bottom: 0;
}
.nav_items_item a::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../img/list_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  padding-right: 8px;
}

/* モーダルウインドウ */
.openbutton{
  cursor:pointer;
}
.closeButton{
  background:rgba(0,0,0,.6);
  color:#fff;
  border:none;
  border-radius: .5rem;
  padding:0.5rem 1rem;
  cursor:pointer;
}
.closebtn_container{
  text-align: right;
  margin-bottom: 30px;
}
.modal{
  background:#fff;
  width:20rem;
  padding:1rem;
  border-radius: .5rem;
  position:fixed;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  top:120px;
  left:50%;
  transform: translate(-50%)
}
.mask{
  background: rgba(0,0,0,.6);
  position:fixed;
  inset:0;
  z-index:9998;
  opacity:0;
  visibility:hidden;
}
.radio_container{
  margin: 30px auto 10px;
  width:180px;
}
.radio_container label{
  display:block;
  margin-bottom: 30px;
  background:#E60312;
  color:#fff;
  border:none;
  border-radius: .5rem;
  padding:1rem ;
  cursor:pointer;
  font-size: 1.2rem;
}

.r_top{
  padding-top:40px;
}
.r_top img{
  margin: 0 auto;
}
.r_section1,.r_section2,.r_section4{
  padding-top: 15px;
}
.r_section1 >div{
  padding-bottom: 15px;
}
.r_section1 div:last-child{
  padding-top: 20px;
}
.r_section2 img{
  margin: 0 auto;
}
.r_section3{
  background-color: #FFF9F3;
  margin-top:20px;
}
.r_section3 >div{
  padding-bottom: 8px;
}
.r_section3 img{
  margin:0 auto;
}
.r_button2_area{
  padding-top: 10px;
}
.r_section5{
  background-color: #FFF9F3;
  margin-top:25px;
  padding-bottom: 20px;
}
.r_section5_container img{
  margin:0 auto;
}
.r_section6{
  padding-top: 20px;
}
.r_button3_area{
  padding-bottom: 20px;
}
.r_section7{
  background-color: #FFF9F3;
  padding-top:25px;
  padding-bottom: 30px;
}
.r_section7 >div{
  margin-bottom: -10px;
}
.r_section8{
  padding-top:15px;
  padding-bottom: 30px;
}
.r_footer{
  background-color: #FA2E2E;
}
p{
  font-size: 15px;
  padding-top:15px;
  padding-bottom: 15px;
  color:#ffffff;
}
.sp_only{
  display: block;
}
.pc_only{
  display: none;
}
/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(20px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}

/*----------------------------
r_btn ｜ホバーすると動く
----------------------------*/
.r_btn:hover {
  transform: translateY(-5px);
}

@media(min-width:1000px){
  .wrapper{
    text-align: center;
  }
  .r_header{
    background:rgba(255,255,255,0.7);
  }
  .header_inner{
    padding:0 50px;
  }
  .header_nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
  }
  .nav_items {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap:10px;
    height: initial;
    padding-top: inherit;
    padding-bottom: inherit;
  }
  .nav_items_item a{
    margin-bottom: 0;
    font-size: 18px;
  }
  .nav_items_item a::before {
    width: 17px;
    height: 17px;
  }
  .nav_items_item {
    display:block;
    padding: 10px 20px;
    margin-bottom: 0;
    font-size: 18px;
  }
  .hamburger {
  display: none;
  }

  .modal{
    top:200px;
  }

  .r_top{
    padding-top:0px;
  }
  .r_section1{
    max-width: 1000px;
    margin:0 auto;
  }
  .r_section1 .scroll_up >img{
    width:500px;
  }
  .r_section1_img img{
    width:500px;
  }
  .r_section1 div:nth-of-type(1){
    text-align: left;
  }
  .r_section1 div:nth-of-type(2){
    text-align: right;
    margin-top: -200px;
  }
  .r_section1 div:nth-of-type(3){
    text-align: left;
    margin-top: -200px;
  }
  .r_section1 div:nth-of-type(4) >img{
    width:600px;
  }
  .r_section3{
    background-color: #FFF9F3;
    padding-bottom: 30px;
  }
  .r_section3_container{
    max-width: 1000px;
    margin:0 auto;
  }
  .r_section3 img{
    width:600px;
  }
  .r_section3_container img{
    width:500px;
  }
  .r_section3_container div:nth-of-type(1){
    text-align: left;
  }
  .r_section3_container div:nth-of-type(2n){
    text-align: right;
    margin-top: -250px;
  }
  .r_section3_container div:nth-of-type(3){
    text-align: left;
    margin-top: -250px;
  }
  .r_section4 img{
    width:600px;
  }
  .r_section5{
    padding-top:15px;
  }
  .r_section5 img{
    width:600px;
  }
  .r_section5_container{
    width:1100px;
    margin:0 auto;
    display: flex;
    align-items: center;
  }
  .r_section5_container img{
    width:500px;
  }
  .r_section7 img{
    width:600px;
  }
  .r_section8_container{
    width:1000px;
    margin:0 auto;
  }
  p{
    font-size: 20px;
    padding-top:25px;
    padding-bottom: 25px;
  }
  .r_btn{
    width:500px;
    margin:0 auto;
  }
  .sp_only{
    display: none;
  }
  .pc_only{
    display: block;
  }

}
