/* -------------------------- */
/* base
/* -------------------------- */

*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body{
  background-color: #fff;
  background-attachment: fixed;
  overflow-x: hidden;
  width: 100%;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  color: #1f1f1f;
  font-display: swap;
}

@supports (-webkit-overflow-scrolling: touch) {
  body {
    background: none;
	background-color: #1f1f1f;
  }

body:before {
    background-repeat: no-repeat;
    background-position: right;
    background-size: 100%;
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
  }
}
    
    
img{
  width: 100%;
  vertical-align: bottom;
}
a{
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 23px;
  font-display: swap;
}
p{
	margin:0;
	padding:0;
}

ul, li {
    margin: 0;
    padding: 0;
	line-height: 1;
    list-style: none;
}
input{
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance:none;
}
textarea{
  border: 0;
  outline: none;
  resize: none;
}

nav ul {
    list-style: none;     /* リストの「・」を消す */
    margin: 0;
    padding: 0;
    display: flex;        /* 項目を横並びにする（縦並びなら削除） */
}

/* リンクのデザインをリセット */
nav a {
    text-decoration: none; /* 下線を消す */
    color: inherit;        /* 親要素の色を継承させる */
    display: block;        /* クリック範囲を広げるためにブロック化 */
    padding: 10px 15px;    /* 適切な余白を設定（調整してください） */
}

/* ボタンのように見せるためのhover設定（任意） */
nav a:hover {
    opacity: 0.7;
    transition: 0.3s;
}

/*.back-black {
    background-color: rgba(0, 0, 0, 0.55);
	background-attachment: fixed;
}*/


/* -------------------------- */
/* //base
/* -------------------------- */

/* -------------------------- */
/* 共通設定
/* -------------------------- */

.pc-ng{
	display: none;
}

.section-block{
	max-width: 90%;
	height: 100%;
	padding: 10% 0 10% 0;
	margin: 0 auto;
}

.page-section-block{
	max-width: 90%;
	margin: 15% auto 0 auto;
}

/* 親divのline-heightをリセット */
.section-title-wrap {
    line-height: 1;
}

