@charset "UTF-8";

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

/* オフセット調整（固定ヘッダーがある場合） */
section[id] {
    scroll-margin-top: 80px;
}

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

  --fs-x-middle: clamp(.9rem, .9rem + 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(1.2rem, 1.2rem + 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.4rem, 1.2rem + 1vw, 1.8rem);
  --color-yellow: 252, 255, 0;
 --color-white: 252, 255, 255;
  --color-black: 11, 11, 11;
}

body, html {
  height: auto;
  margin: 0;
  overflow: visible;
  position: relative;
  /* line-height: 1.8rem; */
  font-size: var(--fs-base);
    color: rgba(var(--color-black),1);
    background-color: #dff1eb;
    width: 100%;
    max-width: 100vw;
font-family:
  "Yu Gothic UI",           /* Windows 10/11 UI用ゴシック */
  "Yu Gothic",              /* Windows 標準ゴシック */
  "游ゴシック体",           /* macOS 游ゴシック */
  "游ゴシック",             /* macOS 游ゴシック（短縮） */
  "YuGothic",               /* 古いWindows環境 */
  "Hiragino Kaku Gothic ProN", /* macOS ヒラギノ角ゴシック */
  "Hiragino Sans",          /* macOS 新しいヒラギノ */
  "BIZ UDPGothic",          /* Windows 11 UD P ゴシック */
  "Meiryo",                 /* Windows メイリオ */
  "Noto Sans JP",           /* Google Fonts */
  "Arial",                  /* 英語圏フォールバック */
  "Helvetica Neue",         /* macOS 英語圏 */
  "sans-serif";             /* 最終フォールバック */


  }


.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);
}

.fs-title-en{
    font-size: var(--fs-large);
    line-height: 2em;
    font-weight: 300;
}
.fs-title-jp{
    font-size: var(--fs-large);
    line-height: 2em;
}
.fs-middle-title{
     font-size: var(--fs-title-middle);
     line-height: 2em;
    padding: 2rem 0; 
    font-weight: normal;
}


li{
    list-style: none;
    line-height: 1.8rem;
}
a{
    color: rgba(var(--color-black),1);
    text-decoration: none;
}
img{
    max-width: 100%;
    width: 100%;
    /* object-fit: cover; */
}
.en{
  font-family: "DM Mono", monospace !important;
  font-weight: 300;
  font-style: normal;
}
.en.bold{
  font-weight: 500;
}

.limited-width{
    max-width: 1160px;
    width: 100%;
    padding: 0 .5rem;
    display: flex;
    justify-content: center;
}
.full-width{
    width: 100%;
    padding: 0 .5rem;
    display: flex;
    justify-content: center;    
}

header{
    position: relative;
    z-index: 3;

}
main{
    position: relative;

}
nav{
   display: flex;
    align-items: center;
    width: 100%;
}


h1{
        line-height: 1rem;
        padding: .5rem 0;
}
.flex{
    display: flex;
}
.column{
    flex-direction: column;

}
.justify-content-center{
justify-content: center;
}
.justify-content-space-between{
justify-content:space-between;
}
.align-center{
    align-items: center;
}
.align-start{
    align-items:flex-start;
}
.align-end{
    align-items:flex-end;
}
.justify-content-start{
    justify-content: flex-start;
}
.justify-content-end{
    justify-content: flex-end;
}


.flex-box{
    gap: 4rem;
    padding: 4rem 0 0;
    position: relative;
}
.flex-box-jp{
    flex: .532;
    position: relative;
}
.flex-box-en{
    flex: .468;

}
.flex-box-en .en-l-block{

    position: relative;

}
.flex-box-en p,
.flex-box-jp p{
    max-width: 70%;
    padding: 2rem 0 0;
    line-height: 2.4rem;
}   

.flex-box-jp p{
    font-size: var(--fs-x-middle);
}
.flex-box-jp p.en{
    font-size: var(--fs-small);
}

