@charset "UTF-8";


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

:root {
  /* ベースフォントサイズ（本文） */
  --fs-base: clamp(.8rem, 0.8rem + 1vw, 1.2rem);

  --fs-x-middle: clamp(1.2rem, 1rem + 1vw, 1.4rem);
  --fs-middle: clamp(1rem, 0.6rem + 0.5vw, 1.2rem);
  --fs-small: clamp(.9rem, 0.5rem + 0.5vw, .9rem);
  --fs-x-small: clamp(.8rem, 0.4rem + 0.5vw, .8rem);
  --fs-xx-small: clamp(.7rem, 0.3rem + 0.3vw, .6rem);
  --fs-xxx-small: clamp(.4rem, 0.2rem + 0.3vw, .5rem);
  --fs-logo: clamp(.6rem, 0.2rem + 0.3vw, .6rem);

  --fs-large: clamp(2rem, 1.5rem + 1vw, 2.5rem);
  --fs-x-large: clamp(3rem, 2rem + 1.5vw, 3rem);
  --fs-xx-large: clamp(3rem, 3rem + 2vw, 6rem);
  
  --fs-nav-ul-li: clamp(.7rem, 0.3rem + 0.5vw, .9rem);
  /* 見出しスケール */
  --fs-h1: clamp(.5rem, .5rem + .5vw, .5rem);
  --fs-h2: clamp(1.2rem, 1rem + 1vw, 1.2rem);
  --fs-title-middle: clamp(1.2rem, 0.8rem + 0.8vw, 1.2rem);

  /* 色設定 */
  --color-rgba-blue: 0, 100, 178;
  /* --color-rgba-white: 255, 255, 255; */
  --color-rgba-white: 255, 255, 255; 

  --slide-max-width-:1080px;
  --max-width-:1080px;
}

body, html {
  height: auto;
  margin: 0;
  overflow: visible;
  line-height: 1.8;
  font-size: var(--fs-base);

    width: 100%;
    max-width: 100vw;
    font-family:
      "Zen Old Mincho",         /* Google Fonts */
      "Yu Mincho",              /* Windows (英語表記) */
      "游明朝",                 /* macOS（日本語環境） */
      "YuMincho",               /* Windows旧環境 */
      "MS PMincho",             /* 古いWindows */
      "Noto Serif JP",          /* Google Fonts 明朝 */
      "serif";                  /* 最終フォールバック */

  }
