/* Fonts https://bootstrapmade.com/color-system/*/
:root {
  --default-font: "Murecho",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Orbitron",  sans-serif;
  --nav-font: "Orbitron", "Murecho", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2e4455; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #428bca; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #fff; /* #212529 The default color of the main navmenu links */
  --nav-hover-color: #428bca; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #428bca; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f5f9fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #263746;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #385167;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

:root {
  --accent-orange: #e66018;
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,h2,h3,h4,h5,h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.chem small {
  font-size: 0.7em;      /* 数字の大きさを調整 */
  vertical-align: sub;   /* 下付きの位置に下げる */
  position: relative;
  bottom: -0.2em;        /* 下がり具合を微調整 */
}

.lower-two { /* AquaO2の2の位置専用 */
  display: inline-block; /* 位置調整を有効にするために必要 */
  vertical-align: baseline; /* 基準線に合わせる */
  position: relative;
  top: 0.2em; /* ← ここで「下がり具合」をミリ単位で調整できます */
  font-size: 1em; /* サイズは 100% のまま維持 */
  letter-spacing: -0.05em;
}


/*Google Email Form */
  .iframe-wrapper {  /* 箱（wrapper）の大きさを指定 */
    position: relative;
    width: 100%;
    padding-top: 105%; /* フォームの高さに合わせてここを調整します */
    overflow: hidden;
  }
  .iframe-wrapper iframe { /* 中のフォームを箱いっぱいに広げる */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

/*Google Shopping Form */
  .iframe-wrapper-shop {  /* 箱（wrapper）の大きさを指定 */
    position: relative;
    width: 100%;
    padding-top: 145%; /* フォームの高さに合わせてここを調整します */
    overflow: hidden;
  }
  .iframe-wrapper-shop iframe { /* 中のフォームを箱いっぱいに広げる */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: #000066; /*var(--background-color) */
  border-bottom: none !important; /* 既存の細い線を消す */
  box-shadow:  
    0 5px 0 0 #ff6600;  /* 1本目：太めのオレンジ（#ff6600はベースカラーですね） */
    ;  /* 2本目：細めの水色 */
}

.header .topbar {
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--accent-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--accent-orange);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
  color: var(--default-color);
}

.header .topbar .contact-info i a:hover {
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--accent-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.sitename {
  font-family: "Orbitron", sans-serif !important;
  
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color:#fff ; /* var(--heading-color) */
  font-family: "Orbitron";
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }


  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color:#000066 ; /* var(--background-color) */
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: #fff ; /* var(--heading-color) */
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

/* .footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
} 

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}*/

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: #499ac7;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul 
i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, #fff, transparent 30%); /* var(--default-color) */
  display: inline-block;
  line-height: 1;
}

.footer .footer-links 
ul 
a:hover {
  color: var(--accent-color); /*  */
}

.footer 
.footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
  color: #fff;
  opacity: 90%;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
  color:#ccc;

}

/* Footer.html専用 Useful Links を横並びにする */
.useful-links ul {
  display: flex;         /* 横並びにする */
  flex-wrap: wrap;       /* 画面が狭くなったら折り返す */
  list-style: none;      /* 中黒（点）を消す */
  padding: 0;
  margin: 0;
  gap: 20px;             /* リンク同士の間隔 */
}

.useful-links ul li {
  margin: 0;             /* 余計なマージンをリセット */
  position: relative;
  color: #ccc;
}

/* リンクの間に区切り線（|）を入れたい場合（お好みで） */
.useful-links ul li:not(:last-child)::after {
 /* content: "|"; */
  margin-left: 20px;
  color: #ccc;
  font-weight: normal;
}

.useful-links ul li a {
  text-decoration: none;
  color: #333;           /* サイトに合わせた色に調整してください */
  transition: 0.3s;
}

.useful-links ul li a:hover {
  color: #ff6600;        /* ホバー時にAquaO2オレンジに */
}

/* スマホでは縦に戻す、または中央寄せにする場合 */
@media (max-width: 768px) {
  .useful-links ul {
    justify-content: center; /* 中央寄せ */
    gap: 15px;
  }
}

/* これをCSSに追加するか、style属性で直接書く */
.legal-reveal {
  cursor: pointer; /* マウスを乗せたときに指マークにする */
  display: inline-block; /* クリック判定をしっかり持たせる */
  text-decoration: underline; /* リンクっぽく見せる */
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 120px;
  overflow: clip;
}

  @media (max-width: 1199px) {

    section,
    .section {
      scroll-margin-top: 100px;
    }
  }

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# door Section  HOME
--------------------------------------------------------------*/
.door {
  width: 100%;
  /* min-height: 100vh; */
  aspect-ratio: 5 / 3;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.door:before {
  content: "";
  /*background: color-mix(in srgb, var(--background-color), transparent 70%); */
  position: absolute;
  inset: 0;
  z-index: 2;
}

.door img {
  position: absolute;
  inset: 0; 
  display: block;
  width: 100%;
  height: 100%; 
  object-fit:cover;
  z-index: 1;
  object-position: center;
}

/* --- スマホ・iPad縦表示の設定（767px以下） --- */
@media (max-width: 767px) {
  .door {
    aspect-ratio: 2 / 3; /* スマホ画像の比率（1000:667） */
  }

  .door img {
    /* ここでスマホ用画像に差し替え！ */
    content: url("../img/Aquao2-door-smp.jpg"); 
  }
}
.door .container {
  position: relative;
  z-index: 3;
}

.door h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  /*text-transform: uppercase; */
  text-shadow: -1px 0 2px #2f4d5a;
  font-family: "Orbitron", sans-serif !important;
}

/* 扉（door）セクションのタイトル文字サイズを画面幅に合わせる */
#door h2 {
  font-size: clamp(1.5rem, 5vw, 3.5rem) !important;
  white-space: nowrap !important;
  text-align: center;
}

