@charset "UTF-8";

/* ------------------------------------------------------------
   Google Fonts（使っているフォントをCSS側でも確実に読み込む）
   ※すでにHTMLで読み込んでいる場合でも基本は問題ありません
------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab&family=M+PLUS+Rounded+1c:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;600&display=swap');

/* ------------------------------------------------------------
   Variables
------------------------------------------------------------ */
:root{
  /*使用しない場合も必ず設定*/
  --i_bg_color: #fff;                      /*背景色*/
  --i_txt_color: #000000;                  /*テキスト*/
  --i_main_color:#e9546b;                  /*メイン*/
  --i_sub_color: #003e67;                  /*アクセント*/
  --i_sub2_color: #e9546b;                 /*薄い色*/
  --i_btn_color: #e9546b;                  /*ボタン*/
  --i_btn_hover_color: #f56500;            /*ボタンhover*/
  --i_btn_txt_color:#ffffff;               /*ボタンテキスト*/
  --i_btn_hover_txt_color: #494335;        /*ボタンテキスト*/
  --i_shadow_color: rgba(73, 67, 53,0.05); /*シャドウ*/
  --i_border_color: rgba(73, 67, 53, 0.13);/*ボーダー*/
  --i_noimg_bg_color: #e9546a;             /*画像無し*/
  --i_padding: 20px;                       /*左右余白*/
}

@media screen and (max-width: 500px){
  :root{
    --i_padding: 20px; /*左右余白*/
  }
}

/* ------------------------------------------------------------
   Base
------------------------------------------------------------ */
html{
  font-size: 62.5%;
}
body{
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.65rem;
  line-height: 1.9;
  letter-spacing: 0.02rem;
  -webkit-text-size-adjust: 100%;
  color: var(--i_txt_color);
  font-weight: 500;
  background: #fff;
}

@media screen and (max-width: 850px){
  html{ font-size: 60.606%; }
  body{ letter-spacing: 0px; }
}

a{
  outline: 0;
  text-decoration: none;
  color: var(--i_txt_color);
}

section[style*=" color:"]:not([style*=" color: inherit"]) a,
div[style*=" color:"]:not([style*=" color: inherit"]) a{
  color: inherit;
}

/* composite_boxの最大高さとトリミングの起点 */
.composite_box01 .inner_item_img img{
  object-position: 50% 50%;
  font-family: 'object-position: 50% 50%;';
}

@media screen and (max-width: 850px){
  #sidebar{
    border: 5px solid #f7f1e3 !important;
  }
}

.no_img{
  background: var(--i_noimg_bg_color, rgba(200,200,200,0.3));
}

/* ------------------------------------------------------------
   Loader（重複・矛盾を統一）
------------------------------------------------------------ */
#load div:nth-of-type(1){
  background: #fff;
}

#load .loader,
.popup .loader{
  border: 1px solid var(--i_main_color);
}

#load .loader,
#load .loader::before,
.popup .loader,
.popup .loader::before{
  border-top-color: #494335;
}

#load .loader::before,
#load .loader::after,
.popup .loader::before,
.popup .loader::after{
  left: -1px;
  top: -1px;
}

#load img{
  max-width: 250px;
  max-height: 150px;
}
@media screen and (max-width: 650px){
  #load img{ max-width: 160px; }
}

/* ------------------------------------------------------------
   Header
------------------------------------------------------------ */
header{
  font-size: 1.4rem;
  color: #494335;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background-color: #fff;
}
header .wraper{
  max-width: 1300px;
  background-color: #fff;
}
body.scrolled header{
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 5px var(--i_shadow_color);
}

header h1{
  line-height: 1.5;
  font-size: 1.2rem; /* ← 後から修正を反映 */
  font-weight: normal;
  opacity: 0.7;
  fill: var(--i_txt_color);
}

body.scrolled header .logo{
  padding: 20px 0 !important;
}

header .logo,
header .logo a{
  max-width: 400px;
}

header .logo a img{
  max-width: 80% !important;
  display: block;
}

body.scrolled header .logo a img{
  max-height: 70px;
}

header .header_contents .header_col1{
  /* ▼水平方向レイアウト */
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

header .header_contents .header_col1 .tel{
  position: relative;
  font-size: 26px;
  line-height: 1;
  padding-left: 26px;
  font-weight: normal;
  fill: var(--i_txt_color);
}

header .header_contents .header_col1 .btn .translate a svg,
header .burger li.sp_translate a svg,
header .header_contents .header_sns li svg{
  fill: var(--i_txt_color);
}

header .header_contents .header_col1 .tel svg{
  fill: var(--i_main_color);
  width: 22px;
  height: 22px;
  top: calc(50% - 11px);
  left: 0;
}

header .sp_menu a div span,
header .sp_menu a div:before,
header .sp_menu a div:after{
  background: var(--i_txt_color);
}

header .header_contents .header_col1 .btn>a{
  display: block;
  text-align: center;
  background-color: var(--i_btn_color) !important;
  color: var(--i_btn_txt_color);
  padding: 7px 15px 9px;
  transition: 0.4s ease-in-out;
  letter-spacing: 0.2rem;
}

header .header_contents .header_col1 .btn>a:hover{
  opacity: 1;
  background: var(--i_btn_hover_color);
}

header .header_contents .header_col1 .btn .translate a svg{
  max-width: 74%;
  max-height: 74%;
  margin: 13% auto 0;
}

header .header_contents .header_col1 .btn .translate a:hover{
  opacity: 0.8;
}

header#pattern1 nav,
header#pattern3 nav{
  position: relative;
}

header nav *{
  color: #e9546a;
}

header nav ul.nav_1st{
  width: 100%;
  max-width: 1300px !important;/*任意*/
}

header nav ul.nav_1st>li{
  box-sizing: border-box;
  position: relative;
}

header nav ul.nav_1st>li:after{/*罫線*/
  content: "";
  width: 1px;
  height: 50%;
  position: absolute;
  top: 25%;
  left: 0;
}

header nav ul.nav_1st>li:last-child:before{/*罫線*/
  content: "";
  width: 1px;
  height: 50%;
  position: absolute;
  top: 25%;
  right: 0;
}

header nav ul.nav_1st>li>a{
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  padding-left: 1vw;
  padding-right: 1vw;
}

header nav ul.nav_1st>li>a span{
  /*ナビの高さはline-heightで調整*/
  line-height: 3;/* マージン普通選択時 */
  letter-spacing: 0.2rem;
  transition: 0.4s ease-in-out;
  font-weight: 500;
}

