* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  text-align: center;
  background-image: url(images/backphoto.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(1px);
  z-index: -1;
}

/* =========================
   フローティングヘッダー
   クリーム色＋紙っぽい質感
========================= */
.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;

  width: min(calc(100% - 32px), 960px);
  padding: 10px 18px;

  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(248, 239, 226, 0.92));

  backdrop-filter: blur(8px);
  border: 1px solid rgba(120, 86, 58, 0.18);
  border-radius: 999px;

  box-shadow:
    0 10px 26px rgba(80, 55, 35, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  border: 1px solid rgba(140, 100, 70, 0.12);
  pointer-events: none;
}

.header-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;

  border-radius: 16px;
  box-shadow:
    0 3px 10px rgba(80, 55, 35, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* スマホ用の一文。PCでは非表示 */
.header-mobile-catch {
  display: none;
}

.header-contact {
  text-align: right;
  color: #6f4b56;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(111, 75, 86, 0.12);
}

.header-contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
  color: #7a5a44;
}

.header-tel {
  color: #6f4b56;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.header-tel::before {
  content: "☎ ";
  font-size: 16px;
}

.header-tel:hover {
  opacity: 0.75;
}

.container {
  min-height: 100vh;
  padding: 110px 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

h1 {
  color: #333;
  font-size: 22px;
  margin: 10px 0 10px;
  font-family: "HGP行書体", "Yuji Syuku", "Yuji Boku", serif;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    5px 5px 5px rgba(255, 255, 255, 0.9);
}

/* =========================
   カード
========================= */
.select-box {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 560px;
  margin: 10px auto;
  width: 100%;
}

.select-box a {
  display: block;
  position: relative;
  width: 220px;
  min-width: 0;
  padding: 12px 16px 14px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  text-align: center;
  animation: floatUp .8s ease forwards;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.select-box a::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: rotate(25deg);
  opacity: 0;
}

.select-box a:hover {
  transform: translateY(-8px) scale(1.03);
  transition: 0.3s;
}

.select-box a:hover::after {
  opacity: 1;
  animation: shineMove .7s linear;
}

/*
  カード画像
  自動回転は削除。
  本番向けに、初回だけ自然にふわっと表示。
*/
.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  animation: softImageIn 1s ease forwards;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.select-box a:hover .card-image img {
  transform: scale(1.04);
}

.card-main-text {
  font-family: "HGP行書体", "Yuji Syuku", "Yuji Boku", serif;
  letter-spacing: 0.1em;
}

.card-sub-text {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
}

.men {
  background: linear-gradient(180deg, #1d6d52 0%, #175840 100%);
}

.men::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M20 80 L80 20' stroke='white' stroke-width='6' fill='none'/><circle cx='70' cy='30' r='10' stroke='white' stroke-width='4' fill='none'/></svg>") center/120px no-repeat;
  opacity: .12;
  pointer-events: none;
}

.women {
  background: linear-gradient(180deg, #ea90b1 0%, #f74480 100%);
  color: #333;
}

.women::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M30 70 Q50 20 70 70' stroke='white' stroke-width='6' fill='none'/></svg>") center/120px no-repeat;
  opacity: .15;
  pointer-events: none;
}

/* =========================
   新着情報
   実店舗でも使いやすい無難な内容
========================= */
.news-box {
  width: min(100%, 520px);
  margin: 20px auto 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
  backdrop-filter: blur(2px);
}

.news-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #7a4b57;
  letter-spacing: 0.05em;
}

.news-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 6px;
  align-items: flex-start;
}

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

.news-date {
  min-width: 70px;
  color: #999;
}

.news-text {
  color: #444;
  line-height: 1.4;
}

/* =========================
   カレンダー
========================= */
.calendar-wrap {
  width: 100%;
  margin-top: 40px;
}

#calendar-container {
  position: relative;
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 10px auto 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(3px);
}

#calendar-container p {
  color: #e74c3c;
  font-size: 12px;
  margin: 10px 0 0;
  text-align: center;
}

#today-status {
  text-align: center;
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  gap: 10px;
}

.calendar-title {
  font-weight: bold;
  padding: 0 10px;
  color: #4a4a4a;
  letter-spacing: 0.05em;
}

.calendar-btn {
  appearance: none;
  border: 1px solid rgba(122, 75, 87, 0.25);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96), rgba(245, 236, 239, 0.96));
  color: #7a4b57;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.calendar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(248, 240, 243, 1));
}