.flex-box-en .en-l-block::before {
    position: absolute;
    top: -4rem;
    content: '';
    height: 4px;
    width: 2rem;
    background-color: rgba(var(--color-black), 1);
}
.flex-box-en .en-s-block{

    position: relative;
    padding: 2rem 0 0;
}
.flex-box-en .en-s-block .decode-text{
    line-height: 1rem;
    display: inline-block;
    font-weight: 300;
}
.en-s-block > div:first-child .decode-text{
margin: 0 0 1rem;
    position: relative;


}
.en-s-block > div:first-child .decode-text::before  {
    position: absolute;
    bottom: 0;
    content: '';
    height: 1px;
    width: 100%;
    background-color: rgba(var(--color-black), 1);
}

.en-s-block > div:nth-of-type(2) .decode-text {
    display: flex;
        gap: 2rem;
}
.no-border .en-s-block > div:first-child .decode-text::before  {
    content: none;
}
img[src$=".svg"] {
    shape-rendering: geometricPrecision;
    transform: translateZ(0);
    stroke-width: 1.5 !important;
    vector-effect: non-scaling-stroke; /* 拡大縮小しても線幅を維持 */    
}
main{
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

section{
    position: relative;
    z-index: 0;
}
.section-contents{

}

.more_btn{
    font-size: var(--fs-x-middle);
    position: relative;
padding: 3rem 4rem;

}
.more_btn a{
    padding: .25rem 3rem;
    transition: all .2s;
    position: relative;
}
.more_btn a::before{
position: absolute;
    content: '';
    width: 5rem;
    height: 1.8rem;
    background-image: url(/img/svg/btn-more.svg);
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    left: -4rem;
    transform: translateY(-50%);
transition: all .2s;
}
.more_btn a:hover::before{
transition: all .2s;
    left: -2rem;    
}

.more_btn a:hover{
    text-decoration: underline;
}
.index-first{
   padding-top: 2rem;
   padding-bottom: 2rem;
}
.index-first h2{
    justify-content: center;
        width: 100%;
    min-height: 50vh;
    border-left: 1px solid rgba(var(--color-yellow),1);

}
.bg-yellow{
    background-color: rgba(var(--color-yellow),1);
}



/* section:has(.bg-svg){
   padding-top: 5rem;
   padding-bottom: 5rem; 
} */


.index-exp > .flex{

    gap:2rem;

}
.index-exp > .flex .fs-middle-title{

 font-weight: normal;
 line-height: 1.8rem;
padding: 2rem 0 1rem;
     font-size: var(--fs-x-middle);

}
.index-exp > .flex p{

 line-height: 1.8rem;

}
.index-exp .exp-images{
    min-height: 20vh;
}


.index-exp img{
    max-width: 200px;
}



.machine-exp > .flex{
    
    gap:2rem;
    flex-wrap: wrap;
}
.machine-exp > .flex > .machine-block{
   width: calc(33.33% - 2rem);
align-items: flex-start;
    justify-content: flex-start;
}
.machine-exp > .flex > .machine-block .machine-images{
    padding: 2rem 1rem 0;
    justify-content: center;
    align-items: center;

}

.machine-exp > .flex .fs-middle-title{

 font-weight: normal;
 line-height: 1.8rem;
padding: 2rem 0 1rem;
     font-size: var(--fs-x-middle);

}
.machine-exp > .flex p{

 line-height: 1.8rem;

}


.decode-hover {
  position: relative;



  transition: all 0.3s ease;
}


.decode-text {


}

.btn-page-top{
    position: relative;
    cursor: pointer;
}
.btn-page-top img{
    max-width: 8vw;
    height: auto;
}
.btn-page-top.active{
    position: fixed;
    bottom: .5rem;
    right: .5rem;
    z-index: 3;
}






.logo-container{
        min-height: 100vh;
display: flex;
align-items: center;
transition: all .2s;
position: relative;
width: 100%;
}
.logo-container img{

}
.nav-container{
/* position: sticky; */
       position: fixed; 
           top: 0;
    z-index: 99; /* 他の要素より前面に表示 */
}
/* 固定時のスタイル調整（オプション） */
.nav-container.active{

}



.section-partner{
   padding-top: 0;
   padding-bottom: 0;
}


.section-partner .flex-box{
    padding: 6rem 0 3rem;
}

.section-partner .fs-title-en{
    position: relative;
    font-size: var(--fs-title-middle);
    padding: 0 0 2rem;
}
.section-partner .fs-title-en::before{
    content: '';
    right: 0;
    top: -2rem;
    width: 4rem;
    height: 4px;
    background-color: rgba(var(--color-black), 1);
    position: absolute;
}
.section-partner .fs-title-en::after{
    content: '';
    right: 0;
    bottom: 1rem;
    width: 2rem;
    height: 2px;
    background-color: rgba(var(--color-black), 1);
    position: absolute;
}

.partner-swiper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 0;
}

