
    /* 一時的にページ全体を可視化 */
/* *{outline:2px solid rgba(255,0,0,.2);} */
/* スクロールバー全体 */
body {
  font-family: 'Shippori Mincho B1', serif, serif;
  scrollbar-color: #444 #111; 
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
}

/* スクロールバーのトラック（背景） */
::-webkit-scrollbar-track {
  background: #111; /* トラックの色 */
  border-radius: 4px;
}

/* スクロールバーのつまみ（ドラッグできる部分） */
::-webkit-scrollbar-thumb {
  background-color: #444; /* 黒系グレー */
  border-radius: 4px;
  border: 1px solid #222; 
}

/* ホバー時 */
::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

header{
  width: 100%;
}
footer{
  color: #ffffff;
  line-height: 20px;
  font-size: 12px;
  text-align: center;
  margin-bottom: 30px;
}
html{
   font-family: "Klee One", serif;
   background-color: #000000;
   color: #000000;
   background-repeat: no-repeat;
   overflow-x: hidden;
   scroll-behavior: smooth;
  }
img, video {
  filter: contrast(1.1) brightness(1.05) saturate(1.1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.parallax-img {
  position: relative;
  overflow: hidden;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
  
.parallax-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease-out; 
  transform-origin: center center; 
  will-change: transform;
  display: block;
  position: relative;
}
.parallax-img1 img {
  position: absolute;
  top: 0;
  right: -110px;
  height: 1200px;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  transition: transform 1.2s ease-out;
}
/* ---------------------------------------------- */
@media only screen and (max-width: 768px){
  .parallax-img img{
    transform-origin:right center;
  }
  .parallax-img1 img{
    right: 0;
    margin-left: 0;
  }
}

  /* ------------------------------------------ */

.container{
  width: 100%;
  max-width: 100%;
  margin: 0px;
  padding: 0px;
  position: relative;
  }
.flex{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeIn 1s ease-in-out forwards;
  }
.logo-action{
 letter-spacing: 30px;
  text-shadow: 0 0 10px rgb(255, 255, 255);
  transition: all 0.8s ease; 
}
.header-logo{
  width: 20%;
  text-decoration: none;
  text-align:center;
  position: absolute;
  width: 100%;
  position: absolute;
  z-index: 10;
  color: #ffffff;
  top: 5%;
}
.logo{
   position: relative;
  z-index: 10;
}

.logo1 {
  position: fixed;
  width: 20%;
  left: 40%;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 15px;
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.99);
  z-index: 10;
}
.logo2 {
  left: 40%;
  width: 20%;
  font-size: 15px;
  letter-spacing: 12px;
  margin-top: 50%;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.99);
}
.logo22 { 
  position: fixed;
   left: 40%;
  width: 20%;
  font-size: 15px;
  letter-spacing: 12px;
  margin-top: 30px;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.99);
}
  .background{
    top: 50%;
    min-width: 100%;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: 55% 10%;
     z-index: -100;
  animation: fadeIn 1.5s ease-in-out forwards;
  pointer-events: none;
   }  
.background-text1, .background-text2 {
  position: absolute;
  color: #ffffffcd;
  font-weight: 300;
  text-align: center;
  left: 0%;
  width: 100%;
  animation: fadeIn 1.5s ease-in-out forwards;
  /* text-shadow: 0 0 15px rgba(255, 255, 255, 0.8); */
    text-shadow:
    0 0 30px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 0, 0, 0.4);
}


.background-text1{ 
  font-size: 18px;
  letter-spacing: 5px;
  line-height: 45px;
  margin-top: -440px;
   text-shadow:
  0 0 1em rgb(255, 255, 255),
  0 0 0.2em rgb(0, 0, 0);

}   
.background-text2{
   position: absolute;
   color: #ffffffcd;
   font-size: 18px;
   font-weight: 300;
   letter-spacing: 10px;
   line-height: 45px;
   margin-top:-470px;
   text-shadow:
  0 0 1em rgb(255, 255, 255),
  0 0 0.2em rgb(0, 0, 0);
}  
.main-title {
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
  margin-bottom: 0px;
  display: flex;
  color: #ffffffcd;
  font-weight: 300;
  line-height: 45px;
  width: 100%;
  height: 100%;
  animation: fadeIn 1.5s ease-in-out forwards;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  font-size: 25px;
  letter-spacing: 15px;
}
/* --------------------------------------------- */
@media only screen and (max-width: 768px){
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
.header-logo{
  text-decoration: none;
  text-align:center;
  position: fixed;
  text-align: center;
  z-index: 10;
  color: #ffffff;
  top: 8%;
}
.logo1 {
     position: fixed;
  width: 40%;
  left: 30%;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 15px;
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.99);
  z-index: 10;
  }
  .logo2 {
    position: absolute;
    margin-top: 80vh;
  left: 20%;
  width: 60%;
  align-items: center;
  text-align: center;
  letter-spacing: 8px;
  transition: all 0.8s ease;
  font-size: 12px;
}
.logo22 { 
  position: fixed;
  align-items: center;
  text-align: center;
  left: 20%;
  width: 60%;
  font-size: 12px;
  letter-spacing: 10px;
  margin-top: 30px;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.99);
}
  }

