body {
  margin: 0;
  font-family:"Noto Sans JP", sans-serif;
  background: #fff;
  color:#181818;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- リセット設定 --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* --- 共通設定 --- */
h3{
  font-size: 100px;
  font-family:"Effra";
  color: #181818;
}

section p{
  font-size: 18px;
  font-family:"Noto Sans JP";
  font-weight: 400;
  color: #181818;
}




/* -----------------------
  header PC
----------------------- */
.header-wrapper{
  position: fixed;
  top: 0;           
  left: 0;          
  padding: 0 6vw;
  width: 100%;     
  height: 100px;
  z-index:999;    
  display:flex;
  justify-content:space-between; /*両端*/
  align-items:center;       
  background-color: rgba(0, 0, 0, 0); /* 最初は透明 */
  transition: all 0.4s ease;     
}

/* PC版スクロール時の設定 */
.header-wrapper.is-show {
  background-color: rgba(0, 0, 0, 0.5); /* 薄い黒 */
  backdrop-filter: blur(10px);         /* 背景をぼかす */
  height: 80px;                       
}

header h1 {
  width: 170px; 
  margin: 0;   
}

header h1 img{
  width:100%;
  height: auto; /* 縦横比を崩さない */
}

header nav ul{
  display:flex;
  align-items:center;
  list-style:none;
  gap:70px;
  margin:0;
  padding:0;
}

header nav ul li a {
  color:#fff;
  text-decoration: none;
  font-size: 16px;
  position: relative; /* 線の基準点にする */
  padding-bottom: 4px;
  letter-spacing: 0.05em;
}

/* --- ヘッダー下線アニメーションの下線の土台--- */
header nav ul li a::after {
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;            /* 最初は線が見えない */
    height: 1px;         /* 線の太さ */
    background-color: #fff; /* 線の色 */
    transition: width 0.3s; /* 0.3秒かけて伸びる */
}

/* --- ホバーしたら線を100%にする --- */
header nav ul li a:hover::after {
    width: 100%;
}

/* contactボタンの下は線なしにする */
header nav ul li.contact-btn a::after {
    display: none;
}

/* ヘッダーの問い合わせボタン */
header nav ul li.contact-btn a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
  padding: 10px 25px;
  background: #181818;
  color: #fff;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0; 
}

header nav ul li.contact-btn a:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: .3s;
  z-index: -1;
}

header nav ul li.contact-btn a:hover{
  color: #181818;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

header nav ul li.contact-btn a:hover:before{
  width: 100%;
  z-index: -1;
}

/* -----------------------
  ヘッダー SP 1200px以下
----------------------- */
@media screen and (max-width: 1200px) {
  header nav {
    display: none; /* ハンバーガーメニューに切り替え */
  }

  header {
    background-color: #181818;
    padding: 0; /* wrapper側で制御するため0 */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
  }

  .header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 5vw;
    background-color: #181818;
    transition: 0.3s;
  }

  /* スクロール後の背景変更 */
  .header-wrapper.is-show {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    height: 50px;                     
  }

  header h1 {
    width: 120px; 
    line-height: 0;
    z-index: 2001; /* メニューより手前に */
    margin: 0;
  }

  header h1 img {
    width: 100%;
    height: auto;
  }

  /* -----------------------
  　　ハンバーガーボタン
  ----------------------- */
  .hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 2001; /* メニュー(1000)より上 */
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    transition: 0.3s;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 11px; }
  .hamburger span:nth-child(3) { top: 22px; }

  /* ✕印のアニメーション */
  .hamburger.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

  /* SPナビゲーションデザイン */
  .header-nav {
    display: block; /* 強制的にブロック表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #181818;
    padding: 100px 5vw 0;
    z-index: 1000;
    /* 初期状態：右に隠して透明にする */
    transform: translateX(100%); 
    opacity: 1;                 
    visibility: hidden;            
    transition: transform 0.4s ease-in-out, visibility 0.4s;/* ease-in-out 滑らか */
  }

  /* ボタンを押した時に表示される設定 */
  .header-nav.is-active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .header-nav ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .header-nav ul li {
    border-bottom: 1px solid #333;
    padding: 15px;
    text-align: start;
  }

  .header-nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 20px 0;
    font-size: 16px;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans JP', sans-serif;
  }

  /* SPメニュー内：コンタクトボタン装飾リセット */
  header nav ul li.contact-btn a{
    position: static;
    display: flex;       /* inlineから変更して左揃え*/
    justify-content: flex-start; /* 文字を左に寄せる */
    max-width: none;
    padding: 0;
    background: none;
    color: #fff;
    transition: none;
    overflow: visible;  
    box-shadow: none;
  }
}

/* -----------------------
  下層ページ（under-page）
----------------------- */

/* 1200pxまでは白のまま。1201px以上だけ黒く反転 */
.under-page header h1 img {
    filter: none;
}

@media screen and (min-width: 1201px) {
    .under-page header h1 img {
        filter: invert(1);
    }
}

/* 文字色設定 1201px以上のPC版だけ、文字を黒 */
@media screen and (min-width: 1201px) {
    .under-page header nav ul li a {
        color: #181818;
    }
    .under-page header nav ul li a::after {
        background-color: #181818; /* ホバーした時の線の色 */
    }
    
    /* PC版下層ページでスクロールした時の背景（白） */
    .under-page .header-wrapper.is-show {
        background-color: rgba(255, 255, 255, 0.8);
        border-bottom: 1px solid #eee;
    }

    /* お問い合わせボタン（PC版でも白文字を維持） */
    .under-page header nav ul li.contact-btn a {
        color: #fff;
    }
    .under-page header nav ul li.contact-btn a:hover {
        color: #181818;
    }
    
    .header-wrapper {
        margin-bottom: 80px;
    }
}




