/*
  style-top.css
  TOP（index.html）専用スタイルシート
  セマンティックHTML版に対応
  他ページ（company.html等）は従来の style.css を使用
*/

/* ========== リセット・基本 ========== */
body {
  font-family: "Arial", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  background-image: url(./bg-b.gif);
  color: #333;
  line-height: 1.8;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a { color: #05a5ab; text-decoration: none; }
a:hover { color: gray; text-decoration: underline; }

p {
  font-size: 22px;
  line-height: 180%;
  margin: 0 0 0.8em;
}

ul { padding-left: 1.5em; }
li { font-size: 22px; line-height: 180%; }

strong { color: gray; }

.contents {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px;
  background-color: #ffffff;
}

/* ========== ヘッダー ========== */
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding: 2px 0;
}
.site-header .header-left { flex: 1 1 auto; }
.site-header .header-left h1 {
  font-size: medium;
  color: gray;
  margin: 0;
}
.site-header .header-left p { margin: 2px 0; }
.site-header .header-right { flex: 0 0 auto; text-align: right; }
.site-header .header-right p { margin: 2px 0; }
.site-header .header-right img { margin-left: 5px; }

/* ========== H2・H3 ========== */

h2 {
  font-size: 22px;
  color: #05a5ab;
  border-left: 6px solid #05a5ab;
  padding: 6px 12px;
  background: #f5fcfc;
}

h3 {
  font-size: 20px;
  color: #05a5ab;
  margin: 16px 0 8px;
  border-bottom: 2px solid #d6f0f1;
  padding-bottom: 4px;
}

.shop-status {
  text-align: center;
  font-size: 1.05rem;
  font-weight: bold;
  color: #05a5ab;
  margin: -8px 0 20px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .h2-center {
    font-size: 1.15rem;
  }
  .shop-status {
    font-size: 0.95rem;
    margin: -4px 0 16px;
  }
}

/* ========== セクション・レイアウト ========== */
section { margin: 8px 0; }

figure {
  margin: 4px 0;
  text-align: center;
}
figure img { display: inline-block; }

.content-block {
  padding: 4px 0;
}
.content-block p { margin: 0 0 0.8em; }

.highlight-bar {
  background-color: #e9eafe;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

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

/* ========== 強調テキスト ========== */
.emphasis-heading {
  font-weight: bold;
  color: #05a5ab;
}
.Estilo1 { color: #0000FF; }
.Estilo2 { color: #000000; font-weight: bold; }
.Estilo3 { color: #333333; font-weight: bold; font-size: 100%; }

/* ========== CTA ========== */
.cta-tel, .cta-mail {
  display: block;
  text-align: center;
  margin: 8px 0;
}

/* ========== detail-section（さらに詳しく） ========== */
details.detail-section {
  font-size: 90%;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
details.detail-section[open] { border-color: #05a5ab; }
details.detail-section summary {
  padding: 10px 40px 10px 16px;
  background: #f7f7f7;
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.6;
  font-weight: bold;
}
details.detail-section summary::-webkit-details-marker { display: none; }
details.detail-section summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #05a5ab;
  font-size: 1.4rem;
  font-weight: bold;
}
details.detail-section[open] summary::after { content: "-"; }
details.detail-section p {
  padding: 12px 16px;
  margin: 0;
}

/* ========== お客様の声 ========== */
.voice-item {
  border-top: 2px solid #05a5ab;
  border-bottom: 2px solid #05a5ab;
  padding: 10px 0;
  margin: 10px 0;
}
.voice-item .voice-label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}
.voice-item p { margin: 4px 0; }

/* ========== FAQ ========== */
.faq-section { margin: 16px 0; }
.faq-section details {
  margin-bottom: 6px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.faq-section details[open] { border-color: #05a5ab; }
.faq-section summary {
  padding: 12px 40px 12px 16px;
  background: #f7f7f7;
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.6;
  font-weight: bold;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #05a5ab;
  font-size: 1.4rem;
  font-weight: bold;
}
.faq-section details[open] summary::after { content: "-"; }
.faq-section details p {
  padding: 14px 16px;
  margin: 0;
  line-height: 1.8;
  color: #505050;
}

/* ========== フッター ========== */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding: 16px 10px;
  margin-top: 20px;
  text-align: center;
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: #05a5ab; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-area-links a { margin: 0 4px; }

/* ========== PCで電話番号リンクを無効に ========== */
@media (min-width: 768px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* ========== タブレット（1040px以下） ========== */
@media (max-width: 1040px) {
  p {
    font-size: 16px;
    line-height: 170%;
  }
  li { font-size: 16px; }
  h2 { font-size: 18px; }

  .p27 { width: 33%; height: auto; }
  .p90 { width: 90%; height: auto; display: block; margin: 0 auto; }
}

/* ========== スマホ（767px以下） ========== */
@media screen and (max-width: 767px) {
  br.br-sp { display: none; }

  h1 { font-size: 14px; }
  h2 { font-size: 14px; }
  h3 { font-size: 14px; }
  p  { font-size: 14px; line-height: 170%; }
  li { font-size: 14px; }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header .header-right { text-align: left; }

  .faq-section summary { padding: 10px 36px 10px 14px; }
  .faq-section details p { font-size: 14px; padding: 12px; }
  details.detail-section summary { padding: 8px 36px 8px 14px; }
  details.detail-section p { font-size: 14px; }

  .voice-item p { font-size: 14px; }
}

/* ========== SPメニュー ========== */
@media (min-width: 768px) {
  .for-sp { display: none !important; }
}

@media screen and (max-width: 767px) {
  #sp-fixed-menu {
    position: fixed;
    width: 100%;
    bottom: 0px;
    font-size: 0;
    z-index: 99;
    background-color: rgb(0 0 0 / 80%);
    text-align: center;
    padding: 2% 0 2%;
  }
  #sp-fixed-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 1% 0 0 0;
    width: 100%;
  }
  #sp-fixed-menu li {
    justify-content: center;
    align-items: center;
    width: 47%;
    padding: 0;
    margin-left: 2%;
  }
  #sp-fixed-menu li:last-child { margin-right: 2%; }
  #sp-fixed-menu li a {
    text-align: center;
    display: block;
    opacity: 1;
  }
  .contents { margin-bottom: 100px; }
}

.h2-center {
  text-align: center;
}