.main-title {
  margin-top: 150px;
  margin-bottom: 50px;
}
.hamburger {
  margin-top: 0px;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 30px;
  z-index: 1002;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.hamburger span {
  display: block;
  height: 0.5px;
  width: 100%;
  background: #ffffff;
  transition: 0.4s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}
.side-menu {
  position: fixed;
  top: 0;
  right: -75%;
  width: 75%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.752);
  box-shadow: -5px 0 15px rgba(255, 255, 255, 0.1);
  z-index: 1001;
  transition: right 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#slide-menu-text{
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  position: absolute;
  font-weight: 100;
  letter-spacing: 50px;
  right: 84%;
  color: #ffffffa1;
  top: 25%;
  writing-mode: vertical-lr;
  font-size: 100px;
  z-index: 10;
}
#instagram{
  position: absolute;
  font-size: 16px;
  letter-spacing: 10px;
  color: #ffffff;
  text-align: end;
  right: 0;
  padding: 20px;
  bottom: 20px;
  width: 100%;
  background-color: transparent;
  transition: all 0.8s ease
}
#instagram:hover{
  color: #666;
  letter-spacing: 13px;
  transition: all 0.8s ease;
}

.side-menu.active {
  right: 0;
}

.side-menu ul {
  list-style: none;
  padding-left: 40%;
  width: 30%;
}
.side-menu li {
  margin: 60px 0;
}
.side-menu a {
  text-decoration: none;
  letter-spacing: 10px;
  font-size: 18px;
  color: #ffffff;
  font-weight: 100;
  transition: color 0.8s;
  transition: all 0.5s ease
}
.side-menu a:hover {
  color: #666;
  letter-spacing: 13px;
  transition: all 0.5s ease;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.3s;
}
.overlay.active {
  display: block;
  
  pointer-events: all;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーー */
@media only screen and (max-width: 768px){
  .background-text1 {
    letter-spacing: 2.5px;
    line-height: 30px;
    font-size: 13px;
  margin-top: -430px;
}
.background-text2 {
  letter-spacing: 5px;
  line-height: 30px;
  font-size: 14px;
  margin-top: -500px;
}
.hamburger {
  position: fixed;
  margin-top: 15px;
  top: 50px;
  right: 3%;
  width: 40px;
  height: 30px;
}
.side-menu {
  position: fixed;
  display: block;
  top: 0;
  width: 100%;
  right: -100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.752);
  box-shadow: -5px 0 15px rgba(255, 255, 255, 0.1);
  z-index: 1001;
}
  #slide-menu-text{
    position: absolute;
    font-weight: 100;
    letter-spacing: 50px;
    left: 0px;
    color: #ffffffa1;
    top: 25%;
    writing-mode: vertical-lr;
    font-size: 100px;
    z-index: 10;
  }
  .side-menu ul {
  list-style: none;
  margin-top: 220px;
  padding-left: 50%;
  width: 90%;
}
.side-menu li {
  margin: 60px 0;
}
.side-menu a {
  text-decoration: none;
  letter-spacing: 10px;
  font-size: 15px;
  color: #ffffff;
  font-weight: 100;
  transition: color 0.8s;
  transition: all 0.5s ease
}
  .side-menu a:hover {
    letter-spacing: 11px;
  }
  .overlay{
    width: 100%;
    opacity: 0.3;
  }
  .side-menu.active {
  width: 100%;
    right: 0;
}
#instagram{
  position: absolute;
  font-size: 14px;
  letter-spacing: 10px;
  color: #ffffff;
  text-align: end;
  width: 100%;
  right: 0%;
  padding: 0px;
  bottom: 80px;
  background-color: transparent;
  transition: all 0.8s ease
}
}
/* ---言語切り替え---------------------------------------------------- */
.language-buttons{
  font-family: 'Shippori Mincho B1', serif, serif;
  right: 6%;
  top: 33px;
  align-items: center;
  margin-bottom: 30px;
  position: fixed;
  display: flex;
  width: auto;
  z-index: 1005;
}
.language-buttons span{
  color: #ffffff;
}

.lang-Btn{
  background-color: transparent;
  width: auto;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 3px;
  padding: 2px;
  border: none; 
  margin: none;
  z-index: 1005;
  transition:  0.5s ease;
}
.lang-Btn:hover{
background-color: transparent;
letter-spacing: 6px;
transition:  0.5s ease;
}
@media only screen and (max-width: 768px){
.language-buttons{
  right: 0px;
  top: 25px;
  margin-bottom: 30px;
  position: fixed;
  z-index: 20px;
  font-size: 12px;
}   
}
/* ------------------------------concept-start---------------------------------------- */

.conceptbox{
  margin-top: 100px;
  padding-top: 0px;
  display: flex;
  width: 100%;
  background-color: #000000;
}
.conceptimg img{
  margin-top: 0%;
  margin-left: -20%;
  max-width: 100%;             
  object-fit:cover;        
  object-position: 180px;  
  display: block;
  overflow: hidden; 
  transition: all 2s ease; 
}
.Concept-container{
 margin-left: -15%;
  margin-top: 100px;
  width: 50%;
  z-index: 10;
}

.conceptexplain h1{
  font-size: 17px;
  padding-bottom: 20px;
}

.conceptexplain {
  padding: 0px;
  font-size: 13px;
  font-weight: 200;
  color: #ffffff;
  text-align: center;
  margin-top:90px;
  line-height: 30px;
  letter-spacing: 4px;
  position: relative; 
  z-index: 10;  
   text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}