header nav ul.nav_1st>li>a:hover span{
  opacity: 1;
  color: var(--i_main_color);
}

header#pattern2 nav ul.nav_1st>li>a span{
  line-height: 3;
}

body.margin header nav ul.nav_1st>li>a span{
  line-height: 4;/* マージン広い選択時 */
}

header nav ul.nav_2nd{
  padding-top: 20px;
}

header nav ul.nav_1st>li:hover ul.nav_2nd{
  padding-top: 15px;
  box-shadow: 2px 2px 5px var(--i_shadow_color);
}

header nav ul.nav_2nd>li{
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--i_border_color);
}

header nav ul.nav_2nd>li:nth-last-of-type(1){
  border-bottom: none;
}

header nav ul.nav_2nd li a{
  padding: 10px 20px;
  font-weight: normal;
  font-size: 1.4rem;
}

header nav ul.nav_2nd>li>a{
  padding-right: 30px;
}

header nav ul.nav_2nd>li>a:after{
  height: 5px;
  width: 5px;
  transform: rotate(-45deg);
  border-right: 1px solid var(--i_sub_color);
  border-bottom: 1px solid var(--i_sub_color);
  top: calc(50% - 2.5px);
  right: 20px;
}

header nav ul.nav_3rd{
  padding-left: 20px;
}

/* 誤字修正：nav_3nd -> nav_3rd */
header nav ul.nav_3rd li a{
  padding: 5px 20px;
}

header nav ul.nav_3rd>li>a:after{
  height: 1px;
  width: 4px;
  background: var(--i_sub_color);
  top: calc(50% - 0.5px);
  left: 5px;
}

@media screen and (min-width: 900px){
  header nav ul.nav_1st > li > a:after {
    position: absolute;
    bottom: 0px;
    left: 10%;
    content: '';
    width: 80%;
    height: 1px;
    background: var(--i_main_color);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .5s;
  }
  header nav ul.nav_1st > li > a:hover::after {
    transform: scale(1, 1);
  }
}

@media screen and (max-width: 900px){
  body.scrolled header .logo{
    padding: 10px 0 !important;
  }
  header.open:after,
  header .header_contents{
    background: #fff8f6;
  }
  header .burger li.sp_translate a svg{
    height: 28px;
    width: 28px;
    margin: 10% auto;
  }
  header .header_sns,
  header .header_contents .header_col1,
  header .header_contents .header_col2{
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid var(--i_border_color);
  }
  header .header_sns{
    border-bottom: none;
  }
  header .header_sns:empty,
  header .header_contents .header_col1:empty,
  header .header_contents .header_col2:empty{
    border: none;
  }
  header .header_contents .header_col1 .tel,
  header .header_contents .header_col1 .btn{
    float: none;
  }
  header .header_contents .header_col2{
    display: block !important;
  }
  header nav{
    border-bottom: 1px solid var(--i_border_color);
  }
  header nav ul.nav_1st{
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-top: 1px solid var(--i_border_color);
  }
  header nav ul.nav_1st li{
    border-bottom: 1px solid var(--i_border_color);
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  header nav ul.nav_1st>li:before,
  header nav ul.nav_1st>li:after{
    display: none !important;
  }
  header nav ul.nav_1st>li i:before,
  header nav ul.nav_1st>li i:after{
    background: var(--i_sub_color);
  }
  header nav ul.nav_2nd{
    border-top: 1px solid var(--i_border_color);
  }
  header nav ul.nav_2nd>li{
    box-shadow: none;
  }
  header nav ul.nav_2nd>li *{
    color: #494335;
  }
  header nav ul.nav_3rd{
    border-top: 1px solid var(--i_border_color);
  }
  header nav ul.nav_3rd>li:nth-last-of-type(1){
    border-bottom: none;
  }
  header .logo a img{
    max-width: 80%;
  }
  header nav ul.nav_1st>li>a:hover:before{
    transform: scale(0, 0);
  }
  header#pattern1 nav,
  header#pattern3 nav{
    border-bottom: 0;
    border-top: 0;
  }
  header .header_contents .header_col1 .btn > a{
    padding: 7px 15px 10px;
  }
}

/* ------------------------------------------------------------
   Spacing（余白設定）
------------------------------------------------------------ */
main>section:first-child:not([class*="pt"]),
main>div:first-child:not([class*="pt"]),
div[class*='pb']+.contents_related,
section[class*='pb']+.contents_related,
div[class*='pb']+.contents_related_tags,
section[class*='pb']+.contents_related_tags{
  padding-top: 60px;
}

main>section:not([class*="pt"]),
main>div:not([class*="pt"]),
aside>section:not([class*="pt"]),
aside>div:not([class*="pt"]){
  padding-bottom: 60px;
}

@media screen and (max-width: 800px){
  main>section:first-child:not([class*="pt"]),
  main>div:first-child:not([class*="pt"]),
  div[class*='pb']+.contents_related,
  section[class*='pb']+.contents_related,
  div[class*='pb']+.contents_related_tags,
  section[class*='pb']+.contents_related_tags{
    padding-top: 40px;
  }
  main>section:not([class*="pt"]),
  main>div:not([class*="pt"]),
  aside>section:not([class*="pt"]),
  aside>div:not([class*="pt"]){
    padding-bottom: 40px;
  }
}

/* ------------------------------------------------------------
   Headings（重複していた同一ルールを統合）
------------------------------------------------------------ */
section .content_wrapper>.heading:first-child:last-child{
  margin-bottom: 0;
}

section:not([class*="pt"]) .content_wrapper>.heading:first-child:last-child{
  margin-bottom: 0;
}

.heading.block_header_1,
.heading.block_header_6{
  margin-bottom: 30px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
}