.section-title {
    display: table;
    position: relative;
    font-family: "mrs-eaves-roman-petite-caps", serif;
	font-weight: 400;
	font-style: normal;
    font-size: 8.5rem;
    letter-spacing: 0.1em;
    line-height: 0.8em;
    color: #fff;
    padding: 3px 2px 0 5px;
	margin: 0 0 1% 0;
    background: linear-gradient(#303030 0 100%) no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.4s ease-in;
}

.section-title.is-animated {
    background-size: 100% 100%;
}


.section-subtitle {
    display: inline-block;
    font-family: "times-new-roman", sans-serif;
	font-weight: 700;
	font-style: italic;
    padding: 5px;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
	line-height: 1.5em;
    color: #fff;

    /* 背景アニメーション用 */
    background: linear-gradient(#303030 0 100%) no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.8s ease-out;
}

.section-subtitle-ja {
    display: inline-block;
    font-family: "source-han-serif-jp-subset", sans-serif;
	font-weight: 700;
    padding: 5px;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
	line-height: 1.5em;
    color: #fff;
    /* 背景アニメーション用 */
    background: linear-gradient(#303030 0 100%) no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.8s ease-out;
}

/* スクロールで発火 */
.section-subtitle.is-animated {
    background-size: 100% 100%;
}

/* スクロールで発火 */
.section-subtitle-ja.is-animated {
    background-size: 100% 100%;
}

.section-caption{
	font-family: "source-han-serif-jp-subset", sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 3.5rem;
	margin: 3% 0 1% 0;
	font-size: 1.8rem;
	letter-spacing: 0.1em;
}

.section-caption-en{
	font-family: "times-new-roman", sans-serif;
    font-weight: 400;
    font-style: normal;
	line-height: 2.5rem;
	margin: 0 0 3% 0;
	font-size: 1.9rem;
	letter-spacing: 0.01em;
}

.block-caption{
	font-family: "times-new-roman", sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 2.5rem;
	margin: 3% 0 5% 0;
	font-size: 1.7rem;
	letter-spacing: 0.1em;
}

/*flex設定*/

.flex-rr{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.flex-rw{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.flex-sp-only{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.flex-rp{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.flex-wr{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-rl{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start; /* centerだと行ごとの高さ差で微妙にズレるのでflex-startが安全 */
}

.flex-ru{
	display: flex;
    justify-content: flex-start;
}

.contact-blo{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/*//flex設定*/

/* VIEWMORE ボタン */
.questionbtn {
    margin: 0;
    text-align: left;
}

.btn {
  margin-top: 4%;
  clear: both;
}

.btn .questionbtn a {
	border: 2px solid #333; /* 線種 太さ 色 */
    position: relative;
    display: inline-block; /* ← パディングを縦にも効かせるため追加 */
    font-size: 2.5rem;
    text-align: center;
    font-family: "times-new-roman", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1f1f1f !important; /* ← !important で a タグのグローバル設定を上書き */
    letter-spacing: 0.15em;
    text-decoration: none;
    overflow: hidden;
    padding: 16px 32px; /* ← 親指でも押しやすい余白を確保 */
    min-height: 48px; /* ← タップ領域の最低サイズ確保 */
    min-width: 48px;
    isolation: isolate; /* ← スタッキングコンテキストを作る */
}

.btn .questionbtn a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background-color: #1f1f1f;
    transition: height 0.4s ease;
    z-index: -1; /* isolation: isolate のおかげで確実にテキスト背後に入る */
}

.btn .questionbtn a:hover::before {
    height: 100%;
}

.btn .questionbtn a:hover {
    color: #ffffff !important;
    transition: color 0.4s ease;
}
/* // VIEWMORE ボタン */

/* -------------------------- */
/* //共通設定
/* -------------------------- */


/* -------------------------- */
/* header
/* -------------------------- */

header{
  max-width: 100%;
  width: 100%;
  padding: 50px 80px;
  position: fixed;
  top: 0;
  z-index: 99;
}

.noscroll {
  height: 100%;
  overflow: hidden;
}

.header_under{
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1;    
}

/* ===================================
   ハンバーガーメニュー - PC表示では非表示
=================================== */

.burger-btn {
    display: none; /* PC表示では非表示 */
    position: fixed;
    top: 5%;
    right: 5%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 100;
    background: transparent;
}

.burger-btn .bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #898989;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-btn.active .bar {
    background-color: #fff; /* ← アクティブ時のみ#fff */
}

.burger-btn .bar_top {
    top: 12px;
}

.burger-btn .bar_middle {
    top: 23px;
}

.burger-btn .bar_bottom {
    top: 34px;
}

/* ボタンがアクティブな時（メニューが開いている時） */
.burger-btn.active .bar_top {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}

.burger-btn.active .bar_middle {
    opacity: 0;
}

.burger-btn.active .bar_bottom {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}

/* メニューが開いている時のbody */
body.menu-open {
    overflow: hidden;
}

/*******************ナビゲーションの設定*******************/
/*==ナビゲーション全体の設定*/
nav{
	text-underline-offset: 10px;
	text-decoration-thickness: 1px;
	/*==ナビゲーション全体高さ中央設定*/
	display: flex;
	align-items: center;
	text-align: center;
	mix-blend-mode: difference; /* 文字を背景に合わせて反転 */
	  	background-color: #fff;
}

/*ナビゲーションを横並びに*/
nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
}

/*ナビゲーションを縦中央並びに*/
.center{
    /*==ナビゲーション全体高さ中央設定*/
	display: flex;
	align-items: center;
	text-align: center;
}


/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基店にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	text-align:justify;
	text-align-last:justify;
	font-size: 30px;
	font-weight: 300;
	display: block;
	text-decoration: none;
	mix-blend-mode: difference;
	color: #fff;
	padding: 20px 35px;
	transition: all .3s;
    letter-spacing: 0.3rem;	
	position: relative;   /* ← 追加 */
    overflow: hidden;     /* ← 追加 */
    isolation: isolate;   /* ← 追加 */
}

	
	nav ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background-color: #fff;
    transition: height 0.4s ease;
    z-index: -1;
}

nav ul li a:hover::before {
    height: 100%;
}

nav ul li a:hover {
    color: #1f1f1f !important;
    transition: color 0.4s ease;
}


nav ul li li a{
	padding: 10px 35px;
}

nav ul li::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-left: 0px;
}

nav ul li:last-of-type::after {
    display: none;
}

nav ul li a:hover{
	opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

nav li.has-child ul li:last-child a{
	border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	opacity: 20%;
}

/*==３階層目*/

/*３階層目の位置*/
nav li.has-child ul ul{
	top: 0;
	left: 182px;
	background: #225967;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background: #225967;
}

.shop-img img{
  width: 220px;
}

.shop-img {
  /* 影をつけて背景に関係なくロゴを際立たせる */
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

.nav-item{
  font-size: 1.6rem;
  padding: 5px 0px;
  margin-right: 20px;
  letter-spacing: 0.08em;
}

.nav-item:last-of-type{
  margin-right: 0;
}

.nav-item:hover{
  transition: .5s;
  opacity: .3;
  text-decoration: underline;
}

/* -------------------------- */
/* //header
/* -------------------------- */

/* -------------------------- */
/* LIST page
/* -------------------------- */

/* ==========================================================
   OUR WORKS block-4 カルーセル
   ※ Slick Carousel (slick.css / slick-theme.css) の読み込みが
     前提です。まだ読み込んでいない場合は下記をhead内に追加してください。

   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css">
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css">
========================================================== */

.works-carousel{
	margin-top: 3%;
}

/* スライド間の余白（block-4のmarginは使わずここで管理） */
.works-carousel .block-4{
	margin: 0 10px;
	width: auto;
	cursor: pointer;
}

.works-carousel .block-4 img{
	width: 100%;
	aspect-ratio: 1 / 1; /* 幅に関わらず常に正方形を維持 */
	object-fit: cover;
	object-position: bottom;
	transition: transform .4s ease;
}

.works-carousel .block-4:hover img{
	transform: scale(1.05);
}

/* 矢印デザイン（サイトのモノトーン基調に合わせて上書き） */
.works-carousel .slick-prev,
.works-carousel .slick-next{
	width: 40px;
	height: 40px;
	z-index: 10;
	top: 50%;
	/* キャプション（block-caption）の分だけ上にずらして、画像の中央に合わせる */
	transform: translateY(calc(-50% - 20px));
}

.works-carousel .slick-prev{
	left: -45px;
}

.works-carousel .slick-next{
	right: -45px;
}

.works-carousel .slick-prev:before,
.works-carousel .slick-next:before{
	color: #1f1f1f;
	font-size: 30px;
	opacity: 1;
}

.works-carousel .slick-dots{
	display: block !important; /* base.cssで非表示にしているため個別に上書き */
	bottom: -40px;
}

/* li・buttonも個別にdisplay:noneで消されているため、ここで明示的に戻す */
.works-carousel .slick-dots li{
	display: inline-block !important;
	margin: 0 4px;
	width: 20px;
	height: 20px;
}

.works-carousel .slick-dots li button{
	display: block !important;
	width: 20px;
	height: 20px;
}

.works-carousel .slick-dots li.slick-active button{
	display: block !important;
}

.works-carousel .slick-dots li button:before{
	font-size: 10px;
	color: #1f1f1f;
	opacity: 0.4;
}

.works-carousel .slick-dots li.slick-active button:before{
	opacity: 1;
}

@media screen and (max-width: 800px){
	.works-carousel .slick-prev{
		left: 0;
		z-index: 10;
	}
	.works-carousel .slick-next{
		right: 0;
	}
	/* height指定を削除：aspect-ratio: 1/1（PC側の指定）をそのまま効かせて正方形を維持 */

	/* スマホはドットを非表示（JS側もdots:falseに設定済み） */
	.works-carousel .slick-dots{
		display: none !important;
	}
}


/* ==========================================================
   画像モーダル
========================================================== */

.img-modal{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(31, 31, 31, 0.9);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.img-modal.is-active{
	display: flex;
}

.img-modal-inner{
	position: relative;
	max-width: 85%;
	max-height: 85%;
}

.img-modal-inner img{
	width: auto;
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.img-modal-close{
	position: absolute;
	top: -40px;
	right: -10px;
	font-size: 3.5rem;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	background: none;
	border: none;
}

@media screen and (max-width: 800px){
	.img-modal-close{
		top: -50px;
		right: 0;
		font-size: 3rem;
	}
}

/* -------------------------- */
/* //LIST page
/* -------------------------- */


/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 999999999;
	background:#e2dbc5;
	text-align:center;
	color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-18%, -70%);
}


/* Loading アイコンの大きさ設定　*/
#splash_logo svg{
    width:500px;
}

/*=============== SVGアニメーション内の指定 =================*/

/*アニメーション前の指定*/
#mask path {
		fill-opacity: 0;/*最初は透過0で見えない状態*/
		transition: fill-opacity .8s;/*カラーがつく際のアニメーション0.5秒で変化*/
		fill: none;/*塗りがない状態*/
		stroke: #333;/*線の色*/
	}

/*アニメーション後に.doneというクラス名がで付与された時の指定*/
#mask.done path{
	  fill: #333;/*塗りの色*/
	  fill-opacity: 1;/*透過1で見える状態*/
	  stroke: none;/*線の色なし*/
	}

/* -------------------------- */
/* TOP動画
/* -------------------------- */

/* -------------------------- */
/* 背景を見せるためのTOPスペース
/* -------------------------- */

.top-spacer {
    width: 100%;
    height: 100vh;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 親要素を基準点にする */
.top-spacer-page {
    position: relative; /* これが重要です */
    width: 100%;
    height: 50vh;
    display: flex;
    /* align-itemsやjustify-contentは今回外してもOKです */
}

/* タイトルを左下に固定(section-titleと同じ左端=画面幅の5%位置に揃える) */
.page-title {
    position: absolute;
    bottom: 20px;  /* 下端からの距離 */
    left: 5%;      /* .section-block(max-width:90%; margin:0 auto)の左端と同じ位置 */
    font-size: 5.0rem; /* お好みのサイズに調整してください */
    color: #1f1f1f;
    font-family: "mrs-eaves-roman-petite-caps", serif; /* サイトの雰囲気に合わせる */
    letter-spacing: 0.1em;
    margin: 0;
}

/*TOPのアイコンを非表示*/

/*.top-spacer-inner {
    text-align: center;
}

.top-spacer-inner img {
    width: 300px !important;
    margin: 0 auto; 
    display: block;
}*/

.top-subcopy {
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    margin-top: 20px;
}

/* -------------------------- */
/* //背景を見せるためのTOPスペース
/* -------------------------- */

/* -------------------------- */
/* 背景動画
/* -------------------------- */

        /* 背景動画のコンテナ */
        .video-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -2; /* コンテンツの背後に配置 */
        }

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;  /* video-backgroundの-2より上、コンテンツより下 */
    pointer-events: none;
}


        /* 動画要素 */
        .video-background video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover; /* 画面全体をカバー */
        }


