/*
Theme Name: blue_harmony_theme
Author: Crossroad Co., Ltd.
*/
@charset "utf-8";

:root {
  --deep-navy: #214A76;
  --ocean-blue: #3A6FA1;
  --light-sea-blue: #AFC8DD;
  --sand-beige: #E8DCC2;
  --white: #FFFFFF;
  --navy-black: #0A0F1A;
  --turquoise-accent: #2FB5D2;

  /* New Sand Beige Variations */
  --bg-beige: #E8DCC2;
  --bg-light-beige: #F9F6F0;
  --bg-light-blue: #F0F5F8;

  --ff-noto: "Noto Sans JP", sans-serif;
  --ff-shippori: "Shippori Mincho", serif;
  --ff-playfair: "Playfair Display", serif;
  --ff-lora: "Lora", serif;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

.bg-light-beige {
  background-color: var(--bg-light-beige) !important;
}

.bg-beige {
  background-color: var(--bg-beige) !important;
}

.bg-light-blue {
  background-color: var(--bg-light-blue) !important;
}

.color-ocean-blue{
  color: var(--ocean-blue)!important;
}
.color-deep-navy{
  color: var(--deep-navy)!important;
}

/* Reset or Base Styles */
body {
  font-family: var(--ff-noto);
  color: var(--navy-black);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--ff-shippori);
  font-weight: 500;
  line-height: 1.4;
}

.en-title {
  font-family: var(--ff-playfair);
  font-style: italic;
  font-weight: 600;
  display: block;
  font-size: 0.9rem;
  color: var(--turquoise-accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.page-section {
  padding-top: 40px;
  padding-bottom: 40px;
  overflow-x: hidden;
  /* Prevent horizontal scroll from row margins */
}

@media (min-width: 768px) {
  .page-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* Header */
header {
  width: 100%;
}

.front-page header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 5%;
  transition: background-color 0.3s;
}

.scrolled .header-inner {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  position: fixed;
  background-color: rgba(252, 249, 242, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header .logo {
  margin-bottom: 0;
}

.logo img {
  width: 70px;
  object-fit: contain;
}

.nav-list {
  display: none;
}

@media (min-width: 992px) {
  .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
    align-items: center;
  }

  .nav-list li+li {
    margin-left: 2rem;
  }

  @supports (gap: 2rem) {
    .nav-list li+li {
      margin-left: 0;
    }
  }

  .nav-list a {
    display: inline-block;
    color: #24314e;
    text-shadow: 1px 3px 5px rgba(36, 49, 78, 0.1);
    padding-bottom: 2px;
  }

  .nav-list a::after {
    display: block;
    content: '';
    width: 0;
    height: 1px;
    background: #24314e;
    transition: all .3s ease;
  }

  .nav-list a:hover::after,
  .nav-list a:focus::after {
    width: 100%;
  }

  .front-page .nav-list a {
    color: var(--white);
  }

  .front-page .scrolled .nav-list a {
    color: #24314e;
  }

  .contact-btn a,.nav-list .onlineurl a{
    background-color: transparent;
    border: 1px solid #24314e;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: none;
    box-shadow: 1px 3px 5px rgba(36, 49, 78, 0.1);
  }
  .contact-btn a::before{
    content: '\f0e0';
    font-family: "Font Awesome 7 Free";
    font-weight: 700;
    display: block;
  }
  .nav-list .onlineurl a::before{
    content: '\f07a';
    font-family: "Font Awesome 7 Free";
    font-weight: 700;
    display: block;
  }

  .contact-btn a::after,.nav-list .onlineurl a::after {
    display: none;
  }

  .front-page .contact-btn a,.nav-list .onlineurl a {
    border-color: #fff;
  }

  .front-page .scrolled .contact-btn a,.nav-list .onlineurl a {
    border-color: #24314e;
  }
}
@media(min-width:1200px){
  .nav-list{
    gap: 2rem;
  }
}
/* Mobile Navigation Trigger */
.menu-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 8px;
  z-index: 1100;
  position: relative;
}

.menu-trigger span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--deep-navy);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-trigger span:last-child {
  width: 18px;
}

.front-page .menu-trigger span {
  background-color: var(--white);
}

.front-page.scrolled .menu-trigger span,
.scrolled .menu-trigger span {
  background-color: var(--deep-navy);
}

@media (min-width: 992px) {
  .menu-trigger {
    display: none;
  }
}

/* Full Screen Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
  /* Prevent overlay itself from scrolling */
}

.menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 74, 118, 0.95);
}

.menu-overlay__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 5% 3rem;
  overflow-y: auto;
  /* Allow content to scroll if it exceeds height */
}

.menu-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.menu-overlay__logo img.white-logo {
  width: 60px;
  filter: brightness(0) invert(1);
}

.menu-close {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}

.menu-close span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
}

.menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-overlay__nav {
  margin:10px 0 1rem;
}