.heading.block_header_1 p,
.heading.block_header_6 .h{
  font-weight: 400;
  letter-spacing: 0.2rem;
  font-size: 3.4rem !important;
  line-height: 1.4;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: var(--i_main_color);
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.heading.block_header_1 p:after,
.heading.block_header_6 .h:after{
  position: absolute;
  display: block;
  content: "";
  width: 80px;
  height: 2px;
  bottom: 0;
  left: calc(50% - 40px);
  background: var(--i_main_color);
  pointer-events: none;
}

.heading.block_header_1.align-left p:after,
.heading.block_header_6.align-left .h:after{
  left: 0;
}

.heading.block_header_1.align-right p:after,
.heading.block_header_6.align-right .h:after{
  right: 0;
  left: auto;
}

.index .heading.block_header_1 p,
.index .heading.block_header_6 .h{
  font-size: 4.0rem;
}

section[style*="background-color: rgb(73, 67, 53);"] .heading.block_header_1 p:after,
section[style*="background-color: rgb(73, 67, 53);"] .heading.block_header_6 .h:after,
div[style*="background-color: rgb(73, 67, 53);"] .heading.block_header_1 p:after,
div[style*="background-color: rgb(73, 67, 53);"] .heading.block_header_6 .h:after{
  background: #f7edc2;
}

section[style*="color: #ffffff;"] .heading.block_header_1 p:after,
section[style*="color: #ffffff;"] .heading.block_header_6 .h:after,
div[style*="color: #ffffff;"] .heading.block_header_1 p:after,
div[style*="color: #ffffff;"] .heading.block_header_6 .h:after,
section[style*="color: rgb(255, 255, 255);"] .heading.block_header_1 p:after,
section[style*="color: rgb(255, 255, 255);"] .heading.block_header_6 .h:after,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_1 p:after,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_6 .h:after{
  background: #fff;
}

section[style*="color: rgb(255, 255, 255);"] .heading.block_header_1 p,
section[style*="color: rgb(255, 255, 255);"] .heading.block_header_6 .h,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_1 p,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_6 .h{
  color: #fff !important;
}

.heading.block_header_1 .h,
.heading.block_header_6 p{
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

@media screen and (max-width: 800px){
  .heading.block_header_1,
  .heading.block_header_6{
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .heading.block_header_1 p,
  .heading.block_header_6 .h{
    font-size: 1.7rem !important;
  }
  .heading.block_header_1 .h,
  .heading.block_header_6 p{
    font-size: 1.5rem;
  }
  .index .heading.block_header_1 p,
  .index .heading.block_header_6 .h{
    font-size: 2.8rem;
    font-weight: 600;
  }
}

/* block_header_2 */
.heading.block_header_2{
  margin-bottom: 30px;
}

section[style*="color: rgb(255, 255, 255);"] .heading.block_header_2,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_2{
  border-bottom-color: #fff;
}

.heading.block_header_2 .h{
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.2rem;
  font-size: 2.1rem;
  line-height: 1.5;
  position: relative;
  padding-left: 22px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.heading.block_header_2 .h:before{
  display: block;
  content:'';
  width: 6px;
  height: 6px;
  position: absolute;
  top: calc(50% - 4px);
  left: 0;
  border: 2px solid var(--i_main_color);
  border-radius: 50px;
}

.heading.block_header_2 p{
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  padding-left: 22px;
}

.news_archive .heading.block_header_2,
.glossary_archive .heading.block_header_2,
.widget_gallery01 .heading.block_header_2,
.gallery_archive .heading.block_header_2{
  border: none;
}

.widget_gallery01.add_design4 .inner_item .heading.block_header_2{
  padding-left: 2em!important;
}

section[style*="color: #ffffff;"] .heading.block_header_2 .h:before,
div[style*="color: #ffffff;"] .heading.block_header_2 .h:before,
section[style*="color: rgb(255, 255, 255);"] .heading.block_header_2 .h:before,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_2 .h:before{
  border: 3px solid #fff;
}

@media screen and (max-width: 800px){
  .heading.block_header_2{
    margin-bottom: 20px;
  }
  .heading.block_header_2 .h{
    font-size: 2.1rem;
    padding-left: 20px;
  }
  .heading.block_header_2 p{
    padding-left: 20px;
  }
}

/* 用語一覧 */
.glossary_archive .content_wrapper .heading.block_header_2 .h{
  padding-left: 0 !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.glossary_archive .content_wrapper .heading.block_header_2 .h a{
  color: var(--i_main_color);
}
.glossary_archive .content_wrapper .heading.block_header_2 .h:before,
.glossary_archive .content_wrapper .heading.block_header_2 .h:after,
.glossary_archive .content_wrapper .heading.block_header_2:before,
.glossary_archive .content_wrapper .heading.block_header_2:after{
  display: none !important;
}

/* block_header_3 */
.heading.block_header_3{
  overflow: hidden;
  background: var(--i_sub2_color);
  padding: 10px;
  margin-bottom: 30px;
}
.heading.block_header_3 .h{
  font-weight: 500;
  letter-spacing: 0.2rem;
  font-size: 1.9rem;
  line-height: 1.5;
  color: var(--i_main_color);
}
.heading.block_header_3 p{
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  color: var(--i_main_color);
}
@media screen and (max-width: 800px){
  .heading.block_header_3{
    padding: 5px;
    margin-bottom: 20px;
  }
  .heading.block_header_3 .h{ font-size: 2.0rem; }
  .heading.block_header_3 p{ font-size: 1.3rem; }
}

/* block_header_4 */
.heading.block_header_4{
  margin-bottom: 15px;
}
.heading.block_header_4:before{
  display: none;
}
.heading.block_header_4 .h{
  font-size: 2.0rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  line-height: 1.5;
  margin-bottom: 5px;
  color: var(--i_main_color);
}
.heading.block_header_4 p{
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  color: var(--i_main_color);
}

/* block_header_5 */
.heading.block_header_5{
  margin-bottom: 15px;
}
.heading.block_header_5 .h{
  display: inline;
  font-weight: 500;
  letter-spacing: 0.2rem;
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.heading.block_header_5 p{
  letter-spacing: 0.2rem;
  display: inline;
  font-size: 1.4rem;
}
.heading.block_header_5 p:before{
  content: "　/　";
}
#sidebar .heading.block_header_5{
  background: var(--i_sub2_color);
  padding: 5px 15px;
}

/* ------------------------------------------------------------
   Parallax
------------------------------------------------------------ */
.parallax{
  box-shadow: 0 0 5px var(--i_shadow_color) inset;
}

/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */
.contents_btn01 a,
.glossary_archive .content_wrapper .heading.block_header_2 a:after{
  border: 1px solid rgba(0, 0, 0, 0) !important;
  background: #e9546b;
  color: #fff !important;
  position: relative;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  transition: .4s ease-in-out;
  font-family: inherit;
  letter-spacing: 0.2rem;
}
.contents_btn01 a span:hover{
  color:#003e67;
}

main form .submit span input{
  background: var(--i_btn_color);
  border: 1px solid var(--i_btn_color);
  color: var(--i_txt_color);
  position: relative;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  transition: .4s ease-in-out;
  font-family: inherit;
}

main form .submit{
  position: relative;
}

.contents_btn01 a:before,
main form .submit span:before{
  position: absolute;
  content: " ";
  width: 5px;
  height: 5px;
  top: calc(50% - 2.5px);
  left: 5px;
  border-top: 1px solid #494335 !important;
  border-right: 1px solid #494335 !important;
  transform: rotate(45deg);
  transition: all 0.3s ease;
  z-index: 10;
}

.contents_btn01 a:hover,
.glossary_archive .content_wrapper .heading.block_header_2 a:hover:after,
main form .submit span input:hover{
  background: none;
  border: 1px solid #e9546b !important;
}

.contents_btn01 a[target=_blank] span:before,
.contents_btn01 a[target=_blank] span:after{
  border: 1px solid #494335 !important;
}

.contents_btn01 a span{
  text-align: center;
  line-height: 1.6;
  font-size: 1.5rem;
  padding: 11px 25px 13px;
}

input[type="button"],input[type="text"],input[type="submit"],input[type="image"],textarea{
  -webkit-appearance: none;
  border-radius: 0;
}

section[style*="color: #ffffff;"] .contents_btn01 a:hover,
div[style*="color: #ffffff;"] .contents_btn01 a:hover,
section[style*="color: rgb(255, 255, 255);"] .contents_btn01 a:hover,
div[style*="color: rgb(255, 255, 255);"] .contents_btn01 a:hover{
  color: #fff !important;
  border: 1px solid #fff !important;
}

section[style*="color: #ffffff;"] .contents_btn01 a:hover:before,
div[style*="color: #ffffff;"] .contents_btn01 a:hover:before,
section[style*="color: rgb(255, 255, 255);"] .contents_btn01 a:hover:before,
div[style*="color: rgb(255, 255, 255);"] .contents_btn01 a:hover:before{
  border-top: 1px solid #fff !important;
  border-right: 1px solid #fff !important;
}

section[style*="color: #ffffff;"] .contents_btn01 a[target=_blank] span:hover:before,
div[style*="color: #ffffff;"] .contents_btn01 a[target=_blank] span:hover:before,
section[style*="color: rgb(255, 255, 255);"] .contents_btn01 a[target=_blank] span:hover:before,
div[style*="color: rgb(255, 255, 255);"] .contents_btn01 a[target=_blank] span:hover:before,
section[style*="color: #ffffff;"] .contents_btn01 a[target=_blank] span:hover:after,
div[style*="color: #ffffff;"] .contents_btn01 a[target=_blank] span:hover:after,
section[style*="color: rgb(255, 255, 255);"] .contents_btn01 a[target=_blank] span:hover:after,
div[style*="color: rgb(255, 255, 255);"] .contents_btn01 a[target=_blank] span:hover:after{
  border: 1px solid #fff !important;
}

.contents_faq01.accordion .mymore a{
  padding: 0 0 4px;
}
.contents_faq01.accordion .mymore a:hover{
  opacity: 0.8;
}

/* ------------------------------------------------------------
   MV（元のルール + 後から修正を統合）
------------------------------------------------------------ */
#mv_outer{
  position: relative;
  padding-bottom: 50px;
}

#mv{
  position: relative;           /* 後から修正を反映 */
  height: 100vh;                /* 後から修正を反映 */
  width: 100%;
  overflow: hidden;
  max-height: 1200px;

  /* 元の設定（競合しやすいので、必要ならコメント解除して使用）
  width: 95%;
  margin-right: 0;
  height: 78vh;
  min-height: 500px;
  */
}

#mv .mv_img li img{
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

#mv:before{
  position: absolute;
  display: block;
  content: "Please spend the moment of bliss";
  transform: rotate(-90deg);
  bottom: 150px;
  left: -200px;
  font-family: 'Josefin Slab', serif;
  letter-spacing: 0.3rem;
  pointer-events: none;
}

#mv:after{
  pointer-events: none;
}

#mv .mv_text{
  height: 80%;
  align-items: flex-end;
  width: 100% !important;
  left: 0 !important;
  bottom: 6% !important;
}