/* -------------------------- */
/* //背景動画
/* -------------------------- */


/* -------------------------- */
/* //TOP動画
/* -------------------------- */

/* -------------------------- */
/* ホバー時写真拡大
/* -------------------------- */

/* 1. 親要素 (枠) の設定 */
.img-container {
  /* 画像を中央に配置*/
  margin: auto;
  width: 100%;
}

/* -------------------------- */
/* //ホバー時写真拡大
/* -------------------------- */

/* -------------------------- */
/* ABOUT
/* -------------------------- */

.block-1, .block-3, .block-4{
	margin: 2% 1% 0 0;
	width: 100%;
}

.block-2{
	width: 100%;
	max-width: 100%;
	margin: 2% 5% 0 0;
}

.block-3 {
	width:350px;
	max-width: 100%;
}

.block-3 img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

.block-4 {
	width:350px;
	max-width: 100%;
}

.block-4 img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

.about-img{
	height:500px;
	width:100%;
	max-width: 100%;
}

.about-img img {
  height:100%;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* -------------------------- */
/* //ABOUT
/* -------------------------- */

/* -------------------------- */
/* COMPANY
/* -------------------------- */

.message-img{
	margin: auto;
	width: 80%;
}

/* -------------------------- */
/* //COMPANY
/* -------------------------- */

/* -------------------------- */
/* CONTACT PAGE
/* -------------------------- */

/* CONTACT PAGE */
#contactform {
    width: 100%;
    height: 1300px; /* お好みの高さに調整 */
}