.menu-overlay__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-overlay__nav .menu-item {
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-overlay.is-active .menu-item {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.is-active .menu-item:nth-child(1) {
  transition-delay: 0.2s;
}

.menu-overlay.is-active .menu-item:nth-child(2) {
  transition-delay: 0.3s;
}

.menu-overlay.is-active .menu-item:nth-child(3) {
  transition-delay: 0.4s;
}

.menu-overlay.is-active .menu-item:nth-child(4) {
  transition-delay: 0.5s;
}

.menu-overlay.is-active .menu-item:nth-child(5) {
  transition-delay: 0.6s;
}

.menu-overlay.is-active .menu-item:nth-child(6) {
  transition-delay: 0.7s;
}

.menu-overlay__nav .menu-item a {
  color: var(--white);
  font-family: var(--ff-shippori);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  display: block;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 4px;
}

.menu-overlay__nav .menu-item a::after {
  content: attr(data-desc);
  display: block;
  font-family: var(--ff-playfair);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 400;
  opacity: 0.6;
  margin-top: 4px;
}
.menu-overlay__otherlink {
  opacity: 0;
  transition: opacity 0.5s ease 0.8s;
}
.menu-overlay.is-active .menu-overlay__otherlink {
  opacity: 1;
}

.menu-overlay__otherlink a{
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: var(--ff-shippori);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.menu-overlay__otherlink a i{
  margin-right: 7px;
}
.menu-overlay__otherlink a:hover{
  opacity: 0.8;
}
.menu-overlay__footer {
  text-align: center;
  margin-top: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease 0.9s;
}

.menu-overlay.is-active .menu-overlay__footer {
  opacity: 1;
}

.menu-overlay__footer .tagline {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--ff-playfair);
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.menu-overlay__footer .tel-link {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
}
@media(min-width:768px){
  .menu-overlay__nav .menu-item a,.menu-overlay__otherlink a{
    font-size:1.2rem;
  }
}
/* primary button */
:root {
  --bh-text-color: #3A6FA1;
  --main-gradient: linear-gradient(90deg, #214A76 0%, #2F82C4 25%, #3EC6B8 75%, #C4F3E8 100%);
}

.bh-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
  transition: opacity 0.3s ease;
  font-family: var(--ff-shippori);
}

/* Gap fallback */
.bh-link span+span {
  margin-left: 15px;
}

@supports (gap: 15px) {
  .bh-link span+span {
    margin-left: 0;
  }
}

.bh-link__text {
  color: var(--bh-text-color);
  font-weight: bold;
  font-size: 18px;
  position: relative;
  padding-bottom: 6px;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

.bh-link__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--main-gradient);
}

.bh-link__icon-wrapper {
  width: 70px;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.bh-link__icon {
  width: 100%;
  height: auto;
  overflow: visible;
}

.bh-link__circle {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: 70px 30px;
}

.bh-link:hover {
  opacity: 1;
}

.bh-link:hover .bh-link__text.bh-link:focus .bh-link__text {
  opacity: 0.8;
}

.bh-link:hover .bh-link__icon-wrapper,
.bh-link:focus .bh-link__icon-wrapper {
  transform: translateX(5px);
}

.bh-link:hover .bh-link__circle,
.bh-link:focus .bh-link__circle {
  transform: scale(1.15);
}

@media (min-width: 768px) {
  .bh-link__icon-wrapper {
    width: 90px;
  }
}

/*---- Top page ----*/

/* Hero Section */
.hero_sec {
  position: relative;
  height: 70vh;
  height: 70dvh;
  min-height: 500px;
  width: 100%;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero_sec {
    height: 100vh;
    height: 100dvh;
  }
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./img/shonan-beach.jpg') center/cover no-repeat;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(33, 74, 118, 0.3) 0%,
      rgba(39, 159, 181, 0.2) 40%,
      rgba(150, 241, 217, 0.1) 75%,
      rgba(243, 234, 212, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
}

.hero-content h2 {
  font-family: var(--ff-playfair);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em;
}

@media (min-width: 992px) {
  .hero-content h2 {
    font-size: 4rem;
  }
}

/* Introduction Section */
.intro_sec {
  background-color: var(--sand-beige);
  position: relative;
  padding-top: 0;
  overflow: visible;
}

.intro-card {
  background-color: var(--white);
  padding: 3rem 2rem;
  top: -50px;
  margin-bottom: -50px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  .intro-card {
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  /* Gap fallback */
  .intro-text-side+.intro-image-side {
    margin-left: 3rem;
  }

  @supports (gap: 3rem) {
    .intro-text-side+.intro-image-side {
      margin-left: 0;
    }
  }
}

@media(min-width:1200px) {
  .intro-card {
    gap: 4rem;
  }

  /* Gap fallback */
  .intro-text-side+.intro-image-side {
    margin-left: 4rem;
  }

  @supports (gap: 4rem) {
    .intro-text-side+.intro-image-side {
      margin-left: 0;
    }
  }
}

.intro-text-side {
  flex: 1;
}

.intro-image-side {
  flex-shrink: 0;
  max-width: 300px;
  aspect-ratio: 1/1;
  margin: 2rem auto 0;
}

@media(min-width:992px) {
  .intro-image-side {
    margin: 0;
  }
}

@media (min-width: 1200px) {
  .intro-image-side {
    margin: 0;
    max-width: 350px;
    width: 350px;
  }
}

.intro-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.intro-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--deep-navy);
}

.intro-card p {
  font-size: 0.95rem;
  color: var(--navy-black);
  margin-bottom: 2rem;
}

.intro-card .en-p {
  font-family: var(--ff-lora);
  font-size: 0.95rem;
  opacity: 0.7;
}

.deco-shell {
  position: absolute;
  bottom: -55px;
  right: -10px;
  width: 120px;
  opacity: 0.8;
  object-fit: contain;
}

@media(min-width:768px) {
  .deco-shell {
    width: 160px;
    opacity: 0.6;
    right: -24px;
  }
}

/* Section Titles */
.sec-title {
  text-align: left;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .sec-title {
    text-align: center;
  }
}

.sec-title h2 {
  font-size: 1.8rem;
}

.sec-title span {
  display: block;
  color: var(--turquoise-accent);
  margin-bottom: 0.5rem;
  font: italic 500 1rem/1.1 var(--ff-playfair);
}

/* Visual Section */
.bgfixed {
  position: relative;
  overflow: hidden;
}

.bgfixed>.fixed-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  z-index: -1;
}

.bgfixed>.fixed-img img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
}

.visual_sec {
  padding: 0;
  height: 400px;
}

.svgwave {
  position: absolute;
  width: 200%;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.svgwave.w_top {
  top: -1px;
}

.svgwave.w_btm {
  bottom: -1px;
}

.svgwave path {
  animation: wave-move linear 7s infinite;
}

@keyframes wave-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media(min-width:992px) {
  .visual_sec {
    height: 600px;
  }
}

/* Section Boundary Waves */
.wave-boundary {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  margin-top: 40px;
  /* 余白調整 */
}

@media(min-width:768px) {
  .wave-boundary {
    height: 120px;
  }
}

/* Static Footer Wave (Shared) */
.wave-static-footer {
  width: 100%;
  height: 60px;
  line-height: 0;
  margin-top: 40px;
}

.wave-static-footer svg {
  width: 100%;
  height: 100%;
}

@media(min-width:768px) {
  .wave-static-footer {
    height: 100px;
  }
}

/* About Us Section */
.about_sec {
  position: relative;
  background: var(--white);
}

.about_sec h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-img {
  position: relative;
  padding-top: 30px;
}

.sun-icon {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 100px;
}

@media(max-width:991px) {
  .about-img {
    margin-bottom: 3rem;
  }
}

@media(min-width:600px) {
  .sun-icon {
    width: 160px;
    top: -60px;
    right: -50px;
  }
}

@media (min-width: 992px) {
  .about-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 3rem;
  }

  .about-text {
    width: 60%;
  }

  .about-img {
    padding-top: 0;
    width: 40%;
  }
}

@media(min-width:992px) and (max-width:1199px) {
  .sun-icon {
    right: -30px;
    width: 100px;
  }
}

@media(min-width:1200px) {
  .about-content {
    gap: 5rem;
  }

  .about-text,
  .about-img {
    width: 50%;
  }

  .sun-icon {
    top: -90px;
  }
}

/* CTA Section */
.cta_sec {
  background: linear-gradient(to bottom, #2FB5D2, #205792);
  color: var(--white);
  padding: 60px 0;
}

.cta_sec p {
  font-family: var(--ff-shippori);
  font-size: 18px;
}

.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  max-width: 100%;
  margin-top: 2rem;
  border: 1px solid var(--white);
  padding: 1rem 3rem;
  color: var(--white);
  transition: all 0.3s;
}

.cta-btn i {
  font-size: 120%;
  margin-right: 10px;
}

.cta-btn:hover {
  background-color: var(--white);
  color: var(--deep-navy);
}

/* Footer */
footer {
  background-color: #E8F0F9;
  /* Fallback for old browsers */
  background: linear-gradient(to right, #E8F0F9, #CEF6F2);
  padding: 4rem 0 2rem;
  text-align: center;
  color: var(--deep-navy);
}

.footer-logo img {
  object-fit: contain;
  width: 120px;
  margin-bottom: 1.5rem;
}

.footer-info {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.ftr-pri {
  text-decoration: underline;
}

.ftr-pri:hover {
  text-decoration: none;
}

.ftr_ttl {
  font-size: 17px;
  font-weight: 500;
  font-family: var(--ff-shippori);
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.6;
  border-top: 1px solid #eee;
  font-family: var(--ff-lora);
}

/* Utility */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--turquoise-accent);
  padding-bottom: 2px;
}

.more-link::after {
  content: "→";
  transition: transform 0.3s;
}

.more-link:hover::after {
  transform: translateX(5px);
}

/* Subpages Common Styles */
.page-header {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  background-image: url('./img/shonan-beach.jpg');
}

@media (min-width: 992px) {
  .page-header {
    height: 300px;
  }
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 74, 118, 0.7);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-slug {
  font-family: var(--ff-playfair);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.page-title {
  font-family: var(--ff-shippori);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 2.4rem;
  }
}

/* Page Specific Headers */
.page-header-service {
  background-image: url('./img/head/lavender.jpg');
}

.page-header-counseling {
  background-image: url('./img/head/about_counseling.jpg');
}

.page-header-coffee {
  background-image: url('./img/head/about_coffee.jpg');
}

.page-header-company {
  background-image: url('./img/head/yokohama-street.jpg');
}

.page-header-post {
  background-image: url('./img/head/seagulls.jpg');
}

@media(max-width:499px) {
  .page-header-post .page-title,.page-header-law .page-title,.page-header-term .page-title,.page-header-privacy-policy .page-title {
    font-size: 1.2rem;
  }
}

@media(min-width:550px) {
  .page-header-coffee {
    background-position-y: 76%;
  }
}

/* Flavor Profile & Product Detail */
.product-detail-box {
  background-color: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(36, 49, 78, 0.08);
}

@media (min-width: 768px) {
  .product-detail-box {
    padding: 4rem;
  }
}

.product-visual img {
  max-width: 100%;
  height: auto;
}

.flavor-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flavor-info dt {
  font-family: var(--ff-shippori);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.flavor-info dd {
  margin-bottom: 1.5rem;
  color: var(--navy-black);
}

.flavor-info dd:last-child {
  margin-bottom: 0;
}

/* Counselor Profile */
.profile-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .profile-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.profile-img {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h3 {
  font-size: 1.5rem;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
}

.profile-credentials {
  display: block;
  font-size: 0.9rem;
  color: var(--ocean-blue);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.profile-bio {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Framework Cards (legacy - kept for reuse) */
.framework-card {
  background-color: #E8DCC2;
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  height: 100%;
}
.framework-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--deep-navy);
}

.framework-card .fw-eng,
.framework-list .fw-eng {
  display: block;
  font-family: var(--ff-playfair);
  font-style: italic;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 4px;
}

.safety-zone-txt{
  font-weight:600;
  font-size: 20px;
  font-family:var(--ff-shippori);
}
/* Framework List (image + text layout) */
.framework-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.framework-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(175, 200, 221, 0.3);
}

.framework-list li:last-child {
  border-bottom: none;
}

.framework-list li strong {
  font-family: var(--ff-shippori);
  font-size: 1.3rem;
  color: var(--deep-navy);
  letter-spacing: 0.05em;
  margin-right: 0.5em;
}

.framework-list .fw-eng {
  display: inline;
  margin-top: 0;
}

.framework-list li p {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--navy-black);
}

/* レスポンシブ：画像サイズの調整 */
.framework_sec img {
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 992px) {
  .framework_sec img {
    max-width: 100%;
  }

  .framework-list .fw-eng {
    font-size: 1rem;
  }

  .safety-zone-txt{
    font-size: 23px;
  }
}

/* Pricing Table */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
}

