/* =========================
   Waves & Flow
   Responsive - HOME
========================= */

@media screen and (max-width: 767px) {

  /* =========================
     Hero
  ========================= */

  .hero {
    height: 450px;
    min-height: 0;
  }

  .hero-logo {
    top: 43%;
    width: 86%;
  }

  .hero-tagline {
    top: 54%;
    width: 90%;
    color: #A8864D;
    font-size: 8px;
    letter-spacing: 0.2em;
    text-align: center;
    white-space: normal;
  }

  .hero-nav {
    top: 63%;
    width: 90%;
    flex-wrap: wrap;
    gap: 24px 28px;
    white-space: normal;
  }

  .hero-nav a {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .nav-dropdown-menu {
    display: none;
  }


  /* =========================
     Sections
  ========================= */

  .about-section,
  .business-section,
  .projects-section,
  .artists-section,
  .contact-section {
    padding: 32px 24px;
  }

  .about-content,
  .business-content,
  .projects-content,
  .artists-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
  }

  .section-divider {
    height: 8px;
  }


  /* =========================
     Section Headings
  ========================= */

  .about-heading,
  .business-heading,
  .projects-heading,
  .artists-heading,
  .contact-heading {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-heading-image,
  .business-heading-image,
  .projects-heading-image,
  .artists-heading-image,
  .contact-heading-image {
    width: 65%;
    max-width: 280px;
    margin-left: 0;
  }


  /* =========================
     Text
  ========================= */

  .about-ja p,
  .about-en p,
  .contact-ja,
  .contact-en {
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
  }

  .about-body,
  .contact-body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }


  /* =========================
     Business
  ========================= */

  .business-item {
    grid-template-columns: 25px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .business-name h3 {
    font-size: 14px;
  }


  /* =========================
     Projects
  ========================= */

  .project-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-title {
    transform: none;
  }


  /* =========================
     Artists
  ========================= */

  .artist-item {
    gap: 15px;
  }

  .artist-name h3 {
    font-size: 30px;
  }


  /* =========================
     Contact
  ========================= */

  .contact-ja,
  .contact-en {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

/* PC用改行を非表示 */
.pc-br {
  display: none;
}

/* スマホ用改行を表示 */
.sp-br {
  display: inline;
}


  /* =========================
     Footer
  ========================= */

  .site-footer {
    padding: 40px 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }


  /* =========================
     Width Fix
  ========================= */

  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .business-list,
  .project-main {
    min-width: 0;
    max-width: 100%;
  }

}


/* =========================
   Line Breaks - Desktop
========================= */

@media screen and (min-width: 768px) {

  .sp-br {
    display: none;
  }

}


/* =========================
   HOME Mobile - Center Alignment
========================= */

@media screen and (max-width: 767px) {

  .about-section,
  .business-section,
  .projects-section,
  .artists-section,
  .contact-section {
    text-align: center;
  }

  .about-body,
  .business-list,
  .project-main,
  .contact-body {
    text-align: center;
  }

  .about-ja,
  .about-en,
  .contact-ja,
  .contact-en {
    text-align: center;
  }

}


/* CONTACT Button - Mobile */

@media screen and (max-width: 767px) {

  .contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
min-width: 150px;
min-height: 50px;
  }

}


/* =========================
   Mobile Hamburger Menu
========================= */

@media screen and (max-width: 767px) {

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 25px;
    right: 24px;
    z-index: 1001;

    width: 32px;
    height: 32px;
    padding: 5px;

    flex-direction: column;
    justify-content: center;
    gap: 5px;

    background: transparent;
    border: none;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: #0B0B0B;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    transform: none;

    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 450px;
    gap: 30px;

    background: #FFFFFF;
    z-index: 1000;
  }

  .hero-nav.is-open {
    display: flex;
  }

  .hero-nav a {
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  /* Hamburger → Close */
  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

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

}

@media screen and (max-width: 767px) {

  .hero {
    height: 350px;
  }

  .hero-logo {
    top: 193.5px;
  }

  .hero-tagline {
    top: 243px;
  }

}


/* =========================
   ABOUT PAGE - Mobile
   Overview & Philosophy
========================= */

@media screen and (max-width: 767px) {

  /* Page Header */

  .about-page-hero {
    min-height: 100px;
  }

  .about-page-logo {
    max-width: 45%;
    margin-top: 30px;
  }


  /* About Overview */

  .about-overview {
    min-height: 0;
    padding: 35px 24px 50px;
  }

  .about-overview-bg {
    font-size: 80px;
    opacity: 0.5;
  }

  .about-overview-content {
    width: 100%;
    max-width: 100%;
  }

  .about-overview-title h2 {
    margin-bottom: 24px;
    font-size: 20px;
  }

  .about-overview-content p {
    font-size: 13px;
    line-height: 2;
    overflow-wrap: anywhere;
  }




  /* Company Philosophy */

  .philosophy {
    min-height: 0;
    padding: 45px 24px;
  }

  .philosophy-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .philosophy-heading {
    text-align: center;
  }

  .philosophy-heading h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .philosophy-label {
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .philosophy-divider {
    width: 45px;
    height: 1px;
    margin: 0 auto;
  }

  .philosophy-content {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .philosophy-content h3 {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.9;
  }

  .philosophy-content p {
    font-size: 13px;
    line-height: 2;
  }


}



/* =========================
   ABOUT PAGE - Mobile
   Mission & Vision
========================= */

@media screen and (max-width: 767px) {

  .mission-section,
  .vision-section {
    min-height: 0;
    padding: 45px 24px;
  }

  .mission-inner,
  .vision-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  /* Circle first */
  .mission-label,
  .vision-label {
    order: 1;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-width: 1px;
    font-size: 14px;
  }

  .mission-label::before,
  .mission-label::after,
  .vision-label::before,
  .vision-label::after {
    display: none;
  }

  /* Title */
  .mission-title,
  .vision-title {
    order: 2;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .mission-title h2,
  .vision-title h2 {
    font-size: 18px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }

  /* Description */
  .mission-text,
  .vision-text {
    order: 3;
    width: 100%;
    padding: 0;
    transform: none;
    text-align: center;
  }

  .mission-text p,
  .vision-text p {
    font-size: 13px;
    line-height: 2;
    overflow-wrap: anywhere;
  }

}


/* =========================
   ABOUT PAGE - Mobile
   Our Values
========================= */

@media screen and (max-width: 767px) {

  .value-section {
    padding: 40px 24px 60px;
  }

  .values-title h2 {
    font-size: 48px;
    line-height: 1.1;
  }

  .values-grid {
    width: 100%;
    max-width: 100%;
    margin: 40px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
  }

  .value-item,
  .value-harmony {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  .value-item h3 {
    font-size: 22px;
  }

  .value-keyword {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .value-description {
    max-width: 100%;
    font-size: 13px;
    line-height: 2;
    overflow-wrap: anywhere;
  }


  /* Harmony last */
  .value-harmony {
    order: 5;
  }

  .harmony-box {
    padding: 0;
  }

  /* Hide PC connection lines */
  .harmony-line,
  .value-line {
    display: none;
  }

}


/* =========================
   ABOUT PAGE - Mobile Menu
========================= */

@media screen and (max-width: 767px) {

  .about-page-hero {
    position: relative;
  }

  .about-page-hero .mobile-menu-toggle {
    top: 25px;
    right: 24px;
  }

  .about-page-hero .hero-nav {
    height: 300px;
  }

}


/* =========================
   ABOUT - Mobile Line Breaks
========================= */

@media screen and (max-width: 767px) {

  .about-page .pc-br {
    display: none;
  }

  .about-page .sp-br {
    display: inline;
  }

}


/* ABOUT - Overview to Philosophy Spacing */

@media screen and (max-width: 767px) {

  .about-overview {
    padding-bottom: 20px;
  }

}


/* =========================
   BUSINESS Page - Mobile Overview
========================= */

@media screen and (max-width: 767px) {

  .business-page-hero {
    min-height: 100px;
  }

  .business-page-logo {
    max-width: 45%;
    margin-top: 30px;
  }

  .business-overview {
    padding: 40px 0 70px;
  }

  .business-overview-inner {
    width: 100%;
    max-width: none;
    padding: 0 24px;

    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }

  .business-overview-column {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .business-overview-goals {
    justify-self: center;
    transform: none;
  }

  .business-overview-title {
    font-size: 22px;
  }

  .business-overview-label {
    font-size: 10px;
  }

  .business-overview-text {
    font-size: 13px;
    line-height: 2;
  }



}


/* =========================
   BUSINESS - Mobile Diagram
========================= */

@media screen and (max-width: 767px) {

  .business-diagram {
    width: 300px;
    max-width: 100%;
    height: 300px;
    margin: 0 auto;
  }

  .business-diagram-circle {
    width: 95px;
    height: 95px;
  }

  .business-diagram-group-top {
    top: 0;
  }

  .business-diagram-group-left {
    left: 0;
    bottom: 0;
  }

  .business-diagram-group-right {
    right: 0;
    bottom: 0;
  }

  .business-diagram-title {
    font-size: 10px;
    white-space: normal;
    text-align: center;
  }

  .business-diagram-label {
    bottom: 35px;
    font-size: 6px;
  }

  .business-diagram-message {
    top: 55%;
    font-size: 11px;
    transform: translate(-50%, -50%) scaleY(1.5);
  }

  .diagram-line-left,
  .diagram-line-right,
  .diagram-line-bottom {
    display: none;
  }

}


/* =========================
   BUSINESS - Mobile Services
========================= */

@media screen and (max-width: 767px) {

  .business-page .business-detail-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .business-page .business-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .business-page .business-detail-item {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  .business-page .business-detail-item-title {
    font-size: 18px;
    line-height: 1.6;
  }

  .business-page .business-detail-item-label {
    font-size: 10px;
    line-height: 1.6;
  }

  .business-page .business-detail-item-line {
    width: 45px;
    margin: 16px auto;
  }

  .business-page .business-detail-item-text {
    font-size: 13px;
    line-height: 2;
    overflow-wrap: anywhere;
  }


}



/* =========================
   BUSINESS - Mobile Section Headers
========================= */

@media screen and (max-width: 767px) {

  .business-page .business-detail-header {
    width: 100%;
    text-align: center;
  }

  .business-page .business-detail-header-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* 日本語タイトル */
  .business-page .business-detail-title {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-left: 0;
    transform: none;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
  }

  /* 背景の英語フォント */
  
.business-page .business-detail-bg-label {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;

  width: max-content;
  max-width: 100%;
  margin: 0;

  text-align: center;
  font-size: 24px;
  white-space: nowrap;

  transform: translate(-50%, -50%) scaleY(4.0);
}

}


/* =========================
   PROJECTS - Mobile Hero
========================= */

@media screen and (max-width: 767px) {

  .projects-page-hero {
    min-height: 100px;
  }

  .projects-page-logo {
    max-width: 45%;
    margin-top: 30px;
  }

}



/* =========================
   PROJECTS - Mobile Introduction
========================= */

@media screen and (max-width: 767px) {

  .projects-intro {
    padding: 50px 0 70px;
  }

  .projects-intro-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .projects-intro-heading {
    font-size: 22px;
    line-height: 1.6;
  }

  .projects-intro-text {
    margin-top: 30px;
    font-size: 13px;
    line-height: 2;
  }

  .projects-intro-text p + p {
    margin-top: 24px;
  }

}


/* =========================
   PROJECTS - Mobile OLVIA
========================= */

@media screen and (max-width: 767px) {

  .projects-olvia {
    padding: 70px 0 90px;
  }

  .projects-olvia-label{
font-size: 15px;
  }

  .projects-olvia-heading{
    font-weight: bold;
  }

  .projects-olvia-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .projects-olvia-tagline{
    font-size: 15px;
    font-weight: bold;
  }

}


/* =========================
   CONTACT - Mobile Hero
========================= */

@media screen and (max-width: 767px) {

  .contact-page-hero {
    min-height: 100px;
  }

  .contact-page-logo {
    max-width: 45%;
    margin-top: 30px;
  }

}


/* =========================
   Navigation
========================= */

@media screen and (min-width: 768px) {

 body:has(.about-page) .hero-nav,
  body:has(.business-page) .hero-nav,
  body:has(.projects-page) .hero-nav,
  body:has(.contact-page) .hero-nav,
  body:has(.thanks-page) .hero-nav {
    display: none;

}


/* =========================
   THANKS - Mobile
========================= */

@media screen and (max-width: 767px) {

  .thanks-label {
    font-size: 24px;
  }

}