#mv .mv_text>div{
  max-width: none !important;
  box-sizing: border-box;
  width: 95%;
  color: #fff;
}

#mv .mv_text h2{
  line-height: 1.1;
  letter-spacing: 0.2rem;
  font-weight: 500;
  font-size: 3.6rem !important;
  position: relative;
}

#mv .mv_text p{
  padding-top: 15px;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

#mv .mv_pointer{
  width: 90%;
  position: absolute;
  bottom: -35px;
  left: 0;
  padding: 0;
  padding-left: 2.5%;
  text-align: left;
}

#mv .mv_pointer li{
  width: 5px !important;
  height: 30px;
  margin: 0 40px 0 0;
  border-radius: 50px;
}

#mv .mv_pointer li:last-of-type{
  margin: 0;
}

#mv .mv_pointer li::before{
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin-top: 10px;
  background: rgba(73, 67, 53, 0.5);
  border-radius: 50px;
}

#mv .mv_pointer li.current{
  width: 5px !important;
}

#mv .mv_pointer li.current:before{
  background: rgba(73, 67, 53, 1);
}

#mv .mv_scroll,
#mv .mv_arrow{
  display: none;
}

@media screen and (min-width: 901px){
  #mv_outer{ padding-top: 15px; }
}

/* 修正：max-width: 100vh は不正になりやすいので max-height に */
@media screen and (max-height: 100vh){
  #mv{ height: 65vh; }
}

@media screen and (max-width: 1600px){
  #mv::before{ left: -180px; }
}

@media screen and (max-width: 900px){
  #mv::before{ display: none; }
}

@media screen and (max-width: 600px){
  #mv_outer{
    padding-bottom: 35px;
    background-color: #FCF9F0;
  }
  #mv .mv_text h2{
    line-height: 1.5;
    font-size: 5.5vw !important;
    letter-spacing: 0.2rem;
  }
  #mv .mv_text p{
    letter-spacing: 0.2rem;
    font-size: 1.55rem;
    padding-top: 0;
  }
  #mv .mv_text > div{
    width: 95%;
  }
  #mv .mv_pointer{
    bottom: -25px;
  }
}

/* 後から修正（850px以下のMV高さ） */
@media screen and (max-width: 850px){
  #mv{
    height: 25vh;
    width:100%;
  }
  header .logo a img{
    position: relative;
    left: 60%;
  }
}

/* ------------------------------------------------------------
   LV（IV）
------------------------------------------------------------ */
#lv{
  background: #494335;
  height: 250px;
  padding-bottom: 0;
  width: 100%;
}

#lv_outer{
  position: relative;
}

header.over+#lv_outer #lv{
  min-height: 200px;
}

#lv div{
  opacity: 0.3;
}