/* -----------------------
  FV
----------------------- */
.fv-wrapper{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-color: #181818; /* 左側の黒帯の色 */
  overflow: hidden;
}

.fv_catchcopy{
  position:absolute;
  top:40%; /* 画面の上から50%の位置に移動 */
  left:6vw; /* 左側に5%の余白を作る（vwは画面幅基準） */
  transform:translateY(-50%); /* 高さの半分だけ上にズラして、正確に中央へ */
  z-index:10; /* 写真より手前に表示 */
}

.fv_catchcopy h2{
  color: #fff;
  font-size:120px;
  font-family:"Effra";
  line-height:1;
  margin-bottom:20px;
  margin-left: -0.6vw;
}

.fv_catchcopy p{
  color:#fff;
  font-size:22px;
  margin:0;
  font-weight:400;
  font-family:"Noto Sans JP";
  letter-spacing: 1.1px;
}


.fv_footer{
  position: absolute;
  bottom: 58px;
  left: 6vw;  
  right: 6vw;  
  display:flex;
  align-items: center;
  gap: 26px;  /* 距離 */
  z-index: 10;
}

.fv_text{
  color: #fff;
  font-size:18px;
  letter-spacing: 0.1em;
  z-index: 10;
  font-family: "effra", "sans-serif";
  font-weight: 400;
  font-style: normal;
}

.fv_line{
  flex:1;
  background-color:#fff;
  height: 1px;
}


.side-logo{
  position:absolute;
  right:-1vw; 
  top:63%;
  transform: translateY(-50%);
  z-index:10;
  opacity:0.8; 
}

.side-logo img {
  height:75vh; /* 画面の高さに合わせて大きく */
}



.circle-logo{
  position: absolute;
  /* 文字の右側に配置するための調整 */
  left: 84%; /* 100%で文字の右端。そこから少し離す */
  top: 67%;   /* 上下の位置を文字の高さに合わせる */
  z-index: 10;
  opacity: 0.7;
  width: 140px;
  animation: rotation 22s linear infinite;
}


.circle-logo img{
  width: 100%;  
  height: auto; 
  display: block; 
} 



@keyframes rotation {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}


.fv1, .fv2, .fv3 {
    position: absolute;
    top: 0;
    right: 0;
    width: 73%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1; /* 一番奥 */
}


.fv1{
  background-image: url(../../images/fv-img1.png);
}

.fv2{
  background-image: url(../../images/fv-img2.png);
}

.fv3{
  background-image: url(../../images/fv-img3.png);
}


/* --- アニメーションの共通設定 --- */
.fv1, .fv2, .fv3 {
  animation: fvFade 9s infinite;
  opacity: 0; /* 基本は消しておく */
}

/* 画像が表示されるタイミングをずらす */
.fv1 {
  background-image: url(../../images/fv-img1.png);
  animation-delay: 0s;
}

.fv2 {
  background-image: url(../../images/fv-img2.png);
  animation-delay: 3s; /* 5秒後から開始 */
}

.fv3 {
  background-image: url("../../images/fv-img3.png");
  animation-delay: 6s; /* 10秒後から開始 */
}

@keyframes fvFade {
  0% { opacity: 0; }
  10% { opacity: 1; }  /* 1.5秒かけて表示 */
  33% { opacity: 1; }  /* そのまま3.5秒キープ */
  43% { opacity: 0; }  /* 1.5秒かけて消える */
  100% { opacity: 0; }
}



/* -----------------------
  FV SP
----------------------- */
@media screen and (max-width: 768px) {
.fv-wrapper {
    position: relative;
    height: 100dvh;;
    background-color: transparent;
    overflow: hidden;
    max-height: 700px;
  }


.fv1, .fv2, .fv3 {
  width: 100%; /* 黒帯をなくして100%に */
  left: 0;
  right: 0;
  background-size: cover;
  background-position: center; /* 中央合わせ */
  z-index: 1;
  /* アニメーションは既存のfvFadeを使用 */
  }

.fv1 {
  background-position: 80% center; 
}

.fv2 {
  background-position: 23% center;
  }

.fv3 {
  background-position: 35% center; 
  }

.fv_catchcopy{
    position:absolute;
    top:45%; /* 画面の上から50%の位置に移動 */
    left:6vw; /* 左側に5%の余白を作る（vwは画面幅基準） */
}

.fv_catchcopy h2{
    color: #fff;
    font-size:62px;
    font-family:"Effra";
    line-height:1;
    margin-bottom:20px;
    margin-left: -0.9vw;
}

.fv_catchcopy p{
  color:#fff;
  font-size:16px;
  margin:0;
  font-weight:400;
  font-family:"Noto Sans JP";
}


.circle-logo {
  position: absolute;
  left: 84%;
  top: 62%;
  z-index: 10;
  opacity: 0.6;
  width: 75px;
  animation: rotation 22s linear infinite;
}

.fv_footer{
  display: block;
  bottom: -10px;
  left: 6vw;

}

.fv_text{
  position:absolute;
  bottom: 85px;
  font-size:12px;
}

.fv_line {
  position:absolute;
  bottom: 72px; 
  width: 86vw; 
  }


.side-logo{
  position:absolute;
  right:-1vw; 
  top:70%;
  transform: translateY(-50%);
  z-index:10;
  opacity:0.9; 
}

.side-logo img {
  height:43vh; 
}

}



