/*
 * 共通CSS - PC用（769px以上）
 *
 * 全ページで読み込まれます
 */

/* ========================================
   Reset & Base Styles
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ここにPC用の共通スタイルを記述 */
.sp_only,
.spOnly,
.sp-only,
.SP_only,
.SP-only {
  display: none;
}

/* ========================================
   CSS Variables (Design Tokens)
======================================== */
:root {
  /* Colors */
  --color-text: #000000;
  --color-bg: #ffffff;
  --color-accent-tan: #b8a991;
  --color-accent-brown: #a49276;
  --color-bg-beige: #f2ede8;
  --color-bg-blue: #e1eeef;
  --color-bg-cream: #eee6da;
  --color-gray: #c4c4c4;
  --color-gray-light: #f0f0f0;
  --color-gray-border: #d9d9d9;
  --color-bg-overlay: rgba(255, 255, 255, 0.34);
  --color-btn-brown: #b8a991;
  --color-btn-white: #fff;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Typography */
  --font-primary: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo",
    system-ui, sans-serif;
  --font-secondary: "TOT-ShizukaMin StdN", serif;
  --font-accent: "Inter", sans-serif;
  --font-futura: "Futura PT", sans-serif;
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(30px);
  opacity: 1;
  transition: opacity 0.3s ease;
}
.header.active::before {
  /* opacity: 1; */
}
.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0px 10px;
}

.header__container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.header__logo {
  width: 257px;
  display: flex;
  align-items: center;
}

.header__logo-cont {
  width: 50px;
}

.header__title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin-top: 0px;
  margin-left: 15px;
}

.header__info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header__info__top {
  display: flex;
  align-items: center;
}

.header__address {
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.2em;
}

.header__tel {
  margin-left: 40px;
  margin-bottom: 0px !important;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.2em;
  font-weight: 400;
}

.header__nav-item {
  padding: 6px 20px;
  font-size: 16px;
  line-height: 2;
  transition: background 0.3s;
}

.header__nav-item:hover {
  background: rgba(224, 212, 193, 0.3);
}

/* Header Dropdown Menu */
.header__nav-dropdown {
  position: relative;
  display: inline-block;
}

.header__submenu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  width: 100%;
  backdrop-filter: blur(40px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
}

.header__nav-dropdown:hover .header__submenu {
  opacity: 1;
  background-color: rgba(238, 230, 218, 0.5);
  visibility: visible;
}

.header__submenu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 20px;
}

.header__submenu-item {
  width: calc((100% - 48px) / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
  text-align: center;
  gap: 1px;
}

.header__submenu-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.header__submenu-img {
  width: 47px;
  height: 39.5px;
  object-fit: cover;
}

.header__submenu-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 32px;
  text-align: center;
}

.header__submenu-name {
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.header__submenu-desc {
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
}

@media (max-width: 880px) {
  .header__submenu-name {
    font-size: 13px;
  }

  .header__submenu-desc {
    font-size: 10px;
  }
}

/* ========================================
  パンくずリスト
======================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  line-height: 2;
}

.breadcrumb__separator {
  font-size: 10px;
}

.breadcrumb__current {
  font-size: 10px;
  line-height: 1.2;
}

/* ========================================
  保険診療・自由診療
======================================== */
.treatment-menu {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.treatment-menu__section {
  padding: 10px 16px 16px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 30px;
}

.treatment-menu__section.insured {
  background: var(--color-bg-blue);
}

.treatment-menu__section.private {
  background: var(--color-bg-cream);
}

.treatment-menu__title {
  font-size: 28px;
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: center;
  font-weight: 400;
  margin-bottom: 10px;
}

.treatment-menu__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.treatment-menu__item {
  width: calc((100% - 48px) / 4);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.insured .treatment-menu__item:hover {
  box-shadow: 0 4px 12px rgb(132 196 200 / 50%);
}
.private .treatment-menu__item:hover {
  box-shadow: 0 4px 12px rgb(188 157 112 / 40%);
}

.treatment-menu__img {
  width: 94px;
  height: 79px;
  object-fit: cover;
}

.treatment-menu__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  text-align: center;
}

.treatment-menu__name {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

.treatment-menu__desc {
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
}

@media (max-width: 880px) {
  .treatment-menu__name {
    font-size: 13px;
  }

  .treatment-menu__desc {
    font-size: 10px;
  }
}

/* ========================================
   Footer
======================================== */
.footer {
  width: 100%;
  margin: 0px auto 0 auto;
  background: var(--color-bg-beige);
  padding: 45px 0 75px 0;
}

.footer__container {
  width: calc(100% - 40px);
  max-width: 900px;
  margin: 0 auto;
}

.footer__info {
  text-align: center;
  margin-bottom: 30px;
}

.footer__logo {
  margin-bottom: 10px;
}

.footer__logo img {
  width: 60px;
  margin: 0 auto;
  display: block;
}

.footer__clinic-name {
  font-size: 14px;
  line-height: 2;
  margin-top: 0;
}

.footer__menu {
  display: flex;
  justify-content: center;
  gap: 72px;
}

.footer__menu-col {
}

.footer__menu-title {
  font-size: 18px;
  line-height: 3;
  font-weight: 400;
  margin-bottom: 8px;
}

.footer__menu-list {
  list-style: none;
}

.footer__menu-list li {
  font-size: 12px;
  line-height: 2.6;
}

.arrow-01 {
  position: relative;
}

.arrow-01:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  width: 192px;
  height: 14px;
  background: url(../../assets/imgs/common/arrow-01.svg);
  background-size: 100% auto;
}