.en {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.lora-heading {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
.fs-logo{
    font-size: var(--fs-logo);

}
.fs-middle{
  font-size: var(--fs-middle);
}
.fs-x-middle{
  font-size: var(--fs-x-middle);
}

.fs-small{
  font-size: var(--fs-small);
}

.fs-x-small{
  font-size: var(--fs-x-small);
}
.fs-xx-small{
  font-size: var(--fs-xx-small);
}
.fs-xxx-small{
  font-size: var(--fs-xxx-small);
}


.fs-large{
  font-size: var(--fs-large);
}

.fs-x-large{
  font-size: var(--fs-x-large);
}

.fs-xx-large{
  font-size: var(--fs-xx-large);
}

.fc-blue{
    color: rgba(var(--color-rgba-blue), 1);
}
.fc-white{
    color: rgba(var(--color-rgba-white), 1);
}
.bg-blue{
    background-color: rgba(var(--color-rgba-blue), 1);
}
.bg-white{
    background-color: rgba(var(--color-rgba-white), 1);
}
.bg-skyblue{
    background-color: rgba(var(--color-rgba-blue), .035);
}

/* @keyframes colorBreathe {
  0%, 100% {
  color: rgba(var(--color-rgba-white), 1);
  }
  50% {
  color: rgba(var(--color-rgba-blue), 1);
  }
}

.breathe-text {
  animation: colorBreathe 5s ease-in-out infinite;
} */
.container {
    position: relative;

    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.slide-max-width{
  max-width: var(--slide-max-width-);
  margin: 0 auto;
  width: calc(100% - 30vw);
}
.max-width{
  max-width: var(--max-width-);
  margin: 0 auto;
  width: 100%;
}


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

.space-evenly{
  justify-content:space-evenly;
}

.fs-vertical {
  writing-mode: vertical-rl;  /* または vertical-lr */
  text-orientation: mixed;   /* もしくは upright */
  white-space: normal;       /* 複数行を折り返す */
  /* line-height: 1.5em; */
  position: relative;
}

.en {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.wrap-english {
  line-break: anywhere; 
}

.flex.column.fs-vertical{
  display: flex;
align-items: inherit;
}
.flex.column.fs-vertical span:last-child{
  position: relative;
}

.flex.column.fs-vertical span.last-span{
      display: flex;
    flex-direction: row;
    align-items: center;
}


.fs-vertical .vline {
    position: relative;
    width: 1px;
    z-index: 0;
    margin-bottom: .5rem;
}
.bg-white .vline {
    background-color: rgba(var(--color-rgba-blue), 1);
}
.bg-blue .vline {
    background-color: rgba(var(--color-rgba-white), 1);
}

.flex.column.fs-vertical span{
  transform: translateY(-0.5em); /* 必要に応じて微調整 */
}
.flex.column.fs-vertical span:has(.punct){
  transform: translateY(0.15em); /* 必要に応じて微調整 */
}

/* 各セクションの基本構造 */
.content-layer {
  position: relative;
  z-index: 1;
  padding: 0;
  /* overflow: hidden; */
   min-height: 100vh; /* ← スクロール検知の最低限確保 */
   height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
   transform: translateZ(0); /* GPU最適化のためのレイヤー分離 */
}

/* オーバーレイのぼかし（ちらつき修正版） */
.overlay-blur {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  transition: backdrop-filter 0.2s ease; /* 0.3s→0.2sに短縮 */
  pointer-events: none;
  will-change: backdrop-filter; /* GPU最適化 */
  transform: translateZ(0); /* 新しいレイヤーを作成 */
}

/* 装飾テキスト：最前面（ちらつき修正版） */
.decorative-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: calc(100% - 1rem);
  pointer-events: none;
  padding: 1rem 0 0;
  transform: translateZ(0); /* 新しいレイヤーを作成 */
}

section.hero .decorative-text > div{
backdrop-filter: blur(.03rem);
    transform: translateY(0);

    /* line-height: 1em; */
}
section.hero .decorative-text > div:first-child{
    padding-left: .25rem;
}
.decorative-text .lora-heading{
  position: relative;
}
.decorative-text .lora-heading::before{
  position: absolute;
  content: '';
  bottom: 0;
  right:0;
  z-index: 1;
  width: 1rem;
  height: 2px;

}
.decorative-text .lora-heading::after{
  position: absolute;
  content: 'with SEIBU TRADING TOKYO';
  top: 0;
  right: 0;
  z-index: 1;
  font-size: var(--fs-xxx-small);


}
.bg-blue .decorative-text .lora-heading::before{
    background-color: rgba(var(--color-rgba-white), 1);
    color: rgba(var(--color-rgba-blue), 1);
}
.bg-white .decorative-text .lora-heading::before{
    background-color: rgba(var(--color-rgba-blue), 1);
    color: rgba(var(--color-rgba-white), 1);
}
/* section.hero.bg-white .decorative-text .lora-heading::before{
    background-color: rgba(var(--color-rgba-white), 1);
} */
.decorative-typo-area{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  padding: 1rem 0 0;

}
.right-top,
.right-bottom,
.left-top,
.left-bottom
{
    position: absolute;
    z-index: 1;
    pointer-events: none;
    font-size: var(--fs-small);
    padding: 2rem;
    gap: 2rem;
    width: 100%;
    max-width: 15vw;
    align-items: center;
    visibility: visible;
    opacity: 1;
    transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
    will-change: transform, opacity, filter; /* GPU最適化 */
}
.right-top{
  top: 4rem;
  right: 0;
  transform: translateY(-1rem);

}
.left-top{
  top: 4rem;
  left: 0;
  transform: translateY(-1rem);
}
.right-bottom{
  bottom:0;
  right: 0;
  transform: translateY(-2rem);
    opacity: .5;
}

.left-bottom{
  bottom:0;
  left: 0;
  transform: translateY(-2rem);
      opacity: .5;
}


.blur-cleared .decorative-text .lora-heading {
  visibility: hidden;
  opacity: 0;
   transform: translateY(-2rem);
   transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}

.hero.blur-cleared .decorative-text .lora-heading,
.decorative-text .lora-heading {
  visibility: visible;
  opacity: 1;
      transform: translateY(0);
            transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
            will-change: visibility, opacity, transform; /* GPU最適化 */
}

.content-area .lora-heading{
  white-space: nowrap;
  position: relative;
      visibility: hidden;
     opacity: 0;
      transform: translateX(-2rem);
          position: relative;
                      transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
                      will-change: visibility, opacity, transform; /* GPU最適化 */
}
.content-area .lora-heading.active,
.blur-cleared .content-area .lora-heading{
    visibility: visible;
     opacity: 1;
      transform: translateX(0);
          position: relative;
          transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}

.content-area .lora-heading::after{
  content: '';
  display: inline-block;
  height: 1px;
  transition: all 0.3s ease; /* 0.4s→0.3sに短縮 */
  flex-grow: 1;
  width: 0;
  margin-left: 1rem;
  transform: translateY(-0.25em); /* 垂直位置調整 */
  will-change: width; /* GPU最適化 */
}
.content-area .lora-heading.active::after,
.blur-cleared .content-area .lora-heading::after{
  content: '';
  display: inline-block;
  height: 1px;
  transition: all 0.3s ease; /* 0.4s→0.3sに短縮 */
  flex-grow: 1;
  width: 100%;
  margin-left: 1rem;
  transform: translateY(-0.25em); /* 垂直位置調整 */
}

.blur-cleared .decorative-typo-area{
  z-index: 3;
}

.bg-white .content-area .lora-heading::after{
  background-color: rgba(var(--color-rgba-blue), 1);
}
.bg-blue .content-area .lora-heading::after{
  background-color: rgba(var(--color-rgba-white), 1);
}


.blur-cleared .right-top{
  transform: translateY(1rem);
      transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}
.blur-cleared .left-top{
  transform: translateY(1rem);
      transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}

.bottom-blur-cleared .right-bottom{
  opacity: 1;
  transform: translateY(0);
      transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}
.bottom-blur-cleared .left-bottom{
    opacity: 1;
  transform: translateY(0);
      transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}

.content-area-main{
  gap: 2rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.content.pad{
  padding: 4rem 0 4rem;
}
section{
     padding: 0 1rem;
}
footer section{
  padding: 0;
}
.last-section{
  padding-bottom: 9rem !important;
}
section.no-layer.content-layer.pad{
    padding: 6rem 1rem 6rem;
}

section.hero{
    width:100%;
    padding: 0 1rem 0;
    overflow: visible;
    height: auto;
    position: relative;
    z-index: 4;
  }
  section.swiper-border-bottom{
    width:100%;
    padding: 0;
    overflow: visible;
    height: auto;
    position: relative;
    z-index: 4;
  }
  section.hero::after{
    content: '';
    width: 50%;
    max-width: 100%;
    height: .4rem;
    bottom: -.4rem;
    transform: translateY(-50%);
    background-color: rgba(var(--color-rgba-blue), 1);
    position: absolute;
    z-index: 1;
  }
  section.swiper-border-bottom::after{
    content: '';
    width: 50%;
    max-width: 100%;
    height: .4rem;
    bottom: .3rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(var(--color-rgba-blue), 1);
    position: absolute;
    z-index: 1;
  }
section.hero div.hero-image-container{
  width: 100%;
  height: auto;
}
section.hero div.hero-image-container img{
  width: 100%;
  height: 100vh;
  object-fit: cover;
      display: block;
    overflow: hidden;
    pointer-events: none;
}
section.hero .hero-mark{
  position: relative;
  padding: 2rem 0;

}
section.swiper-layer .hero-mark{
  position: relative;
  z-index: 1;
  bottom: 0;

}


.hero-mark img{
    width: 50px;
    max-width: 100%;
    height: auto;
}
.area-image img{
    width: 200px;
    max-width: 100%;
    height: auto;
}

footer .hero-mark{
  padding: 1rem;
}
.seibushinkin-footer-mark{
    width: 400px;
    max-width: 100%;
    gap: 1rem;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .2)
}
.seibushinkin-footer-mark > div.flex{
  gap: 1rem;
}
.seibushinkin-footer-mark{
  text-decoration: none;
}

.seibushinkin-footer-mark .shinkin-logo{
    padding: .5rem;
    background-color: #fff;
}

.seibushinkin-footer-mark .shinkin-logo img {
    width: 120px;
    max-width: 100%;
    height: auto;
    display: block;

}
footer .site-header{
  padding: 0 0 2rem;
}

/* .content-area {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}
.content-area div.content {
    position: relative;
        width:100%;
    height: auto;
    min-height: 100vh;
} */


section.regional{
  overflow: hidden;
}

.swiper-layer{
  position: relative;
}

.swiper-left-top{
    position: absolute;
    max-width: 60vw;
    width: calc(100% - 8rem);
    left: 0;
    padding: 8rem 8rem 0;
    
}

.swiper-right-top{
position: absolute;
    max-width: 30vw;
    width: 100%;
    padding-top: 10rem;
    top: 0;
    right: 0;
    z-index: 3;
}

/* .blur-cleared クラスはセクション制御用（overlay-blurへの影響なし） */
.content-layer.blur-cleared {
  /* 例：本文の色を変更する場合など */
  /* color: black; */
}

.link-block {
  position: relative;
  padding: 2rem 0 0;
  display: flex;
justify-content: center;
  align-items: center;
}
.link-block a{
  position: relative;

    transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
    text-decoration: none;

    will-change: transform; /* GPU最適化 */
    display: flex;
    flex-direction: column;
  text-align: center;

}
.link-block a span{
  position: relative;
  padding: 0 2rem;
}
.link-block a span:nth-of-type(2){
padding: .5rem 0 0;
}
footer .link-block {
  justify-content: flex-start;
}
footer .link-block a span{
  position: relative;
  padding: 0 .5rem;
}
.link-block.fc-white a{
  color: rgba(var(--color-rgba-white), 1);
}
.link-block.fc-blue a{
  color: rgba(var(--color-rgba-blue), 1);
}

.link-block a:hover{
      transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */

}

.link-block a span:first-child::before{
  content: '';
  position: absolute;
  z-index: 1;

  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;

}
.link-block a span:first-child::after{
  content: '';
  position: absolute;
  z-index: 1;

  bottom: 0;
  left: -4rem;
  width: 2rem;
  height: 2px;
    transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
    will-change: left, width; /* GPU最適化 */
}
.link-block a:hover span:first-child::after{
  position: absolute;
  z-index: 1;

  bottom: 0;
  left: 100%;
  width:4rem;
  height: 2px;
  transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}

.link-block.fc-blue a span:first-child::before{
  background-color: rgba(var(--color-rgba-blue), 1);
}
.link-block.fc-blue a span:first-child::after{
    background-color: rgba(var(--color-rgba-white), 0);
}
.link-block.fc-blue a:hover span:first-child::after{
    background-color: rgba(var(--color-rgba-white), 1);
}

.link-block.fc-white a span:first-child::before{
  background-color: rgba(var(--color-rgba-white), 1);
}
.link-block.fc-white a span:first-child::after{
    background-color: rgba(var(--color-rgba-blue), 0);
}
.link-block.fc-white a:hover span:first-child::after{
    background-color: rgba(var(--color-rgba-blue), 1);
}

.link-block.pad.sp{
  padding: 6rem 0 0;
  display: none;
}

/* ヘッダーのトランジション最適化 */
.header {
  transition: padding-top 0.2s ease, top 0.2s ease, background-color 0.2s ease; /* 0.3s→0.2sに短縮 */
  will-change: padding-top, top, background-color; /* GPU最適化 */
}


.header {

    position: sticky;
    z-index: 99;
    width: 100%;
    top: 2.2rem;
    left: 0;
    color: rgba(var(--color-rgba-white), 1); 
    display: flex;
    align-items: center;
        padding: calc(4rem - 30px) 0 0;
}


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: var(--max-width-);
  margin: 0 auto; */
  padding: 0 2rem;
}

.header.scrolled{
  padding: 0;
  top: 0;
}
.header.scrolled .hamburger{
  position: relative;
  top: 0;
  left: 0;
}

.header.scrolled .site-header{
  padding: .5rem 0;
}

.header-nav-container{
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header:hover,
.header.scrolled {
  background-color: rgba(var(--color-rgba-white), .95); 
  transition: background-color 0.2s; /* 0.3s→0.2sに短縮 */

  color: rgba(var(--color-rgba-blue), 1); 

}





.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
  padding: 10px;    
      position: fixed;
    top: 1rem;
    right: 1rem;
    will-change: transform; /* GPU最適化 */
}

.hamburger span {
  display: block;
  height: 1px;
  background: rgba(var(--color-rgba-blue), 1);
  border-radius: 2px;
  transition: all 0.2s ease; /* 0.3s→0.2sに短縮 */
  will-change: transform, opacity; /* GPU最適化 */
}
header:hover .hamburger span,
header.scrolled .hamburger span {
  background: rgba(var(--color-rgba-blue), 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(0px) translateX(0px) rotate(45deg);
}
.hamburger span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) translateX(0px) rotate(-45deg);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;

  padding: 0;
  margin: 0;

}
.nav ul li{
font-size: var(--fs-nav-ul-li);
font-weight: 700;
  color: rgba(var(--color-rgba-blue), 1);
}

.nav ul li a{
  color: rgba(var(--color-rgba-blue), 1);
  text-decoration: none;
}
.nav-list li {
  position: relative;
  cursor: pointer;

}
.nav-list li::before{
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 0;
  height: 2px;
  background-color: rgba(var(--color-rgba-blue), 1);
  transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
  will-change: width; /* GPU最適化 */
}
.nav-list li:hover::before{
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 2px;
  background-color: rgba(var(--color-rgba-blue), 1);
    transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}
.nav-list li.active::before{
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 2px;
  background-color: rgba(var(--color-rgba-blue), 1);
    transition: all 0.15s ease; /* 0.2s→0.15sに短縮 */
}
.nav-list > li div.nav-title{
      padding: .75rem;
      display: flex;
      flex-direction: column;
      gap: 0;
}

.nav-list > li.active div.nav-title span:nth-of-type(1){
     font-size: var(--fs-xxx-small);

}

.nav-list > li.active div.nav-title span:nth-of-type(2){
     font-size: var(--fs-x-small);

}

.nav-list > li span {
    text-align: center;
      display: block;
}
.nav-list > li span.en {
  font-weight: 700;
}

.nav-list li .sub-nav {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);

  position: fixed;
  background-color: rgba(var(--color-rgba-white), .8);
  padding: 0;
  z-index: 999;
  box-sizing: border-box;
  pointer-events: none;
  flex-direction: column;
  color: rgba(var(--color-rgba-blue), 1);

  gap: .5rem;
    z-index: -1;
    will-change: opacity, visibility, transform; /* GPU最適化 */
  
}