.calendar-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.calendar-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 198, 216, 0.45);
}

.calendar-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 4px;
  font-size: 14px;
  color: #333;
  table-layout: fixed;
}

.calendar-table th {
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  font-weight: 600;
}

.calendar-table th:first-child {
  color: #e74c3c;
}

.calendar-table td {
  padding: 4px;
  text-align: center;
  height: 36px;
}

.calendar-day {
  display: inline-block;
  min-width: 26px;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
}

.calendar-day.closed {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  line-height: 24px;
  background: #e74c3c;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.calendar-day.today {
  min-width: 28px;
  padding: 2px 6px;
  background: #fff3cd;
  border: 2px solid #f1c40f;
  border-radius: 8px;
  line-height: 1.2;
}

.calendar-day.today.closed {
  box-shadow: 0 0 0 2px #f1c40f;
  border: none;
}

/* =========================
   フッター
========================= */
.site-footer {
  width: 100%;
  margin-top: 40px;
  padding: 24px 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}

.footer-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #4a4a4a;
  letter-spacing: 0.05em;
}

.footer-info {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.footer-contact {
  text-align: right;
}

.tel-text {
  font-size: 14px;
  font-weight: bold;
  color: #6f4b56;
  margin-bottom: 4px;
}

.footer-note {
  font-size: 11px;
  color: #888;
  margin-top: 6px;
}

.footer-copy {
  text-align: center;
  font-size: 11px;
  color: #777;
  margin-top: 14px;
}

/* =========================
   固定電話ボタン
========================= */
.floating-tel-btn {
  display: none;
}

/* =========================
   アニメーション
========================= */
@keyframes floatUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes softImageIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shineMove {
  0% {
    left: -80%;
  }

  100% {
    left: 140%;
  }
}

/* =========================
   スマホ
========================= */
@media (max-width:600px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    padding: 9px 12px;
    border-radius: 24px;

    background:
      linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(248, 238, 226, 0.94));
  }

  .site-header::before {
    inset: 4px;
    border-radius: 20px;
  }

  .header-inner {
    justify-content: flex-start;
    gap: 12px;
  }

  .header-logo {
    flex-shrink: 0;
  }

  .header-logo img {
    height: 42px;
    max-width: 145px;
    border-radius: 14px;
  }

  /* スマホではロゴ横に短い一文を表示 */
  .header-mobile-catch {
    display: block;
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.04em;
    color: #6f4b56;
    font-weight: 600;
    white-space: nowrap;
  }

  /* スマホではヘッダー内の電話番号を非表示 */
  .header-contact {
    display: none;
  }

  .container {
    min-height: auto;
    padding: 82px 12px 8px;
  }

  h1 {
    font-size: 18px;
    margin: 8px 0 8px;
    letter-spacing: 0.05em;
  }

  .select-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 420px);
    max-width: none;
    margin: 8px auto;
    align-items: stretch;
  }

  .select-box a {
    width: 100%;
    padding: 10px 10px 12px;
    font-size: 14px;
  }

  .card-image {
    aspect-ratio: 1 / 1.2;
    margin-bottom: 6px;
  }

  .card-main-text {
    display: block;
    font-size: 14px;
    line-height: 1.2;
  }

  .card-sub-text {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    word-break: keep-all;
  }

  .news-box {
    margin: 14px auto 0;
    padding: 14px;
  }

  .news-title {
    font-size: 13px;
  }

  .news-item {
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
  }

  .news-date {
    font-size: 12px;
    min-width: auto;
  }

  .calendar-wrap {
    margin-top: 32px;
  }

  #calendar-container {
    padding: 16px 14px;
    margin-top: 12px;
  }

  .calendar-head {
    gap: 6px;
    padding: 0;
  }

  .calendar-btn {
    padding: 7px 10px;
    font-size: 12px;
  }

  .calendar-title {
    font-size: 13px;
    padding: 0 2px;
  }

  .site-footer {
    margin-top: 24px;
    padding: 18px 12px 90px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

  .floating-tel-btn {
    display: flex;
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 226, 214, 0.98));
    color: #6f4b56;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.04em;
    border-radius: 999px;
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(111, 75, 86, 0.18);
  }
}

@media (max-width:380px) {
  .header-logo img {
    height: 38px;
    max-width: 128px;
  }

  .header-mobile-catch {
    font-size: 11px;
    letter-spacing: 0.02em;
  }
}