/* ーーーーーーーーーーーーーーーーーーーーーーーー */
@media only screen and (max-width: 768px)
{
   .conceptbody{
    margin-top: -700px;
   }
  .conceptbox{
    margin-top: 0px;
    padding-top: 0px;
    display:block;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #000000;
  }
  .Concept-container{
    margin-left: 0%;
     margin-top: 100px;
     width: 100%;
     z-index: 10;
     text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
   }
   .conceptimg img {
    height: 60%;
  margin-top: 200px;
  margin-left: 0%;
  max-width: 100%;             
  object-fit:cover;        
  object-position: -200px;  
  display: block;
  overflow: hidden; 
  transition: all 2s ease; 
  opacity: 0.6;
  }
  .conceptexplain h1{
    margin-top: 50px;
    font-size: 15px;
    padding-bottom: 15px;
    line-height: 20px;
  }
  
  .conceptexplain {
    margin-top:30px;
    line-height: 30px;
    letter-spacing: 2px;
    position:relative;  
    z-index: 10;  
     text-shadow: 2px 2px 2px 2px rgb(0, 0, 0);
  padding: 0px 5%;
  font-size: 12px;
  font-weight: 100;
  letter-spacing: 2px;
  }

.Concept-container2{
  margin-top: 600px;
  width: 100%;
  font-size: 15px;
   text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}
#englishConcept{
 margin-top: 300px;
 }
}
/* ーーーーーーーーーーーーーーーーーーーーー */
#Concept-word{
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  position: absolute;
  writing-mode: vertical-lr;
  color:  #ffffff;
  font-weight: 100;
  font-size: 50px;
  margin-top: 15%;
  margin-left: 20px;
  letter-spacing: 25px;
  animation: fadeIn 2s ease-in-out;
}
.conceptbox2{
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: transparent;
}

.concept-img img{
  position: absolute;
  top: 0;
  right: 0px;
  height: 1200px;           
  object-fit: cover;
  z-index: 0;
}

.Concept-container2{
  width: 100%;
  font-size: 15px;
}
@media only screen and (max-width: 768px)
{
.concept-img img{
  position: absolute;
  top: 0;
  height: auto;
  width: 200%;           
  object-fit: cover;
  z-index: 0;
  left: -250px;
  box-sizing: border-box; 
  opacity: 0.7;
}
}
/* ---------------------------------------------------- */

.fade-in {
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(0);
    
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#footer-menu {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  text-align: end;
  align-items: flex-start;
  position: relative;
  font-size: 15px;
  letter-spacing: 5px;
  font-family: 'Shippori Mincho B1', serif;
}

#footer-menu ul {
  list-style: none;
  z-index: 10;
  position: absolute;
  right: 0;
  margin-top: 4%;
  padding: 0;
}

#footer-menu li {
  position: relative;
  padding: 20px 50px 20px 0px;
  overflow: hidden;
}


.footer-link {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  width: auto;          
  padding: 0px 0px 0px 1400px; 
  box-sizing: border-box; 
  transition: all 0.3s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #6e6e6e;
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.footer-link::before {
  top: 0;
}

.footer-link::after {
  bottom: 0;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link:hover {
  color: #6e6e6e;
   font-size: 17px;
  transition: all 0.3s ease;
}


#instagram-footer {
  position: absolute;
  right:30px;
  bottom: 40%;
  background-color: transparent;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 10px;
  transition: all 0.3s ease;
  z-index: 100;
}
#instagram-footer:hover {
  font-size: 17px;
  border-color: #333;
  color: #6e6e6e;
}

/* 背景画像 */
#footerimg img {
  opacity: 0.95;
   width: 100vw;
  max-width: 100vw;
  height: 590px;
  object-fit: cover;
  object-position: right bottom;
  display: block;
  transition: all 2s ease; 
  z-index: 0;
  pointer-events: none;
}
#footerimg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); 
  pointer-events: none;
  z-index: 1;
}
.footer-logo{
  z-index: 100;
  text-align: center;
  width: 100%;
}
.logo3{
  margin-left: 40%;
  width: 20%;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 15px;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.99);
  transition: all 0.8s ease;
  
}
.logo3:hover{
  text-shadow: 0 0 10px rgb(255, 255, 255);
  transition: all 0.8s ease;
}
.logo4{
margin-left: 40%;
width: 20%;
align-items: center;
text-align: center;
letter-spacing: 8px;
transition: all 0.8s ease;
}
.logo4:hover{
  text-shadow: 0 0 10px rgb(255, 255, 255);
  transition: all 0.8s ease;
}
.copyright{
  text-align: center;
  align-items: center;
  padding-top: 10px;
}
@media only screen and (max-width: 768px){
  footer {
    position: absolute;
    margin-top: 0;
    padding-bottom: 0;
    height: 10px;
    padding: none;
    margin: none;
  }
  #footer-menu {
    /* background-color: yellow; */
    margin-top: 50px;
    padding: 0px;
    font-size: 16px;
   }
  #footer-menu ul {
    left: 100px;
    width: 100%;
    text-align: end;
    /* background-color: red; */
    left: 0;
    margin-top: 0%;
  }
  #footer-menu li {
    /* background-color: green; */
    width: 90%;
    padding: 30px 0;
    right: 0%;
    
  }
  .footer-link {
    /* background-color: blue; */
    position: relative;
    text-align: end;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    padding: 0px 0px 0px 0px;
    box-sizing: border-box;
  }

  #footerimg img {
    width: 100%;
    object-fit: cover;
    object-position: right bottom;
    display: block;
    transition: all 2s ease; 
  }
  .footer-last{
    /* background-color: red; */
    justify-content: center;
    margin-top: 0px;
    height: 0px;
    padding: 0px;
    max-height: 0px;
  }

  .logo3{
    /* background-color: red; */
    margin-top:-100px;
    margin-left: 0px;
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 15px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.99);
    transition: all 0.8s ease;
  }
  .logo4{
  /* background-color: blue; */
  margin-left: 20%;
  width: 60%;
  align-items: center;
  text-align: center;
  letter-spacing: 8px;
  transition: all 0.8s ease;
}
  #instagram-footer {
  right:0px;
  top: 500px;
  padding: 5px 10px;

  }
  .copyright{
  text-align: center;
  align-items: center;
  padding-top: 10px;
}
.Concept-container2{
  line-height: 45px;
}
#Concept-word{
display: none;
}
}