.nav-list li:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 0;
    position: absolute;
    width: calc(100% + 4rem);
    left: -50%;
    gap: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; /* 0.3s→0.2sに短縮 */
}

.nav.show .nav-list li:hover .sub-nav {
      left: inherit;
      width: 100%;
}
.nav.show .nav-list li:hover::before,
.nav.show .nav-list li.active::before{
  content: none;
}

.nav.show .nav-list > li.active div.nav-title span:nth-of-type(2),
.nav.show .nav-list > li div.nav-title span:nth-of-type(2),
.nav.show .nav-list > li div.nav-title span:nth-of-type(1),
.nav.show .nav-list > li.active div.nav-title span:nth-of-type(1) {

    transition: inherit;
    text-align: left;
    padding: 0;
}

.nav.show .nav-list > li div.nav-title span:nth-of-type(1),
.nav.show .nav-list > li.active div.nav-title span:nth-of-type(1) {
    font-size: var(--fs-xx-small);
}
.nav.show .nav-list > li.active div.nav-title span:nth-of-type(2),
.nav.show .nav-list > li div.nav-title span:nth-of-type(2){
    font-size: var(--fs-small);
}


.nav.show .nav-list > li::before{
  content: none;
}
.nav.show .nav-list > li div.nav-title{
  position: relative;
}
.nav.show .nav-list > li div.nav-title::before{
  position: absolute;
  content: '';
  z-index: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: rgba(var(--color-rgba-blue), 1);
}
.nav.show .nav-list li .sub-nav li a{
  padding: .5rem 0;
}
.nav.show .nav ul,
.nav.show .nav-list li .sub-nav{
  gap: 0;
}