/* PC・基本サイズ */
h2.welcome-text {
  font-size: 48px;       /* 現在のサイズに合わせて調整してください */
  white-space: nowrap;   /* ★絶対に一行で表示（折り返さない） */
  /*overflow: hidden;       万が一はみ出ても崩さない */
  /*text-overflow: clip;   端でピタッと止める */
  display: block;
  margin-bottom: 20px;
  color: #f9f9f9;
  overflow: visible !important; 
  line-height: 1.4;
}

/* タブレットサイズ (991px以下) */
@media (max-width: 991px) {
  h2.welcome-text {
    font-size: 4.5vw;    /* 画面幅に合わせて少しずつ小さくする */
  }
}

/* スマホサイズ (767px以下) */
@media (max-width: 767px) {
  h2.welcome-text {
    font-size: 6.5vw;    /* スマホの幅に最適化 */
    text-align: center;  /* 中央寄せにするとより綺麗です */
  }
}

/* 次の文章用の設定例 */
.welcome-sub {
  white-space: normal; /* 改行を許可（デフォルト） */
  font-size: 18px;     /* スマホでも読みやすいサイズ */
  line-height: 1.6;    /* 行間を広げると読みやすくなります */
  color:#ffffff !important;
}

.door p {
  color: var(--default-color);
  margin: 10px 0 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  /* text-transform: uppercase; */
  text-shadow: -1px 1px 1px #2f4d5a;
  font-family: "Murecho", Verdana, Geneva, Tahoma, sans-serif
}

@media (max-width: 640px) {
  .door h1 {
    font-size: 30px;
    line-height: 36px;
  }
}