@media screen and (min-width: 769px) and (max-width: 1200px){

.fv_catchcopy h2 {
  font-size: 80px;
}

.circle-logo {
  width: 92px;
  left: 81%;
  top: 62%;

}

.side-logo img {
  height: 60vh;
}

.fv1 {
  background-position: 79% center; 
}

}



/* -----------------------
  GALLERY
----------------------- */
.gallery_wrapper{
  margin:0 auto;
}

.gallery_bg{
  width: 100%;
  background-image: url(../../images/bg00.png);
  background-repeat: no-repeat;
  background-position: center top; /* 三角の頂点がズレないように */
  background-size:100% 100%; 
  padding:190px 6vw;
}

.gallery_wrapper h3{
  margin:0px;
}

.gallery_wrapper p{
  margin: 0 0 45px;
}



/*グリッド画像の指定*/
.gallery_grid {
    display: grid;
    grid-template-columns: 385fr 490fr 385fr;
    grid-auto-rows: 260px;
    gap: 20px;
    max-width: 1260px;
    margin: 0 auto;
}


/* 各アイテムの器 */
.gallery_grid > div {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}


.gallery_grid img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
/* アニメーション */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/*  ホバーした時「中の画像だけ」を動かす */
.gallery_grid > div:hover img {
    /* 1.1倍に拡大で位置をずらして動いている感 */
    transform: scale(1.1) translate(1%, 1%);
}


/* ラベル：画像の上に重ねて、下端に固定 */
.gallery_label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2; /* 画像より上に */

    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 15px;
    font-size: 11px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* ラベル内の縦線装飾 */
.gallery_label .location1::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 10px;
    background-color: #fff;
    margin: 0 10px;
    opacity: 0.5;
}


/* アイテムの番地指定 */

/* 1枚目：左上の大 */
.gallery_item_tall:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
/* 2枚目：右上の小 */
.gallery_item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}
/* 3枚目：右中の小 */
.gallery_item:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}
/* 4枚目：左中の小 */
.gallery_item_wide:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}
/* 5枚目：左下の小 */
.gallery_item_wide:nth-child(5) {
    grid-column: 1;
    grid-row: 4;
}
/* 6枚目：右下の大 */
.gallery_item_wide:nth-child(6) {
    grid-column: 2 / 4;
    grid-row: 3 / 5;
}



/*ボタン*/
.button_wrapper{
  display: flex;
  justify-content: flex-end; 
  margin: 60px auto 0;   
  max-width: 1260px;  
  width: 100%;    
}


.button_wrapper a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; 
  max-width: 260px;
  padding: 10px 25px;
  background: #181818;
  color: #fff;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0; 

}

.button_wrapper a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: .3s;
  z-index: -1;
}

.button_wrapper a:hover {
    color: #181818;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.button_wrapper a:hover:before {
    width: 100%;
    z-index: -1;
}

.button_wrapper a span::after {
    content: "→";
    margin-left: 10px;
    font-size: 1.2em;
}


/* -----------------------
  GALLERY SP
----------------------- */

@media screen and (max-width: 768px) {
.gallery_wrapper h3{
font-size:44px;
margin-bottom: 0px;
}


.gallery_wrapper p{
  margin-bottom: 30px;
  font-size:12px;
}


.gallery_grid {
  display: grid;/* 1. 1列にする */
  grid-template-columns: 1fr;
  grid-auto-rows: auto; 
  gap: 25px;
}


.gallery_item_tall:nth-child(1),
.gallery_item:nth-child(2),
.gallery_item:nth-child(3),
.gallery_item_wide:nth-child(4),
.gallery_item_wide:nth-child(5),
.gallery_item_wide:nth-child(6) {
  grid-column: auto !important;
  grid-row: auto !important;
}

  .gallery_grid > div {
  aspect-ratio: 3 / 2;/* 横が3に対して、縦が2の比率 */
  position: relative;
}


.gallery_bg {
  background-image:url(../../images/gallery-bg_sp.png);
  background-position: center top;
  /*background-size:100% auto;*/
  background-repeat: no-repeat;
  padding: 95px 6vw;
}


/* ボタン*/
.button_wrapper a {
  max-width: 150px;
  padding: 7px 14px;
  font-size:14px;
}


}


/* -----------------------
  GALLERY タブレット
----------------------- */

@media screen and (min-width: 769px) and (max-width: 1200px){

.gallery_bg {
  padding: 120px 4vw;
}

.gallery_grid {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 220px;
}

.gallery_item_tall,
.gallery_item,
.gallery_item_wide {
  grid-column: auto !important;
  grid-row: auto !important;
}

}




/* -----------------------
　SERVICE
----------------------- */

.service-wrapper{
padding:200px 6vw;
margin: 0 auto;
}


.service-wrapper h3{
  margin: 0 auto 95px;
}

.service-grid{
  display: grid;
  grid-template-columns: repeat(2, 484px); /* 横幅を484pxに固定 */
  gap: 80px;
  justify-content: center; /* 画面の中央に寄せる */
  margin: 0 auto;
}