.nav.show .nav-list li .sub-nav {
  display: flex ;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  transform: none !important;
  pointer-events: auto !important;
  padding: 0.5rem 1rem;
  background-color: transparent !important;
  z-index: 0;
      box-shadow: none;
      top: inherit !important;

}
.nav-list li .sub-nav li {

}
.nav-list li .sub-nav li a{
  width: 100%;
  display: block;
  padding: 1rem 1rem;
}
.nav.show .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    justify-content: flex-start;
}

.nav.show .nav-list li {
display: flex;
    width: calc(20vw - 4rem);
    flex-direction: column;
}

.nav.show .site-header{

    display: flex;
    justify-content: center;
}
.nav.show .nav-list > li span{
    padding: .75rem 0;
    display: block;
    font-size: var(--fs-middle);
}



header:hover .nav ul li,
header:hover .nav ul li a,
header.scrolled .nav ul li,
header.scrolled .nav ul li a{
  color: rgba(var(--color-rgba-blue), 1);
  text-decoration: none;
}


.nav.show{
    max-width: 100%;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 2rem;
  position: fixed;
  inset: 0;
  background: rgba(var(--color-rgba-white), .8);
  justify-content: center;
  align-items: center;
  z-index: 99;
  height: 100vh;
  backdrop-filter: blur(5px);
}