.door .btn-scroll {
  transition: 0.4s;
  color: var(--default-color);
  display: block;
  margin-top: 30px;
  animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.door .btn-scroll i {
  font-size: 48px;
}

.door .btn-scroll:hover {
  color: var(--accent-color);
}

@keyframes btn-up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# About Section 資料・読み物
--------------------------------------------------------------*/
.about h3 {
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 20px;
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/* ----JSON 酸素ってなぁに？ ------------------ */

.article-viewer-header {
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 5px solid #ff6600; /* アクオーツーのオレンジ */
}

.article-viewer-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}

/* 記事表示エリア（左） */
.article-viewer-content {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  min-height: 400px;
  transition: opacity 0.3s ease;
}

.article-viewer-content h3 {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* リストエリア（右） */
.article-viewer-sidebar {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
}

.article-viewer-sidebar h4 {
  font-size: 1.1rem;
  padding: 15px 20px;
  margin: 0;
  background: var(--heading-color);
  color: #fff;
  font-family: var(--heading-font);
}

/* リスト内のスクロール領域 */
.article-viewer-list {
  max-height: 450px; /* 固定高さ */
  overflow-y: auto;
}

/* リストアイテム（コンボボックス風） */
.article-viewer-item {
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #fff;
  color: var(--default-color);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

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

.article-viewer-item i {
  font-size: 0.8rem;
  color: #ff6600;
  transition: transform 0.2s ease;
}

/* ホバー時 */
.article-viewer-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

/* 選択中（アクティブ） */
.article-viewer-item.active {
  background-color: #fff;
  border-left: 5px solid #ff6600; /* アクオーツー・オレンジ */
  color: #ff6600;
  font-weight: 600;
}

.article-viewer-item.active i {
  color: #ff6600;
  transform: translateX(3px);
}

/* スクロールバーのカスタマイズ（任意） */
.article-viewer-list::-webkit-scrollbar {
  width: 6px;
}
.article-viewer-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* 記事表示エリア（左側） */
.article-viewer-content {
  height: 450px;       /* リスト側のmax-heightと同じ450pxに固定 */
  overflow-y: auto;    /* 本文が長ければスクロール */
  padding: 20px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}
/* ぷちあにめエリア限定のスタイル */
.swf-list-container .article-viewer-item {
  display: flex !important;
  flex-direction: row !important;      /* 横並びを強制 */
  align-items: flex-start !important;  /* 上揃え */
  justify-content: flex-start !important; /* 左詰め */
  text-align: left !important;         /* 文字を左寄せ */
  gap: 12px;                           /* アイコンと文字の隙間 */
  padding: 10px 15px;                  /* 内側の余白調整 */
}

/* アイコンの位置微調整 */
.swf-list-container .article-viewer-item i {
  flex-shrink: 0;
  margin-top: 3px; 
}

/* 画面幅が768px以下（スマホ・タブレット）の場合 */
@media (max-width: 768px) {
    /* 親要素の横並び(flex)を解除して縦並びにする */
    .article-viewer-container { 
        display: block; 
    }

    /* 記事表示エリアを上にする */
    .article-viewer-content {
        width: 100%;
        height: 400px; /* スマホでは少し高さを抑えてもOK */
        margin-bottom: 20px; /* リストとの間に隙間を作る */
    }

    /* リストエリアを下にする */
    .article-viewer-list {
        width: 100%;
        height: 300px;
    }

    /* アイコンの向きを「上」に変える（任意） */
    .article-viewer-item i {
        transform: rotate(90deg); /* 左向きを上向きに */
        margin-right: 15px;
    }

    /* 「右」という文字の中身を「下」に書き換える魔法 */
    .nav-direction {
        visibility: hidden; /* 元の「右」を消す */
    }

    .nav-direction::after {
        content: "下";      /* 代わりに「下」を表示する */
        visibility: visible;
        display: inline-block;
        margin-left: -1em;  /* 元の「右」があった位置に寄せる */
    }
}

/*--- swf表示部 テレビ ------------------------------------*/
#swf-display-area {
  /* --- 1. エリア（枠）のサイズ設定 --- */
  width: 100%;
  max-width: 400px;         /* 昨日決めたコンパクトサイズ */
  margin: 0 auto 20px auto; /* 中央寄せ & 下に少し余白 */
  
  /* 直接数値を入れれば、ブラウザが比率を計算してくれます */
  aspect-ratio: 366 / 333; 
  height: auto;

  /* --- 2. デザイン（装飾） --- */
  border: 3px solid var(--accent-orange);
  border-radius: 8px;
  overflow: hidden;
  background: #000;         /* 読み込み前の下地を黒に */

  /* --- 3. 中身のフィット設定 --- */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* swf2jsが作り出す表示要素を枠いっぱいに広げる */
#swf-display-area > * {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* 比率を維持して枠を埋める */
}

/* 全体を中央寄せにするコンテナ */
.tv-component-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* すべてを水平方向の中央に */
  width: 100%;
  max-width: 500px;    /* 任意の最大幅 */
  margin: 0 auto;
}

/* SWFエリアのスタイル（太字角丸） */
.tv-screen-styled {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  
  /* 太い枠線と角丸 */
  border: 8px solid #333; /* 「太字」に相当する太いフレーム */
  border-radius: 20px;    /* しっかりとした角丸 */
  
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* 少し立体感を出す（お好みで） */
  overflow: hidden;
  z-index: 5;
}

/* アンテナと足の配置 */
.tv-antenna img, .tv-feet img {
  display: block;
  height: auto;
  max-width: 100%; /* 親の幅を超えないように */
}

/* 接続部を少し重ねる場合（お好みで調整） */
.tv-antenna { margin-bottom: -2px; }
.tv-feet { margin-top: -2px; }

/*--------------------------------------------------------------
# buy-it お買い物
--------------------------------------------------------------*/
#buy-it {
  /* 画面の高さの80%を下回らないようにする */
  min-height: 80vh;
  /*padding: 100px 0; */
}