/* -------------------------- */
/* //CONTACTPAGE
/* -------------------------- */

/* -------------------------- */
/* COMPANY
/* -------------------------- */

/* -------------------------- */
/* Map
/* -------------------------- */

#map-grayscale {
	height: 600px;
    width: 100%;
    filter: grayscale(100%);
	aspect-ratio: 1 / 1;/* ← 正方形に */
}

#map-grayscale iframe {
	width: 100%;
	height: 100%;
}
	
/* -------------------------- */
/* /Map
/* -------------------------- */

/* -------------------------- */
/* COMPANY
/* -------------------------- */

/*COMPANY PAGE*/
/* 会社概要ページのスタイル */
.company-info {
  padding: 60px 20px;
  /*background-color: #f9f9f9;*/
}

.company-section {
  margin: 10% auto 0% auto;
}

.company-info .company-section {
  max-width: 900px;
  margin: 0 auto;
}

/* 会社情報テーブル */
.company-table {
  font-family: "source-han-serif-jp-subset", sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  letter-spacing: 0.2em;
  line-height: 170%;
  border-collapse: collapse;
  color: #303030;
}

.company-table tr {
  border-bottom: 1px solid #e0e0e0;
  height: 30px;
}

.company-table th {
  width: 30%;
  padding: 20px;
  /*background-color: #f5f5f5;*/
  font-weight: bold;
  text-align: left;
  color: #303030;
  vertical-align: top;
}

.company-table td {
  padding: 20px;
  color: #303030;
  line-height: 1.8;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 15px;
  }
  
  .company-table th {
    background-color: #f0f0f0;
    border-bottom: none;
    padding-bottom: 10px;
  }
  
  .company-table td {
    padding-top: 10px;
    border-bottom: 1px solid #e0e0e0;
  }
}

/* -------------------------- */
/* //COMPANY
/* -------------------------- */

/* -------------------------- */
/* Recruit
/* -------------------------- */


.recruit-title{
	display: flex;
    align-items: center;
	font-family: "source-han-serif-jp-subset", sans-serif;
	font-weight: 400;
	font-style: normal;
	margin: 10% 0 2% 0;
	font-size: 2.5rem;
	letter-spacing: 0.1em;
}

.recruit-title::before {
  content: "";
  width: 4px;
  height: 1.2em; /* テキストより少し高めに */
  background-color: #fff;
  margin-right: 10px;
  flex-shrink: 0; /* 縮まないように */
}

.recruit-subtitle{
	font-family: "source-han-serif-jp-subset", sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 2.3rem;
	margin: 0 0 0.5% 0;
	font-size: 1.5rem;
	letter-spacing: 0.1em;
}
			  
.recruit-caption{
	font-family: "source-han-serif-jp-subset", sans-serif;
	font-weight: 400;
    font-style: normal;
	line-height: 2.3rem;
	margin: 0 0 3% 0;
	font-size: 1.5rem;
	letter-spacing: 0.1em;
}

