
/* roots */


  .zen-old-mincho-regular {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }
  .nanum-myeongjo-regular {
    font-family: "Nanum Myeongjo", serif;
    font-weight: 400;
    font-style: normal;
  }
  .zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
  }


:root{
  --color-ground:#ffffff;
  --color-brand:#00326f;
  --color-brand2:#007eb9;
  --color-brand3:#bfc153;
  --color-ink:#232539;
  --color-ink-right:#00326f;
  --font-serif: "Zen Old Mincho",serif;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max-width: min(1100px, 88vw);
}

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

body {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--color-ink);
  background-color: var(--color-ground);
  line-height: 1.65;
  font-size: clamp(15px, 4vw, 18px);
}

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

p {
  font-size: clamp(15px, 4vw, 18px);
}

h1{
  margin: 0 0 0.75rem;
  color: var(--color-ink);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 3px;
  font-size: 30px;
}

h2,h3 {
  font-weight: 350;
  margin: 0 0 0.75rem;
  color: var(--color-ink);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 3px;
}


section{
  margin-bottom: 5rem;
}

.container{
  padding: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}




.heading{
    margin-bottom: 3rem;
    text-align: center;
}


.line{
  letter-spacing: -3px;
  color: var(--color-brand3);
  font-weight: 1000;
  font-size: larger;
  line-height: 2px;
}


.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-ink-right);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  line-height: 0.5px;
}

.pop{
  text-align: right;
}

.ghost {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 1.1rem;
  color: var(--color-ink);
  border-left: 10px solid var(--color-ink-right);
  margin-top: 3rem;
  padding: 0.5rem 2.5rem 0.5rem 1.5rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ghost:hover {
  transform: translateY(-3px);
  background: var(--color-brand);
  color: #ffffff;
}

.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

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




/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ebecf0f4;
  overflow: visible;
  backdrop-filter: blur(1px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 265px;
  width: 5px;
  height: 100%;
  background-color: #ffffff;
  transform: skew(-20deg);
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 280px;
  height: 100%;
  background-color: #ffffff;
  transform: skew(-20deg);
  z-index: -2;
}

.site-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 1.5rem;
}


/* ===============================
   LOGO
================================= */

.logo img {
  display: block;
  height: auto;
  width: clamp(0px, 35vw, 160px);
}


/* ===============================
   NAV (PC BASE)
================================= */

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.menu-item {
  display: block;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-ink);
  position: relative;
  display: inline-block;
  padding: 0.3rem 0;
}

/* アンダーラインアニメ */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--color-brand2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.nav-cta {
  display: inline-block;
  color: var(--color-brand);
  padding: 0.6rem 1.2rem; 
  margin-left: 1.5rem;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  white-space: nowrap;
}

.site-nav a.nav-cta:hover {
  background: var(--color-brand);
  color: var(--color-ground);
}

/* 下線完全無効化 */
.site-nav a.nav-cta::after {
  content: none !important;
}

.nav-cta {
  display: inline-block;
  text-align: center;
  color: #322205;
  padding: 0.6rem 1.2rem; 
  margin-left: 1.5rem;
  border: 1px solid #4f380e;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgb(255, 147, 70);
  border: 1px solid rgb(255, 147, 70);
  color: var(--color-ground);
}

.nav-cta::after {
  content: none !important;
}

/* ===============================
   SUB MENU (PC)
================================= */

.sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;

  z-index: 1000;
}

.sub-menu li + li {
  margin-top: 0.5rem;
}

.sub-menu a {
  display: block;
  color: var(--color-ink);
}

.sub-menu a:hover {
  color: var(--color-ink-right);
}

.sub-menu a::after {
  content: none;
}

.sub-menu a:hover::after {
  content: none;
}

/* PCのみhover有効 */
@media (min-width: 1240px) {

  .nav-item.has-sub:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

}

/* ===============================
   TOGGLE BUTTON (PCでは非表示)
================================= */

.submenu-toggle {
  display: none;
}

.nav-toggle {
  display: none;
}

/* ===============================
   MOBILE
================================= */


@media (max-width: 1240px) {
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }

    /* ハンバーガー表示 */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--color-brand);
    transition: .3s;
  }

  