.price-table tr {
  background-color: var(--bg-light-beige);
}

.price-table td {
  padding: 1.5rem;
}

.price-table .item-name {
  font-family: var(--ff-shippori);
  font-weight: 500;
  color: var(--deep-navy);
}

.price-table .item-price {
  text-align: right;
  font-family: var(--ff-noto);
  font-weight: 600;
  color: var(--ocean-blue);
}

@media (max-width: 767px) {
  .price-table td {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .price-table tr {
    border-bottom: 1px solid rgba(58, 111, 161, 0.1);
    display: block;
    margin-bottom: 0.5rem;
  }

  .price-table tr:last-child {
    border-bottom: none;
  }

  .price-table .item-price {
    text-align: left;
    padding-top: 0;
    padding-bottom: 1.5rem;
  }
}

/* Breadcrumbs */
.breadcrumb-container {
  background-color: #f8fbfd;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
  color: #888;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "/";
  padding: 0 0.8rem;
  color: #ccc;
}

.breadcrumb-item a {
  color: #666;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: var(--ocean-blue);
  opacity: 1;
}

.breadcrumb-item.active {
  color: #aaa;
}

/* Menu List */
.menu-list {
  list-style: none;
  padding: 0;
}

.menu-list__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  background-color: var(--bg-light-beige);
  border: 1px solid var(--bg-beige);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.menu-list__item:last-child {
  border-bottom: none;
}

.menu-list__item .name {
  display: block;
  font-family: var(--ff-shippori);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--deep-navy);
  line-height: 1.4;
}