#lv p{
  left: 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: 100px;
}

#lv p span{
  display: inline-block;
  font-size: 4.0rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  word-break: break-all;
  line-height: 1.2;
  letter-spacing: 0.2rem;
  color: #fff;
}

@media screen and (max-width: 800px){
  #lv{ height: 200px; }
  #lv p span{ font-size: 2.8rem; }
}
@media screen and (max-width: 900px){
  #lv_outer{ padding: 0; }
}

/* ------------------------------------------------------------
   Breadcrumb（パンくず）
------------------------------------------------------------ */
#pan{
  padding: 0;
  border-bottom: 1px solid var(--i_border_color);
}
#pan li{
  font-size: 1.2rem;
  padding: 5px 0 3px 30px;
}
#pan li:before{
  border-top: 1px solid var(--i_border_color);
  border-right: 1px solid var(--i_border_color);
}

/* ------------------------------------------------------------
   Other Parts
------------------------------------------------------------ */
/* リスト */
.default_ul li:before{
  border-top: 1px solid var(--i_sub_color);
  border-right: 1px solid var(--i_sub_color);
  height: 5px;
  width: 5px;
  transform: rotate(45deg);
  top: 8px;
  left: 0;
}

/* アーカイブページ カテゴリー */
.category1 li a{
  border: 1px solid var(--i_sub_color);
  border-radius: 50px;
  font-size: 1.4rem;
  color: var(--i_sub_color);
}
.category1 li a:hover,
.category1 li a.current{
  background: var(--i_sub_color);
  color: #fff;
}

/* sidebar */
#sidebar section,
#sidebar>div{
  border-bottom: 1px solid var(--i_border_color);
}
#sidebar h2{
  text-align: left;
  font-size: 2.2rem;
}
#sidebar .sidebar_tag li{
  border: 1px solid var(--i_border_color);
  background: var(--i_sub2_color);
}
#sidebar .sidebar_list a{
  position: relative;
  padding-left: 15px;
}
#sidebar .sidebar_list a:before{
  content: "";
  display: block;
  position: absolute;
  border-top: 1px solid var(--i_sub_color);
  border-right: 1px solid var(--i_sub_color);
  height: 5px;
  width: 5px;
  transform: rotate(45deg);
  top: calc(50% - 3px);
  left: 0;
}

/* pager（アーカイブ） */
.pager li a{
  height: 45px;
  width: 45px;
  line-height: 45px;
  border: 1px solid var(--i_sub_color);
  font-size: 1.4rem;
  color: var(--i_sub_color);
}
.pager li:not(.arrow) a:hover,
.pager li:not(.arrow).current a{
  background: var(--i_sub_color);
  color: #fff;
}
.pager li.arrow a{
  background: none;
}

/* pager2（シングル） */
.pager2 li a{
  border: 1px solid var(--i_sub_color);
  line-height: 45px;
  padding: 0 15px;
  font-size: 1.4rem;
  color: var(--i_sub_color);
}
.pager2 li a:hover{
  background: var(--i_sub_color);
  color: #fff;
}

/* popup（画像ポップアップ拡大表示） */
.popup{
  background: rgba(255,255,255,0.7);
}
.poptxt{
  font-size: 1.2rem;
}

/* ------------------------------------------------------------
   Fix Footer Buttons / Footer
------------------------------------------------------------ */
#fixbtn{
  margin-bottom: 30px;
  font-size: 1.55rem;
}
#fixbtn .fixbtnwrap{
  background: #fcedf0;
  border-top: 1px solid var(--i_border_color);
  border-bottom: 1px solid rgba(73, 67, 53, 0.13);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.13);
}

/* ▼ TEL、予約ボタンない = 追従フッター有効でない場合 */
#fixbtn.no .fixbtnwrap{
  background-color: transparent;
}

#fixbtn .fixbtntel{
  border-right: 1px solid var(--i_border_color);
}
#fixbtn .fixbtntel:nth-last-of-type(2){
  border-right: none;
}
#fixbtn .fixbtntel a,
#fixbtn .fixbtntel span{
  font-size: 3.4rem;
  line-height: 1;
  margin-right: 10px;
  color: #494335;
}
#fixbtn .contents_btn01 a:hover{
  transform: none;
}
#fixbtn .fixbtntel a:last-child,
#fixbtn .fixbtntel span:last-child{
  margin-right: 0;
}
#fixbtn .fixbtntel svg{
  width: 22px;
  height: 22px;
  margin-right: 5px;
  fill: #494335;
}
#fixbtn .contents_btn01{
  border-left: 1px solid rgba(255,255,255,0.1);
}
#fixbtn .contents_btn01:nth-of-type(1){
  border-left: none;
}
#fixbtn .contents_btn01:nth-of-type(1){
  margin-left: auto;
  margin-right: auto;
}
#fixbtn .contents_btn01 a{
  padding: 0;
}
#fixbtn .contents_btn01 span{
  text-align: center;
  padding: 9px 15px 12px;
  line-height: 1.6;
  color:#fff; /* ← セミコロン抜け修正 */
}
#fixbtn .contents_btn01 a:before,
#fixbtn .contents_btn01 a:after{
  display: none;
}

#fixbtn #scrolltop:nth-of-type(1){
  margin-left: auto;
  margin-right: auto;
}
#fixbtn #scrolltop a{
  height: 40px;
  width: 40px;
}
#fixbtn #scrolltop a:before{
  top: 17px;
  left: 3px;
  transform: rotate(45deg);
  transition: 0.2s ease-in-out;
  border-left: 2px solid #494335;
  border-top: 2px solid #494335;
  width: 30px;
  height: 30px;
}
#fixbtn #scrolltop a:hover:before{
  opacity: 0.7;
}
#fixbtn.no #scrolltop a:before{
  border-color: rgba(120,120,120,0.6);
}
#fixbtn.no #scrolltop a:hover:before{
  border-left: 2px solid rgba(120,120,120,1);
  border-top: 2px solid rgba(120,120,120,1);
}

@media screen and (max-width: 600px){
  #fixbtn{ margin-bottom: 0; }
  #fixbtn,
  #fixbtn .fixbtntel a,
  #fixbtn .fixbtntel span{
    font-size: 1.7rem;
  }
  #fixbtn .fixbtntel a,
  #fixbtn .fixbtntel span{
    font-size: 2rem;
  }
  #fixbtn .fixbtntel svg{
    width: 18px;
    height: 18px;
  }
  #fixbtn .contents_btn01 a{
    padding: 0;
    letter-spacing: 0;
  }
  #fixbtn .contents_btn01 a:before{
    display: none;
  }
  #fixbtn .contents_btn01 a span{
    padding: 8px 10px 10px;
  }
}