.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

  /* モバイルナビ全体 */
  .site-nav {
    position: fixed;
   top: clamp(0px, 14vw, 64px);
    left: 0;
    right: 0;
    background: #ebecf0f4;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .5s ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .sub-menu a::after {
  content: none;
}

.sub-menu a:hover::after {
  content: none;
}

  /* メニュー行をflex化 */
  .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* ＋ボタン */
  .submenu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
  }

  .submenu-toggle::before {
    content: "+";
  }

  .nav-item.has-sub.open .submenu-toggle::before {
    content: "−";
  }

  /* サブメニューを通常フローに戻す */
  .sub-menu {
    font-size: smaller;
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    padding-left: 2rem;
    background: #ebf0ecf4;
    border: none;
    box-shadow: none;
    transition: max-height .6s ease;
  }

  .nav-item.has-sub.open > .sub-menu {
    max-height: 150px;
  }

  body[data-nav-open="true"] {
    overflow: hidden;
  }

}



/* footer */

.site-footer {
  background: var(--color-brand);
  color: #ffffff;
  padding: 3.5rem ;
}

.footer-container {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-container h3{
  color: #ffffff;
}


.footer-links {
  display: flex;
  gap: 0 1.5rem; 
  flex-wrap: wrap;
  font-size: 0.95rem;
  padding: 0;
}

.footer-links a {
  position: relative;
  text-decoration: none;
  color: #fff;
  padding-right: 1.5rem; 
  line-height: 2;
  display: inline-block;
}

.footer-links a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;       
  height: 0.8rem;   
  background-color: rgba(255, 255, 255, 0.4); 
}


