/* 全体地盤 */
body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  margin: 0 auto;
  letter-spacing: 0.03em;
}
h1 {
  font-size: clamp(28px, calc(3.5vw + 20px), 54px);
}
h2 {
  /*
  font-size: clamp(18px, calc(1.875vw + 10px), 30px);*/
  font-size: clamp(42px, calc(3vw + 6px), 48px);
  font-weight: 700;
}
h3 {
  font-size: clamp(18px, calc(1.4vw + 6px), 22px);
}
p {
  font-size: clamp(14px, calc(1.17vw + 4px), 18px);
  text-autospace: ideograph-alpha ideograph-numeric;
}
ol, ul { list-style: none; }
a {
  text-decoration: none;
  color: black;
  transition: all 0.2s ease;
}
a:hover { opacity: 0.6; }
img { width: 100%; height: auto; }
.pc-br { display: block; }
@media screen and (max-width: 768px) {
  .pc-br { display: none; }
}
.sp-br {
  display: none;
}
@media screen and (max-width: 500px) {
  .sp-br {
    display: block;
  }
}

/** 改行制御 */
p, h1, h2, h3, li {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}


/* ユーティリティクラス */
.eb { font-family: 'EB Garamond', serif; }
.mo { font-family: 'Mohave', sans-serif; font-weight: 700;}

/*マーカー*/
.marker-white {
  background: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
  line-height: 1.8;
  padding-left: 0.5em;
  text-indent: -1em;
}

/*ロゴホバー*/
.logo-box a:hover,
.logo-a__footer:hover {
	opacity: 1;
}



/*===== header =================*/
header {
  padding: 12px 50px;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: #fff;
  transition: background-color .22s ease, box-shadow .22s ease;
  box-shadow: 0px 0px 15px -7px #777777;
}

header.is-sticky {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.logo-text-box {
  font-weight: 600;
}

.logo-text-box p {
  font-size: clamp(12px, calc(1vw + 2px), 14px);
  letter-spacing: 0.02em;
}

.innner-grid__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.logo-box {
  width: 150px;
}

.flex-box__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ナビゲーション */
.header-nav {
  display: flex;
  align-items: center;
  gap: 54px;
}

.nav-list__header {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list__header a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
}

.nav-list__header li {
  padding-left: 16px;
}

.nav-list__header li a {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  transition: opacity 0.2s ease;
}

.nav-list__header li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.2s ease;
}

.nav-list__header .nav-item a::before {
  background-image: url(../img/nav-icon01.svg);
  width: 18px;
  height: 18px;
  top: 67%;
  left: -1%;
}

.nav-list__header .nav-scene a::before {
  background-image: url(../img/nav-icon02.svg);
  width: 13.5px;
  height: 13.5px;
  top: 55%;
}

.nav-list__header .nav-function a::before {
  background-image: url(../img/nav-icon03.svg);
  width: 13.8px;
  height: 13.8px;
}

.nav-list__header .nav-catalog a::before {
  background-image: url(../img/nav-icon04.svg);
  width: 15px;
  height: 15px;
  top: 70%;
}


/* ハンバーガーボタン */
.hamburger {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 1201;
  position: relative;
}
.hamburger,
.slide-menu,
.menu-overlay {
  display: none;
}

/* 1024px以下で表示 */
@media screen and (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  .slide-menu,
  .menu-overlay {
    display: block;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  transition: all 0.3s ease;
}

/* ×マークに変形 */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.hamburger.active span {
  background: #fff;
}
.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: rgba(20, 70, 139);
  z-index: 1199;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  padding-top: 80px;
}
.slide-menu.active {
  transform: translateX(0);
}
.slide-menu__inner {
  padding: 40px;
}
.logo-box__menu {
  margin-bottom: 60px;
  text-align: center;
}
.logo-box__menu img {
  max-width: 200px;
  height: auto;
}
.slide-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.slide-menu__list li {
  margin: 24px 0;
}
.slide-menu__list a {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.slide-menu__list a:hover {
  opacity: 0.7;
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1198;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
body.menu-open {
  overflow: hidden;
}
.nav-sp {
  display: none;
}
@media screen and (max-width: 1080px) {
  .nav-list__header {
    gap: 12px;
  }
  .nav-sp {
    display: block;
  }
}
@media screen and (max-width: 1024px) {
  .nav-list__header {
    display: none;
  }
}
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }
  .nav-list__header {
    display: none;
  }
  .header-nav {
    gap: 0;
  }
  .slide-menu {
    width: 100%;
    max-width: 100%;
  }
  .logo-box {
    width: 120px;
  }
  .innner-grid__header {
    grid-template-columns: 120px 1fr;
  }
}
@media screen and (max-width: 500px) {
  .logo-box {
      width: 80px;
  }
  .innner-grid__header {
      grid-template-columns: 80px 1fr;
      gap: 12px;
  }
  .logo-text-box p {
    font-size: 9px;
  }
}
/*===== ホバーアニメーション =================*/
/*画像が暗くなり、テキスト出現*/
.image_link{
  display:block;
  position:relative;
  text-decoration:none;
}
.image_link img{
  display:block;
  width:100%;
}
.image_link:before{
  content:"";
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  z-index:2;
  background:#000;
  opacity:0;
  transition:0.3s;
  border-radius: 20px;
}
.image_link:after{
  content:"VIEW MORE";
  display:block;
  color:#fff;
  line-height:48px;
  width:180px;
  border:solid 1px #fff;
  border-radius:5px;
  text-align:center;
  position:absolute;
  top:45%;
  left:50%;
  margin-top:-1em;
  margin-left:-90px;
  opacity:0;
  z-index:3;
  transition:0.3s;
  font-weight:bold;
  letter-spacing:0.2em;
}
.image_link:hover:before{
  opacity:0.5;
}
.image_link:hover:after{
  opacity:1;
  margin-top:-0.5em;
}
/* 768px以下でホバーアクション無効化 */
@media (max-width: 768px) {
  .image_link:hover:before{
    opacity:0;
  }
  .image_link:hover:after{
    opacity:0;
    margin-top:-1em;
  }
}