footer{
  background: var(--i_sub2_color);
  padding: 0;
  color: #003e67;
  text-align: center;
  font-size: 1.35rem;
}
footer a{
  color: #ffffff;
}
footer nav li{
  letter-spacing: 0.2rem;
  padding: 5px 0;
}
footer nav li a{
  font-weight: 500 !important;
  letter-spacing: 0.3rem;
}
footer .logo{
  width: 180px;
}
footer .sns{
  margin: 0 auto 30px;
}
footer .sns svg{
  width: 40px;
  height: 40px;
  padding: 10px 10px;
  fill: #494335;
  transition: 0.2s ease-in-out;
}
footer .sns a:hover svg{
  opacity: 0.8;
}
#cp{
  padding: 10px 0;
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  background: var(--i_main_color);
  color: #fff;
}

@media screen and (max-width: 600px){
  footer{ padding: 0 0 20px; }
  footer{ background-position: center; }
  footer nav ul{ border-bottom: 1px solid rgba(73, 67, 53,0.13); }
  footer nav ul li{
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(73, 67, 53,0.13);
  }
  footer nav ul li:nth-last-of-type(2n){
    border-right: 1px solid rgba(73, 67, 53,0.13);
  }
  footer nav ul li:nth-last-of-type(2n+1){
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  footer nav ul li:nth-of-type(1),
  footer nav ul li:nth-of-type(2),
  footer nav ul li:nth-of-type(3):nth-last-of-type(2n-1){
    border-top: 1px solid rgba(73, 67, 53,0.13);
  }
  footer nav ul li:nth-last-of-type(1),
  footer nav ul li:nth-last-of-type(2){
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  footer .logo{ width: 150px; }
  #fixbtn .fixbtnwrap{ border-bottom: none; }
  #fixbtn .inner{ padding: 0; }
}

/* ------------------------------------------------------------
   Widgets
------------------------------------------------------------ */
/* contents_faq01 */
.contents_faq01 dt{
  padding-left: 5rem;
  margin-bottom: 25px;
  min-height: 35px;
  width: 100%;
  padding-right: 15px;
  box-sizing: border-box;
}
.contents_faq01 dd{
  padding-left: 7.3rem;
  margin-bottom: 15px;
  width: 100%;
  padding-right: 15px;
  box-sizing: border-box;
}
.contents_faq01 dt:before,
.contents_faq01 dd:before{
  width: 4rem;
  height: 4rem;
  font-size: 2.6rem;
  line-height: 1.3;
  box-sizing: border-box;
  font-weight: 500;
  background: var(--i_main_color);
  color: #fff;
  text-align: center;
}
.contents_faq01 dd:before{
  line-height: 1.35;
  background: none;
  border: 1px solid var(--i_txt_color);
  color: var(--i_txt_color);
}

/* contents_related_tags */
.contents_related_tags .inner_item{
  border: 1px solid var(--i_border_color);
}
.contents_related_tags .inner_item:hover{
  background: var(--i_sub2_color);
}
.contents_related .inner_item a:hover{
  background: var(--i_sub2_color);
  opacity: 0.8;
}

/* block_table_1 */
.block_table_1 table thead{
  background: var(--i_sub2_color);
}
.block_table_1 table thead th,
.block_table_1 table thead td{
  background-color: var(--i_sub2_color);
}
.block_table_1 table th{
  background-color: var(--i_sub2_color);
  border: 1px solid var(--i_border_color);
  text-align: center;
  vertical-align: middle;
}
.block_table_1 table td{
  background-color: #fff;
  border: 1px solid var(--i_border_color);
  vertical-align: middle;
}
.block_table_1 table thead td{
  text-align: center;
  font-weight: bold;
}

/* block_table_2,5,6 */
.block_table_2 table thead,
.block_table_2 table thead th,
.block_table_2 table thead td,
.block_table_5 table thead,
.block_table_5 table thead th,
.block_table_5 table thead td,
.block_table_6 table thead,
.block_table_6 table thead th,
.block_table_6 table thead td{
  background-color: var(--i_sub2_color);
}
.block_table_2 table th,
.block_table_5 table th,
.block_table_6 table th{
  background-color: var(--i_sub2_color);
  border: 1px solid var(--i_border_color);
  text-align: center;
  vertical-align: middle;
}
.block_table_2 table td,
.block_table_5 table td,
.block_table_6 table td{
  background-color: var(--i_bg_color);
  border: 1px solid var(--i_border_color);
  vertical-align: middle;
}
.block_table_2 table thead td,
.block_table_5 table thead td,
.block_table_6 table thead td{
  text-align: center;
  font-weight: bold;
}
@media screen and (max-width: 500px){
  .block_table_2 table{
    border-bottom: 1px solid var(--i_border_color);
  }
  .block_table_2 table th{
    border-top: 1px solid var(--i_border_color);
  }
  .block_table_2 table td{
    border-top: 1px dotted var(--i_border_color);
  }
}

/* block_table_3 / 7 */
.block_table_3 table thead,
.block_table_3 table thead th,
.block_table_3 table thead td,
.block_table_7 table thead,
.block_table_7 table thead th,
.block_table_7 table thead td{
  background-color: var(--i_sub2_color);
}
.block_table_3 table th,
.block_table_7 table th{
  background-color: var(--i_sub2_color);
  border: 1px solid var(--i_border_color);
  text-align: center;
  vertical-align: middle;
}
.block_table_3 table td,
.block_table_7 table td{
  background-color: var(--i_bg_color);
  border: 1px solid var(--i_border_color);
  vertical-align: middle;
}
@media screen and (max-width: 500px){
  .block_table_3 table{
    border-bottom: 1px solid var(--i_border_color);
  }
  .block_table_3 table th{
    border-top: 1px solid var(--i_border_color);
  }
  .block_table_3 table td{
    border-top: 1px dotted var(--i_border_color);
  }
}
.block_table_3_item li{
  vertical-align: middle;
}

/* gallery */
.gallery_archive .inner_item a,
.gallery_single .inner_item a{
  transition: 0.2s ease-in-out;
  background-color: transparent;
}
.gallery_archive .inner_item a:hover,
.gallery_single .inner_item a:hover{
  background-color: #000;
}
.gallery_archive .inner_item a:hover img,
.gallery_single .inner_item a:hover img{
  opacity: 0.8;
}
.gallery_archive .inner_item a:after,
.gallery_single .inner_item a:after{
  color: #fff;
}
.gallery_archive .inner_item p span,
.gallery_single .inner_item p span{
  color: #fff;
}
.gallery_single_slider .slick-arrow::before{
  border-color: var(--i_btn_color);
}

/* widget_gallery01 */
.widget_gallery01 .slick-arrow{
  height: 40px;
  width: 30px;
  top: calc(50% - 20px);
  left: 0;
}
.widget_gallery01 .slick-next{
  left: auto;
  right: 0;
}

/* gallery hover効果 */
main .widget_gallery01 a,
main .gallery_archive .inner_item a,
main .gallery_single .inner_item a{
  overflow: hidden;
}
main .widget_gallery01 a img,
main .gallery_archive .inner_item a img,
main .gallery_single .inner_item a img{
  object-fit: cover;
  object-position: 50% 50%;
  font-family: 'object-fit: cover; object-position: 50% 50%;';
  backface-visibility: visible;
  transition: 1s ease-out !important;
  transition-property: transform opacity !important;
  transform: scale(1.001,1.001);
}
main .widget_gallery01 a:hover img,
main .gallery_archive .inner_item a:hover img,
main .gallery_single .inner_item a:hover img{
  transform: scale(1.1,1.1);
  opacity: 0.8;
}

/* news_archive */
.news_archive article .inner_item_img:hover{
  opacity: 0.8;
}
.news_archive article .entry_meta{
  font-size: 1.3rem;
}
.add_design5 #primary article .inner_item_img a i:nth-last-child(1){
  background-size: 50%!important;
}
#sidebar .widget_news02 li a div span i{
  background-size: 50%!important;
}