.partner-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.partner-swiper .swiper-slide {
    width: auto;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.partner-swiper .swiper-slide a {
    white-space: nowrap;
    transition: opacity 0.3s ease;
    font-size: var(--fs-middle);
    padding: 2rem 1rem;
}

.partner-swiper .swiper-slide a:hover {
    opacity: 0.7;
}


footer {
    position: relative;
}
footer::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 1.4rem;
    background-color: rgba(var(--color-white), 1);
}

.footer-title{
    gap: .25rem;
}

.footer-title h2{
    padding-bottom: 0;
}
.footer-title address,
.footer-title .tel-box{
    font-size: var(--fs-middle);
}
.footer-title .tel-box{
    gap: 1rem;
}
.btn-google-map{
    padding: 1rem 0;
}
.btn-google-map a{
    padding: .25rem 1rem;
    border-radius: 3rem;
    border: 1px solid rgba(var(--color-black), .35);
    background-color: rgba(var(--color-white), 0);
    transition: all .2s;
}
.btn-google-map a:hover{
    padding: .25rem 1rem;
    border-radius: 3rem;
    border: 1px solid rgba(var(--color-black), .35);
    background-color: rgba(var(--color-white), 1);
}
.footer_logo_mark{
    max-width: 60px;
    width: 100%;  
}

.footer_logo_name{
    max-width: 220px;
    width: 100%;  
}

.footer-title > .flex{
    flex: .5;
    padding-bottom: 2rem;
    justify-content: center;
    align-items: center;
}
.about-image-01,
.footer-title > .flex:nth-of-type(1){
    border-bottom: 1px solid rgba(var(--color-black), 1);
        gap: 4rem;
}
.footer-title > .flex:nth-of-type(2){
    border-bottom: 1px solid rgba(var(--color-black), .35);
}
.about-image-01{
    border: none;
}
.footer-link,
.footer-sitemap{
    width: 100%;
        gap: 2rem;
}
.footer-link > li{
    flex: .25;
    padding: 4rem 0 4rem;
}
.footer-link li > a{
        padding: 0 0 1rem;
        display: block;
        border-bottom: 1px solid rgba(var(--color-black), .15);
        position: relative;
}
.footer-link li > a::before{
    position: absolute;
    content: '';
    left: 0;
    bottom: -1px;
    width: 4rem;
    height: 1px;
    background-color: rgba(var(--color-black), 1);
    z-index: 1;
    transition: all .2s;
}
.footer-link li > a:hover::before{

    width: 100%;

}
.footer-link li ul {
        padding: 2rem 0 0;

}
.footer-link li ul li > a{
        padding: 0;
        display: block;
        border: none;
        padding: 0 0 .5rem;
        position: relative;
        font-size: var(--fs-small);
}
.footer-link li ul li > a::before{
    position: absolute;
    content: '';
    left: 0;
    bottom: .5rem;
    width: 0;
    height: 1px;
    background-color: rgba(var(--color-black), .35);
    z-index: 1;
    transition: all .2s;
}
.footer-link li ul li > a:hover::before{

    width: 100%;


}
.footer-copy{
    background-color: rgba(var(--color-white), 1);
    padding: .5rem .5rem;
    font-size: var(--fs-small);
}