/* ---Portfolio-------------------- */

 /* -- ここからSwiper -ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー- */
.swiper {
  margin: 50px auto;
  width: auto;
  max-width: 1200px;
  height: 260px;
  position: relative;
}

.swiper-slide {
  opacity: 0.6;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: scale(0.95);
  filter: brightness(90%);
  cursor: pointer;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease-in-out, filter 0.6s ease-in-out;
}

/* 中央スライドにだけ高級感と拡大処理 */
.swiper-slide.active-slide {
  opacity: 1;
  transform: scale(1);
  filter: brightness(100%);
}

/* ホバー時に高級感のある拡大 */
.swiper-slide.active-slide:hover {
  transform: scale(1.05);
  filter: brightness(105%);
}
  /* 矢印：色を白に、線を細く調整 */
  .swiper-button-next,
  .swiper-button-prev {
    color: #fff !important;
    width: 44px;
    height: 44px;
    opacity: 0.8;
    font-weight: 100!important;
    --swiper-navigation-size: 30px;
    transition: all 0.8s ease;
  }

  /* ホバー時に明るく */
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    opacity: 1;
  }

  /* 矢印マークの太さを細くする（SVG矢印対応） */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-weight: 100!important; 
  }

  /* Swiperページネーションを白い四角に変更 */
  .swiper-pagination-bullet {

  background-color: white!important;
  border-radius: 0!important; 
  opacity: 0.5!important;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  background-color: white;
  opacity: 1!important;
}
  .swiper-pagination {
    bottom: 10px;
  }
/* 共通のページーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

/* /////////////////////////////////////////////////////////////////// */
@media screen and (max-width: 768px) {
.swiper {
  height: 300px;
}
.swiper-slide img {
  height: 300px;
}
}
/* /////////////////////////////////////////////////////////////////// */
/* Portfolio内のページー始まりーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */
.artpic-container{
  animation: fadeIn 2s ease-in-out forwards;
}
.portfolio-container{
  animation: fadeIn 2s ease-in-out forwards;
}
.artname{
  font-size: 20px;
  color: #ffffffcc;
  font-weight: 200;
  margin-top: 30px;
  letter-spacing: 10px;
  
}
.artexplain{
  font-size: 15px;
  font-weight: 100;
  color: #ffffffbb;
  text-align: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 30px;
  line-height: 25px;
  letter-spacing: 5px;
}
.artpic {
    column-count: 2;
    gap: 5px;
    margin-left: 5%;
    width: 90%;
    margin-top: 100px;
    animation: fadeIn 2s ease-in-out forwards;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  
}

.artpic img {
  display: inline-block;
  padding: 2.5px 0px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.artpic a:hover{
 opacity: 0.8;
 transition: 0.3s;
}
#information{
  text-decoration: none;
}
@media only screen and (max-width: 768px){
   /* ------------------------ */
.artpic {
  column-count: 1;
}
}
  

/* 建築情報詳細ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.artpic-indivisual {
  padding: 60px;
  width: 90%;
  margin: auto;
}

.artpic-indivisual img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.back-to-portfolio {
  width: 100%;
  margin: 20px 0;
  text-align: end;
}

.back-btn {
  display: inline-block;
  margin-right: 60px;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 10px 40px;
  color: #fff;
  text-decoration: none;
  font-weight: 100;
  transition: all 0.7s ease;
}

.back-btn:hover {
  font-size: 16px;
    letter-spacing: 3px;
    background-color:transparent;
}

.toggle-btn {
  font-family: 'Noto Serif JP', serif;
    display: block;
    margin: 40px auto;
    padding: 10px 30px 10px 10px;
    font-size: 15px;
    letter-spacing: 2px;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.7s ease;
}
  .toggle-btn:hover {
    font-size: 16px;
    letter-spacing: 3px;
    background-color:transparent;
  }

.artexplain{
  font-size: 13px;
  font-weight: 100;
  line-height: 40px;
  letter-spacing: 3px;
  padding-bottom: 80px;
}
.artexplain-detail{
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 10px;
  color:  #ffffffad;
   position: relative;
  margin-bottom: 120px;
}
.artexplain-detail dl{
  max-width: 100%;
  margin-left: auto;
}
.artexplain-detail dt{
  text-align: end;
  width: 30%;
  padding: 20px 0;
  font-weight: 500;
  border-bottom: solid 0.5px #555;
}
.artexplain-detail dd{
  text-align: center;
  width: 70%;
  padding: 20px 0;
  font-weight: 500;
  border-bottom: solid 0.5px #555;
}
.Portfoliopart{
animation: fadeIn 1s ease-in-out forwards;
}

.Portfoliopart .english-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffffad;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  width: 80%;  
  height: auto;
  display: none; 
  z-index: 2;  

}
.Portfolioexplain{
  font-size: 15px;
  font-weight: 100;
  color: #ffffffb1;
  text-align: center;
  justify-content: space-between;
  transform: translateY(20%);
  line-height: 25px;
  letter-spacing: 5px;
  z-index: 1;
}
.Portfoliobody{
  position: relative;
  z-index: 1;
  width: 60%;
  height: auto;
  left: 20%;
}
/* ------------------------------ */
@media only screen and (max-width: 768px){
  .back-btn {
  margin-right: 0px;
  padding: 10px 40px;
}

.back-btn:hover {
  background-color: transparent;
}
  .toggle-btn:hover {
  background-color:transparent;
  }

.artexplain{
  font-size: 13px;
  font-weight: 100;
  line-height: 40px;
  letter-spacing: 3px;
  padding-bottom: 0px;
}
.artexplain-detail{
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 10px;
  color:  #ffffffad;
   position: relative;
}
.Portfoliobody{
  width: 85%;
  left: 7.5%;
}
}
/* ---------------------------------- */
/* どちらかのテキストが表示されている場合の基本設定 */
#japanesePortfolio {
  display: block; /* 初期表示を日本語 */
}

