/* 共通スタイル */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   color: inherit;
   font-family: "Shippori Mincho", serif;
   word-break: keep-all;
   white-space: normal;
   line-break: strict;
   overflow-wrap: break-word;
}

:root {
   --font-base: clamp(1.2rem, 1.2vw, 2rem);
   --font-m   : clamp(1.25rem, 1.5vw, 1.5rem);
   --font-l   : clamp(1.5rem, 2vw, 2rem);
   --font-xl  : clamp(3rem, 2.5vw, 2.5rem);
   --font-xxl : clamp(3.5rem, 3vw, 3rem);
   --main-color: #874897;
}

 body { font-size: var(--font-base); }
 h4   { font-size: var(--font-m); }
 h3   { font-size: var(--font-l); }
 h2   { font-size: var(--font-xl); }
 h1   { font-size: var(--font-xxl); }
 

 @media (max-width: 600px) {
   body { font-size: 1rem; }
 }
 @media (min-width: 2560px) {
   body { font-size: 1.8rem; }
 }


.bigText {
   font-size: 2.2rem;
   margin: 80px auto;
   text-align: center;
}

.smallText{
   font-size: 0.8rem;
   margin: 20px auto;
   text-align: center;
}

body {
   line-height: 1.6;
   color: #333;
}

h1 {
   font-size: var(--font-xxl);
}

h2 {
   font-size: var(--font-xl);
}

h3 {
   font-size: var(--font-l);
}

h4 {
   font-size: var(--font-m);
}

p {
   font-size: var(--font-base);
}

.fontColor{
   color: var(--main-color) ;
   font-weight: bold;
}



@media (max-width: 1024px) {
   :root {
      /* --- タブレット --- */
      --font-base: 0.95rem;
      --font-m: 1.1rem;
      --font-l: 1.3rem;
      --font-xl: 2.5rem;
      --font-xxl: 2.5rem;
   }

   .bigText {
      font-size: 1.8rem;
   }
}

@media (max-width: 600px) {
   :root {
      /* --- スマホ --- */
      --font-base: 0.9rem;
      --font-m: 1rem;
      --font-l: 1.1rem;
      --font-xl: 1.6rem;
      --font-xxl: 1.8rem;
   }

   .bigText {
      font-size: 1.4rem;
   }
}