ul.history-list{
    position: relative;
    padding-top: 1rem;
}
ul.history-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    height: 100%;
    width: 1px;
    background-color: rgba(var(--color-black), 1);
}


ul.history-list li{
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1rem;
    top: 1rem;
    transition: all .2s;
}

ul.history-list li.active{
    transition: all .2s;
    top: 0;
}
ul.history-list li::before {
    z-index: 1;
    content: '';
    position: absolute;
    top: 1rem;
    transform: translateY(-50%);
    left: calc(.75rem + 1px);
    height: .5rem;
    width: .5rem;
    border-radius: 100%;
    border: 1px solid rgba(var(--color-black), .5);
    background-color: rgba(var(--color-black), 1);
}
ul.history-list li:first-child::before {
      background-color: rgba(var(--color-white), 1);  
}

.index-history ul.history-list li{
    display: none;
}


.index-history ul.history-list li:nth-child(-n+6) {
    display: list-item; 
}

ul.set-list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 10; /* より高い値に */
    isolation: isolate; /* 新しいスタッキングコンテキストを作成 */
}

ul.set-list li span{
    padding: .25rem .5rem;
    color: rgba(var(--color-black),1);
    position: relative;
    display: inline-block;
    transition: color .2s ease;
    isolation: isolate; /* 追加 */
}

ul.set-list li span::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(var(--color-black), 1);
    z-index: -1;
    transition: width .2s ease;
}

ul.set-list li.active span{
    color: rgba(var(--color-yellow),1);
}

ul.set-list li.active span::before{
    width: 100%;
}



.bar-anm{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 10; /* より高い値に */
    isolation: isolate; /* 新しいスタッキングコンテキストを作成 */
}

.bar-anm .bar-anm-cont span{
    padding: .25rem .5rem;
    color: rgba(var(--color-black),1);
    position: relative;
    display: inline-block;
    transition: color .2s ease;
    isolation: isolate; /* 追加 */
}

.bar-anm .bar-anm-cont span::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(var(--color-black), 1);
    z-index: -1;
    transition: width .2s ease;
}

.bar-anm .bar-anm-cont.active span{
    color: rgba(var(--color-yellow),1);
}

.bar-anm .bar-anm-cont.active span::before{
    width: 100%;
}


nav ul li.menu-header,
.hamburger {
        display: none;
    }

nav ul li a{
    padding: 0 1rem;
}
.under-index{
    position: absolute;
    z-index: 0;

}
.under-index.features{
    width: 60vw;
    top: 45vh;
    left: 50%;
    transform: translateX(-50%);
}
.under-index.contact{
    width: 60vw;
    top: 45vh;
    left: 50%;
    transform: translateX(-50%);
}

.under-index.services{
    width: 50vw;
    top: 0;
    right: 0;
}

.under-index.about{
    width: 40vw;
    top: 45vh;
    right: 5vw; 
}
.under-index.thanks{
    width: 20vw;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
}

.under-contents{

}
.features-title{
    padding: 2rem 0 0;
    gap: 2rem;
}
.features-title span:first-child{
    font-size: 7rem;
    font-weight: 600;
    color: rgba(var(--color-yellow), 1);
    text-shadow: 
        0 0 1px rgba(var(--color-black), 1),
        0 0 2px rgba(var(--color-black), 1);

}
.features-title span:last-child{
    font-size: var(--fs-large);
    font-weight: 300;
    flex: .6;
    text-align: left;
}

/* .flex-box-en.features p, .flex-box-jp.features p{
    max-width: 100%;
} */
.features-contents.flex-box{
    padding: 0;
}
.features .flex{
    width: 100%;
}

.index-video{
        position: relative;
}

.video-container {
    position: relative;
   color: rgba(var(--color-yellow), 1) !important;
}

video {
    filter: saturate(0.8);
    opacity: .9;
    width: 100%;

}