#englishPortfolio {
  display: none; /* 初期表示を非表示 */
}

/* ///作品ズーム///////////////////////////////////// */
/* artpicズームモーダル用 CSS */
.image-modal {
  position: fixed;
  display: none;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

.image-modal.show {
  display: flex;
  animation: zoomFadeIn 0.5s ease forwards;
}

.image-modal.hide {
  animation: zoomFadeOut 0.5s ease forwards;
}
.artzoom {
  cursor: zoom-in;
  transition: transform 0.4s ease, filter 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: fadeIn 2s ease-in-out forwards;
}
.artzoom:hover{
 opacity: 0.8;
 transition: 0.3s;
}



@keyframes zoomFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.15);
  object-fit: contain;
  transition: transform 0.3s ease;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  font-weight: 100;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #aaa;
}
.prev-image,
.next-image {
  position: absolute;
  top: 50%;
  font-size: 30px; 
  font-weight: 100; 
  font-family: 'Arial', sans-serif; 
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
  transition: color 0.3s ease, transform 0.3s ease;
  transform: translateY(-50%); 
  padding: 30px;
}

.prev-image:hover,
.next-image:hover {
  color: #aaa;
  transform: translateY(-50%) scale(1.2);
}

.prev-image {
  left: 20px; 
}

.next-image {
  right: 20px;
}

/* /////////////////////////////////////////////////////////////////// */

@media only screen and (max-width: 768px){
  .artpic-indivisual{
  column-count: 1;
  padding: 0px;
  grid-template-columns: repeat(1, 1fr); 
  width: 90%;
  margin-left: 5%;
  }

  .artpic{
     grid-template-columns: repeat(1, 1fr); 
     text-align: center;
     justify-content: space-between;
  }
  .artname{
     width: 100%;
     text-align: center;
     justify-content: space-between;
     margin-top: 10px;
     font-size: 14px;
  }
  .artexplain{
    width: 100%;
     margin-top: 80px;
     font-size: 12px;
     line-height: 16px;
     letter-spacing: 3px;
  }
  .artexplain-detail{
    font-size: 11px;
    letter-spacing: 5px;
  }
  #artexplaindetail {
     position: relative;
     margin-bottom: 10px;
  }
  #artexplaindetail dl{
     width: 100%;
     
  }
  #artexplaindetail dt{
    width: 70%;
     padding: 30px 0;
  }
  #artexplaindetail dd{
    width: 30%;
     padding: 30px 0;
  }

}
/* /////////////////////////////////////////////////////////////////// */



/* Portfolio内のページーー終わりーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */
/* FAQ内のページーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */
.faq-section {
      margin-top: 50px;
      padding: 50px 20px;
      font-family: 'Noto Serif JP', serif;
      color: #ffffff;
    }

    .faq-container {
      max-width: 90%;
      margin-left:5% ;
    }

    .QandA {
      position: relative;
      border-bottom: 1px solid #e1dad3;
      transition: all 1s ease-in-out;
    }

    .QandA:hover {
      background: #73737392;
    }

    .question {
      font-family: 'Playfair Display', serif;
      font-size: 16px;
      font-weight: 100;
      position: relative;
      cursor: pointer;
      margin-bottom: 0;
      letter-spacing: 5px;
      padding: 40px 30px 30px 20px;
    }

    .question::before {
      content: "Q.";
      font-family: 'Playfair Display', serif;
      color: #ffffff;
      position: absolute;
      left: -45px;
      font-size: 20px;
    }
.answer {
  margin-top: 1em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 14px;
  letter-spacing: 3px;
  line-height: 1.9;
  color: #d5d5d5;
  transition: max-height 2s cubic-bezier(0.25, 1, 0.5, 1), opacity 2s ease;
  padding-left: 50px;
  border-left: 1px solid #ffffff;
}

.answer::before {
  content: "A.";
  display: inline-block;
  margin-right: 0.5em;
  font-weight: bold;
  color: #ff0000;
}