/*流れる*/
/* スライドホバーアニメーション */
a.slide-hover {
  background: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: inline-block; /* 幅に合わせて見栄えを調整 */
  padding: 0.5em 1.2em;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.slide-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #14468B;
  transform: scale(0, 1);
  transform-origin: left center;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
  opacity: 1;
}

a.slide-hover:hover {
  color: #fff;
  opacity: 1;
}

a.slide-hover:hover::after {
  transform: scale(1, 1);
}


/*=====businessセクション =================*/
.business {
    padding-top: 150px;
    text-align: center;
    margin-bottom: 60px;
}
.business .s-h2 {
  font-size: clamp(18px, calc(1.4vw + 6px), 22px);
  margin-bottom: 36px;
}
.grid__business {
  max-width: 1000px;
  padding-top: 30px;
  border-top: 1px solid #000;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: left;
}
.grid-box__business h3 {
  font-size: clamp(16px, calc(1.6vw + 8px), 18px);
  margin-bottom: 4px;
}
.grid-box__business p {
  font-size: 14px;
  margin-bottom: 6px;
}
.grid-box02__business {
  margin-bottom: 32px;
}
@media screen and (max-width: 1024px) {
  .business {
    padding-top: 72px;
  }
  .grid__business {
    width: 80%;
  }
  .grid-box__business p {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .business {
    display: none;
  }
}
/*=====contact section =================*/
.contact {
    text-align: center;
    background-color: #F4F1EA;
}
.contact a {
    display: block;
    padding-top: 50px;
    padding-bottom: 50px;
}
.contact h2 {
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}
.contact .s-h2 {
    letter-spacing: 0.08em;
    font-size: 16px;
}
@media screen and (max-width: 768px) {
  .contact {
    margin-top: 70px;
  }
}



/*===== footer =================*/
footer {
  padding-top: 60px;
  padding-bottom: 40px;
}
.flex-footer {
    display: flex;
    justify-content: center;
    gap: 90px;
    align-items: end;
    margin-bottom: 40px;
}
.nav-list__footer {
  display: flex;
  gap: 40px;
}
.nav-list__footer li a {
  font-size: clamp(18px, calc(1.6vw + 8px), 20px);
}
.flex-box__footer img {
  width: 120px;
}
.copy-right {
  text-align: center;
  font-size: 10px;
  color: #000;
}
.insta__footer a {
  padding-left: 16px;
  position: relative;
  display: inline-block;
}
.insta__footer a::before {
  content: "";
  background-image: url(../img/instagram.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 0.5px;
  left: -3px;
}
@media screen and (max-width: 768px) {
  .flex-footer,
  .nav-list__footer {
    flex-direction: column;
  }
  .flex-footer {
    align-items: center;
    gap: 40px;
  }
  .nav-list__footer {
    gap: 12px;
  }
  footer {
    text-align: center;
  }
}
@media screen and (max-width: 430px) {
  footer {
    padding-bottom: 30px;
  }
}

/*===== fixed-btn-contact ====================*/
.fixed-btn__contact {
  width: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #000;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  position: fixed;
  bottom: 30px;
  right: 20px;
}
.fixed-btn__contact h4 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.14em;
}
.fixed-btn__contact .s-h2 {
  font-size: 12px;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}
.fixed-btn__contact {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.fixed-btn__contact.fixed-show {
  opacity: 1;
  pointer-events: auto;
}
.fixed-btn__contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 500px) {
  .fixed-btn__contact h4 {
    writing-mode: vertical-rl;
    font-size: 16px;
  }
  .fixed-btn__contact {
    border-radius: 0;
    right: 0;
    width: auto;
    padding: 16px 10px 16px 9px;
    gap: 4px;
    align-items: flex-end;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
	min-width: 0;
    max-width: max-content;
  }
	.fixed-btn__contact.fixed-show {
    width: auto;
  }
  .fixed-btn__contact .s-h2 {
    font-weight: 500;
    padding-right: 2px;
    font-size: 11px;
  }
}

/*====== スクロール fade in アニメーション====================*/
.fuwa-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}
.fuwa-in.is-fuwa-show {
  opacity: 1;
  transform: translateY(0);
}


/*====== coming-soon page====================*/
.coming-soon {
  position: relative;
}
.or__cs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  z-index: 1000;
}
.cs-title {
  position: fixed;
  z-index: 1001;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 80px;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .cs-title {
    font-size: 56px;
    top: 45%;
  }
}
@media screen and (max-width: 400px) {
  .cs-title {
    font-size: 40px;
  }
}