/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
	
}

.hero-content {
    position: relative;
    height: 100%;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fv-background {
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/fv_bg.jpg);
    border-radius: 20px;
    background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0px 0px 140px;
}

.fv-moon {
    position: absolute;
    left: 17%;
    top: 63px;
    width: 572px;
    height: 572px;
}

.hero-text-container {
    display: flex;
    gap: 290px;
    align-items: flex-start;
    max-width: 980px;
    padding-right: 70px;
    position: relative;
    z-index: 1;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 100px;
    font-family: var(--font-zen-old-mincho);
    color: var(--text-color);
}

.hero-text-content h2 {
    font-size: 1.44rem; /* 26px ÷ 18px = 1.44rem */
    line-height: 1.8;
    font-weight: normal;
}

.hero-text-content p {
    font-size: 1rem; /* 18px ÷ 18px = 1rem */
    line-height: 1.8;
}

.tagline-container {
    display: flex;
    gap: 15.928px;
    align-items: flex-start;
}

.tagline-text,
.tagline-subtitle {
    font-family: 'Hina Mincho', serif;
    font-size: 2.33rem; /* 42px ÷ 18px = 2.33rem */
    color: var(--primary-brown);
    line-height: 1.2;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding-top: 50px;
}

.tagline-text {
    width: 45.66px;
    height: 539.247px;
	order: 1;
	padding-top: 100px;
}

.tagline-subtitle {
    width: 41.412px;
    height: 451.289px;
	order: 2;
}

/* Main Content */
.main {
    display: flex;
    flex-direction: column;
    gap: 65px;
    width: 100%;
}

/* About Section */
.about-section {
    padding: 0 30px;
	margin: 100px auto;
}

.about-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.about-image-left,
.about-image-right {
    flex: 1;
    max-width: 394px;
    aspect-ratio: 361.5/355;
    mix-blend-mode: multiply;
}

.about-image-left {
	flex: 1;
	display: flex;
	align-items: flex-end;
	order: 1;
}
.about-image-right {
	flex: 1;
	order: 3;
}

.about-text-container {
 
    width: 580px;
    display: flex;
    gap: 43px;
    align-items: flex-start;
	order: 2;
}

.about-title {
    font-family: 'Hina Mincho', serif;
    font-size: 48px;
    color: var(--primary-brown);
    line-height: 1.2;
    writing-mode: vertical-rl;
    text-orientation: upright;
    width: 49px;
    height: 416px;
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 60px;
	margin: 0 auto 100px auto;
}