.answer.active {
  max-height: 1000px;
  opacity: 1;
}
/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media only screen and (max-width: 768px){

.faq-section {
      padding: 50px 20px;
    }
  .faq-container {
      max-width: 98%;
      margin-left:1% ;
    }

.question {
      font-size: 14px;
      font-weight: 100;
      margin-bottom: 0;
      letter-spacing: 3px;
      padding: 40px 30px 10px 60px;
    }
.answer {
  font-size: 15px;
  letter-spacing: 3px;
   padding-left: 20px;
}
    .question::before {
      content: "Q.";
      font-family: 'Playfair Display', serif;
      color: #ffffff;
      position: absolute;
      left: 20px;
      font-size: 16px;
    }   
 }
/* FAQ内のページ 終わりーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */


/* Flowのページー始まりーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */
.flow-background-wrapper {
  position: fixed;
  top: -150px;
  width: auto;
  height: 120%;
  z-index: -1;
  overflow: hidden;
}

.flow-background {
  width: 110%;
  height: auto;
  object-fit: cover;
}

.flow-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 15, 15, 0.397); 
  pointer-events: none;
  z-index: 1;
}
.flowchart-all-container{
margin-top: 50px;
}
.flowchart-container{
  width: 90;
  text-align: center;
  justify-content: space-between;
  padding:0px 0px;
}
.flowchart-section {
  padding: 20px 0px 0px;
  font-family: 'Shippori Mincho B1', serif;
   animation: fadeIn 2s ease-in-out forwards;
}

.flowchart-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 200px;
  margin-top: 60px;
  letter-spacing: 0.2em;
  color: #ffffff;
}

.timeline {
  position: relative;
  height: 300px;
  width: 95%;
  margin: 0 auto;
}

.timeline-line {
  display:flex;
  width: 99%;
}
.timeline-line::after {
  content: '';
  color: #fff;
  width: 98%;
  height: 40px;
  border-bottom: solid 1px;
  border-right: solid 3px;
  transform: skew(70deg);
}

.timeline-step {
  width:20%;
  position: absolute;
  /* transform: translateX(-50%); */
  top: 11%;
}

.timeline-dot {
  width: 15px;
  height: 15px;
  background-color: #fff;
  border: 2px solid #aaa;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
  transition: transform 0.4s ease;
}

.timeline-step:hover .timeline-dot {
  transform: scale(1.3);
  background-color: #c9c9c9;
}
.timeline-label,.timeline-label-on {
  text-align: center;
  font-size: 12px;
  max-width: 260px;

}
.timeline-label {
  margin-top: 20px;
}
.timeline-label-on {
  margin-top: -200px;
  
}

.timeline-label-start h3{
  font-size: 18px;
  font-weight: 100;
  margin-top: -80px;
  color: #ffffff;
  /* background-color: red; */
}

.timeline-label h3,.timeline-label-on h3 {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 10px;
}.timeline-label h4,.timeline-label-on h4 {
  font-size: 13px;
  color: #d9d9d9;
  margin-bottom: 10px;
}
.timeline-label p,.timeline-label-on p {
  font-size: 12px;
  color: #d9d9d9;
  margin-top: 5px;
}
.red-text{
  color: rgba(255, 255, 255, 0.995)!important;
  letter-spacing: 1px;
    text-shadow:
    3px 3px 3px rgba(0, 0, 0, 0.8),
    -1px -1px 3px rgba(0, 0, 0, 0.5);
}

.timeline-label .comment,.timeline-label-on .comment{
  font-size: 12px;
  color: #ffffff;
  margin-top: 5px;
}
.flow-comment-wrapper{
  text-align: center;
}
.flow-comment{
  width: 77%;
  display: inline-block;
  text-align: left;
  color: #ffffff;
  line-height: 20px;
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 2px;
}
.flow-comment p{
  padding: 5px 0px;
} 

.fade-in1 {
  animation: fadeInUp 1.5s ease both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 768px) {
  .flow-background{
  top:-75px;
  position: fixed;
  width: auto;
  object-fit: cover;
  object-position: calc(50% - 750px) calc(50% - 20px);
  height: 120vh;
}
  .timeline {
    position: relative;
    width: 100%;
    padding-left: 40px;
    padding-right: 10px;
  }

  .timeline-line {
    position: absolute;
    top: 0;
    left: 20px;
    width: 1px;
    background-color: #ccc;
  }
  #timeline-line1{
    height: 450%;
  }
  #timeline-line2{
    height: 380%;
  }

  .timeline-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }

  .timeline-step {
    position: relative;
    margin-left: -25px;
    margin-bottom: 200px;
    width: 100%;
   
      left: auto !important;
      right: auto !important;
      position: relative !important;
    
  }

  .timeline-dot {
    position: absolute;
    /* left: 14px; */
    top: 8px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 2px solid #aaa;
    border-radius: 50%;
    z-index: 2;
  }

  .timeline-label,
  .timeline-label-on,
  .timeline-label-start {
    margin-left: 30px;
    width: 300px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 6px rgba(255,255,255,0.1);
    text-align: left;
  }

  .timeline-label h3,
  .timeline-label-on h3,
  .timeline-label-start h3 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
  }

  .timeline-label h4,
  .timeline-label-on h4 {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 8px;
  }

  .timeline-label p,
  .timeline-label-on p {
    font-size: 12px;
    color: #aaa;
    line-height: 1.6;
  }

  .timeline-label .comment,
  .timeline-label-on .comment {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
  }

  .flowchart-title {
    font-size: 14.5px;
    margin: 40px 0 60px;
    padding: 0 20px;
    text-align: center;
  }
  .flowchart-section {
    padding: none;
   }
  

  .flow-comment {
    width: 90%;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: 1px;
    
  }
  #flow-comment1{
    margin: 1200px auto 80px;
  }
  #flow-comment2{
    margin: 900px auto 80px; 
  }
}