@keyframes fadeInUp {
   from {
      opacity: 0;
      transform: translateY(-20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }

}


a {
   text-decoration: none;
   color: inherit;
}

li {
   list-style: none;
}

.animate {
   opacity: 0;
   transform: translateY(20px);
   transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate.show {
   opacity: 1;
   transform: translateY(0);
}

hr {
   border: none;
   height: 1px;
   margin: 0 10% 80px 10%;
}

hr:not(.faqHr) {
   background: linear-gradient(to right, transparent, black 60%, transparent);
}

.mobileBr {
   display: none;
 }
 
 @media (max-width: 600px) {
   .mobileBr {
     display: inline;
   }
 }


/* ボーダー */
.border {
   background-image: linear-gradient(to right, #874897 100%, transparent 0%);
   background-position: 0 100%;
   background-repeat: no-repeat;
   background-size: 0% 2px;
   transition: background-size 1s ease-in;
   display: inline;
}

.border.open {
   background-size: 100% 2px;
}




/* 矢絣柄背景 */
.background {
   position: relative;
   z-index: 1;
}

.background::before,
.background::after {
   content: "";
   position: absolute;
   top: 0;
   width: 8%;
   height: 100%;
   background-image: url("../images/image/yagasuri.jpg");
   background-size: 200px 400px;
   opacity: 0.2;
   z-index: -10;
   pointer-events: none;
   overflow: hidden;
}

.background::before {
   left: 0;
}

.background::after {
   right: 0;
}




/* ヘッダー */
.headerInner {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 80px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   background-color: transparent;
   z-index: 100;
}

.headerInner.scrolled {
   background-color: #874897;
}



.headerImg {
   display: none;
}



.headerLogo {
   position: absolute;
   top: 50%;
   left: 20px;
   transform: translateY(-50%);
   z-index: 100;
}


.headerLogo img {
   height: 50px;
   width: auto;
   margin: 10px 0 0 20px;
   object-fit: contain;
}

.toggle {
   cursor: pointer;
   margin: 10px 30px 0 0;
   width: 60px;
   height: 60px;
   background: url(../images/image/toggle_menu.PNG) center/cover no-repeat;
   border: none;
   outline: none;
   z-index: 1100;
   margin-left: auto;
}



.nav {
   position: fixed;
   top: 0;
   right: 0;
   width: 100%;
   height: 0;
   background-color: white;
   overflow: hidden;
   overflow-y: auto;
   border-radius: 5px;
   transition: height 0.3s ease;
   z-index: 1000;
}

.navWrapper {
   display: flex;
   height: 100vh;
   width: 100%;

}

.navImg {
   width: 30vw;
   height: auto;
   margin-top: 50px;
   ;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 80%;
   transform: rotate(-10deg);
}

.logoWrapper .navLogo {
   display: none;
   display: block;
}

.logoWrapper a::after {
   display: none !important;
   content: none !important;
}

.logoWrapper a:hover {
   transform: none !important;
   color: inherit !important;
}



.navMain {
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   justify-content: flex-start;
   width: 100vw;
   height: 100vh;
   overflow: hidden;

}

.navList {
   width: 80%;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: flex-start;
   font-size: 20px;
   color: black;
   list-style: none;
   margin: 30px;
}

.navList .subTitle li a {
   font-size: 16px;
   margin-left: 20px;
   border: none;
   padding: 2px;
}


.navList li {
   text-align: left;
   font-size: 18px;
   font-weight: 900;
   color: black;
   /* z-index: 100; */



}

.navList .listTitle {
   display: inline-block;
   font-size: 18px;
   padding-left: 12px;
   position: relative;
}

.navList .listTitle a {
   text-align: left;
   font-size: 22px;
   margin: 5px;
   border-left: 3px solid #874897;
   padding: 10px;
}


.subTitle li {
   font-size: 16px;
}


.navList a {
   position: relative;
   display: inline-block;
   color: #000;
   text-decoration: none;
}

.navList a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   width: 0;
   height: 2px;
   background: #874897;
   transition: all 0.3s ease;
   transform: translateX(-50%);
}

.navList a:hover::after {
   width: 100%;
}

.navList a {
   transition: transform 0.3s ease, background 0.3s ease;
}

.navList a:hover {
   transform: scale(1.2);
   color: #874897;
}


.nav.active {
   height: 100vh;
   transition-duration: 0.5s;
}

.nav:not(.active) {
   transition-duration: 0.5s;
 }

.line {
   width: 10px;
   height: 2px;
   background-color: #874897;
   flex-shrink: 0;
   align-items: center;
   margin-right: 3px;
}

.dropdownToggle {
   display: none;
}



/* ファーストビュー */
.firstView {
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   width: auto;
   animation: fadeInUp 1s ease-out forwards;
}

.firstView img {
   display: block;
   position: absolute;
   object-fit: cover;
   top: 0;
   left: 0;
   height: 100vh;
   width: 100%;
}

.firstView h1 {
   position: relative;
   z-index: 5;
   writing-mode: vertical-rl;
   color: white;
   font-size: 45px;
   font-weight: 800;
   text-shadow: 10px 10px 30px white;
}


/* モーダル */

.modalWrapper {
   width: 100%;
}

.modal {
   display: none;
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, 0.6);
   justify-content: center;
   align-items: center;
   z-index: 99999;
   padding: 15% 5%;

}



.modalOpen{
   display: flex;
}


.modalWrapper.half {
   width: calc(50% - 0.5rem); 
 }

.modalContainer{
   position: relative;  
   display: block;
}

.modalImg {
   display: block;
   width: 100%;
   height: 100%;
   max-height: 70vh;
   padding: 0 !important;
   margin: 0 !important;
}

.modalHidden {
   visibility: hidden;
 }

.modalClose {
   position: absolute;
   top: 0; 
   right: 0;
   transform: translate(50%,-50%);
   font-size: 2.6rem;
   width: 2.8rem;
   height: 2.8rem;
   line-height: 1;
   color: #fff;
   background: rgba(0,0,0,0.4);
   border-radius: 50%;
   text-align: center;
   cursor: pointer;
   transition: transform 0.2s;
 }

 .modalClose:hover {
   transform: translate(50%,-50%) scale(1.2);
 }

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


.imageWrapper {
   display: flex;
   flex-wrap: wrap; 
   align-items: stretch;
   gap: 15px;
   margin: 80px auto;
 }

.imageBox {
   flex: 1;
   aspect-ratio: 16 / 9;
   object-fit: cover;
   width: 100%;
   height: auto;
   display: block;
   margin: 0 auto;
   box-shadow: 15px 15px 10px rgba(0, 0, 0, 0.25);

 }


.imageBox2 {
   flex: 1;
   width: 100%;
   height: auto;
   display: flex;
   box-shadow: 15px 15px 10px rgba(0, 0, 0, 0.25);

}
 

@media (max-width: 1024px) {


}

@media (max-width: 600px) {
   .modal{
      padding: 15% 5%;
   }

   .modalClose{
      font-size: 1.5rem;
      width: 1.5rem;
      height: 1.5rem;
   }
}





/* フッター */
.footer {
   color: #f9f9f9;

}

.footerBox {
   padding: 30px;
   position: relative;
}

.footerIndex {
   background-color: #c9a7d2;
}

.footerAcsess {
   background-color: #a675af;
}

.footerContact {
   background-color: #874897;
}

.footerTitle {
   display: flex;
   font-size: 30px;
   flex-direction: row-reverse;
   justify-content: center;
   align-items: center;
   margin: 10px auto;
   text-shadow: 0px 0px 1px white;
}

.footerTitle p {
   font-size: 30px;
}

.footerText {
   font-size: 16px;
}

.footerIcon {
   fill: white;
   margin-right: 10px;
   width: 35px;
   height: auto;
}

.footerArrow {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   transition: transform 0.2s;
   right: 30px;
   width: 35px;
   height: auto;
   fill: white;
}

.footerArrow:hover {
   transform: translate(10px, -50%);
}


.footerText {
   text-align: center;
   font-size: 16px;
}

.footerBox:hover {
   background-color: white;
   color: #874897;
   border: 1.5px solid #874897;
}

.footerBox:hover .footerIcon {
   fill: #874897;
}

.footerBox:hover .footerArrow {
   fill: #874897;
}

.footerContainer {
   display: flex;
   font-size: 26px;
   margin: 80px auto;
   align-items: center;
   text-align: center;
   justify-content: center;
   gap: 20px;
   color: #874897;
}

.copyright {
   padding: 8px 16px;
   text-align: center;
   border-radius: 10px;
   color: gray;
   font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {


   .background::before,
   .background::after {
      width: 5%;
   }


   /* ヘッダー */

   .headerInner {
      height: 60px;
   }

   .headerInner.active {
      background-color: white;
   }


   .navWrapper {
      position: absolute;
      top: 0;

      height: 100vh;
      width: 100%;
   }


   .nav {
      position: fixed;
      height: 100vh;
      display: none;
      overflow-y: auto;
      top: 0;
      left: 0;
      z-index: 20;

   }



   .nav.active {
      display: block;
   }

   /* .navBackground {
      background:
         linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)),
         url('../images/image/testtest.jpg') center/100% 100% no-repeat;

   } */



   .toggle {
      height: 40px;
      width: 40px;
   }

   .headerLogo img {
      margin: 10px 0 0 10px;
      height: 35px;
      width: auto;
   }


   .logoWrapper {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: auto;
      left: 50%;
      transform: translateX(-50%);
      padding-bottom: 30px;
   }

   .logoWrapper .navLogo {
      width: 200px;
      height: auto;
      padding: 0;
   }

   .navMain {
      width: 100%;
      display: flex;
      flex-direction: column;
      padding: 60px 50px 60px 10px;
      margin: 0;
      overflow-y: auto;

   }

   .navList {
      display: flex;
      width: 100%;
      padding: 0;
      height: auto;
      flex-direction: column;
      margin: 0;
   }

   .navList a {
      margin: 0;
   }

   .navList li {
      float: none;
      margin: 0;

   }


   .navList .listTitle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-direction: row;
      width: 100%;
      font-size: 15px;
      position: relative;
      flex-wrap: wrap;
   }


   .navList .listTitle li {
      display: flex;
      width: 100%;

   }

   .navList .listTitle a {
      display: inline-block;
      font-size: 20px;
      text-align: left;
      margin: 10px;
      color: #333;
   }

   .dropdownToggle {
      display: inline-block;
      font-size: 36px;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--main-color);
      /* color: white; */
      margin-left: auto;
      justify-content: space-between;
      align-items: center;
      margin-left: auto;
   }

   .navList .subTitle {
      display: none;
      width: 100%;
      margin: 0;
      padding-left: 60px;
      list-style: none;
   }

   .navList .subTitle.active {
      display: block;
   }

   .navList .subTitle a {
      margin: 20px 0;
      font-size: 25px;
   }



   .navImg {
      display: none;
   }

   .imageBox{
      margin: 0 auto;
   }

   /* フッター */
   .footerTitle p {
      font-size: 20px;
   }

   .footerText {
      font-size: 14px;
   }

}