/* -------------------------- */
/* //Recruit
/* -------------------------- */

/* -------------------------- */
/* Footer
/* -------------------------- */

.footer-block{
	max-width: 90%;
	margin: 10% auto 0 auto;
}

.footer{
	max-width: 90%;
	text-align: center;
	align-items: end;
}

.footer-left{
	align-items: flex-end;
	text-align: left;
	width: 33%;
}

.footer-center{
	align-items: flex-end;
	text-align: center;
	width: 33%;
}

.footer-right{
  font-family: "yu-gothic-pr6n", sans-serif;
  align-items: flex-end;
  align-self: flex-end !important; /* !importantを追加 */
  text-align: right;
  width: 33%;
  display: flex; /* これを追加 */
  flex-direction: column; /* これを追加 */
  justify-content: flex-end; /* これを追加 */
}

.footer-menu{
	font-size: 1.0rem;
	margin: 0;
}

.footer-nav{
	font-family: "yu-gothic-pr6n", sans-serif;
	font-weight: 400;
    font-style: normal;
	font-size: 2.3rem;
	line-height: 2.3rem;
	font-display: swap;
}

.footer-nav li a{
	display: table;
	color: #000;
	background-color: #fff;
	mix-blend-mode: difference;
	letter-spacing: 0.07em;
	padding: 5px;
	transition: background-color .3s ease, color .3s ease;
}

.footer-nav li a:hover{
	background-color: #1f1f1f;
	color: #fff;
	mix-blend-mode: normal;
}

.sns-icon{
	max-width: 40px;
	margin: 20% auto 0 auto;
}

/* SNSアイコン */
.sns-icon img {
	filter: none; /* brightness(0.2)を削除 */
	mix-blend-mode: difference;
}

.copyright{
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
  margin: 1% 0 0 0;
  text-align: center;
  letter-spacing: 0.3em;
  color: #fff;
  mix-blend-mode: difference;
　font-display: swap;
}


/* -------------------------- */
/* //Footer
/* -------------------------- */


/* -------------------------- */
/* CSS animation 背景色が伸びる
/* -------------------------- */

/*========= 背景色の動きのCSS ===============*/

.section-l,
.section-r {
  height: auto;
  position: relative;
  z-index: 0;
  padding: 0 0 0 0;
  margin: 0 auto;
}

span{
	position:relative;
}

.section-l::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  opacity: 0.8;
  transition: 0.8s ease-out;
}

.section-r::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: 0.8s ease-out;
}

.fade::before {
  width: 100%;
}

/* -------------------------- */
/* //CSS animation
/* -------------------------- */