.service-item{
  width: 100%;     
  height: 426px;    
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  padding: 40px 48px;
  box-sizing: border-box;
}


.image-contain{
  width: 100%;
  height: 120px;
  display: flex;      
  justify-content: center; /* 左右中央 */
  align-items: center;     /* 上下中央 */
  margin-bottom: 10px;    
}


.service-item img{
  max-width: 140px;  
  max-height: 120px; 
  width: auto;       
  height: auto;      
  object-fit: contain; /* 枠の中におさめる */
}


.service-item:nth-child(2) .image-contain {
  margin-bottom: 18px;
}

.service-wrapper h4{
  font-size:30px;
  font-family: "effra", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #181818;
  margin: 0 auto 15px;
  text-align: center;
  border-bottom: 1px solid #181818;
  width: 100%;
  padding-bottom: 3px;
}


.service-wrapper p{
  font-size: 16px;
  color: #181818;
  text-align: center;
  line-height: 1.8;
  margin:0 auto;
}




/* -----------------------
　SERVICE SP 
----------------------- */
@media (max-width: 768px) {

.service-wrapper h3{
  font-size: 44px;  
  margin: 0 auto 55px;
}


.service-wrapper {
  padding: 110px 6vw;
  margin: 0 auto;
}


.service-grid {
    grid-template-columns: 1fr; 
    max-width: 484px; 
    gap: 50px; 
  }

  .service-item {
    height: auto;
    min-height: 320px; 
    padding: 45px 17px;
    width: 100%;
    box-sizing: border-box;
  }


.service-wrapper h4{
  font-size:24px;
}


.service-wrapper p{
  font-size: 14px;
}


.service-item img{
  max-width: 130px;  
  max-height: 110px; 
}


.image-contain{
  margin-bottom: 6px;    
}

}


/* -----------------------
　SERVICE タブレット 
----------------------- */
@media screen and (min-width: 769px) and (max-width: 1200px){
  
  .service-wrapper h3{
  font-size: 64px;  
  margin: 0 auto 55px;
}

.service-grid {
    grid-template-columns: 1fr; 
    max-width: 484px; 
    gap: 50px; 
  }

  .service-item {
    height: auto;
    min-height: 320px; 
    padding: 60px 42px;
    width: 100%;
    box-sizing: border-box;
  }

}





/* -----------------------
　MESSAGE
----------------------- */