.menu-list__item .desc {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 8px;
}

.menu-list__item .menu-price {
  font-family: var(--ff-lora);
  font-weight: 500;
  white-space: nowrap;
  margin-left: 20px;
  color: var(--ocean-blue);
}

/* Menu Pillar Cards */
.menu-pillar-card {
  background-color: #F9F6F0;
  border: 1px solid #E8DCC2;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .menu-pillar-card {
    padding: 2rem;
  }
}

.menu-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(36, 49, 78, 0.05);
}

.menu-pillar-card.recommended {
  border-color: var(--turquoise-accent);
  border-width: 2px;
}

.card-pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--deep-navy);
}

.pillar-desc {
  color: var(--ocean-blue);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pillar-content {
  font-size: 0.95rem;
  flex-grow: 1;
  color: var(--navy-black);
}

.menu-item-simple .item-name {
  font-weight: 600;
  color: var(--deep-navy);
}

.menu-item-detailed p {
  line-height: 1.6;
}

.menu-disclaimer {
  color: var(--navy-black);
}

/* Service Visuals */
.intro-visual {
  text-align: center;
}

.intro-visual img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Service Link Button */
.service-link {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--ocean-blue);
  color: var(--ocean-blue);
  font-family: var(--ff-shippori);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.3s ease;
  background: transparent;
  text-decoration: none;
}

