/*
Theme Name: meldesign
Theme URI: https://meldesign.jp/
Author: Mel Design
Description: Mel Design（メルデザイン）公式サイト用オリジナルテーマ。レイアウトは固定して崩れないようにしたうえで、外観→カスタマイズだけで文言・画像・配色を編集できます。見出しは太字・斜体を選べるリッチテキスト欄です。
Version: 3.3.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meldesign
Tags: one-column, custom-logo, custom-colors, translation-ready
*/

/* ==========================================================
   以下は静的HTML版 index.html のスタイルをそのまま移植したもの。
   デザイン変更は行わないこと。
   フォント定義（@font-face）は assets/css/fonts.css に分離。
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sand:    #c8b896;
  --sand-dark: #b5a07d;
  --taupe:   #8a7a6a;
  --taupe-dark: #6e5f51;
  --cream:   #f0ebe2;
  --cream-dark: #e4ddd3;
  --brown:   #5c4a35;
  --white:   #faf8f5;
  --gold:    #9b8260;
}

html, body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: #E2DFDE;
  color: var(--brown);
}

/* ─────────────────────────────
   HEADER
───────────────────────────── */
header {
  /* background-color: var(--sand); */
  background: url('assets/img/header-bg.png');
  padding: 36px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Ornate medallion logo */
.logo-medallion {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

/* ロゴ差し替え方法: .logo-medallion の SVG を削除し、実際のロゴ img タグに置き換える */

.logo-brand-name {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--brown);
  text-align: center;
}

/* ─────────────────────────────
   MAIN SECTION
───────────────────────────── */
.main-section {
  background-color: #988D87;
  padding: 44px 40px 52px;
}

/* Headline */
.main-headline {
  text-align: center;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  font-family: 'Shippori Mincho', serif;
  line-height: 1.8;
}
/* 折り返しでブランド名が分断されないように */
.nowrap-brand {
  white-space: nowrap;
}
.main-headline em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.12em;
  letter-spacing: 0.04em;
}

/* Two-column content */
.main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Left: large image ── */
.main-image-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--taupe-dark);
}
.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder for main image */
.main-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  /* background: var(--taupe-dark); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-align: center;
  line-height: 2;
}

.main-image-placeholder img {
  width: 100%;
  display: block;
  box-shadow: 12px 14px 28px rgba(0, 0, 0, 0.30);
}

/* ── Right: info column ── */
.main-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 70px;
}

/* Site card */
.site-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}

.site-card-logo {
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.site-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder for site logo */
.site-logo-placeholder {
  width: 88px;
  height: 88px;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  font-family: 'Courier New', monospace;
  text-align: center;
  line-height: 1.6;
  flex-shrink: 0;
}

.site-card-body {
  border-left: 1px solid rgba(90, 80, 75, 0.45);
  padding-left: 5px;
}

.site-card-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.site-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  line-height: 1.9;
  font-family: 'Shippori Mincho', serif;
}

/* AIP補足説明文（MIYOKO個人の実績とは切り離した、事業の説明のみ） */
.aip-note {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  line-height: 1.9;
  font-family: 'Shippori Mincho', serif;
  margin-top: 4px;
}
.aip-note p {
  margin: 0;
}
.aip-note-label {
  margin: 16px 0 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
}
.aip-note-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aip-note-list li {
  position: relative;
  padding-left: 16px;
}
.aip-note-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.site-card-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 30px 11px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown);
  background-color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.right-arrow {
  display: inline-block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.site-card:hover .site-card-cta {
  color: var(--brown);
  background-color: #fff;
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.site-card:hover .right-arrow {
  transform: translateX(6px);
}

/* Representative */
.representative {
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 8px;
  /* border-bottom: 1px solid rgba(90, 80, 75, 0.45); */
}

.representative::after {
  content: "";
  position: absolute;
  right: 0;     /* ← 右端まで */
  bottom: 0;
  height: 1px;
  width: 280px;
  background: rgba(90, 80, 75, 0.45);
}

.rep-image {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0,0,0,0.2);
}
.rep-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder for rep image */
.rep-image-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  /* background: rgba(0,0,0,0.2); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  font-family: 'Courier New', monospace;
  text-align: center;
  line-height: 1.5;
  flex-shrink: 0;
}

.rep-text {
  text-align: right;
}
.rep-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
}
.rep-role {
  font-size: 12px;
  font-weight: 300;
  text-align: right;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.rep-desc {
  font-size: 12px;
  font-weight: 300;
  text-align: right;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  line-height: 1.8;
  font-family: 'Shippori Mincho', serif;
  margin-top: 8px;
  margin-bottom: 8px;
}

.rep-cta {
  text-align: right;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.representative:hover .rep-cta {
  color: #fff;
  border-color: rgba(255,255,255,0.9);
}

.representative:hover .right-arrow {
  transform: translateX(6px);
}

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
footer {
  background: #E2DFDE;
  /* padding: 36px 40px 28px; */
  max-width: 900px;
  padding: 36px 0 28px;
  margin: auto;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(92,74,53,0.15);
}
.footer-logo-img {
  height: 28px;
  width: auto;
}
.footer-brand {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--brown);
  font-weight: 400;
}