.video-overlay-filter {
    position: relative;
        width: 100%;
    height: auto;
    clip-path: polygon(
        100% 98.6%, 100% 8.9%, 91% 8.9%, 90.1% 7.7%, 
        84% 7.7%, 83.3% 8.7%, 80% 8.7%, 78.8% 7.7%, 
        77% 0%, 1.4% 0%, 0% 2.5%, 0% 98%, 1.2% 100%, 
        99.2% 100%
    );
}

.video-overlay-filter::before {
    content: '';
    display: block;
    position: absolute;
    pointer-events: none;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--color-black), .1);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    z-index: 1;
    background-image: radial-gradient(rgba(var(--color-black), .1) 50%, transparent 51%), 
                      radial-gradient(rgba(var(--color-black), .1) 50%, transparent 51%);
}

.video-overlay-text {
    position: absolute;
    width: 100%;
    height: 100%;

    z-index: 1;
    top: 0;
    left: 0;
    font-size: var(--fs-xxx-small);
}
.video-overlay-text .video-top-left{
    position: absolute;
    z-index: 1;
    top: 1rem;
    left: 1rem;  
}
.video-overlay-text .video-top-right{
position: absolute;
    z-index: 2;
    top: 1rem;
    right: 1rem;
    max-width: 20%;
}

.video-overlay-text .video-bottom{
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;  
    padding: 1rem;
    width: 100%;
}
.video-overlay-text .video-middle{
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 1rem;
    width: 100%;
}

.video-overlay-text .video-middle > div:nth-of-type(1){
    transform: rotate(90deg) translate(-50%, -100%);
    transform-origin: top left;

}

.video-overlay-text .video-middle > div:nth-of-type(2){
    transform: rotate(90deg) translate(50%, 0%);
    transform-origin: top right;

}
.video-overlay-graph{
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
        gap: 4rem;
        pointer-events: none;
}

.video-overlay-graph::after {
    content: '';
    display: block;
    position: absolute;
            pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/svg/video-graph-01.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15vw;
    opacity: .4;
}

.video-overlay-graph.flex:nth-of-type(1){
    font-size: var(--fs-large);
    font-weight: 500;
}
.video-overlay-graph .align-end{
    text-align: right;
}
.video-overlay-graph,
.video-overlay-text{
    pointer-events: none;
}

.map-responsive {
  position: relative;
  width: 100%; /* 横幅を100%に設定 */
  height: 600px; /* 固定高さを指定（例: 400px） */
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
      z-index: 0;
          filter: grayscale(1);
}
.image-filter{
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.image-filter::after{
    position: absolute;
    z-index: 1;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.map-responsive .image-filter::after {

    background-color: rgba(var(--color-yellow), .1);
    pointer-events: none;
}
.privacy-policy-container,
.tel-fax-container{
    width: 100%;
    position: relative;
}
.privacy-policy-container > .flex,
.tel-fax-container > .flex{
    width: 100%;
    position: relative;
        gap: 4rem;
}
.privacy-policy-container > h3,
.tel-fax-container > h3{
    position: relative;
}
.tel-fax-container > h3::before{
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 2px;
    background-color: rgba(var(--color-black),1);
}



.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-black), 1);
    padding: .5rem 1rem;
    text-align: center;
    color: rgba(var(--color-black), 1);
    vertical-align: middle;

    box-shadow: 0px 0px 10px 4px rgba(var(--color-black), .05);
    font-weight: 600;
    background-color: rgba(var(--color-yellow), 1);
    transition: all .2s;
        font-size: var(--fs--middle);
}



.submit-btn:hover{

  box-shadow:none;
background-color: rgba(var(--color-black), 1);
color:rgba(var(--color-yellow), 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;
}

.policy-required{
    padding: 2rem 0;
}

.policy-required a{
    padding: 1rem;
}
.policy-required label{
    padding: 1rem 1rem;
    background-color: rgba(var(--color-black), .1);
    transition: all .2s;
}
.policy-required label:has(:checked),
.policy-required label:hover{
    transition: all .2s;
        background-color: rgba(var(--color-white), 1);
}

#toPhone .material-symbols-outlined{
    font-size: var(--fs-title-middle) !important;
}
#toForm .material-symbols-outlined{
    font-size: var(--fs-title-middle) !important;
}