.service-link::after {
  content: "\f105";
  /* Font Awesome angle-right */
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  margin-left: 0.8rem;
  transition: transform 0.3s ease;
}

.service-link:hover {
  background-color: var(--ocean-blue);
  color: var(--white);
  text-decoration: none;
  opacity: 1;
}

.service-link:hover::after {
  transform: translateX(4px);
}

.overview-img {
  height: 200px;
}

.overview-img img {
  height: 100%;
  object-fit: cover;
}

.philosophy-visual-box {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(27, 93, 141, 0.6);
}

.visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.philosophy-text-box .font-heading{
  color: var(--deep-navy);
}
.philosophy-content .main-text{
  font-size: 1.25rem;
  font-weight: 500;
  font-family: var(--ff-shippori);
}
@media (min-width: 768px) {
  .philosophy-visual-box {
    padding: 3rem;
  }
}

@media (min-width: 992px) {
  .overview-img {
    height: 250px;
  }
}

/* Company Page & CEO Section */
.ceo-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .ceo-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }

  /* Gap fallback */
  .ceo-text+.ceo-img {
    margin-left: 4rem;
  }

  @supports (gap: 4rem) {
    .ceo-text+.ceo-img {
      margin-left: 0;
    }
  }

  .ceo-text {
    flex: 1;
  }

  .ceo-img {
    flex-shrink: 0;
    width: 400px;
  }
}

.ceo-msg-title {
  color: var(--deep-navy);
  font-weight: 600;
  margin-bottom: 2rem;
}

.ceo-body {
  font-size: 0.95rem;
  line-height: 2;
}

.ceo-img img.w-100 {
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(36, 49, 78, 0.1);
  position: relative;
  z-index: 1;
  max-width: 500px;
  /* Safari clipping fix */
  mask-image: radial-gradient(white, black);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.ceo-img-wrapper {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .ceo-img-wrapper {
    margin: 0;
  }
}

.ceo-sun {
  position: absolute;
  top: -55px;
  right: -15px;
  width: 100px;
  z-index: 2;
  pointer-events: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .ceo-sun {
    width: 150px;
    top: -80px;
    right: -35px;
  }
}

@media(min-width:992px) {
  .ceo-sun {
    width: 120px;
    top: -60px;
  }
}

/* Philosophy Section */
.philosophy-highlight {
  background-color: var(--white);
  padding: 60px 0;
}

.philosophy-main {
  font-family: var(--ff-playfair);
  font-size: 2.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--deep-navy);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .philosophy-main {
    font-size: 3.5rem;
  }
}

/* Company Table */
.company-table-container {
  background-color: var(--bg-light-beige);
  padding: 4rem 1.5rem;
  border-radius: 12px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(175, 200, 221, 0.3);
  vertical-align: top;
}

.company-table th {
  text-align: left;
  width: 120px;
  font-weight: 600;
  color: var(--ocean-blue);
  font-family: var(--ff-shippori);
}

.company-table td {
  color: var(--navy-black);
}

@media (min-width: 768px) {
  .company-table th {
    width: 200px;
  }
}

@media (max-width: 575px) {

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
  }

  .company-table th {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.price-display {
  font-family: var(--ff-noto);
  font-weight: 600;
  color: var(--deep-navy);
}

.price-display .tax {
  font-size: 0.8em;
  font-weight: 400;
  opacity: 0.8;
  margin-left: 2px;
}

.coffee-story_sec .col-lg-5 img,
.coffee-tips_sec .col-lg-5 img,
.coffee-buy_sec .col-lg-5 img {
  max-width: 500px;
}

/* Scroll Animation Styles */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Page Styles */
.contact-intro_sec {
  background-color: var(--white);
}

.step-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  height: 100%;
  text-align: center;
  border: 1px solid rgba(232, 220, 194, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.step-num {
  font-family: var(--ff-playfair);
  font-size: 3rem;
  color: var(--bg-beige);
  /* Fallback or base color */
  background: linear-gradient(135deg, #B8E2F2 0%, #D4E5ED 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-block;
}

.step-title {
  font-family: var(--ff-shippori);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--deep-navy);
}

/* Contact Channels */
.contact-channels .channel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  height: 100%;
  transition: all 0.3s;
  color: var(--deep-navy);
  text-decoration: none;
  min-height: 180px;
}

.contact-channels .channel-box i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.line-box i {
  color: #06C755;
}

.tel-box i {
  color: var(--deep-navy);
}

.channel-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.channel-desc {
  color: var(--ocean-blue);
  font-size: 0.9rem;
}

.contact-channels .channel-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(36, 49, 78, 0.1);
  border-color: var(--turquoise-accent);
}

/* Form Styles */
.form-container {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(36, 49, 78, 0.05);
}

@media(min-width: 768px) {
  .form-container {
    padding: 3rem 4rem;
  }
}