/* widget_coupon */
.widget_coupon .content_wrapper{
  max-width: 900px !important;
}
.widget_coupon .inner_item>div,
.widget_coupon .inner_item>dl{
  font-size: 1.4rem;
  line-height: 1.7;
}

/* widget_form */
.widget_form .privacypolicy{
  border: 1px solid var(--i_border_color);
}
.widget_form form{
  border-top: 1px solid var(--i_border_color);
}
.widget_form form dl{
  border-bottom: 1px solid var(--i_border_color);
}
.widget_form form dt,
.widget_form form dd{
  vertical-align: middle;
}
.widget_form form dt span{
  color: #D43B3B !important;
  font-size: 1.2rem;
  font-weight: bold;
}
@media screen and (max-width: 770px){
  .widget_form form dt{
    border-bottom: 1px dotted var(--i_border_color);
  }
}
main form dl input,
main form textarea{
  background:#fcedf0;
  border: 1px solid transparent;
  letter-spacing: 1px;
}
main form dl input:focus,
main form textarea:focus{
  background: #fff;
  border: 1px solid var(--i_border_color);
}
main form .submit input{
  letter-spacing: 3px;
  border: none;
}
main form select{
  background: var(--i_bg_color);
  border: 1px solid var(--i_border_color);
  letter-spacing: 1px;
}
main form input[type=radio] + label,
main form input[type=checkbox] + label{
  padding: 0 15px 0 22px;
}
main form input[type=radio] + label::before,
main form input[type=checkbox] + label::before{
  top: 50%;
  left: 0;
  width: 17px;
  height: 17px;
  margin-top: -9px;
  background: var(--i_sub2_color);
}
main form input[type=radio] + label::before{
  border-radius: 30px;
}
main form input[type=radio]:checked + label::after,
main form input[type=checkbox]:checked + label::after{
  left: 4px;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  background: #a01313;
}
main form input[type=radio]:checked + label::after{
  border-radius: 100%;
}

/* widget_link */
.widget_link .inner_item_txt{
  font-size: 2rem;
}
.widget_link .inner_item_url{
  color: #a01313 !important;
  font-weight: 500;
}
.widget_link.block_link_1 .wrapper_item a{
  border-left: 1px solid #494335 !important;
}

/* widget_lp01 */
.widget_lp01 li a:hover{
  opacity: 0.8;
}
.widget_lp01 li a div span{
  background-size: 60% auto;
}

/* widget_menu01 / 02（vertical-align: central は無効→middleへ） */
.widget_menu01 h3{
  vertical-align: middle;
  font-size: 1.7rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.widget_menu01 li dd{
  font-size: 1.3rem;
  letter-spacing: 0;
}
.widget_menu02 h3{
  vertical-align: middle;
  font-size: 1.7rem;
  letter-spacing: 1px;
}
.widget_menu02 li>p{
  font-size: 1.3rem;
  letter-spacing: 0;
}

/* widget_news02 */
.block_news_2 li{
  box-shadow: 5px 5px 0 rgba(73, 67, 53, 0.05) !important;
  border: 1px solid var(--i_border_color);
}
.block_news_2 li a{
  padding: 30px;
}
.block_news_2 li a:after{
  border: 0 solid #f7f1e3 !important;
}
.block_news_2 li a:hover:after{
  border-width: 10px !important;
}
.block_news_2 li:nth-child(2n){
  background: #fff !important;
}

/* widget_staff01 */
.widget_staff01 .inner_item a:hover *{
  opacity: 0.8;
}
.widget_staff01 .sub{
  font-size: 1.2rem;
  font-weight: bold;
}

/* widget_tel */
.widget_tel .inner_item_tel a,
.widget_tel .inner_item_tel span{
  font-size: 3.6rem;
  letter-spacing: 0.1rem;
  line-height: 1.1;
  padding: 20px;
}
@media screen and (max-width: 450px){
  .widget_tel .inner_item_tel a,
  .widget_tel .inner_item_tel span{
    font-size: 2.6rem;
    padding: 15px 10px;
  }
  .widget_tel .inner_item_tel img{
    margin: 0 5px -2px 0;
  }
  .widget_tel .inner_item_tel svg{
    height: 16px;
    width: 16px;
  }
}

/* ------------------------------------------------------------
   glossary_archive
------------------------------------------------------------ */
.glossary_archive .content_wrapper article{
  margin-bottom: 30px;
  padding-bottom: 30px;/*★1*/
}
.glossary_archive .content_wrapper .heading.block_header_2{
  margin-bottom: 10px;
}
.glossary_archive .content_wrapper .heading.block_header_2 .h{
  font-size: 1.8rem;
}
.glossary_archive .content_wrapper .heading.block_header_2 a:after{
  content: "View More";
  position: absolute;
  width: 150px;
  bottom: 32px;/*★1 + 数px*/
  right: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: normal;
  padding: 3px 10px;
}
.glossary_archive .content_wrapper article .entry_body{
  padding-right: 180px;
}
@media screen and (max-width: 1224px){
  .glossary_archive .content_wrapper .heading.block_header_2 a:after{
    bottom: calc(32px + 1.8rem);/*★1 + 数px*/
  }
}
@media screen and (max-width: 650px){
  .glossary_archive .content_wrapper article{
    padding-bottom: 60px;
  }
  .glossary_archive .content_wrapper .heading.block_header_2 a:after{
    bottom: 30px;/*★1*/
  }
  .glossary_archive .content_wrapper article .entry_body{
    padding-right: 0;
  }
}

/* ------------------------------------------------------------
   recruit / index / blog
------------------------------------------------------------ */
.recruit_archive.add_design1 .recruitment_list .inner_item{
  background: rgba(255,255,255,.8);
}
.index main>section:first-child +div.composite_box01 .heading.block_header_4 .h,
.index main>section:first-child +div+div.composite_box01 .heading.block_header_4 .h{
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
}
@media screen and (max-width: 800px){
  .index main>section:first-child +div.composite_box01 .heading.block_header_4 .h,
  .index main>section:first-child +div+div.composite_box01 .heading.block_header_4 .h{
    font-size: 2.1rem;
  }
}

/* ------------------------------------------------------------
   parallax filters
------------------------------------------------------------ */
#pl+div .parallax_img{
  opacity: 0.13;
  filter: brightness(110%) blur(8px) contrast(110%);
}
#ist+div .parallax_img{
  opacity: 0.5;
  filter: brightness(60%) blur(8px) contrast(110%);
}
#t_bg+section .parallax_img{
  opacity: 0.8;
  filter: brightness(90%) blur(8px) contrast(110%);
}
#t_bg+section>.content_wrapper{
  background: rgba(255, 255, 255, 0.85) !important;
  padding: 60px 60px 60px;
}
@media screen and (max-width: 1200px){
  #t_bg+section>.content_wrapper{
    padding: 60px 2% 60px;
    width: calc(100% - 30px);
  }
}