.site-header a{
display: flex;
    align-items: flex-start;
    gap: .1rem;
    text-decoration: none;
    flex-direction: column;
}
header .site-header a{
  color: rgba(var(--color-rgba-blue), 1);
}
header:hover .site-header a,
header.scrolled .site-header a{
  color: rgba(var(--color-rgba-blue), 1);

}


.site-logo {
    max-width: 100%;
    height: auto;
    width: auto;
    position: relative;
}
.hero-logo{
    align-items: center;
    padding-right: 1rem;
}
.hero-logo img{
  max-width: 3rem;
  height: auto;
  width: 100%;
}
.site-title {

}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; 
  width: 100%;
}


.nav.show + .hamburger {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}
.nav .nav-image{
  display: none;
}
.nav.show .nav-image{
  display: none;
      /* width: inherit;
    height: 10vh; */
}

.swiper.products-swiper{
    max-width: 100%;
    width: 100vw;
    overflow: hidden;
}

div.footer-image-container{
  width: 100%;
  height: auto;
  position: relative;
}
div.footer-image-container img{
  width: 100%;
  min-height: 15vh;
  object-fit: cover;
      display: block;
    overflow: hidden;
    pointer-events: none;
}

.container:has(.page-top-btn) {
    display: flex;
    justify-content: flex-end;
}
.page-top-btn {
  width: 4rem;
  cursor: pointer;

  position: fixed;
  z-index: 0;
  bottom: 1rem;
  right: 1rem;
  z-index: 99;



}
.page-top-btn img{

filter: drop-shadow(0px 2px 3px rgba(255, 255, 255, 1)); 
}
.page-top-btn {
  opacity: 0;
  transition: opacity 0.2s ease; /* 0.3s→0.2sに短縮 */
  will-change: opacity; /* GPU最適化 */
}

.page-top-btn.scrolled {
  opacity: 1;
}