.footer-links a:last-child::after {
  display: none;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-meta span{
  letter-spacing: 1px;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0px 4px 15px rgba(27, 15, 10, 0.439);
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


.back-to-top[data-visible="true"]:hover{
    transform: translateY(-5px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal][data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* top */


.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh; 
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation: sliderFade 15s infinite;
}

.slide1 {
  background-image: url('images/img_health.jpg');
  animation-delay: 0s;
  background-position: left;
}
.slide2 {
  background-image: url('images/img_furecon.jpg');
  animation-delay: 5s;
  background-position: bottom;
}
.slide3 {
  background-image: url('images/img_winter.PNG');
  animation-delay: 10s;
  background-position: bottom;
}

@keyframes sliderFade {
  0% { opacity: 0; }
  10% { opacity: 1; }  
  33% { opacity: 1; }  
  43% { opacity: 0; }  
  100% { opacity: 0; }
}


.hero h1{
  font-size: clamp(22px, 6vw, 35px);
  transform: translateY(30px);
  transition: 1s ease;
  text-align: right;
}

.hero p{
  transform: translateY(30px);
  transition: 1s ease;
  padding: 6px;
}


.hero-card{
  position: absolute;
  top: 70%;
  right: 8%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);

  border-radius: 20px;
  max-width: 500px;
  padding: 0 2rem 2rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-left: 6px solid #bfc153;
}

@media (max-width: 768px) {

  .hero-slider {
  height: 60vh; 
  }

  .hero-card{
  top: 30%;
  left: 10%;
  background: rgba(255, 255, 255, 0.742)
  }

}
/* each-section */

.cards {
  display: flex;
  gap: 30px;
}

.card {
  flex: 1;
  background: white;
  border-radius: 12px;
  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;

}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 40vw;
  height: 300px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card h3 {
  margin-bottom: 10px;
}

@media (max-width: 768px) {

  .cards {
    flex-direction: column; /* ←縦並びにする */
    gap: 40px;
  }

  .card img {
    width: 80vw; 
    height: 200px;
  }
}



.section-pad{
  padding-top: 4rem ;
  padding-bottom:4rem;
  padding-left: 10vw;
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  align-items: center;
  height:100%;
}

@media (max-width: 768px) {

  .section-pad{
    padding-left: 6vw;
  }
}


.cta-banner {
  padding: 5rem 0;
  background: radial-gradient(circle at left, #ffe9a8, transparent 60%);
}

.cta-banner-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}



.news-list {
  grid-template-columns: 1fr;
  width: 80vw;
  list-style: none;
  margin-top: 3rem;
  padding: 0;
  background-color: #fff;
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  border-bottom: 1px dotted #ccc;
}

.news-date {
  color: #888;
  font-size: 0.95rem;
  min-width: 6rem;
}

.news-tag {
  background-color: var(--color-brand);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .news-list li {
    display: block; 
  }

  .news-date,
  .news-tag {
    display: inline-block; 
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .news-list p {
    display: block;
    margin-top: 0.3rem;
    font-size: 1rem;
  }
}

/* 全体レイアウト */
.missions-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

/* 左画像 */

.missions-main img {
  width: 30vw;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 右 */
.missions-text {
  flex: 1;
  min-width: 40vw;
}

/* 各項目 */
.mission-item {
  display: flex;
  gap: 35px;
  margin-bottom: 3rem;
  align-items: flex-start;
}

/* 番号 */
.number {
  position: relative;
  font-size: 42px;
  font-weight: 300;
  min-width: 60px;
}

.number::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -12px;
  width: 2px;
  height: 80%;
  background: #bfc153;
}

/* テキスト */
.text {
  flex: 1;
  min-width:0;
}


.text h4 {
  font-size: 18px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}



.text p {
  line-height: 1.8;
}
@media (max-width: 768px) {

  .missions-content {
    flex-direction: column; /* ←縦並びにする */
    gap: 40px;
  }

  /* 左画像を上に */
  .missions-main img {
    width: 100%; /* ←画面いっぱいに */
  }

  /* 右テキストも自然に広がる */
  .missions-text {
    min-width: auto;
    width: 100%;
  }



}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature-row {
  display: flex;
  margin: 5px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.feature-row .text {
  flex: 1 1 320px;
}


strong {
  display: block;
  border-left: 4px solid var(--color-brand);
  color: var(--color-brand);
  padding: 20px;
  font-size: clamp(15px,5vw,20px);
  font-weight: 500;
}


.feature-row  p {
  padding: 3rem ;

}

.feature-row img {
  padding-top: 1rem;
  width: 30vw;
  height: auto;
  position: relative;
}

@media (max-width: 768px) {

  .feature-row  p {
  padding: 1rem ;
  }

  .feature-row img{
    width: 70vw;
    height: auto;
    margin-left: 5vw;
  }
}

/*animation*/

  #img-box,#intro{
    opacity: 0;              
    transform: scale(0.9);   
    animation: fadeInScale 2s ease-out forwards;
  }

  @keyframes fadeInScale {
    0% {
      opacity: 0;
      transform: scale(0.9);
      }
    100% {
      opacity: 1;
      transform: scale(1);
      }
  }

/*font*/


/*main*/



  #photoes,#philosophy{
    margin-left: 40px;
    margin-right: 40px;
  }


  #img-box{
    text-align: center;
    padding-top: 40px;
  }

  .title{
    padding-top: 75px;
    padding-bottom: 45px;
    text-align: center;
  }

  @media (max-width: 768px) {
    .title {
      font-size: 14px;
    }
  }

/*home*/

  #logo-img{
    padding-top: 20px;
    max-width: 700px; 
    width: 100%;     
    height: auto;
  }

  #intro{
    text-align: center;
    line-height: 5ch;
    letter-spacing: 0.6ch;
    padding-bottom: 80px;
  }

  @media (max-width: 768px) {
    #intro {
      padding: 0 10px;
      font-size: 12px;
    }
  }


  #photoes ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    padding-bottom: 80px;
  }

  #photoes li img{
    height: 200px;
    width: auto;
    display: block;
    border-radius: 5px;
  }

  h1{
    text-align: center;
  }

  #daihyou-text{
    margin: 0 auto;
    color: var(--color-ink);
  }

  #hirano{
    text-align:right;
    padding-bottom: 50px;
  }

