body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho",
    serif;
  font-weight: 800 !important;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   PCヘッダー
========================= */
.marugoto-header {
  background: #fff;
  padding: 16px 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.marugoto-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.marugoto-header__logo img {
  height: 28px;
}

.marugoto-header__nav {
  margin-left: auto;
}

.marugoto-header__nav ul {
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 0 30px 0 0;
  list-style: none;
}

.marugoto-header__nav li a {
  color: #2b2b2b;
}

.marugoto-header__buttons {
  display: flex;
  gap: 8px;
}

/* =========================
   お問い合わせボタン
========================= */
.btn-yellow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  background: #e60012;
  color: #fff;
  border-radius: 999px;
  border: 2px solid #e60012;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 0;
}

/* 中央から広がる白 */
.btn-yellow::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: #fff;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.35s ease;
  z-index: -1;
}

/* PC：ホバー */
@media (hover: hover) {
  .btn-yellow:hover {
    color: #e60012;
  }

  .btn-yellow:hover::before {
    transform: scale(1);
  }
}

/* モバイル：タップ中 */
@media (hover: none) {
  .btn-yellow:active {
    color: #e60012;
  }

  .btn-yellow:active::before {
    transform: scale(1);
  }
}

/* ボタンアイコン */
.btn-icon {
  font-size: 1.3em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .btn-yellow:hover .btn-icon {
    color: #e60012;
  }
}

@media (hover: none) {
  .btn-yellow:active .btn-icon {
    color: #e60012;
  }
}

/* =========================
   ハンバーガー
========================= */
.hamburger {
  background: none;
  border: none;
  font-size: 24px;
  display: none;
  cursor: pointer;
  margin-left: auto;
}

/* =========================
   モバイルメニュー
========================= */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: #fff;
  padding: 24px 20px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mobile-nav__logo {
  height: 24px;
}

.mobile-nav__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav__menu li {
  padding: 12px 0;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  color: #2b2b2b;
}

.close-bottom {
  margin-top: 40px;
  background: none;
  border: none;
  color: #2b2b2b;
  font-weight: bold;
  font-size: 14px;
  align-self: center;
  cursor: pointer;
}

/* =========================
   ナビ下線 共通
========================= */
.marugoto-header__nav a {
  position: relative;
  padding-bottom: 6px;
}

.marugoto-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #e60012;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

/* 押した瞬間（クリック/タップ中） */
.marugoto-header__nav a:active::after {
  transform: scaleX(1);
}

/* 指を離した後も、ページ遷移するまで線を保持（戻るのを防ぐ） */
.marugoto-header__nav a:focus::after {
  transform: scaleX(1);
}

/* 現在ページは常に表示（ここで“再アニメ”しないようにtransitionを切る） */
.marugoto-header__nav a.is-current::after {
  transform: scaleX(1);
  transition: none;
}

/* クリック後の青枠が気になる場合だけ（必要なら） */
.marugoto-header__nav a:focus {
  outline: none;
}

@media (max-width: 768px) {
  .marugoto-header__nav,
  .marugoto-header__buttons {
    display: none;
  }

  .hamburger {
    display: block;
  }
}