.message-bg{
  background-image: url(../../images/message-bg_pc.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 320px 0 320px 6vw; 
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.message-wrapper h3{
  margin: 0 0 100px 0;
}

.message-title{
  font-size: 34px;
  margin-bottom: 55px;
  font-weight: 500;
}

.italic1{
  font-size:66px;
  font-style: italic;
  font-weight: 400;
  padding: 0 6px 0 2px;
  vertical-align: -0.08em;
}


.italic2{
  font-size:38px;
  font-style: italic; 
  padding-right: 10px;
  vertical-align: -0.08em;
}


.message-text1{
  font-size: 18px;
  line-height:2.0;
  margin-bottom: 25px;
}

.message-text2{
  font-size: 18px;
  line-height:2.0;
}


.message_sp-only{
  display:none;
}

.font-weight{
  font-weight:700;
}

.message-logo.is-show{
  position:absolute;
  right: -4vw;
  bottom: 6vw;
  width: 50vw;        /* 基本は画面幅の25% */
  max-width: 900px;   /* どんなに大きい画面でも450pxで止める */
  min-width: 240px;

  opacity: 0; /* 最初は透明 */
  /* 最初は 100px 下に配置し、少しだけ縦に引き伸ばしておく*/
  transform: translateY(100px) scaleY(1.1);
  
  /* 0.8秒かけて実行 */
  animation: shunUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes shunUp {
  0% {
    opacity: 0;
    transform: translateY(100px) scaleY(1.1);
  }

  60% {
    opacity: 1;
  }
  100% {
    opacity: 1; 
    transform: translateY(0) scaleY(1);
  }
}





/* -----------------------
　MESSAGE SP
----------------------- */

@media (max-width: 768px) {
.message-bg{
  background-size: 100%;
  background-position: center top;
  padding: 140px 6vw;
}

.message-wrapper h3{
  margin: 0 0 40px 0;
  font-size:44px;
}


.message-title{
  font-size: 22px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.italic1{
  font-size:40px;
  padding: 0 5px 0 0px;
}


.italic2{
  font-size:25px;
  padding-right: 7px;
}


.message-text1{
  font-size: 14px;
  line-height:2.0;
  margin-bottom: 20px;
}

.message-text2{
  font-size: 14px;
  line-height:2.0;
}


.message-logo.is-show {
  right: -7vw;
  bottom: 10vw;
  width: 72vw;
}


.message_sp-only{
  display: block;
}

}



/* -----------------------
　MESSAGE タブレット
----------------------- */
@media screen and (min-width: 769px) and (max-width: 1200px){

.message-bg {
  padding: 200px 4vw;
}

.message-title {
  font-size: 28px;
}

.message-text1,
.message-text2 {
  font-size: 16px;
}

.message_sp-only{
display: none;
}
}




/* -----------------------
　COMPANY
----------------------- */
.company-wrapper {
  position: relative;
}

.company-bg {
  background-image: url(../../images/company-bg.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  padding: 300px 0 300px 6vw;
}

.company-wrapper h3{
  margin:0 0 150px 0;
}

.company-flex-container{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap:60px;
}

.company-info{
flex:1;
}

.company-photo{
width:35%;
flex-shrink: 0;
z-index: 10; /* 写真をタイトルより手前に出す */
margin-right: 0;
transform: translateY(-450px);
}

.company-photo img{
  width:100%;
  height:auto;
  display: block;
  object-fit: cover;
}

/* 1行ごとのまとまり */
.company-text_wrap {
  display: flex;
  padding: 20px 0;
  border-bottom: 2px solid #ddd;
  align-items: center;
}

.company-text1 {
  width: 250px;    
  flex-shrink: 0;  
}

address{
  font-size:18px;
  font-style: normal;
  flex: 1;   
  color: #181818;
}

.company-text2{
  flex: 1;/* 残りの幅をすべて使う */
}

.services-list{
  display:flex;
  padding: 20px 0;
  border-bottom: 2px solid #ddd;
}


.tel-link{
  color: #181818;         
  text-decoration: none;
  letter-spacing: 0.05em;
}



/* -----------------------
　COMPANY SP
----------------------- */
@media screen and (max-width: 1200px) {
  
.company-bg {
  background-image: url(../../images/company-bg_sp.png);
  background-position: bottom;
  background-size:cover;
  padding:88px 6vw 95px;
}


.company-photo{
  display: none !important;
  /* 指定されてる数値リセット */
  width: auto;              
  flex-shrink: 1;           
  z-index: auto;            
  margin-right: 0;       
  transform: none;         
}


.company-photo img{
  display: none !important;
}


.company-wrapper h3{
  font-size:44px;
  margin:0 0 30px 0;
}


.company-text_wrap {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  align-items:flex-start;
}

.address-title{
  margin: 0;
}

.company-text1 {
  width: 116px;    
  font-size: 14px;
}

.services-list {
  border-bottom: 1px solid #ddd;
  }

address{
font-size: 14px; 
}

.company-text2{
  font-size: 14px;
}


.services-list_text{
  font-size: 14px;
}

.sp-only{
  display: block;
}

}



/* -----------------------
　COMPANY タブレット
----------------------- */

@media screen and (min-width: 769px) and (max-width: 1200px){

.company-wrapper h3{
  font-size:64px;
  margin:0 0 30px 0;
}

}





/* -----------------------
　CONTACT
----------------------- */
.contact-wrapper{
  margin:0 auto;
}

.contact-bg{
  width:100%;
  background-image:url(../../images/contact-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 0;
}


.contact-wrapper h3{
  font-size:100px;
  font-family:"Effra"; 
  font-weight: 600;
  color: #fff;
  margin:0 auto;
  text-align: center;
}

.contact-wrapper p{
  font-size: 18px;
  color: #fff;
  margin:-18px auto 35px;
  text-align: center;
}


.contact-btn{
  display:block;
  margin: 0 auto;
  text-align: center;
}


.contact-btn a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* space-aroundよりこちらが安定 */
  max-width: 220px;
  padding: 10px 25px;
  background: #fff;
  color: #181818;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0; 
  margin: 0 auto;
  letter-spacing: 0.05em;
  font-size: 16px;
}


.contact-btn a:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #181818;
  transition: .3s;
  z-index: -1;
}

.contact-btn a:hover{
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-btn a:hover:before{
  width: 100%;
  z-index: -1;
}


.contact-btn a span::after {
    content: "→";
    margin-left: 10px;
    font-size: 1.2em;
}



/* -----------------------
　CONTACT SP
----------------------- */
@media screen and (max-width: 768px){
.contact-wrapper h3{
  font-size:44px;
  letter-spacing: 0.02em;
}

.contact-wrapper p{
  font-size: 14px;
  margin:0 auto 30px;
  line-height: 1.5rem;
}

.contact-btn a{
  max-width: 160px;
  padding: 10px 20px;
}


.contact-bg{
  padding: 150px 0;
}

.contact-btn a{
  font-size: 14px;
}

}



/* -----------------------
　CONTACT タブレット
----------------------- */
@media screen and (min-width: 769px) and (max-width: 1200px) {
.contact-bg {
  padding: 140px 4vw;
}

.contact-wrapper h3 {
  font-size: 64px;
}

.contact-wrapper p{
  font-size: 16px;
}

}







/* -----------------------
　FOOTER
----------------------- */
.footer-wrapper{
  padding: 45px 6vw;
  background-color: #181818;
}


.footer-flex{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 83px;
}

.footer-wrapper nav ul{
  display:flex;
  align-items:center;
  list-style:none;
  gap:70px;
  margin:0;
  padding:0;
}


.footer-flex img{
  width: 170px; 
}

.footer-wrapper nav ul li a{
  color:#fff;
  text-decoration: none;
  font-size:16px;
  position: relative;
  padding-bottom: 4px; /* 文字と線の間の隙間 */
  letter-spacing: 0.05em;
}



/* フッター下線アニメーション */
footer nav ul li a::after {
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;            /* 最初は線が見えない */
    height: 1px;         /* 線の太さ */
    background-color: #fff; /* 線の色 */
    transition: width 0.3s; /* 0.3秒かけて伸びる */
}


footer nav ul li a:hover::after {
    width: 100%;
}


footer nav ul li.contact-btn a::after {
    display: none;
}


/* copyright */
.copylight p{
  color:#fff;
  font-size:14px;
  text-align: center;
  margin: 0 auto;
}


/* -----------------------
　FOOTER SP
----------------------- */
@media screen and (max-width: 1000px) {
  .footer-wrapper {
    padding: 30px 6vw; 
  }

  .footer-flex{
    flex-direction: column; /* 縦並びにする */
    gap: 20px; 
    align-items:center;
    margin-bottom: 50px;
  }

.footer-flex img{
  width:105px;
}


.footer-wrapper nav ul{
  gap: 10px; 
  flex-wrap: wrap; /* 画面が狭くても折り返す */
  justify-content: center;
}



.footer-wrapper nav ul li a{
  font-size:10px;
}


.footer-wrapper nav ul li + li::before {
    content: "|";
    color: #fff;
    margin-right: 10px; /* 線と右の文字の間隔 */
    font-size: 12px;
  }


.copylight p{
  font-size:10px;
}


/* アニメーションの下線を非表示 */
  footer nav ul li a::after {
    display: none;
  }

  /* タップした時に不透明 */
  .footer-wrapper nav ul li a:active {
    opacity: 0.6;
  }


}






/* -----------------------
　TOPに戻るボタン
----------------------- */
html {
  scroll-behavior: smooth;
}

.btn-pagetop {
  /* 配置設定：画面右下に固定 */
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;

  /* デザイン：白背景・黒枠 */
  width: 100px;         
  height: 100px;        
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 50%;    
  
  /* 中身のレイアウト */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000;         
  transition: all 0.3s ease;

  /* 追加：最初は隠す */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease; /* ふわっと出すためのアニメーション */
}

/* くの字の矢印 */
.arrow {
  display: block;
  width: 11px;
  height: 11px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  transform: rotate(45deg); /* 45度回転させて上向きに */
  margin-bottom: 3px;    
  margin-top: 1px;
}


/* テキスト部分 */
.text {
  font-size: 14px;
  font-weight: 500;
  font-family: "noto sans jp", sans-serif;
  letter-spacing: 0.05em;
}

/* ホバー時の演出 */
.btn-pagetop:hover {
  background-color: #000; /* 背景を黒に反転 */
  color: #fff;            /* 文字を白に反転 */
}

.btn-pagetop:hover .arrow {
  border-color: #fff;     /* 矢印を白に反転 */
}


.btn-pagetop.is-show {
  opacity: 1;
  visibility: visible;
}



@media screen and (max-width: 768px){
.btn-pagetop {
  right: 18px;
  width: 70px;        
  height: 70px;    
}

.text {
  font-size: 10px;
}

.arrow {
  width: 8px;
  height: 8px;
}

}


/* -----------------------
　見出しタイトルのアニメーション
----------------------- */
.js-split span {
    display: inline-block; /* 1文字ずつ動かすために必要 */
    opacity: 0;
    transform: translateY(30px); /* 下に下げておく */
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s;
}

/* 画面内に入った（is-activeがついた）時の動き */
.js-split.is-active span {
    opacity: 1;
    transform: translateY(0);
}




/* -----------------------
　下層ページ パンくずリスト
----------------------- */
.breadcrumb{
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-family: "noto sans jp";
}

.breadcrumb a{
  color: #b4b4b4;
  text-decoration: none;
  padding-right: 10px;
}


.breadcrumb-arrow{
  padding-right: 10px;
}



@media screen and (max-width: 768px){
.breadcrumb{
  font-size: 14px;
  flex-wrap: wrap;
}

.breadcrumb a{
  padding-right: 7px;
}

.breadcrumb-arrow{
  padding-right: 7px;
}

}



/* -----------------------
　下層ギャラリー
----------------------- */
.under_gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


.under_gallery-wrapper h2{
  font-size:100px;
  font-family:"Effra";
  margin:0 0 45px 0;
}

.under_gallery-wrapper{
  padding:230px 6vw;
}


/* 各アイテムの器 */
.under_gallery-grid > div {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #000;
}

.under_gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.under_gallery-grid > div:hover img {
    /* 1.1倍に拡大し、少しだけ(1%)位置をずらして動いている感を出す */
    transform: scale(1.1) translate(1%, 1%);
}

.under_gallery-grid .location1::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 11px;
    background-color: #fff;
    margin: 0 10px -2px ;
    opacity: 0.5;
}




/* -----------------------
　下層ギャラリー SP
----------------------- */
@media screen and (max-width: 768px){
  .under_gallery-wrapper{
  padding: 100px 6vw;
}

.under_gallery-wrapper h2{
  font-size:44px;
  font-family:"Effra";
  margin-bottom: 10px;
}

.under_gallery-grid{
  display: block;
}

.under_gallery-item{
margin-bottom: 25px;
}

}



/* -----------------------
  下層ギャラリー タブレット
----------------------- */
@media screen and (min-width: 769px) and (max-width: 1200px){

.under_gallery-wrapper{
  padding: 140px 6vw;
}

.under_gallery-wrapper h2{
  font-size: 64px;
  margin: 0 0 18px 0;
}

.breadcrumb{
  margin-bottom: 25px;
}


  .gallery_grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
    grid-auto-rows: auto; /* 高さを固定(220px)しないで中身に合わせる */
    gap: 20px;
  }

  .gallery_item_tall,
  .gallery_item,
  .gallery_item_wide {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 3 / 2; /* 高さを自動にした分、アスペクト比で形を保つ */
  }


  .gallery_label {
    padding: 5px 7px;
    font-size: 8px;
    flex-wrap: wrap;
    line-height: 1.4;
  }


.under_gallery-grid .location1::after {
  margin: 0 5px -1px 5px; /* 縦線下に下げる */
  height: 8px;
}

}




/* -----------------------
　下層ギャラリー詳細 
----------------------- */
@media screen and (min-width: 767px){
.gallery-title{
  padding:200px 6vw;
}

.under_gallery-wrapper.gallery-title h2{
  font-size: 50px;
  font-family: "noto sans jp";
  font-weight: 400;
}

.img-wrapper{
  width:100%;
  margin-bottom: 30px;
}

.img-wrapper img{
  width: 100%;
  height: 700px;  
  object-fit: cover;
}



/* 下層詳細ページの画像クリック */
.js-lb-open { cursor: pointer; transition: 0.3s; }
.js-lb-open:hover { opacity: 0.7; }

/* モーダル全体 */
.lb-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.lb-modal.is-show { display: flex; align-items: center; justify-content: center; }

.lb-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.lb-window {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.lb-figure {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.lb-figure img {
    max-width: 100%;
    max-height: 85vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* 矢印ボタン */
.lb-nav {
    width: 80px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.lb-nav:hover { background: rgba(255,255,255,0.1); }

/* 矢印 */
.lb-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
}
.lb-prev .lb-arrow { transform: rotate(-45deg); }
.lb-next .lb-arrow { transform: rotate(135deg); }

/* 閉じるボタン */
.lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
}
}




/* -----------------------
　下層ギャラリー詳細 SP
----------------------- */
@media screen and (max-width: 768px){

.gallery-title{
  padding:100px 5vw 80px;
}

.gallery-title h2{
  font-size: 22px;
  margin-bottom: 25px;
  font-family: "noto sans jp";
  font-weight: 600;
}


.img-wrapper{
  width:100%;
  margin-bottom:21px;
  aspect-ratio: 3/2;
}

.img-wrapper img{
  width: 100%;
  height: 100%;  
  object-fit: cover;
}

.lb-modal {
  display: none !important; /* Sが動いても表示させない */
}


/* 画像の拡大アニメーションを止める */
  .gallery_grid > div:hover img,
  .under_gallery-grid > div:hover img {
    transform: none !important;
}

/* ライトボックス無効化 */
.js-lb-open {
  pointer-events: none !important; /* タップ無視 */
  cursor: default !important;
  opacity: 1 !important;          /* 透けるのを防ぐ */
   transition: none !important;    /* アニメーション消す */
}

/* :hover opacityが設定されていても上書き */
.js-lb-open:hover {
  opacity: 1 !important;
}

}


/* -----------------------
　下層ギャラリー詳細 タブレット
----------------------- */

@media screen and (min-width: 769px) and (max-width: 1200px){
.gallery-title{
  padding: 140px 6vw;
}


.under_gallery-wrapper.gallery-title h2 {
  font-size: 34px;
  margin-bottom: 32px;
}

}




/* -----------------------
　下層 問い合わせページ
----------------------- */
.form-wrapper{
  padding: 230px 6vw 190px;
  background-color: #F7F7F7;
}

.form-wrapper h2{
  font-size: 100px;
  font-family: "Effra";
  margin: 0 0 65px 0;
}


.contact-intro{
  display:flex;
  margin-bottom: 80px;
}


.contact-text{
  flex:1;
  font-size: 18px;
  max-width: 760px;
  line-height: 1.8;
  font-weight: 400;
}


.tel {
  border-left: 1px solid #ccc;
  padding-left: 60px;
  max-width: 330px;
  text-align: center;
}

.tel-title{
  font-size: 18px;
  font-weight: 500;
}

.tel-number{
  font-size: 38px;
  letter-spacing:1px; 
  margin: 0;
  font-weight:500;
  color: #181818;         
  text-decoration: none;

}

.form-group {
  display: grid;
  grid-template-columns: 320px 1fr; /* 左のラベル幅を固定 */
  padding: 28px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
}

.form-label{
  font-size:20px;
  display: flex;
  align-items: center;
  font-weight: 400;
}

.form-control{
  width: 100%;
  padding: 18px 30px;
  border: 1px solid #e0e0e0; 
  background-color: #fff;
  font-size: 20px;
  box-sizing: border-box;
  -webkit-appearance: none; /* iOS/Safariの標準スタイルを無効化 */
  appearance: none;
  color: #333;
}

.form-control::placeholder {
  color:#D9D9D9;
}


.form-group.align-top{
  align-items: start; /* 上揃え */
}

.required {
    background-color: #181818;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    margin-right: 20px;
    display: inline-block;
}

textarea.form-control{
  height: 220px;
  resize: vertical; /* 広げられる機能 */
  min-height: 150px; /* 最小の高さ */
}

.contact-allwrapper{
  max-width: 1100px;
  margin: 0 auto;
}



/* 送信ボタン */
.submit-btn {
  text-align: center;
  margin-top: 80px;
}

.submit-btn button{
  background-color: #181818;
  color: #fff;
  padding: 15px 55px;
  font-size:18px;
  border: none;

  position: relative;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0; 
}

@media (hover: hover){
.submit-btn button:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: .3s;
  z-index: -1;
}

.submit-btn button:hover{
  color: #181818;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.submit-btn button:hover:before{
  width: 100%;
  z-index: -1;
}
}


/* -----------------------
　下層 問い合わせページ SP
----------------------- */
@media screen and (max-width: 768px){
.form-wrapper{
  padding: 100px 6vw;
}

.form-wrapper h2{
  font-size: 44px;
  margin: 0 0 15px 0;
}

.contact-intro{
  display:block;
  margin-bottom: 30px;
  border-bottom: solid 1px #ccc;
}

.contact-text p{
  font-size: 14px;
  margin-bottom:40px;
}


.tel {
  border-left: none;
  padding:0;
  max-width: none;
  text-align: left;
  margin-bottom: 38px;
}


.tel-title{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 7px;
}


.tel-number{
  font-size: 26px;
  color: #181818;         
  text-decoration: none;
}

.form-group {
  display: block;
  grid-template-columns: 320px 1fr; /* 左のラベル幅を固定 */
  padding: 25px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items:inherit;
}

.form-label{
  font-size:14px;
  margin-bottom: 15px;
}


.required{
  font-size: 10px;
  padding: 2px 7px;
  margin-right: 14px;
  display: inline-block;
  font-weight: 400;
}


.form-control{
  padding: 12px 12px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  font-size: 14px;
}


/* 送信ボタン */
.submit-btn {
  margin-top: 40px;
}


.submit-btn button{
  max-width: 150px;
  padding: 10px 40px;
  font-size: 14px;
  position: relative;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0; 
}

}

/* -----------------------
　下層 問い合わせページ タブレット
----------------------- */

@media screen and (min-width: 769px) and (max-width: 1200px){
.form-wrapper{
  padding: 140px 6vw;
}

.form-wrapper h2{
  font-size: 64px;
  margin: 0 0 15px 0;
}

.contact-text {
  padding-right: 40px;
}
  
.tel{
  padding-left: 40px;
}

}



/* -----------------------
　下層 問い合わせの確認ページ PC
----------------------- */

.confirm-page_title{
  font-size: 26px;
  margin-bottom: 45px;
  font-family: "noto sans jp";
  font-weight: 500;
}

.confirm-page_text{
  font-size: 20px;
  margin-bottom: 70px;
  font-family: "noto sans jp";
  font-weight: 400;
}

.confirm-text{
  font-size: 20px;
}

.form-group.align-top{
  align-items: inherit;
}

.confirm-btn-area{
  text-align: center;
}

.confirm-btn-area button.back-btn{
  margin-right: 65px;
}

.contact-confirm .form-group{
  grid-template-columns: 395px 1fr;
}

.confirm-btn-area button{
  background-color: #181818;
  color: #fff;
  padding: 15px 55px;
  font-size: 18px;
  border: none;
  position: relative;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0;
  width: 182px;
}


@media (hover: hover){
.confirm-btn-area button:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: .3s;
  z-index: -1;
}

.confirm-btn-area button:hover{
  color: #181818;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.confirm-btn-area button:hover:before{
  width: 100%;
  z-index: -1;
}
}




/* -----------------------
　下層 問い合わせの確認ページ SP
----------------------- */

@media (max-width:768px){
.confirm-page_title{
  font-size: 20px;
  margin-bottom: 32px;
}


.confirm-page_text {
  font-size: 16px;
  margin-bottom: 50px;
}

.confirm-text {
  font-size: 14px;
  margin: 0;
}

.contact-confirm .form-label{
  margin-bottom: 28px;

}

.form-group.align-top{
  margin-bottom: 55px;
}

.confirm-btn-area button.back-btn{
  margin-right:0;
}


.confirm-btn-area button{
  max-width: 150px;
  width: 100%;
  padding: 10px 40px;
  font-size: 14px;
  position: relative;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0;
  margin: 0;
}

.confirm-btn-area {
    display: flex;
    flex-direction: column;
    align-items: center;   
    gap: 20px;            
}

}


/* -----------------------
　下層 問い合わせthanksページ PC
----------------------- */
.contact-message-title{
  font-size: 28px;
  margin-bottom: 70px;
  font-family: "noto sans jp";
  font-weight: 500;
  text-align: center;
}

.contact_thanks-message{
  font-size: 20px;
  margin-bottom: 70px;
  font-family: "noto sans jp";
  font-weight: 400;
  text-align: center;
  line-height: 1.9rem;
}

.back-btn_wrapper{
  text-align: center;
}

.contact-thanks .btn-back{
  display: inline-block;
  background-color: #181818;
  color: #fff;
  padding: 15px 55px;
  font-size: 18px;
  border: none;
  position: relative;
  transition: .3s ease-in-out;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 0;
}


@media (hover: hover){
.contact-thanks .btn-back:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: .3s;
  z-index: -1;
}

.contact-thanks .btn-back:hover{
  color: #181818;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-thanks .btn-back:hover:before{
  width: 100%;
  z-index: -1;
}
}


/* -----------------------
　下層 問い合わせthanksページ SP
----------------------- */
@media (max-width:768px){
.contact-message-title{
  font-size: 16px;
  margin-bottom: 40px;

}

.contact_thanks-message{
  font-size: 14px;
  margin-bottom: 40px;
  line-height: 1.5rem;
}

.contact-thanks .btn-back{
  padding: 10px 38px;
  font-size: 14px;
  max-width: 150px;
  width: 100%;
}
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
h3 {
  font-size: 64px;
}

section p {
  font-size: 16px;
}
}