.form-label {
  font-family: var(--ff-shippori);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .badge {
  font-family: var(--ff-noto);
  font-weight: 400;
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
  background-color: var(--ocean-blue) !important;
  /* Override badge-danger for brand consistency */
}

.contact-form_sec .form-control,
.contact-form_sec .form-select {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  background-color: #fcfcfc;
  font-size: 1rem;
  transition: all 0.3s;
}

.contact-form_sec .form-control::placeholder {
  color: #ccc;
  font-size: 0.9rem;
}

.contact-form_sec .form-control:focus,
.contact-form_sec .form-select:focus {
  box-shadow: none;
  border-color: var(--turquoise-accent);
  background-color: var(--white);
}
.wpcf7-spinner{
  display: block;
}
#preferred-date-group{
  display: none;
}
/* Submit Button */
.submit-btn {
  background: var(--deep-navy);
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--ocean-blue) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1rem 4rem;
  font-size: 1.1rem;
  font-family: var(--ff-shippori);
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(33, 74, 118, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 74, 118, 0.4);
  opacity: 0.95;
}

/* Blog page */
/* =========================================
   BLUE HARMONY Blog Style
   ========================================= */

/* Variables (サイトの配色に合わせて調整してください) */
:root {
  --bh-color-navy: #214A76;
  /* メインカラー */
  --bh-color-text: #333333;
  /* 本文色 */
  --bh-color-bg: #f9f7f2;
  /* 背景色（サンドベージュ/オフホワイト） */
  --bh-color-white: #ffffff;
  --bh-color-gray: #e0e0e0;
  --bh-font-mincho: "Shippori Mincho", serif;
  --bh-font-sans: "Noto Sans JP", sans-serif;
}

/* Wrapper & Layout */
.bh-blog-wrapper {
  background-color: var(--bh-color-bg);
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}

.bh-container {
  max-width: 1100px;
  margin: 0 auto;
}

.bh-blog-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  /* メインとサイドバーの間隔 */
}

/* Page Header */
.bh-page-header {
  text-align: center;
  margin-bottom: 60px;
}

.bh-page-title {
  font-family: var(--bh-font-mincho);
  color: var(--bh-color-navy);
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}

.bh-page-subtitle {
  font-family: var(--bh-font-mincho);
  color: var(--bh-color-text);
  font-size: 1rem;
  opacity: 0.8;
}

/* Main Content Area */
.bh-main-content {
  flex: 1;
  /* 残りの幅を埋める */
  min-width: 0;
  /* Flexboxのバグ回避 */
}

/* Sidebar Area */
.bh-sidebar {
  width: 300px;
  flex-shrink: 0;
}

/* Responsive: スマホでサイドバーを下に落とす */
@media (max-width: 899px) {
  .bh-blog-layout {
    flex-direction: column;
    gap: 40px;
  }

  .bh-sidebar {
    width: 100%;
  }
}

/* -----------------------------------------
   Post Grid & Card
   ----------------------------------------- */
.bh-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2カラム */
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 600px) {
  .bh-post-grid {
    grid-template-columns: 1fr;
    /* スマホは1カラム */
    gap: 30px;
  }
}

.bh-post-card {
  background: var(--bh-color-white);
  border-radius: 4px;
  /* 角を少しだけ丸く */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bh-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(33, 74, 118, 0.1);
}

.bh-post-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Thumbnail Area */
.bh-post-thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  /* アスペクト比 5:3 */
  overflow: hidden;
  background-color: var(--bh-color-gray);
}

.bh-post-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bh-post-card:hover .bh-post-thumb img {
  transform: scale(1.05);
}

/* Category Label (On Image) */
.bh-post-cat {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--bh-color-navy);
  color: var(--bh-color-white);
  font-family: var(--bh-font-sans);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* Post Body */
.bh-post-body {
  padding: 25px;
}

.bh-post-date {
  display: block;
  font-family: var(--bh-font-sans);
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.bh-post-title {
  font-family: var(--bh-font-mincho);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--bh-color-navy);
  margin: 0;
  font-weight: 500;
}

/* -----------------------------------------
   Sidebar Widgets
   ----------------------------------------- */
.bh-widget {
  margin-bottom: 50px;
}