/*mission*/

  #missions{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 10px auto 60px;
    max-width: 1200px;
    padding: 0 40px;
  }

  #kyousou{
    max-width: 40%;
    height: auto;
  }

  #mission-text{
    flex: 1;
    min-width: 300px;
  }

  @media (max-width: 768px) {
    #missions {
      flex-direction: column; 
      align-items: center;   
      padding:0 20px;
    }

    #kyousou {
      max-width: 90%;
      margin-bottom: 20px;
    }

    #mission-text {
      width: 100%;
    }
  }

  #philosophy {
    display: flex;
    align-items: center; 
    margin-bottom: 30px;
    margin-top: 60px;
  }

  #number {
    font-family: "Nanum Myeongjo", serif;
    font-size: 60px;
    font-weight: 100;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--color-brand);
    border-right: 1px solid #bec052; 
    padding-right: 20px;
    display: flex;           
    align-items: center;     
    justify-content: center;  
  }

  #number::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;        
    width: 1px;
  }


  @media (max-width: 768px) {
    #number{
      font-size: 40px;
    }
  }

  #content_tytle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 25px;
    margin: 0 0 16px;
    color: var(--color-brand);
  }

  @media (max-width: 768px) {
    #content_tytle{
      font-size: 20px;
    }
  }

  .sp-only {
    display: none;
  }

  @media (max-width: 768px) {
    .sp-only {
      display: block; 
    }
  }

  #content{
    padding-top: 10px;
    max-width: 90%;
    margin: 0 ;
    margin-left: 40px;
    font-size: 16px;
    color: var(--color-ink);
  }

  @media (max-width: 768px) {
    #content{
      max-width: 80%; 
      padding: 0 10px;
      margin: 0 auto;
      font-size: 13px;
    }
  }

/*report*/

  table {
    margin: 0 auto;        
    border-collapse: collapse; 
    width: 90%;               
    max-width: 700px;         
    text-align: left;   
    margin-bottom: 40px;
  }

  table tr {
    border-bottom: 12px solid transparent; 
  }

  table td {
    padding: 8px 15px;       
    vertical-align: top;    
    border-right: 1px solid #d0d283;
    word-break: keep-all;      
    white-space: normal;         
  }

  table td a {
    color: #00326f ;
  }

  table td:last-child{
    border-right: none;
  }

  @media (max-width: 650px) {
    table {
      padding: 1rem;
      display: block; 
      overflow-x: auto;
      width: 100%;
      max-width: 100%;
      font-size: 12px;
    }
  }

/*inquiry*/

  #form {
    text-align: center;
  }

  #form iframe {
    display: inline-block;
    width: 100%;        
    max-width: 640px;   
    height: 975px;     
    border: none;
  }


/* request page */

.request-lead {
  max-width: 900px;
  margin-bottom: 4rem;
  text-align: left;
}

.request-lead p {
  margin: 0 auto 1.2rem;
  line-height: 2;
}

.request-lead-actions {
  text-align: right;
}

.request-section {
  margin-bottom: 5.5rem;
}

.request-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.request-flow li {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 111, 0.14);
  border-left: 5px solid var(--color-brand3);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.flow-number {
  display: inline-block;
  font-family: "Nanum Myeongjo", serif;
  color: var(--color-brand);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.request-flow h3 {
  font-size: 1.05rem;
  color: var(--color-brand);
  margin-bottom: 0.6rem;
}

.request-flow p,
.request-card p,
.request-info-list li,
.request-form-intro {
  font-size: 0.96rem;
}

.request-note {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(90deg, rgba(191,193,83,0.17), rgba(255,255,255,0.7));
  border-left: 5px solid var(--color-brand3);
  border-radius: var(--radius-sm);
}

.request-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.request-card {
  display: grid;
  grid-template-columns: minmax(220px, 32%) 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  overflow: hidden;
}

.request-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.request-card div {
  padding: 1.2rem 1.6rem 1.2rem 0;
}

.request-card strong {
  margin-bottom: 0.8rem;
  padding: 0.7rem 1rem;
}

.request-info-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.request-info-list li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 2.7rem;
  border-bottom: 1px dotted #c8ca7a;
  background: rgba(255,255,255,0.68);
}

.request-info-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  color: var(--color-brand);
  font-weight: 700;
}

.request-form-section {
  max-width: 980px;
}

.request-form-intro {
  margin-bottom: 2rem;
}

.request-form {
  background: #ffffff;
  border: 1px solid rgba(0, 50, 111, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 4vw, 2.2rem);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.request-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.request-field {
  display: grid;
  gap: 0.45rem;
}

.request-field-full {
  grid-column: 1 / -1;
}

.request-field label,
.request-field-label {
  margin: 0;
  color: var(--color-brand);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.request-field label span,
.request-field-label span,
.request-privacy em {
  font-style: normal;
  margin-left: 0.45rem;
  color: #b04535;
  font-size: 0.78rem;
}

.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--color-ink);
}

.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  outline: 2px solid rgba(0, 126, 185, 0.18);
  border-color: var(--color-brand2);
}