/* Flowのページーー終わりーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */

/* Aboutのページー始まりーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */

.about-container{
  animation: fadeIn 2s ease-in-out forwards;
}
.about-background-wrapper {
  position: fixed;
  top: -75px;
  width: 100%;
  height: 1;
  z-index: -1;
  overflow: hidden;
}
.about-background {
  position: fixed; 
  top: 0px;
  width: 100vw;
  height: auto;
  object-fit: cover;
  z-index: -1; 
}
.about-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 15, 15, 0.2); 
  pointer-events: none; 
  z-index: 1;
}
.Aboutmain{
  max-width: 100%;
}
.Aboutbody{
  z-index: 1;
  margin-top: 50px;
  font-size: 15px;
}
.About-center{
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center; 
  padding: 0 10%;       
  width: 100%;
  box-sizing: border-box; 
}
.Aboutexplain{
  color: white;
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 4px;
  line-height: 35px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); 
  display: none;  
  color: white;  
  z-index: 2;  
  margin-bottom: 100px;
}
.Profile{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5%;
  margin: 2.5% auto;
  width: 95%;
}
.profilepic{
  padding-top: 5%;
  width: 45%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
}
.profile-About{
  width: 45%;
  color: #ffffff;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 2px;
}
.myname{
  font-size: 20px;
  font-weight: 100;
  letter-spacing: 20px;
  margin-bottom: 30px;
  text-align: center; 
}
.Aboutpart .english-text{
  z-index: 2;  
}
.japaneseAbout {
  display: block; 
  margin-top: 100px;
}

.englishAbout {
   display: block;
  margin-top: 100px;
}



/* /////////////////////////////////////////////////////////////////// */

@media only screen and (max-width: 768px){
  .about-background {
  position: fixed;
  top: 0px;
  width: auto;
  height: 100vh;
  object-fit: cover;
  z-index: -1; 
  object-position: calc(50% - 150px) calc(50% - 20px);
  }
  .Aboutbody{
    margin-bottom: none;  
  }
  .Aboutmain{
     display:contents;
     flex-direction: column;
     align-items: center;
     justify-content: space-between;
     font-size: 14px;
     text-align: center;
     margin-left: 0%;
     width: 100%;
  }
  .About-center{
  padding: 0 2%;       
}
  .Aboutexplain{
    margin-top: 0px;
     letter-spacing: 0px;
     font-size: 13px;
     line-height: 35px;
  }
  .Profile{
    display:block;
    justify-content: center;
    align-items: flex-start;
    gap: 5%;
    margin: 2.5% auto;
    width: 85%;
  }
  .profilepic{
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-left:  10%;
      min-width: none;
     width: 80%;
     max-width: none;
     margin-bottom: none;
  }
  #profilepic2{
    display: none;
  }

.profile-About{
  width: 100%;
  text-align: start;
  font-size: 13px;
  letter-spacing: 1px;
}

  .myname{
    margin-top: 30px;
     font-size: 16px;
     font-weight: 100;
     left: 0%;
     letter-spacing: 15px;
} 
}
/* /////////////////////////////////////////////////////////////////// */
/* Aboutのページーー終わりーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　 */




/* Contact問い合わせフォーム欄---------------------------------------------------------------- */
#Contactimg{
position: fixed;
top: 0px; 
width: auto;
object-fit: cover;
 z-index: -1;
}
.form-wrapper {
  font-size: 12px;
  font-weight: 100;
  letter-spacing: 5px;
  max-width: 80%;
  height:auto;
  justify-content: center;
  margin:  auto ;
  color: #ffffff;
  background:transparent;
  opacity: 0.8;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.form-group {
  
  margin-bottom: 50px;
}
.form-group label:hover{
  opacity: 0.8;
}
.form-group input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 8px;
}

.form-group label {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}
.form-subject{
  display: flex;
}
.form-subject span {
  font-size: 20px;
  color: red;
}

input[type="text"],
input[type="email"],
textarea {
  background-color: #3333334f;
  color: #ffffff;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.resize-icon {
  position: absolute;
  bottom: 246px;
  right: 168px;
  font-size: 30px;
  color: #b9b9b9;
  pointer-events: none;
  user-select: none;
  font-weight: 100;
}

input.error, textarea.error {
  border-color: #e74c3c;
  background-color: #fff5f514;
}

/* -------------------------------------------------------- */
@media only screen and (max-width: 768px){
.form-wrapper {
  font-size: 13px;
  font-weight: 100;
  letter-spacing: 1px;
  max-width: 90%;
}   
}

/* --- プライバシーポリシーブロック ------------------------------ */
.policy-wrapper{
  margin: 0px 0px 0px;
}