/* 5つのカードを横に等間隔で並べる */
.buy-it-container {
    display: flex;
    justify-content: space-between;
    gap: 15px; /* カード間の隙間 */
}

.buy-it-card {
  flex: 1;         /* 5つが均等な幅になる */
  min-width: 180px; /* 狭くなりすぎないよう最小幅を設定 */
}

.buy-it-card {
    flex: 1; /* これで5つのカードが同じ幅になります */
    min-width: 0; /* 折り返し時の崩れ防止 */
}

/* --- 5つのカードを横一列にする設定 --- */
.buy-it-wrapper {
  display: flex;
  flex-wrap: wrap; /* スマホでは折り返す設定 */
  gap: 15px;       /* カード同士の隙間 */
  justify-content: center;
}

/* スマホ (768px以下) では2列または1列にする調整 */
@media (max-width: 768px) {
  .buy-it-card {
    flex: 1 1 calc(50% - 15px); /* 2列 */
  }
}

@media (max-width: 480px) {
  .buy-it-card {
    flex: 1 1 100%; /* 1列 */
  }
}

.buy-it .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

.buy-it .card-item span {
  color: var(--accent-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.buy-it .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.buy-it .card-item h4 a {
  color: var(--heading-color);
}

.buy-it .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
}

.buy-it .card-item:hover {
  background: var(--accent-color);
  padding: 30px 30px 70px 30px;
}

.buy-it .card-item:hover span,
.buy-it .card-item:hover h4 a,
.buy-it .card-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Testimonials Section お客様の声
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 15px;
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  margin-right: 15px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Services Section AquaO2とは
--------------------------------------------------------------*/
.services .service-item {
  text-align: center;
  padding: 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;

  /* 枠線の土台 */
  position: relative;
  z-index: 1;
  border: 2px solid transparent; /* 最初は透明な線を描いておく（ガタつき防止） */
}

/* ホバーした時に青い線（accent-color）を出す */
.services .service-item:hover {
  border-color: var(--accent-color) !important;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); /* 少し浮き上がらせる */
  transform: translateY(-5px); /* 少し上に動かすと「反応してる感」が出ます */
}

/* stretched-link（aタグ）が他の要素を邪魔しないようにする */
.services .service-item .stretched-link {
  z-index: 2; /* 枠線より上のレイヤーにする */
}

/* 中の要素が消えないように調整 */
.services .service-item .icon,
.services .service-item h3,
.services .service-item p {
  position: relative;
  z-index: 1; 
}

.services .service-item .icon {
  background-color: var(--surface-color);
  color: var(--accent-color);
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  font-size: 32px;
  transition: ease-in-out 0.3s;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .service-item h3 {
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-size: 22px;
  transition: 0.3s;
  position: relative;
}

.services .service-item h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .icon {
  box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/* ポップアップ外側 */
.service-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}
.service-overlay.active { display: flex; }

/* ポップアップ内側 */
.overlay-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

/* 画像エリア */
.details-img {
  text-align: center;
  margin-bottom: 20px;
}
.details-img img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #eee;
}

/* テキストエリア */
.details-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}