.request-field input[readonly] {
  background: #f5f6f7;
  color: #555;
}

.request-field textarea {
  min-height: 140px;
  resize: vertical;
}

.request-field small,
.request-form-actions p {
  color: #666;
  font-size: 0.82rem;
  line-height: 1.7;
}

.request-choice-box {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: #fbfbfb;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
}

.request-choice-box label,
.request-privacy {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--color-ink);
  font-weight: 300;
  letter-spacing: normal;
}

.request-choice-box input,
.request-privacy input {
  width: auto;
  margin-top: 0.45em;
  accent-color: var(--color-brand);
}

.request-privacy {
  margin: 1.6rem 0 0;
  font-size: 0.92rem;
}

.request-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.request-form-actions .nav-cta {
  margin-left: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.request-form-actions .nav-cta:hover {
  background: rgb(255, 147, 70);
  border: 1px solid rgb(255, 147, 70);
  color: var(--color-ground);
}


.request-message {
  display: none;
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(0, 126, 185, 0.08);
  border-left: 5px solid var(--color-brand2);
  border-radius: var(--radius-sm);
  color: var(--color-brand);
}

.request-message[data-visible="true"] {
  display: block;
}

@media (max-width: 900px) {
  .request-flow,
  .request-info-list,
  .request-form-grid {
    grid-template-columns: 1fr;
  }

  .request-card {
    grid-template-columns: 1fr;
  }

  .request-card div {
    padding: 0 1.2rem 1.4rem;
  }

  .request-card img {
    height: 190px;
  }

  .request-form-actions {
    display: grid;
  }

  .request-form-actions .nav-cta {
    width: 100%;
  }
}



.event-contents {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.text {
  display: flex;
  flex-wrap: wrap; 
  gap: 40px;      
  margin-bottom: 40px;
}

.text strong {
  display: block;
  width: 100%;
}

.event-detail {
  flex: 0 0 350px; 
  margin: 0;
  line-height: 1.8;
  background-color: #f8f9fa; 
  padding: 20px;
  border-radius: 8px;
}


.event-text {
  flex: 1;        
  margin: 0;
  line-height: 1.8;
  padding-top: 10px; 
}


.img {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap; 
  justify-content: center;
}

.img img {
  width: auto; 
  height: 300px; 
  text-align: center;
}


@media (max-width: 768px) {
  .text {
    flex-direction: column;
    gap: 20px;
  }
  
  .event-detail {
    flex: none;
    width: 100%;
  }

  .img img {
    width: 100%; 
    height: auto;
  }
}

/* 訪問演奏依頼フォーム：Cloudflare Turnstile / Worker送信用の追加スタイル */
.request-turnstile-field {
  margin-top: 0.5rem;
}

.request-message[data-type="success"] {
  background: rgba(0, 126, 185, 0.08);
  border-left-color: var(--color-brand2);
  color: var(--color-brand);
}

.request-message[data-type="error"] {
  background: rgba(185, 74, 72, 0.10);
  border-left-color: #b94a48;
  color: #8a2f2d;
}

.request-form button:disabled,
.request-form .nav-cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.completion-message {
  max-width: 60vw;
  margin: 40px auto;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  background: #ffffff;
  border: 1px solid rgba(0, 50, 111, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 6px solid #bfc153;
}

.completion-icon {
  width: 60px;
  height: 60px;
  background: #bfc153;
  color: white;
  font-size: 30px;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
}


.completion-details {
  padding: 20px;
  text-align: left;
  margin-bottom: 30px;
}


.detail-item {
  display: flex;
  flex-direction: row; 
  justify-content: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  font-size: 0.95rem;
  gap: 15px; 
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item strong {
  flex: 0 0 200px; 
}


.detail-item span {
  flex: 1; 
  color: #333;
  font-weight: bold;
  word-break: break-all; 
}


@media (max-width: 768px) {
  .completion-message {
    max-width: 80vw;
    margin: 10px auto;
    padding: 30px 15px;
  }

  .detail-item {
    flex-direction: column; 
    gap: 5px;
    padding: 15px 0;
  }

  .detail-item strong {
    flex: none;
    width: 100%;
  }

  .detail-item span {
    width: 100%;
    font-size: 1rem;
    padding-left: 0;
  }

}