footer .content{
    padding: 0;
    min-height: 70vh;
    height: auto;
    align-items: center;
    position: relative;
}
footer .content::before{
    content: '';
    height: calc(100% - 8rem);
    width: 1px;
    background-color: rgba(var(--color-rgba-white), 1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
footer .content > div{
  flex: 5;
  padding: 2rem;
}

footer .tel-fax{
  gap: 0;
  padding: 1rem 0 0;
}
footer .tel-fax a{
    color: rgba(var(--color-rgba-white), 1);
    text-decoration: none;
}
footer .tel-fax a:hover{
    text-decoration: underline;
}

footer .site-header a{
    color: rgba(var(--color-rgba-white), 1);
}

footer .right-top {
    top: inherit;
    right: 3rem;
    bottom: -15vh;
}

/* スムーススクロール中のちらつき防止 */
html {
  scroll-behavior: smooth;
}
section.under.hero{
  align-items: flex-end;
  min-height: auto;
}
section.under.hero .decorative-typo-area,
section.under.hero .decorative-text{
      height: 100%;
      justify-content: center;
}
section.under.hero div.hero-image-container img{
  height: 50vh;
}
section.under.hero .hero-mark {
  position: absolute;
  z-index: 1;
    bottom: 1rem;
}

.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.image-container {
    width: 100%;
    height: auto;
}


.outline-table.flex.column {
   display: flex;
   flex-wrap: wrap;

}

.outline-table.flex.column > div {
   width: 100%;
   display: flex;
   padding: .25rem .5rem;
    border-bottom: 1px solid;
}

.outline-table.flex.column > div > span:first-child {
   flex: 0 0 25%;
   font-weight: bold;
   text-align: left;
}

.outline-table.flex.column > div > span:last-child {
   flex: 0 0 75%;
   text-align: left;
}

.under-title-block {
  position: relative;
  padding: 0 0 2rem;
  display: flex;
justify-content: center;
  align-items: center;
}
.under-title-block{
 
    display: flex;
    flex-direction: column;


}
.under-title-block span{
  position: relative;
  padding: 0 2rem;
}
.under-title-block span:nth-of-type(2){
padding: .25rem 0 0;
}
footer .under-title-block {
  justify-content: flex-start;
}
footer .under-title-block span{
  position: relative;
  padding: 0 .5rem;
}
.under-title-block.fc-white{
  color: rgba(var(--color-rgba-white), 1);
}
.under-title-block.fc-blue{
  color: rgba(var(--color-rgba-blue), 1);
}
.under-title-block.fc-white span:first-child::before{
  background-color: rgba(var(--color-rgba-white), 1);
}
.under-title-block.fc-blue span:first-child::before{
  background-color: rgba(var(--color-rgba-blue), 1);
}


.under-title-block span:first-child::before{
  content: '';
  position: absolute;
  z-index: 1;

  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;

}
.no-layer.content-layer{
    min-height: auto;
  align-items: center;
}


.mission {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mission > div {
  display: grid;
  grid-template-rows: auto minmax(5rem, auto) 1fr;
}
.mission.index > div {
  grid-template-rows: auto minmax(0, auto) 1fr;
}
.mission h3 {
    text-align: left;
}

.mission p {
  margin-top: 0;
    text-align: left;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.strengths > div {
  display: grid;
  grid-template-rows: auto minmax(3rem, auto) 1fr;
}

.strengths h3 {
    text-align: left;
}

.strengths p {
  margin-top: 0;
  text-align: left;
}

.service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service > div {
  display: grid;
  grid-template-rows: auto minmax(3rem, auto) 1fr;
}

.service h3 {
    text-align: left;
}

.service p {
  margin-top: 0;
    text-align: left;
}

.consultation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.consultation > div {
  display: grid;
  grid-template-rows: auto minmax(3rem, auto) 1fr;
}

.consultation h3 {
    text-align: left;
    padding: 1rem;
}

.consultation p {
  margin-top: 0;
    text-align: left;
    padding: 1rem;
}

.image-container img{
  width: 100%;
  height: auto;
  overflow: hidden;
  object-fit: cover;
}



.nav.show{
    background: rgba(var(--color-rgba-blue), .9);

}
header .nav.show ul li a,
header .nav.show ul li,
.nav.show .site-header a,
 header:hover .nav.show ul li,  header:hover .nav.show ul li a,  header.scrolled .nav.show ul li,  header.scrolled .nav.show ul li a{
    color:rgba(var(--color-rgba-white), 1) ;
 }

.nav.show .nav-list > li div.nav-title::before{
  background: rgba(var(--color-rgba-white), 1);
}
.header:has(.show) .hamburger span{
  background: rgba(var(--color-rgba-white), 1);
}

.map-responsive {
    position: relative;
    width: 100%;
    height: 400px;
}
.map-responsive iframe {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 0;
}
.index-news-list{
    position: absolute;
    backdrop-filter: none;
    transform: none;
    width: auto;
    height: auto;
    pointer-events: all;

    z-index: 1;
    bottom: 2rem;
    width: calc(100% - 2rem);
    padding: 0 2rem;
    overflow: hidden;
}
.index-news-swiper{
      background-color: rgba(var(--color-rgba-blue), .05);
    backdrop-filter: blur(1px);
    position: relative;
    border-bottom: 1px solid rgba(var(--color-rgba-white), 1);
    padding: 0 0 .25rem;
    transition: all .2s;
}
.index-news-swiper:hover{
    border-bottom: 1px solid rgba(var(--color-rgba-blue), 1);
          background-color: rgba(var(--color-rgba-white), .1);
}
.index-news-list ul.news-list{
position: relative;
    width: 400px;
    max-width: 100%;

}

.index-news-list ul.news-list li{
   width: calc(100% - .75rem);    
}
.index-news-list ul.news-list li a{
    font-size: var(--fs-xx-small);
    color: rgba(var(--color-rgba-white), 1);
    display: flex;
    gap: .5rem;
        text-decoration: none;
            padding: 0 .25rem;
         transition: all .2s;
}
.index-news-list ul.news-list li a:hover{

    color: rgba(var(--color-rgba-blue), 1);

     
}
.index-news-list ul.news-list li a .detail-block{
  white-space: nowrap;          /* 1行に制限 */
  overflow: hidden;             /* はみ出した部分を隠す */
  text-overflow: ellipsis;      /* はみ出しに「…」を表示 */


}
.index-news-list ul.news-list li .summary,
.index-news-list ul.news-list li .image{
  display: none;
}

.contact-box{



}
.contact-box.address{
  text-align: center;
  padding: 5em 3em;
    }


    .contact-box address {
      font-size:2rem;
      display: inline-block;
      /* color: rgba(var(--color-rgba-blue), 1); */
      font-weight: bold;
      line-height: 2em;
 
  }


      
  .contact-box.address span{
    font-size:0.6em;
  }


  .contact-box.form ul li{
    display: inline-block;
    margin-right:2em;
    margin-bottom:1em;
  }
  

  
  .contact-box.form label{
    cursor: pointer;
  }
  
  .contact-box.form dd,.contact-box.form p{
  

    font-weight: normal;
  
  }

  .contact-box.form dl{
    display: flex;
    flex-wrap: wrap;
    font-size: 1.1rem;
    
  }
  
  .contact-box.form dt{
    margin: 0 0 2rem;
    font-weight: bold;
    width:29%;
  }

  .contact-box.form dd{
    width:69%;
    margin:0 0 2rem;
  
  }
  
  
  .contact-box.form p{
  
    margin:0 0 1rem;
    line-height: 2em;
   padding:0 1rem;
  }
  
  .contact-box.form{

  }
  
  span.notice{
    display: none;
  }
  span.required{
    font-weight: bold;
    color: rgba(var(--color-rgba-blue), 1);
  }
  .notice-box{
    color: rgba(var(--color-rgba-blue), 1);
    margin: 1em auto 2em;
    padding: 0 2em;
    font-size: 1rem;
    max-width: 600px;
    width: 100%;
    font-weight: bold;
    line-height: 2em;
  }
  
  .notice-box span{
    display: block;
  }
  
  .text-success{
    background-color: rgba(252, 248, 227,0.4);
    padding: 1em;
    font-weight: bold;
  }
  

  
  .contact-box.form input[type="radio"],.contact-box.form input[type="checkbox"] {
    padding: 0.3em;
    margin-right: 0.5em;
  }
  .contact-box.form input[type="text"] {
    padding: 0.5em;
    width: 100%;
  }
  
  .contact-box.form input[type="submit"] {
    cursor: pointer;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 3em;
    line-height: 2em;
    border-radius: 4px;
    padding: 0.3em 2em 0.4em;
    color: #fff;
    background-color: rgba(var(--color-rgba-blue), 1);
    border: 1px solid rgba(var(--color-rgba-blue), 1);
    transition: all .2s;
  }
  
  .contact-box.form input[type="submit"]:hover {
    display: block;
    text-align: center;
    max-width: 340px;
    margin: 0 auto 3em;
    line-height: 2em;
    padding: 0.3em 2em 0.4em;
    color: rgba(var(--color-rgba-blue), 1);
    background-color: #fff;
    border: 1px solid rgba(var(--color-rgba-blue), 1);
    transition: all .2s;
  }
  
  .contact-box.form textarea {
    padding: 0.5em;
    width: 100%;
    height: 100%;
    min-height: 100px;
  }
  
  .contact-box.form textarea,form#mail_form input[type="text"], form#mail_form input[type="tel"], form#mail_form input[type="email"] {
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #fafafa;
    padding: 0.5em;
  }
    .contact-box.form textarea::placeholder,form#mail_form input[type="text"]::placeholder, form#mail_form input[type="tel"]::placeholder, form#mail_form input[type="email"]::placeholder {
      color: #ddd;
    }
  p.notice_text{
    /* font-weight: bold; */
  }
.submit-btn{
    cursor: pointer;
    position: relative;
    display: block;
    margin: 2em auto;
    width: 90%;
    max-width: 480px;
    border: 2px solid rgba(var(--color-rgba-blue), 1);
    padding: 0.25rem 1rem;
    text-align: center;
    color: rgba(var(--color-rgba-blue), 1);
    vertical-align: middle;
    font-size: 1.2em;
    box-shadow: 0px 0px 10px 4px rgba(var(--color-rgba-blue), .2);
    font-weight: 600;
    background-color: rgba(var(--color-rgba-white), 1);
    transition: all .2s;
        font-size: var(--fs--middle);
}



.submit-btn:hover{

  box-shadow:none;
background-color: rgba(var(--color-rgba-blue), 1);
color:rgba(255,255,255,1);

-webkit-transition: all .2s fade-in;
  -o-transition: all .2s fade-in;
  transition: all .2s fade-in;

}

.submit-btn:hover::after{

 animation: horizon 1s fade-in infinite alternate;
-moz-animation: horizon 1s fade-in infinite alternate;
-webkit-animation: horizon 1s fade-in infinite alternate;
}

.inq-tel-fax-container{
  gap: 2rem;
}
.inq-tel-fax-container > div{
  gap: 0;
  align-items: baseline;
}
#privacy-policy h3.fs-middle{
   font-size: var(--fs-base); 
   font-weight: bold;
    text-align: left;
}
#privacy-policy p{
  font-size: var(--fs-small);
  text-align: left;
}
#privacy-policy p.fs-middle{
   font-size: var(--fs-middle); 
   font-weight: bold;
    text-align: left;
}