/*--------------------------------------------------------------
# Faq Section よくある質問
--------------------------------------------------------------*/
.faq .faq-item {
  margin: 20px 0;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.faq .faq-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

.faq .faq-item h4 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.faq .faq-item p {
  font-size: 15px;
}

.faq .faq-item:first-child {
  padding-top: 0;
  margin-top: 0;
}

.faq .faq-item:last-child {
  border: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Contact Section  お問合せ
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item i {
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  padding: 30px;
  margin-top: 22px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

  @media (max-width: 575px) {
    .contact .php-email-form {
      padding: 20px;
    }
  }

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Shopping.html  お買い物詳細ページ
--------------------------------------------------------------*/

/*---- Order Flow Navigation お買い物フロー-------*/
.aqua-flow {
  padding: 20px 0;
  max-width: 750px;      /* ★画面の約1/3〜半分に収まるサイズ */
  margin: 0 auto;        /* 中央寄せ */
  font-family: var(--default-font);
}

.aqua-flow ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;              /* 隙間をさらにタイトに */
}

/* 4列配分のロジックを維持 */
.aqua-flow > ul > li { flex: 4; } 
.aqua-flow > ul > li > ul > li:nth-child(1) { flex: 1; } 
.aqua-flow > ul > li > ul > li:nth-child(2) { flex: 1; } 
.aqua-flow > ul > li > ul > li:nth-child(3) { flex: 2; } 
.aqua-flow li ul li ul li { flex: 1; } 

.aqua-flow li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 箱（node）のデザイン：極限までスリム化 */
.aqua-flow .node {
  position: relative;
  margin: 35px 2px 0 2px;
  border: 1.5px solid #444;
  padding: 8px 2px;       /* 上下左右の余白を最小限に */
  background: #fff;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 45px;       /* 55pxから45pxへさらにカット */
  font-size: 14px;        /* 文字サイズを12pxに（スマホ並み） */
  line-height: 1.2;
  border-radius: 3px;
}

/* 質問の箱（親） */
.aqua-flow .node.main,
.aqua-flow .node.sub {
  width: calc(100% - 4px);
  font-weight: bold;
  background: #f9f9f9;
}

/* 矢印（↓）：サイズと位置をさらに小さく */
.aqua-flow .node::before {
  content: "↓"; 
  position: absolute;
  top: -32px;            /* 箱にさらに近づける */
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;       /* 22pxから20pxへ */
  font-weight: bold;
  color: var(--accent-color);
}

.aqua-flow .node.main { margin-top: 0; }
.aqua-flow .node.main::before { display: none; }

/* button要素のブラウザ標準スタイルを完全に打ち消す */
.node .tel-btn {
  /* 1. 強制リセット（!importantで優先順位を上げます） */
  appearance: none !important;
  -webkit-appearance: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  
  /* 2. 形状とサイズ */
  display: inline-block !important;
  width: 80% !important;        /* 箱の幅に対して80% */
  margin: 8px auto 0 !important; /* 「電話」の文字の下に余白を作り中央寄せ */
  padding: 6px 0 !important;     /* 上下の内側余白 */
  
  /* 3. カプセル型にするための設定 */
  border-radius: 50px !important; /* 左右を丸く固定 */
  
  /* 4. 配色と文字（青背景・白文字） */
  background-color: #007bff !important; /* 青 */
  color: #ffffff !important;            /* 白 */
  font-size: 12px !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}

/* ホバー時の色変更 */
.node .tel-btn:hover {
  background-color: #0056b3 !important;
  opacity: 0.9 !important;
}


/*----- 決済ロゴ -----------------*/

.payment-logo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px; /* ロゴ同士の間隔 */
    margin-top: 15px;
}


@media (max-width: 576px) {　/* スマホ用リストのデザイン */
  .mobile-order-guide {
    padding: 10px;
  }
  .order-step-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
  }
  .order-step-title {
    color: #ff6600; /* AquaO2オレンジ */
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 8px;
    margin-bottom: 15px;
  }
  .order-step-list, .payment-step-list {
    list-style: none;
    padding: 0;
  }
  /* スマホで押しやすい大きなボタン */
  .btn-order {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration: none !important;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ccc;
    color: #333;
    background: #f9f9f9;
  }
  .btn-order.tel { background: #fff5eb; border-color: #ff6600; color: #ff6600; }
  .btn-order.fax { background: #eefbff; border-color: #007bff; color: #007bff; }
}

.payment-logo-container img { /* 高さを30px〜40pxくらいに固定すると、文字とのバランスが良くなり、横幅は自動で調整されます */
    height: 35px; 
    width: auto;
    opacity: 0.7; 
    transition: all 0.3s ease;
    /* 少しだけ青みのあるグレーを重ねるような効果（お好みで） */
    filter: grayscale(20%); 
}

.payment-logo-container img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px); /* 軽く浮かせるとさらに丁寧な印象に */
}