.footer-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: start;
}

.footer-contact h4 {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 12px;
}

.footer-contact address {
  font-style: normal;
  font-size: 13px;
  font-weight: 300;
  line-height: 2.0;
  letter-spacing: 0.04em;
  color: var(--brown);
  font-family: 'Shippori Mincho', serif;
}
.footer-contact address a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(92,74,53,0.25);
  transition: color 0.2s, border-color 0.2s;
}
.footer-contact address a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-links h4 {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 4px;
}
.footer-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--brown);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }

.footer-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(92,74,53,0.12);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(92,74,53,0.45);
  text-align: center;
}

.pc-hidden {
  display: hidden;
}

/* ─────────────────────────────
   MIYOKO BAND（MIYOKO個人ページへの導線一式。AIPの事業文言は含めない）
───────────────────────────── */
.miyoko-band {
  position: relative;
  display: block;
  background-color: var(--sand);
  text-decoration: none;
  padding: 28px 56px 28px 40px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.miyoko-band:hover {
  background-color: var(--sand-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.miyoko-band-top,
.miyoko-band-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.miyoko-band-bottom {
  margin-top: 6px;
}

.miyoko-band-rose {
  width: 40px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.miyoko-band-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brown);
}

.miyoko-band-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(90,74,53,0.15);
}
.miyoko-band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.miyoko-band-role {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--brown);
  opacity: 0.75;
}

/* MIYOKOプロフィール補足（AIPの事業訴求は含めない、個人の実績のみ） */
/* 帯の中の文章。箇条書きと同じ体裁に揃える。
   帯全体がリンクなので、この文章もクリック領域の一部になる。 */
.miyoko-band-text {
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 13px;
  font-weight: 300;
  color: rgba(92,74,53,0.8);
  letter-spacing: 0.06em;
  line-height: 1.9;
  font-family: 'Shippori Mincho', serif;
}
.miyoko-band-list {
  list-style: none;
  margin: 16px auto 0;
  padding: 0;
  max-width: 900px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(92,74,53,0.8);
  letter-spacing: 0.06em;
  line-height: 1.9;
  font-family: 'Shippori Mincho', serif;
}
.miyoko-band-list > li {
  position: relative;
  padding-left: 16px;
}
.miyoko-band-list > li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.miyoko-band-sublist {
  list-style: none;
  margin: 2px 0 4px;
  padding: 0;
}
.miyoko-band-sublist li {
  position: relative;
  padding-left: 32px;
}
.miyoko-band-sublist li::before {
  content: "・";
  position: absolute;
  left: 16px;
}

.miyoko-band-cta-row {
  max-width: 900px;
  margin: 22px auto 0;
}
.miyoko-band-cta {
  display: inline-block;
  padding: 12px 30px 11px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown);
  background-color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.miyoko-band:hover .miyoko-band-cta {
  color: var(--brown);
  background-color: #fff;
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* ENTER ボタン：スマホでは少し小さく */
@media (max-width: 680px) {
  .site-card-cta,
  .miyoko-band-cta {
    font-size: 14px;
    padding: 12px 26px 11px;
  }
}
.miyoko-band:hover .right-arrow {
  transform: translateX(6px);
}

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media (max-width: 980px) {
  footer { padding: 28px 40px 20px; }
}
@media (max-width: 680px) {
  header { padding: 28px 16px 24px; }
  .logo-medallion { width: 96px; height: 96px; }
  .logo-brand-name { font-size: 18px; }

  .main-section { padding: 32px 20px 40px; }
  /* 見出しが1文字だけ溢れないよう字間を詰める */
  .main-headline { letter-spacing: 0.02em; }

  .main-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .main-image-placeholder,
  .main-image-wrap { aspect-ratio: 4 / 3; }

  .miyoko-band { padding: 22px 20px; }
  .miyoko-band-name { font-size: 16px; }
  .miyoko-band-rose { width: 34px; }
  .miyoko-band-photo { width: 40px; height: 40px; }

  .footer-body {
    grid-template-columns: 1fr;
  }
  .footer-links { align-items: flex-start; }
  footer { padding: 28px 20px 20px; }
}
@media (max-width: 680px) {
  .pc-hidden {
    display: block;
  }
}