#privacy-policy ul li{
  font-size: var(--fs-small);
  text-align: left;
  margin-left: 2rem;
  list-style: none;
  margin-bottom: 1rem;
}

.policy-required a{
align-items: baseline;
    padding: 1rem 0 2rem;
}
.policy-required label{
    background-color: rgba(var(--color-rgba-blue), .035);
    padding: .5rem 2rem;

}

.pc{
  display: block;
}

@media screen and (max-width: 1079px) {
/* .hamburger{
      right: calc(50px + 1rem);
} */


  .pc{
    display: none;
  }

  nav{
    display: none;
  }
  .nav.show{
        height: auto;
        gap: 0;
        justify-content: flex-start;
        align-items: flex-start;
        padding: calc(2rem + 30px) 0 2rem;
        overflow: auto;
  }
  .nav.show .nav-list{
    flex-direction: column;
            width: 100%;
            padding: 0 1rem;
            gap: 0;
  }
  .nav.show .nav-list li{
    width: 100%;
  }
.nav.show .nav-list li .sub-nav li a{
  font-size: var(--fs-middle);
}

  .nav.show .site-header{
    width: 100%;
  }

.header{
  padding: 0;
        top: inherit;
        left: inherit;
}
.header-inner{
  position: relative;
      padding: calc(30vh - 30px) 2rem 2rem;

}
.header.scrolled{
 padding: .5rem 1rem 0;
}
.header.scrolled .header-inner{
  position: relative;
  padding: 0;
}
.decorative-typo-area{
  display: none;
}
.hero.blur-cleared .decorative-text .lora-heading, .decorative-text .lora-heading{
  padding: 2rem;
  line-height: 1.5em;
}
.decorative-text .lora-heading::before,
.decorative-text .lora-heading::after{
  content: none;
}
section.under.hero div.hero-image-container img{
min-height: 70vh;
height: 100%;
}
section.hero div.hero-image-container img{
min-height: 100vh;
height: 100%;
}


.slide-max-width{
max-width: 100%;
width: 100%;
padding: 0;
display: block;
}
.overlay-blur{
  display: none;

}
.overlay-blur{
  display: none;

}


.content-area .lora-heading,
.blur-cleared .decorative-text .lora-heading,
.content-area .lora-heading.active,
 .blur-cleared .content-area .lora-heading,
.decorative-text .lora-heading {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
        white-space: inherit;
}

.content-area .lora-heading.active::after, 
.blur-cleared .content-area .lora-heading::after{
  content: none;
}
section:not(.hero) .decorative-text{
  display: none;
}
.content-layer{
  min-height: auto;
          align-items: inherit;
                  padding: 2rem 1rem 2rem;
}
.content-area-main{
  text-align: left;
}
footer .content{
      min-height: auto;
    flex-direction: column;
}
footer .content::before {
        height: 1px;
        width: calc(100% - 2rem);
}

div.footer-image-container img{
  height: 40vh;
}


section.regional {
    overflow: hidden;
    flex-direction: column-reverse;
}

.swiper-left-top {
    position: relative;
    max-width: 100%;
    width: 100%;
    padding: 0;
}
.swiper-right-top {
    position: relative;
    max-width: 100%;
    width: 100%;
    padding-top: 2rem;
    top: inherit;
    right: inherit;
    z-index: 3;
}

.swiper-slide,
.swiper-wrapper{
  height: auto;
  min-height: auto;
}

.swiper-slide img{
  min-height: 35vh;
  width: 100%;
  height: auto;
}
section.no-layer.content-layer.pad{
  padding: 2rem 1rem;
}
.last-section{
  padding-bottom:4rem !important;
}

.mission,
.consultation,
.service,
.strengths{
  display: block;
}
.mission > div,
.service > div,
.strengths > div{
  display: block;
  padding: 0 0 2rem;
}

.consultation > div{
  margin:  0 0 2rem;
}

.mission h3,
.service h3,
.strengths h3,
.under-title-bloc{
  padding: 0 0 1rem;
}
.consultation h3{
    padding: 1rem 1rem 0;
}

.under-title-block span{
  padding: 0;
}
.content-area-main{
  gap: 1rem;
}

.content-area-main p.en{
  display: none;
}
.page-top-btn{
  width: 3rem;
}

.content.pad{
  padding: 2rem 0;
}

section.regional .swiper-wrapper{
  height: 50vh;
}

section.regional.content-layer{
  padding: 2rem 0;
}

section.regional.content-layer .swiper-left-top{
  padding: 2rem 1rem;
}


.swiper-slide{
  margin: 0 !important;
}

.area-image{
  text-align: center;
}
section#section1 .lora-heading,
section#about-us .lora-heading {
 display: none;
}
.seibushinkin-footer-mark img{

}
.hero-mark img{
    width: 2rem;
  }
.seibushinkin-footer-mark{
  width: 100%;
}
footer .content > div:last-child{
 padding: 0 1rem 2rem;
}
footer .content::before{
  content: none;
}
.inq-tel-fax-container{
  gap: 2rem;
  flex-direction: column;
}
.inq-tel-fax-container > div{
justify-content: center;
}
.index-news-swiper,
.index-news-list ul.news-list{
        width: 100%;
}
.nav.show .nav-list > li span.en{
  display: none;
}
#privacy-policy p.fs-middle{
  text-align: left;
}

.contact-box.form dl{
  flex-direction: column;
  width: 100%;
}
.contact-box.form dd,
.contact-box.form dt{
  width: 100%;
}
.contact-box.form dt{
  border-bottom: 1px solid rgba(var(--color-rgba-blue), 1);
  padding: 0 0 .5rem;
  margin: 0 0 1rem;
}
.contact-box.form dd{
  margin: 0 0 1rem;
}
.news-list .swiper-slide .image img{
          min-height: auto;
                  height: auto;
}

.link-block.pad.sp{
  padding: 3rem 0 0;
  display: flex;
}


}