/* ------------------------------------------------------------
   btn中央寄せ
------------------------------------------------------------ */
@media screen and (max-width: 950px){
  .index .contents_box01 .inner_item_txt .contents_btn01{
    text-align: center;
  }
}

/* ------------------------------------------------------------
   後から修正（オリジナルの意図を保持しつつ整形）
------------------------------------------------------------ */
.header_contents{ background: #fff; }

header#pattern4 nav ul.nav_1st>li i:before,
header#pattern4 nav ul.nav_1st>li i:after{
  background: #fff;
}

header .burger li.sp_translate a{ display: none; }

.logo a{
  width: 400px !important;
}

/* SP改行 */
.br-sp{ display: none; }
@media screen and (max-width: 850px){
  .br-sp{ display: block; }
}

/* 画像丸み */
.contents_box01 .inner_item_img img{
  border-radius: 70px;
  box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}

@media screen and (max-width: 850px){
  .contents_box01 .inner_item_img img:hover{
    margin-top: 3px;
    color: #fff;
    background: #f56500;
  }
}

/* pattern4 ボタン色 */
header#pattern4 .inner>.btn a:nth-child(1),
header#pattern4 .inner>.btn a:nth-child(2){
  background-color: #e9546b;
}
#fixbtn .contents_btn01 a:nth-child(1),
#fixbtn .contents_btn01 a:nth-child(2){
  background-color: #e9546b;
}

/* fixbtn hover */
#fixbtn .contents_btn01 a:hover{
  margin-top: 3px;
  color: #fff;
  background: #f56500;
  border-bottom: 2px solid #b84c00;
}

/* pattern4 ボタン見た目 */
header#pattern4 .inner>.btn a{
  color:#fff;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}
header#pattern4 .inner>.btn a:hover{
  margin-top: 3px;
  color: #fff;
  background: #f56500;
  border-bottom: 2px solid rgba(0,0,0,0);
}

/* ---- 2way 体験 ---- */
.flex{ display:flex; }

.contant1,.contant2{
  width: 45%;
  height: 45vh;
  margin-left: auto;
  margin-right: auto;
  border-radius: 33px;
}

.red-wrap{
  background:#d40f0f;
  height:20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 30px 30px 0 0;
}

.top-title{ font-size:3.5rem; }
.price{ font-size:4.5rem; }

.button{
  font-size: 4rem;
  background-color: #d40f0f;
  border-radius: 15px;
  color: #fff;
}
.button:hover{
  background-color:#fff; /* ← セミコロン抜け修正 */
  margin-top: 3px;
  color: #fff;
  background: #f56500;
  border-bottom: 2px solid #b84c00;
}

.sub-text{ padding-top: 2%; }

/* レスポンシブ（2way） */
@media screen and (max-width: 850px){
  .flex{ display:block; }

  .contant1,.contant2{
    width: 90%;
    border-radius: 33px;
    height: 400px;
  }
  .contant2{ margin-top:10px; }
  .top-title{ font-size:2.6rem; }
  .sub-text{
    font-size: 1.8rem;
    margin-bottom:0 !important;
    margin-top:0;
  }
  .price{
    font-size: 4rem;
    margin-bottom:0 !important;
  }
  .first{
    font-size: 1.4rem;
    margin-bottom:0 !important;
  }
  .button{
    font-size: 3rem;
    margin-bottom:0 !important;
    padding: 4px !important;
  }
}

/* ftsz */
.ftsz{
  font-size:48px;
  line-height: 1.4;
}
@media screen and (max-width: 850px){
  .ftsz{ font-size:20px; }
}

/* pattern4背景 */
header#pattern4{ background-color: white; }

/* white-wrap-box */
.white-wrap-box{
  background-color:#fff;
  height: 350px;
}
.mg-b{ padding-bottom: 10%; }

@media screen and (max-width: 850px){
  .white-wrap-box{ height: 300px; }
}

/* -----------------------------
   spバーガーメニューサイズ変更
-------------------------------- */
@media screen and (max-width: 900px){
  header.open .header_contents,
  header#pattern4.open .header_contents{
    max-width: 200px;
  }
}
@media screen and (max-width: 900px){
  header .header_contents,
  header#pattern4 .header_contents{
    left: 40% !important;
  }
}

/* -----------------------------
   メニュー非表示制御（SPのみに限定して事故防止）
-------------------------------- */
@media screen and (max-width: 900px){
  /* メニュー非表示時 */
  header .header_contents {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  /* メニュー表示時 */
  header.open .header_contents {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }
}