@media (max-width: 600px) {



   .background::before,
   .background::after {
      width: 3%;
   }

   .border.open {
      background-size: 100% 1px;
   }

   hr {
      margin-bottom: 30px;
   }


   .logoWrapper .navLogo {
      width: 150px;
      height: auto;
      right: auto;
      margin: 0;
   }

   .toggle {
      width: 40px;
      height: 40px;
      margin-right: 20px;
   }

   .headerLogo img {
      margin: 10px 0 0 0;
      height: 32px;
      width: auto;
   }

   .headerImg {
      /* display: none; */
      width: 100%;
      height: 100vh;
      z-index: -10;
   }

   .headerImg.active {
      display: block;
   }

   .navMain {
      padding-right: 15px;
      margin: 0;

   }


   .navList {
      padding: 0 0 0 20px;
      margin: 0;
   }

   .navList .subTitle {
      margin-top: 30px;
      padding: 0 20px
   }

   .navList .listTitle a {
      font-size: 16px;
      margin: 0;
   }

   .navList .subTitle a {
      margin: 20px 0;
      font-size: 12px;

   }

   .navList .listTitle {
      margin: 10px 0;
      padding: 0;
   }



   .dropdownToggle {
      font-size: 26px;
      padding-right: 20px;
   }


   .firstView h1 {
      font-size: 36px;
   }

   .section {
      width: 100%;
   }

   .img {
      width: 20%;
      height: 100%;

   }

   /* フッター */



   .footerText {
      font-size: 12px;
   }

   .footerArrow {
      width: 20px;
   }

   .footerContainer p {
      font-size: 12px;
   }

   .copyright {
      font-size: 10px;
   }

}