.bh-widget-title {
  font-family: var(--bh-font-mincho);
  font-size: 1.2rem;
  color: var(--bh-color-navy);
  border-bottom: 1px solid var(--bh-color-navy);
  padding-bottom: 10px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

/* Category List Style */
.bh-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bh-cat-list li {
  border-bottom: 1px solid #eee;
}

.bh-cat-list li a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
  color: var(--bh-color-text);
  font-family: var(--bh-font-sans);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.bh-cat-list li a:hover {
  color: var(--bh-color-navy);
}

.bh-cat-list .count {
  color: #999;
  font-size: 0.85rem;
}

/* Tag Cloud Style */
.bh-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bh-tag-cloud a {
  display: inline-block;
  background-color: var(--bh-color-white);
  color: var(--bh-color-text);
  border: 1px solid #ddd;
  padding: 6px 14px;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 2px;
  font-family: var(--bh-font-sans);
  transition: all 0.3s;
}

.bh-tag-cloud a:hover {
  background-color: var(--bh-color-navy);
  color: var(--bh-color-white);
  border-color: var(--bh-color-navy);
}

.bh-pagination {
  margin-top: 40px;
  text-align: center;
}

.bh-pagination .nav-links {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.bh-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  color: var(--bh-color-navy);
  background-color: var(--bh-color-white);
  border: 1px solid #ddd;
  border-radius: 50%;
  font-family: var(--bh-font-sans);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.bh-pagination .page-numbers.current,
.bh-pagination .page-numbers:hover {
  background-color: var(--bh-color-navy);
  color: var(--bh-color-white);
  border-color: var(--bh-color-navy);
}

.bh-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #999;
}

/* =========================================
   BLUE HARMONY Single Post Style
   ========================================= */

/* Layout & Container */
.bh-single-wrapper {
  background-color: var(--bh-color-bg);
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}

.bh-container-narrow {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--bh-color-white);
  padding: 60px 50px;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

@media (max-width: 600px) {
  .bh-container-narrow {
    padding: 40px 20px;
  }
}

/* -----------------------------------------
   1. Title Area
   ----------------------------------------- */
.bh-single-header {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.bh-single-meta-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.bh-single-date {
  font-family: var(--bh-font-sans);
  color: #888;
  font-size: 0.9rem;
}

/* Category List */
.bh-single-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.bh-single-cats li a {
  background-color: var(--bh-color-navy);
  color: var(--bh-color-white);
  text-decoration: none;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: var(--bh-font-sans);
  transition: opacity 0.3s;
}

.bh-single-cats li a:hover {
  opacity: 0.8;
}

/* Main Title */
.bh-single-title {
  font-family: var(--bh-font-mincho);
  font-size: 1.8rem;
  color: var(--bh-color-navy);
  line-height: 1.5;
  margin: 0 0 20px;
}

@media (max-width: 600px) {
  .bh-single-title {
    font-size: 1.4rem;
  }
}

/* Tag List */
.bh-single-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bh-single-tags a {
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--bh-font-sans);
  transition: color 0.3s;
}

.bh-single-tags a:hover {
  color: var(--bh-color-navy);
  text-decoration: underline;
}

/* -----------------------------------------
   2. Thumbnail Area
   ----------------------------------------- */
.bh-single-thumbnail {
  width: 100%;
  margin-bottom: 50px;
  overflow: hidden;
  border-radius: 2px;
}

.bh-single-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------
   3. Content Area (Standard WP Blocks)
   ----------------------------------------- */
.bh-single-content {
  font-family: var(--bh-font-sans);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--bh-color-text);
  margin-bottom: 80px;
}

/* Headings within content */
.bh-single-content h2 {
  font-family: var(--bh-font-mincho);
  color: var(--bh-color-navy);
  font-size: 1.5rem;
  margin: 60px 0 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bh-color-navy);
  /* 下線デザイン */
}

.bh-single-content h3 {
  font-family: var(--bh-font-mincho);
  color: var(--bh-color-navy);
  font-size: 1.3rem;
  margin: 40px 0 20px;
  border-left: 4px solid var(--bh-color-navy);
  /* 左線デザイン */
  padding-left: 15px;
}

/* Paragraphs */
.bh-single-content p {
  margin-bottom: 1.8em;
}

/* Lists */
.bh-single-content ul,
.bh-single-content ol {
  margin-bottom: 2em;
  padding-left: 1.5em;
  background-color: #fcfcfc;
  /* 薄い背景で区別 */
  padding: 30px 30px 30px 50px;
  border-radius: 4px;
}

.bh-single-content li {
  margin-bottom: 0.8em;
}

/* Blockquote */
.bh-single-content blockquote {
  margin: 40px 0;
  padding: 30px;
  background-color: var(--bh-color-bg);
  border-left: none;
  /* WPデフォルトのリセット */
  position: relative;
  font-family: var(--bh-font-mincho);
  color: var(--bh-color-navy);
}

.bh-single-content blockquote p {
  margin-bottom: 0;
}

/* -----------------------------------------
   4. Footer / Navigation Area
   ----------------------------------------- */
.bh-single-footer {
  border-top: 1px solid #eee;
  padding-top: 60px;
  background: rgba(255, 255, 255, 0);
}

/* WP Post Navigation */
.navigation.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 600px) {
  .navigation.post-navigation .nav-links {
    flex-direction: column;
    /* スマホは縦並び */
  }
}

.nav-previous,
.nav-next {
  width: 48%;
}

@media (max-width: 600px) {

  .nav-previous,
  .nav-next {
    width: 100%;
  }
}

.nav-previous a,
.nav-next a {
  display: block;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 4px;
  height: 100%;
  /* 高さを揃える */
  box-sizing: border-box;
  transition: all 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
  border-color: var(--bh-color-navy);
  background-color: #fbfbfb;
}