.update-date{
    align-self: flex-end;
}


.pad-top
{
   padding-top: 5rem;
   padding-bottom: 0;    
}
.pad-bottom
{
   padding-top: 0;
   padding-bottom: 5rem;    
}
.pad-both
{
   padding-top: 5rem;
   padding-bottom: 5rem;    
}
.index-video{
   padding-top: 2rem;
   padding-bottom: 6rem;
}
.index-video img{
  
}




.anm-image-container.section-01{
    min-height: 25vh;
        margin: 5rem 0 5rem;
}
.anm-image-container.section-03,
.anm-image-container.section-02{
    min-height: 65vh;
        margin: 5rem 0 5rem;
}
.anm-image-container.section-04{
    min-height: 10vh;
        padding: 5rem 0 5rem;
}

.anm-image-container.section-11{
    min-height: 50vh;
        padding: 5rem 0 5rem;
}


.title-anm.title-05,
.title-anm.title-04,
.title-anm.title-03,
.title-anm.title-02,
.title-anm.title-01,
.title-anm.title-00{
position: absolute;
    z-index: 2;
    max-width: 50vw;
    width: 100%;
    top: 70%;
    transform-origin: left top;
    transform: rotate(-5deg);
}
.title-features-image img{
      
    opacity: .75;
}
.title-anm.title-00{
    max-width: 35vw;
}
.flex-box-en,
[aria-hidden="true"]{
    pointer-events: none;
}

.sp{
    display: none;
}

    /* PC時：ホバーで表示するツールチップスタイル */
    .more_btn a.sp,
    .nav-header li a.sp {
        position: relative;
    }
    
    .sp.nav-sub-jp {
        position: fixed;
        padding: .25rem 1rem;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease;
        z-index: 9999;
        transform: translate(-50%, 10px); /* 中央揃え + 少し下 */
        top: 0;
    }
    .more_btn .sp.nav-sub-jp{
        opacity: 1;
        visibility: visible;
    }
        
    a:hover .sp.nav-sub-jp {
        opacity: 1;
        visibility: visible;
        display: block;
        background: rgba(var(--color-black), 1);
        color: rgba(var(--color-yellow),1);
    }