/* スクロールエリア：200×200 の正方形に固定 */
.policy-scroll{
  text-align: center;
  max-width: 80%;
  max-height: 140px;
  overflow-y: auto;
  padding: 15px;
  background: #fff;
  border: 1px solid #ccc;
  font-size: 12px;
  line-height: 1.6;
  color:#333;
  margin: 0 auto 15px;   
}
.privacy-container h2{
  margin-top: 15px;
}
.policy-agree{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 5px;
  cursor: pointer;
}
.policy-agree input[type="checkbox"]{
  transform: scale(1.2);
  margin-top: 3px;
}
.policy-agree span {
  font-size: 15px;
  color: #fff;
}
.privacy-box{
  width:200px;
  height:200px;
  margin: 0 auto 40px;               
  border:1px solid #ffffff6b;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(3px);        
  transition: transform .5s ease;    
}

.privacy-box:hover{                   
  transform: scale(1.05);
}

.privacy-box .icon{
  font-size:80px;                   
  color:#ffffffd9;
  transition: transform .5s ease;
}
.hidden{display:none;}


/* ボックスにホバーしたらアイコンも少し回転 */
.privacy-box:hover .icon{
  transform: rotate(6deg);
}
/* ―― 未アクティブ（disabled） ―― */
#confirmButton:disabled{
  opacity: .35;                 /* うすく */
  cursor: not-allowed;          /* 禁止カーソル */
  filter: grayscale(100%);      /* 彩度ゼロで地味に */
  transform: none;
  box-shadow: none;
}

/* ―― アクティブになったら付くクラス ―― */
#confirmButton.enabled{
  background-color:#e74c3c;     /* 目立つ暖色 */
  color:#fff;
  opacity:1;
  filter:none;
  cursor:pointer;
  transition:background-color .3s,transform .3s,box-shadow .3s;
  box-shadow:0 0 12px #e74c3c88;
}

#confirmButton.enabled:hover{
  background-color:#ff5548;
  transform:translateY(-2px);
  box-shadow:0 4px 16px #e74c3c88;
}
@media only screen and (max-width: 768px){
.policy-scroll{
  max-width: 100%;
  padding: 15px;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1.2;
}
  .policy-agree{
  font-size: 14px;
  letter-spacing: 0px;
}
}
/* ------------------------------------------ */
textarea {
  resize: vertical;
}

.form-buttons {
  text-align: center;
}

button {
  background-color: #333;
  color: white;
  border: none;
  padding: 12px 50px;
  font-size: 16px;
  cursor: pointer;
  margin: 10px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #555;
}

.hidden {
  display: none;
}
.js-form{
  /* background-color: #555; */
  width: 80%;
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 4px;
  line-height: 50px;
  color: #dedede;
  text-align: left;
  margin-left: 20%;
  white-space: pre-wrap; 
}
.contact-button{
  margin-left: 40%;
  width: 20%;
  display: flex;              
 justify-content: center;    
 align-items: center;        
 gap: 2rem;         
 z-index: 100;         
}
/* ----- 確認画面 ----------------------------- */
/* --- 確認画面 ------------------------- */
#confirmation{
  text-align: center;
  padding: 50px;
  background:rgba(0,0,0,.8);   
  color:#fff;                  
  padding:25px 20px;
  margin-top:30px;
  border-radius:6px;
  height:auto;                
  line-height:1.7;
  z-index: 20;
}
#confirmation h2{
  color: #ffffffcd;
  font-weight: 100;
  width: 100%;
  height: 100%;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  font-size: 22px;
  letter-spacing: 18px;
}
#confirmText{
  align-items: center;
  border: #ffffff solid 0.5px;
  text-align:start;
  padding: 40px;
  width: 90%;
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 5px;
} 
#confirmText p strong{
  color: #e74c3c;
}
#form-attention{
  text-align: center;
  letter-spacing: 2px;
  line-height: 25px;
}
/* ------------------------ */
@media only screen and (max-width: 768px){
#Contactimg{
  top: -80px; 
  height: 1150px;
  width: 100%;
  opacity: 0.8;
  }
  .resize-icon{
    display: none;
  }
  .js-form{
    background-color: #00000082;
    width: 100%;
    margin-left: 0%;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 50px;
    color: #dedede;
    text-align: left;
    margin-left: 0%;
    padding: 20px 30px;
    white-space: pre-wrap; 
  }
  .contact-button{
    margin-left: 20%;
    width: 60%;       
  }
  #form-attention{
  letter-spacing: 2px;
  line-height: 25px;
}
}
  /* ---Thanks-----------------------------------------------------------------------
 */
  .thx-main {
      min-height: 70vh;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
      padding: 15rem;
      font-weight: 100;
      font-family: 'Shippori Mincho B1', serif;
      color: #ffffff;
      letter-spacing: 2px;
    }

    .thx-h1 {
      font-size: 18px;
      margin-bottom: 3rem;
      font-weight: 100;
    }

    .thx-p {
      max-width: 700px;
      line-height: 2.2;
      font-size: 16px;
      margin-bottom: 2rem;
      font-weight: 100;
    }

    .thx-back-btn {
      color: #999;
      display: inline-block;
      margin-top: 2.5rem;
      padding: 0.9rem 2.5rem;
      border: 1px solid #9999998f;
      text-decoration: none;
      font-size: 0.95rem;
      letter-spacing: 0.05em;
      transition: all 0.3s ease;
    }
    .thx-back-btn:hover {
    background-color:#ffffff22;
    transition: 0.3s;
  }

  @media only screen and (max-width: 768px){
.thx-main {
      min-height: 70vh;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
      padding: 2rem;
    }
     .thx-h1 {
      padding-top: 50px;
      max-width: 100%;
    }

    .thx-p {
      font-size: 15px;
      font-weight: 100;
    }
}