.payment-logo-container img:hover {
    opacity: 1;
}

/* 1. すべての決済ロゴに共通する設定 */
.payment-icon {
  height: 30px; /* 基本の高さ */
  width: auto;
  opacity: 0.7; /* さきほどの「清潔感」の透過 */
  transition: all 0.3s;
}

/* 2. d払いなど、個別に微調整したいものだけ「被せて」書く */
.payment-icon.logo-docomo {
  height: 22px; /* 高さを上書きして小さくする */
  margin-top: 4px; /* 位置のズレを補正 */
}

/*--------------------------------------------------------------
# Footer page 法規類ページ
--------------------------------------------------------------*/
/*-------- # LFaq Section  アコーディオン部 --------------*/
.Lfaq {
  padding-top: 60px;
  padding-bottom: 60px;
}

.Lfaq .Lfaq-container .Lfaq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.Lfaq .Lfaq-container .Lfaq-item:last-child {
  margin-bottom: 0;
}

.Lfaq .Lfaq-container .Lfaq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.Lfaq .Lfaq-container .Lfaq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.Lfaq .Lfaq-container .Lfaq-item h3:hover {
  color: var(--accent-color);
}

.Lfaq .Lfaq-container .Lfaq-item .Lfaq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.Lfaq .Lfaq-container .Lfaq-item .Lfaq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

/* テーブルが入っているアコーディオンが開いたとき、高さを自動で出す設定 */
#collapseOne.collapse.show {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}

.th-width{
  width:20%;
  vertical-align: top;
}

.tr-line{
  border-bottom: 0.5px solid #e3e3e7;
}

.Lfaq .Lfaq-container .Lfaq-item .Lfaq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.Lfaq .Lfaq-container .Lfaq-item .Lfaq-toggle:hover {
  color: var(--accent-color);
}

.Lfaq .Lfaq-container .Lfaq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.Lfaq .Lfaq-container .Lfaq-active h3 {
  color: var(--accent-color);
}

.Lfaq .Lfaq-container .Lfaq-active .Lfaq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.Lfaq .Lfaq-container .Lfaq-active .Lfaq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/* タブレット・スマホ用の調整 */

/* 992px以下（タブレット・スマホ）の設定 */
@media (max-width: 992px) {
  /* 1. 左メニューの追随を解除して、コンテンツの上に配置する */
  .service-details .services-list {
    position: static !important; /* 追随をオフにする */
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap; /* 項目が多い場合に折り返す */
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
  }

  .service-details .services-list a {
    margin: 0;
    flex: 1 1 calc(50% - 10px); /* 2列に並べる */
    text-align: center;
    border: 1px solid #ddd;
    border-left: 3px solid #ddd; /* 左線はデザインとして残す */
    padding: 12px 5px;
  }

  /* 2. アコーディオンの余白調整 */
  .Lfaq-item {
    padding: 0;
    margin-bottom: 15px;
  }

  /* 3. タップしやすくするための高さ確保 */
  .Lfaq-item h3 {
    font-size: 18px;
    padding: 15px 40px 15px 15px; /* 右側にアイコン用のスペースを空ける */
    line-height: 1.4;
  }
}

/* 576px以下（小さなスマホ）の設定 */
@media (max-width: 576px) {
  /* メニューを1列にする */
  .service-details .services-list a {
    flex: 1 1 100%;
  }

  .service-details h3 {
    font-size: 20px; /* 見出しを少し小さくして読みやすく */
  }
  
  .Lfaq-content {
    padding: 15px; /* 中身の余白を少し詰める */
  }
}