@media screen and (max-width: 1024px) {

    .sp.nav-sub-jp {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
       padding: 0;
       white-space: inherit;
    }

    .more_btn .sp.nav-sub-jp{
        opacity: 0;
        visibility: hidden;
        display:  none;
    }
        .more_btn:hover .sp.nav-sub-jp{
        opacity: 0;
        visibility: hidden;
        display:  none;
    }

.sp{
    display: block;
}
    .pc{
        display: none;
    }
    
[aria-hidden="true"]{
   display:  none;
       pointer-events: inherit;
}

header [aria-hidden="true"]{
    display: block;
}

.flex-box:has(.en-title){
    width: 100%;
    display: block;
    padding: 2rem 0;
}
.flex-box-en.en-title {
    display: block;
}

.flex-box-jp{
    flex: 1;
}

.footer-title > .flex,
.footer-link, .footer-sitemap,
.footer-title{
    display: block;
}
.pad-both,
.index-video{
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.pad-top{
    padding: 2rem 0 0;
}
.pad-bottom{
       padding: 0 0 2rem; 
}
.flex-box{
    padding: 0;
    gap: 2rem;
}
.anm-image-container.section-01,
.anm-image-container.section-03, .anm-image-container.section-02{
    margin: 2rem 0 0;
}
.map-responsive {

    height: 50vh;
}


.anm-image-10.active{
    top: 0;
}
.footer-title > .flex:nth-of-type(1){
        border: none;
        gap: 1rem;
        /* flex-direction: column; */
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        display: flex;
}
.footer-title h2{
    padding: 0;
}
.footer-link > li {

    padding: 1rem 0;
}
.footer-link li ul {
    padding: 1rem 0 0;
}

.logo-container{
    min-height: 70vh;
}
.index-first h2{
    border: none;
    min-height: auto;
}
.machine-exp > .flex,
.index-exp > .flex{
    flex-wrap: wrap;
     align-items: flex-start;
     gap: 1rem;
}
.machine-exp > .flex > .machine-block,
.index-exp .exp-block{
width: calc(50% - 1rem);
    padding: 0 0 2rem;
}
.index-exp .exp-images{
    min-height: 10vh;

}



.flex-box-en p, .flex-box-jp p{
    max-width: 100%;
}
.nav-container {
    position: fixed;
    top: 0;
    z-index: 99;
}

.footer_logo_name{
    max-width: 40vw;
}
.footer_logo_mark {
    max-width: 10vw;
}
video {
    width: auto;
    height: 60vh;

}
.video-overlay-graph{
            gap: 2rem;
} 
.video-overlay-text{
    display: none;
}
.video-overlay-graph .align-end{
    font-size: var(--fs-xxx-small);
}

.flex-box-en p, .flex-box-jp p{
    padding: 0 0 2rem;
}
.under-index.features{
    width: 100vw;
    top: 30vh;
        left: 0;
        transform: none;
}

.under-index.contact{
    width: 100vw;
    top: 40vh;
        left: 0;
        transform: none;
}
.under-index.services{
    width: 100vw;
    top: 0;
    right: 0;
}

.under-index.about{
    width: 100vw;

}
.under-index.thanks{
    width: 40vw;


}
.machine-exp > .flex > .machine-block .machine-images {
    padding: 1rem 0 0;
}


.title-anm.title-05, .title-anm.title-04, .title-anm.title-03, .title-anm.title-02, .title-anm.title-01, .title-anm.title-00{
    max-width: 100vw;
    top: 60%;
}
ul.set-list li span{

}
.bar-anm .bar-anm-cont span{

}

.flex-box-en .en-l-block::before {
    position: absolute;
    top: -2rem;
}


.tel-fax-container > .flex{
    display: block;
    width: 100%;
}
.tel-fax-container > h3{
   text-align: center;
}
.privacy-policy-container > .flex{
    width: 100%;
    position: relative;
        gap: 2rem;
}
.privacy-policy-container p{
    line-height: 2em;
}

.contact-box.form dt,
.contact-box.form dd{
    width: 100%;
}
.contact-box.form dt{
    margin: 1rem 0 0;
}
.contact-box.form dd{
    margin: .5rem 0 0;
}



    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgba(var(--color-black), 1);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* ハンバーガーメニューが開いた時 */
    .hamburger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

  /* ナビゲーションメニュー */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 100%;
        height: 100vh;
        background-color: rgba(var(--color-yellow), 1);
        flex-direction: column;
        justify-content: flex-start !important;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
        transition: all 0.3s ease;
        order: 3;
        overflow-y: auto; /* 縦スクロールを有効化 */
        overflow-x: hidden; /* 横スクロールは無効 */
        -webkit-overflow-scrolling: touch; /* iOSでスムーズなスクロール */
    }

    nav ul.active {
        right: 0;
    }

    /* スクロールバーのスタイル（オプション） */
    nav ul::-webkit-scrollbar {
        width: 6px;
    }

    nav ul::-webkit-scrollbar-track {
        background: rgba(var(--color-black), 0.1);
    }

    nav ul::-webkit-scrollbar-thumb {
        background: rgba(var(--color-black), 0.3);
        border-radius: 3px;
    }

    nav ul::-webkit-scrollbar-thumb:hover {
        background: rgba(var(--color-black), 0.5);
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(var(--color-black), 0.1);
        flex-shrink: 0; /* リスト項目が縮まないようにする */
    }
    
    nav ul li:last-child {
        border-bottom: none;
        margin-bottom: 2rem; /* 最後の項目の下に余白を追加 */
    }

    nav ul li > span {
        display: none;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 1rem;
    }
    nav ul li.menu-header  {
        display: block;
    }

}