.about-content h3 {
    font-family: 'Zen Old Mincho', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.about-content p {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Button Styles */
.button-area_left{
	display: flex;
}
.button-area_right{
	display: flex;
	justify-content: flex-end;
}
.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 15px 20px;
    border-radius: 10px;
    background: linear-gradient(to right, #ffb989, var(--accent-orange));
    color: white;
    font-family: 'Zen Old Mincho', serif;
    font-size: 18px;
    line-height: 1.8;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.button-container:hover {
    opacity: 0.9;
}

.arrow-icon {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.arrow-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid var(--accent-orange);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Services Section */
.services-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    
    margin: 0 auto 100px auto;
}

.services-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
	padding: 0 30px;
	width: 100%;
    max-width: 1170px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 349px;
}

.service-image {
    padding: 0 8%;
}






.service-item h3 {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.77rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    text-align: center;
}

.service-item p {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Staff Section */
.staff-section {
    padding: 0 30px;
    max-width: 1170px;
    margin: 0 auto 100px auto;
}

.staff-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.staff-image {
    max-width: 484px;
    mix-blend-mode: multiply;
    border-radius: 10px;
}

.staff-content {
    width: 541px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.staff-content h2 {
    font-family: 'Hina Mincho', serif;
    font-size: 36px;
    color: var(--primary-brown);
    line-height: 1.4;
}

.staff-content p {
    font-family: 'Zen Old Mincho', serif;
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
}

/* Access Section */
.access-section {
    padding: 0 30px 30px 30px;
    max-width: 1170px;
    margin: 0 auto;
}

.access-container {
    display: flex;
    gap: 30px;
}

.access-content {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.access-content h2 {
    font-family: 'Hina Mincho', serif;
    font-size: 36px;
    color: var(--primary-brown);
    line-height: 1.2;
}

.access-content p {
    font-family: 'Zen Old Mincho', serif;
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
}

.access-map {
    flex: 1;
    aspect-ratio: 780/301;
}
.map {
  position: relative;
  width: 100%;
  height: 100%;
  /* padding-top: 75%; 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Home Page Responsive Design */
@media (max-width: 1200px) {
    .hero-text-container {
		gap:25vw;
        justify-content: space-between;
		max-width: 1200px;
  padding: 0 50px 0 30px;
    }
    .hero-text-content h2 {
    font-size: 2.4vw;
}
	.hero-text-content p {
  font-size: 1.6vw;
}
    .fv-background {
        width: 100%;
        background-size: cover;
    }
    
    .fv-moon {
		left: 20%;
    }
	.fv-moon img {
		width: 48vw;
  max-width: 100%;
  height: auto;
}
	.fv-background {
  padding: 0px 0px 10vw;
}
.tagline-subtitle,.tagline-text {
  height: auto;
}
	.service-item h3 {
  font-size: 2.5vw;
}
}
@media (max-width: 960px) {
  .tagline-text, .tagline-subtitle {
  font-size: 4vw;
} 
	.fv-background {
	padding: 0px 0px 7vw;
}
}
@media (max-width: 768px) {
    .hero-text-container {
        gap: 0px;
        max-width: none;
        padding-right: 0;
    }
      .hero-text-container {
   flex-direction: column;
  }
    .tagline-text,
    .tagline-subtitle {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        width: auto;
        height: auto;
    }
    
    .about-container {
        flex-flow: wrap;
		justify-content: center;
    }
    
    .about-text-container {
        flex-direction: column;
        max-width: none;
    }
    
    .about-title {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        width: auto;
        height: auto;
        text-align: center;
    }
    
    .services-container {
    }
    
    .staff-container {
        gap: 30px;
    }
    
    .staff-image {
        width: 100%;
        max-width: 484px;
    }
    
    .staff-content {
        width: 100%;
        max-width: 541px;
    }
    
    .access-container {
    }
    .tagline-container {
  flex-flow: wrap;
		gap: 0px;
		width: 100%;
}
	.tagline-container {
		order: 1;
  display: flex;
  gap: 15.928px;
  align-items: flex-start;
}
	.hero-text-content h2 {
    font-size: 1.4rem;
}
	.hero-text-content p {
  font-size: 1rem;
}
	.tagline-subtitle {
  order: 1;
}
	.tagline-text {
  order: 2;
}
	 .hero-text-container {
    gap: 20px;
		 width: 100%;
  }
	.hero-text-content {
		order: 2;
  padding-top: 10px;
		 width: 100%;
		padding-right: 20vw;
}
	.tagline-text, .tagline-subtitle {
  padding-top: 0px;
}
	.fv-background {
  justify-content: flex-start;
}
	 .fv-moon {
		 top: 12vw;
    left: 45%;
  }
	  .fv-background {
    padding: 30px 0px 26vw;
  }
	.about-text-container {
  width: 100%;
		order: 1;
}
	.about-content h3 br {
    display: none;
}
	.about-content {
  padding-top: 0px;
		margin: 0 auto 0px auto;
}
	.about-title,.staff-content h2,.access-content h2 {
    font-size: 2rem;
  }
	.about-content h3 {
  font-size: 1.6rem;
}
	.about-image-left {
		width: 35%!important;
  order: 2;
		flex: none;
}
	
	.about-image-right {
  order: 3;
		width: 35%!important;
		flex: none;
}
}

@media (max-width: 480px) {
    .hero-section {
    }
    .hero-content {
  height: 100%;
  padding: 0 20px;
}
	  .fv-background {
    padding: 20px 0px;
  }
	  .hero-text-container {
    padding: 0 20px;
  }
	 .hero-text-content {
    padding-right: 0vw;
  }
    .hero-text-content h2 {
        font-size: 5.4vw;
		order: 2;
    }
    .fv-moon {
		top: 0vw;
    left: 0%;
		position: relative;
  width: 100%;
  height: auto;
		text-align: center;
		order: 1;
}
	 .fv-moon img {
    width: 65vw;
    max-width: 100%;
    height: auto;
  }
	  
	  .hero-text-content p {
    order: 3;
  }
	 .hero-text-content p .br {
   display: none;
  }
	.about-section {
  margin: 60px auto;
}
    .tagline-text,
    .tagline-subtitle {
        font-size: 7.5vw;
    }
    .about-title, .staff-content h2, .access-content h2 {
    font-size: 6vw;
  }
    .about-title {
        font-size: 8vw;
    }
      .about-content h3 {
    font-size: 6vw;
  }
  .about-content h3 br {
    display: inline-block;
  }
	.about-text-container {
  width: 100%;
  gap: 30px;
}
	  .about-image-left {
    width: 45% !important;
  }
	  .about-image-right {
    width: 45% !important;
  }
	.about-content {
  padding-top: 20px;
}
	  .services-container {
		  flex-direction: column;
  }
	  .access-container {
		  flex-direction: column;
  }
	.access-content {
  gap: 30px;
}
	.map {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 75%; 
}
	.service-item {
  width: 100%;
}
    .service-item h3 {
        font-size: 28px;
    }
    .staff-container {
  flex-direction: column;
}
    
    .access-content h2,
    .contact-text h2 {
        font-size: 32px;
    }

}