.nav-subtitle {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 5px;
  font-family: var(--bh-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-title {
  display: block;
  font-size: 0.95rem;
  color: var(--bh-color-navy);
  font-family: var(--bh-font-mincho);
  line-height: 1.4;
}

/* Back to List Button */
.bh-back-btn-wrapper {
  text-align: center;
}

.bh-btn-back {
  display: inline-block;
  text-decoration: none;
  color: var(--bh-color-text);
  border: 1px solid #ccc;
  padding: 12px 40px;
  border-radius: 50px;
  font-family: var(--bh-font-sans);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.bh-btn-back:hover {
  background-color: var(--bh-color-navy);
  color: var(--bh-color-white);
  border-color: var(--bh-color-navy);
}

/* =========================================
   BLUE HARMONY Tokusho-ho Style
   ========================================= */

/* Wrapper */
.bh-law-wrapper {
  background-color: var(--bh-color-bg);
  /* 共通の背景色 */
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Table Style */
.bh-law-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: var(--bh-font-sans);
  font-size: 0.95rem;
  line-height: 1.8;
}

.bh-law-table th,
.bh-law-table td {
  padding: 25px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

/* Header Column (Left) */
.bh-law-table th {
  width: 25%;
  /* PCでの見出し幅 */
  background-color: #fafafa;
  color: var(--bh-color-navy);
  font-weight: 500;
  white-space: nowrap;
  /* 改行を防ぐ */
}

/* Data Column (Right) */
.bh-law-table td {
  width: 75%;
  color: var(--bh-color-text);
}

/* Notes & Lists inside Table */
.bh-law-note {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: 5px;
}

.bh-law-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bh-law-table ul li {
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 1em;
}

.bh-law-table ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--bh-color-navy);
}

.bh-law-table strong {
  font-weight: 600;
  color: var(--bh-color-navy);
}

.bh-law-table p {
  margin: 0 0 1em 0;
}

.bh-law-table p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive */
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .bh-law-table {
    display: block;
    width: 100%;
  }

  .bh-law-table tbody,
  .bh-law-table tr,
  .bh-law-table th,
  .bh-law-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .bh-law-table tr {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
  }

  .bh-law-table th {
    width: 100%;
    background-color: var(--bh-color-navy);
    color: var(--bh-color-white);
    padding: 10px 15px;
    border-bottom: none;
    font-size: 0.9rem;
  }

  .bh-law-table td {
    padding: 20px 15px;
    border-bottom: none;
  }

  .sp-only {
    display: inline;
  }
}

/* =========================================
   BLUE HARMONY Privacy Policy Style
   ========================================= */

/* Wrapper */
.bh-privacy-wrapper {
  background-color: var(--bh-color-bg);
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--bh-font-sans);
  color: var(--bh-color-text);
  line-height: 1.8;
}

/* Intro Text */
.bh-privacy-intro {
  margin-bottom: 50px;
}

/* Sections */
.bh-privacy-section {
  margin-bottom: 50px;
}

.bh-privacy-section h3 {
  font-family: var(--bh-font-mincho);
  color: var(--bh-color-navy);
  font-size: 1.2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.bh-privacy-section p {
  margin-bottom: 1.5em;
  font-size: 0.95rem;
}

.bh-privacy-section ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  background-color: #fafafa;
  padding: 20px 20px 20px 40px;
  border-radius: 4px;
}

.bh-privacy-section ul li {
  margin-bottom: 0.5em;
}

/* Link Style */
.bh-privacy-section a {
  color: var(--bh-color-navy);
  text-decoration: underline;
  transition: opacity 0.3s;
}

.bh-privacy-section a:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* =========================================
   CEO Profile Styles
   ========================================= */
.ceo-profile-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--white);
}

@media (min-width: 992px) {
  .ceo-profile-img {
    max-width: 440px;
    margin-right: -40px;
  }
}

.ceo-profile-content h2 {
  color: var(--ocean-blue);
  position: relative;
  padding-bottom: 15px;
}

.ceo-profile-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--sand-beige);
}

.text-ocean-blue {
  color: var(--ocean-blue);
}

/* Footer Links Spacing */
.footer-info .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.footer-info .ftr-pri {
  font-size: 0.9rem;
  opacity: 0.8;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .footer-info .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Mobile Menu Tagline Fix */
.menu-overlay__footer .tagline {
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: var(--ff-playfair) !important;
  font-size: 0.85rem !important;
  font-style: italic !important;
  margin-bottom: 0.75rem !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/*---- Thanks page ----*/
.bh-thanks-section {
  background-color: var(--bh-color-bg, #f9f7f2);
  padding: 100px 20px;
  width: 100%;
  box-sizing: border-box;
}

.bh-thanks-box {
  background-color: #ffffff;
  padding: 60px 50px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(33, 74, 118, 0.05); /* ネイビー系の薄い影 */
}

.bh-thanks-title {
  font-family: var(--bh-font-mincho, "Shippori Mincho", serif);
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.bh-thanks-lead {
  font-family: var(--bh-font-sans, "Noto Sans JP", sans-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.bh-thanks-note {
  background-color: #f0f4f8;
  border: 1px solid rgba(33, 74, 118, 0.1);
}

@media (max-width: 600px) {
  .bh-thanks-section {
    padding: 60px 15px;
  }
  
  .bh-thanks-box {
    padding: 40px 20px;
  }

  .bh-thanks-title {
    font-size: 1.5rem;
  }

  .bh-thanks-lead {
    font-size: 0.95rem;
  }
}