@media screen and (min-width: 1025px) and (max-width: 1400px) {
	
/* -------------------------- */
/* 画面調整用ハンバーガーメニュー
/* -------------------------- */

header{
  width: 100%;
  padding: 50px;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}

.header_under{
  width: 0%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1;    
}
	
    /* ハンバーガーボタンを表示 */
    .burger-btn {
        display: block;
    }
    
/* ハンバーガーボタン */
.burger-btn{
  display: block;
  position: fixed;
  top: 7%;
  right: 5%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 100;
  background: transparent;
}

.bar{
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.bar_top{
  top: 12px;
}

.bar_middle{
  top: 23px;
}

.bar_bottom{
  top: 34px;
}
    
.burger-btn.active .bar_top{
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}
    
.burger-btn.active .bar_middle{
  opacity: 0;
}
    
.burger-btn.active .bar_bottom{
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

.shop-img {
	position: fixed;
    top: 5%;
    left: 5%;
    z-index: 500;
    width: 160px;
}

/* ハンバーガーメニューが開いたときのスタイル */
.header-nav{
  display: none;
  position: fixed;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(31, 31, 31, 0.98);
  z-index: 98;
  overflow-y: auto;
}

.header-nav.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* グローバルナビゲーション */
nav {
    width: 100%;
    mix-blend-mode: normal;
}

.globalNav {
    flex-direction: column;
    width: auto;
    padding: 0;
	align-items: center;
}

.globalNav li {
    width: min(280px, 80vw); /* ← 下線の長さを項目間で統一 */
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.globalNav li::after {
    display: none; /* 区切り線を非表示 */
}

.globalNav li a {
    display: block;
    width: 100%;
    padding: 25px 30px;
    text-align: center;
    font-size: 35px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.2em;
	position: relative;
    overflow: hidden;
    isolation: isolate;
    mix-blend-mode: normal;
}

.globalNav li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background-color: #fff;
    transition: height 0.4s ease;
    z-index: -1;
}

.globalNav li a:hover::before {
    height: 100%;
}

.globalNav li a:hover {
    color: #1f1f1f !important;
    transition: color 0.4s ease;
}

/* メニューが開いている時の背景オーバーレイ */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 97;
    animation: fadeIn 0.3s ease;
}

/* -------------------------- */
/* //tb-header
/* -------------------------- */

/* -------------------------- */
/* ABOUT
/* -------------------------- */

.about-img{
	height:700px;
	width:100%;
	max-width: 80%;
}

.about-img img {
  height:100%;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* -------------------------- */
/* //ABOUT
/* -------------------------- */
	
}


/* ===================================
   タブレット対応（801px〜1024px）
=================================== */

@media screen and (min-width: 801px) and (max-width: 1024px) {
	
		.contact-wrapper iframe {
		width: 100% !important;
		height: 2500px; /* iPad用に調整 */
		overflow: hidden;
	}
	
	/* flex設定 */
	.flex-rr{
	display:flex;
    flex-flow: column;
	}
	
	.flex-sp{
	display: flex;
  	justify-content: space-between;
  	align-items: flex-start;
	}
    
	/* ← ここに以下を追加 */
	.block-1, .block-2, .block-3 {
		width: 100%;
		max-width: 100%;
		margin: 0 0 0 0;  /* 右側のマージンを0に */
	}
	
	
    /* ハンバーガーボタンを表示 */
    .burger-btn {
        display: block;
    }
    
/* -------------------------- */
/* tb-header
/* -------------------------- */

header{
  width: 100%;
  padding: 5% 5%;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}

.header_under{
  width: 0%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1;    
}
	
    
/* ハンバーガーボタン */
.burger-btn{
  display: block;
  position: fixed;
  top: 5%;
  right: 5%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 100;
  background: transparent;
}

.bar{
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.bar_top{
  top: 12px;
}

.bar_middle{
  top: 23px;
}

.bar_bottom{
  top: 34px;
}
    
.burger-btn.active .bar_top{
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}
    
.burger-btn.active .bar_middle{
  opacity: 0;
}
    
.burger-btn.active .bar_bottom{
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

.shop-img {
    width: 160px;
}

/* ハンバーガーメニューが開いたときのスタイル */
.header-nav{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(31, 31, 31, 0.98);
  z-index: 98;
  overflow-y: auto;
}

.header-nav.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* グローバルナビゲーション */
nav {
    width: 100%;
    mix-blend-mode: normal;
}

.globalNav {
    flex-direction: column;
    width: auto;
    padding: 0;
	align-items: center;
}

.globalNav li {
    width: min(280px, 80vw); /* ← 下線の長さを項目間で統一 */
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.globalNav li::after {
    display: none; /* 区切り線を非表示 */
}

.globalNav li a {
    display: block;
    width: 100%;
    padding: 25px 30px;
    text-align: center;
    font-size: 35px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.2em;
    mix-blend-mode: normal;
}

.globalNav li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

/* メニューが開いている時の背景オーバーレイ */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 97;
    animation: fadeIn 0.3s ease;
}

/* -------------------------- */
/* //tb-header
/* -------------------------- */
    
	.sns-icon{
	max-width: 30px;
	margin: 10% auto 0 auto;
}
	
	.footer-menu{
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	writing-mode: vertical-rl;
}
	
/* -------------------------- */
/* tb-ABOUT
/* -------------------------- */

.block-1, .block-3{
	margin: 2% 1% 0 0;
	width: 100%;
}

.block-2{
	max-width: 100%;
	margin: 2% 5% 0 0;
}

.about-img{
	height:800px;
	width:100%;
	max-width: 100%;
}

.about-img img {
  height:100%;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* -------------------------- */
/* //tb-ABOUT
/* -------------------------- */
	
}

/* ----------------------------------------------------------------スマホ版 レスポンシブ 800px */

@media screen and (max-width:800px){
	
	    body {
        background-image: 
            linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
    }
	
	.sp-ng{
		display: none;
	}
	.pc-ng{
	display:block;
	margin-top: 8%; /* section-subtitle-ja(見出し)との間に余白を確保 */
}
	
	/* flex設定 */
	.flex-rr{
	display:flex;
    flex-flow: column;
	}
	
	.flex-rw{
  	display: block;
	}
	
    .flex-rl{
	display: flex;
  	justify-content: space-between;
  	align-items: flex-start;
	flex-wrap: wrap;
	}
	
	.flex-sp-only{
  	display:flex;
    flex-flow: column;
}
	
	.flex-sp{
	display: flex;
  	justify-content: space-between;
  	align-items: flex-start;
	}

	.contact-blo{
	display: flex;
    flex-flow: column;
	gap: 0;
	}

	.block-1, .block-2 {
		width: 100%;
		max-width: 100%;
		margin: 0 0 0 0;  /* 右側のマージンを0に */
	}
	
	.block-3{
		width: 100%;
		max-width: 100%;
		margin: 0 0% 0 0%;  /* 右側のマージンを0に */
	}
	
	/* ヘッダーロゴをスマホ向けに縮小 */
	.shop-img img{
		width: 160px;
	}
	
	/* COMPANY セクションの修正 */
	#map-grayscale {
		margin: 5% auto;
		height: 300px;
		width: 100%;
		max-width: 400px;
		filter: grayscale(100%);
	}
	
	/* VIEWMORE ボタン */

.btn .questionbtn a {
    font-size: 1.8rem;
    padding: 14px 28px;
}

/* // VIEWMORE ボタン */
	
/* -------------------------- */
/* sp-共通設定
/* -------------------------- */
	
.section-block{
	padding: 15% 0 15% 0;
	margin: 0 auto;
}

.page-section-block{
	max-width: 90%;
	margin: 30% auto 0 auto;
}
	
.section-title{
	letter-spacing: 0.05em;
	margin: 0% 0 5% 0;
	font-size: 6.3rem;
}

.section-subtitle-en{
	margin: 10% 0 2% 0;
	font-size: 1.8rem;
	letter-spacing: 0.07em;
}

.section-subtitle{
	margin: -5% 0 5% 0;
	font-size: 1.8rem;
    line-height: 1.5em;
	letter-spacing: 0.2em;
}

.section-caption{
	margin: 1% 0 4% 0;
	font-size: 1.5rem;
	line-height: 1.5em;
	letter-spacing: 0.1em;
	font-display: swap;
}
	

	
.section-imgupper{
	margin-top: 5%;
}
	
.section-caption-en{
	font-family: "times-new-roman", sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 3.2rem;
	margin: 0 0 6% 0;
	font-size: 2.0rem;
	letter-spacing: 0.15em;
}
	
.block-caption{
	margin: 3% 0 10% 0;
	font-size: 1.6rem;
	line-height: 1.5em;
	letter-spacing: 0.1em;
	font-display: swap;
}

.company-section-caption-en{
	line-height: 2.3rem;
	margin: 10% 0 2% 0;
	font-size: 2.3rem;
	letter-spacing: 0.1em;
	font-display: swap;
}
    
/* 画面固定関連＋非表示要素 */
	
	.last_illust{
	width: 100%;
	margin: auto auto -5% auto;
    z-index: 0;
    }
	
/* -------------------------- */
/* //sp-共通設定
/* -------------------------- */
 
	
/* -------------------------- */
/* sp-header
/* -------------------------- */

header{
  width: 100%;
  padding: 5% 5%;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}

.header_under{
  width: 0%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1;    
}
	
    
/* ハンバーガーボタン */
.burger-btn{
  display: block;
  position: fixed;
  top: 3.8%;
  right: 5%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 100;
  background: transparent;
}

.bar{
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.bar_top{
  top: 12px;
}

.bar_middle{
  top: 23px;
}

.bar_bottom{
  top: 34px;
}
    
.burger-btn.active .bar_top{
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}
    
.burger-btn.active .bar_middle{
  opacity: 0;
}
    
.burger-btn.active .bar_bottom{
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ハンバーガーメニューが開いたときのスタイル */
.header-nav{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(31, 31, 31, 0.98);
  z-index: 98;
  overflow-y: auto;
}

.header-nav.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* グローバルナビゲーション */
nav {
    width: 100%;
    mix-blend-mode: normal;
}

.globalNav {
    flex-direction: column;
    width: auto;
    padding: 0;
	align-items: center;
}

.globalNav li {
    width: min(280px, 80vw); /* ← 下線の長さを項目間で統一 */
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.globalNav li::after {
    display: none; /* 区切り線を非表示 */
}

.globalNav li a {
    display: block;
    width: 100%;
    padding: 25px 30px;
    text-align: center;
    font-size: 35px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.2em;
    mix-blend-mode: normal;
}

.globalNav li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

/* メニューが開いている時の背景オーバーレイ */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 97;
    animation: fadeIn 0.3s ease;
}

/* -------------------------- */
/* //sp-header
/* -------------------------- */

/**************スライドショー設定**************/
	
.slider{
	/*スライドショーの位置の起点とするためposition:relative;をつける*/
	position: relative;
	/*z-indexの値の小さくして背景に回す*/
	z-index: -1;
	width: 100%;
}
	
	.slider .slick-slider{
		margin: 0 10px;
	}

.slider-item{
	/*各スライダー全体の横幅を画面の横幅いっぱい 100% にする*/
	width: 100%;
	/*各スライダー全体の縦幅を画面の高さいっぱい 100vh にする*/
	height: 10vh;
	/*背景画像をリピートしない*/
	background-repeat: no-repeat;
    /*背景画像の位置を中央に*/
	background-position: center;
	/*背景画像が.slider-item全体を覆い表示*/
	/*background-size: cover;*/
}

/*ドットナビゲーションの設定*/

.slick-dots{
	display: none;
}

.slick-dots li{
	display: none;
}

.slick-dots button{
	display: none;
}

.slick-dots .slick-active button{
	display: none;
}

/**************スライドショー設定終了**************/
	
/* Video */

        .video-container {
            width: 100%;
			max-width: 100%;
            height: auto;
			aspect-ratio: 1 / 1;/* ← 正方形に */
        }
	
/* -------------------------- */
/* Map
/* -------------------------- */

#map-grayscale {
	margin: 5% auto;
	max-width: 100%;
    width: 600px;
	filter: grayscale(100%);
　　aspect-ratio: 1 / 1;/* ← 正方形に */
}

#map-grayscale iframe {
	width: 100%;
	height: 100%;
}
	
/* -------------------------- */
/* /Map
/* -------------------------- */
	
/* -------------------------- */
/* TOP-video
/* -------------------------- */	
	
	.top-video{
		height: 100vh;
		opacity: 0;
	}

/* -------------------------- */
/* /TOP-video
/* -------------------------- */
	
/* -------------------------- */
/* スライダー非表示
/* -------------------------- */

	.TOP-slider{
		display: none;
	}

/* -------------------------- */
/* /スライダー非表示
/* -------------------------- */
	
/* -------------------------- */
/* //各ページボタンセクション
/* -------------------------- */
	
.footer-menu{
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	writing-mode: vertical-rl;
}
	
.footer-nav{
	font-size: 2.0rem;
}


.copyright{
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  margin: 5% 0 0 0;
  text-align: center;
  letter-spacing: 0.3em;
  color: #303030;
　font-display: swap;
}

/* -------------------------- */
/* //各ページフッター
/* -------------------------- */
	
.sns-icon{
	max-width: 30px;
	margin: 30% auto 0 auto;
	text-align: center;
}
	
/* -------------------------- */
/* ABOUT
/* -------------------------- */

/* About-Video */

        .about-video-container {
            width: 100%;
            height: 300px;
            position: relative;
            background-color: #000;
            overflow: hidden;
            cursor: pointer;
        }

/* About-Video */
	
.about-task{
	margin: 10% auto 0 auto;
	max-width: 100%;
}

.about-task-pic{
	margin: 0 1% 0 0;
}

.about-task-pic:last-of-type{
	margin: 0 0 0 0;
}
	
.about-tasktitle{
	font-family: "yu-gothic-pr6n", sans-serif;
	font-weight: 400;
    font-style: normal;
	margin: 10% 0 5% 0;
	font-size: 1.5rem;
	line-height: 1.5em;
	letter-spacing: 0.1em;
	font-display: swap;
}

.about-caption{
	font-family: "yu-gothic-pr6n", sans-serif;
	font-weight: 400;
    font-style: normal;
	font-size: 1.0rem;
	line-height: 1.5em;
	letter-spacing: 0.1em;
	font-display: swap;
	margin: 5% 0 5% 0;
}

/* -------------------------- */
/* //ABOUT
/* -------------------------- */
	
/* -------------------------- */
/* SAMPLE PAGE
/* -------------------------- */

/* sample-list-all内のflexを上書き */
.sample-list-all .flex-wr {
  grid-template-columns: repeat(2, 1fr);  /* 2列 */
}
	
/* -------------------------- */
/* //SAMPLE PAGE
/* -------------------------- */
	
/* -------------------------- */
/* CONTACT PAGE
/* -------------------------- */

#contactform {
	height: 2200px;
    width: 100%;
}
	
/* -------------------------- */
/* //CONTACT PAGE
/* -------------------------- */
	
/* -------------------------- */
/* COMPANY PAGE
/* -------------------------- */
	
	.message-img{
	margin: auto;
	width: 100%;
	}
	
	.company-table {
  	width: 100%;
  	border: none;
	}
	
	.company-table tr {
  	border-bottom: none;
  	height: 30px;
	}
	
   .company-table th {
 	width: 30%;
  	padding: 5px;
  	/*background-color: #f5f5f5;*/
  	font-weight: bold;
  	text-align: center;
  	color: #303030;
  	vertical-align: top;
}

/* -------------------------- */
/* COMPANY PAGE
/* -------------------------- */

}

/* ----------------------------------------------------------------小型スマホ 480px以下 追加調整 */

@media screen and (max-width: 480px){
	
	.globalNav li a{
    font-size: 24px;
    padding: 18px 20px;
  }

	header{
		padding: 6% 6%;
	}

	.shop-img img{
		width: 130px;
	}

	.page-title{
		font-size: 3.6rem;
	}

	.section-title{
		font-size: 4.6rem;
	}

	.section-subtitle{
		font-size: 1.5rem;
	}

	.section-subtitle-ja{
		font-size: 1.5rem;
	}

	.section-caption,
	.section-caption-en{
		font-size: 1.4rem;
		line-height: 1.6em;
	}

	.btn .questionbtn a{
		font-size: 1.5rem;
		padding: 13px 24px;
		min-height: 48px;
	}

	.block-3 img{
		height: 260px;
	}

	.about-img{
		height: 380px;
	}

	.company-table th,
	.company-table td{
		padding: 10px;
		font-size: 1.4rem;
	}

	#contactform {
		height: 2600px;
	}

}

/* ===================================
   アニメーション
=================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}