/*
 Theme Name: MUSUBI Original Theme
 Theme URI: https://example.com/musubi
 Author: LIFE Inc.
 Description: MUSUBI -結- 「Pattern C - 便り」ワイヤーフレームをベースにしたオリジナルWordPressテーマ。
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: musubi
*/

/* ベースタイポグラフィ・レイアウト */
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--musubi-body-font, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif);
  font-size: var(--body-font-size, 16px);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-gray);
}

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

a:hover {
  text-decoration: underline;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  padding: 10px var(--section-pad-x, 80px);
  box-sizing: border-box;
}

.site-logo-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.site-footer-inner {
  padding: 50px clamp(20px, 5vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  box-sizing: border-box;
}

/* カラー・トークン（簡易版） */
:root {
  --main-navy: #192159;
  --bg-white: #ffffff;
  --bg-gray: #f5f5f3;
  --accent-gold: #b8956a;
  --accent-wood: #8b7355;
  --text-primary: #2c2c2c;
  --text-secondary: #8a8a8a;
  --border-light: #e0e0dc;
}

.container-wide {
  width: 100%;
  max-width: var(--container-width, 1440px);
  margin: 0 auto;
}

.section-padding {
  padding: var(--section-pad-y, 80px) var(--section-pad-x, 80px);
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-gray {
  background-color: var(--bg-gray);
}

.text-gold {
  color: var(--accent-gold);
}

.text-navy {
  color: var(--main-navy);
}

.label-en {
  font-size: 11px;
  letter-spacing: 0.3em;
}

.section-title {
  font-family: var(--musubi-heading-font, "Noto Serif JP", "Hiragino Mincho ProN", serif);
  font-size: 22px;
  letter-spacing: 0.12em;
}

.site-header a:hover,
.site-footer a:hover {
  text-decoration: none;
  opacity: 0.86;
}

.header-nav ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.header-nav ul {
  gap: 24px;
}

.footer-nav ul {
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--musubi-button-radius, 2px);
  border: 1px solid var(--accent-gold);
  background: var(--accent-gold);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.btn-outline-gold {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--musubi-button-radius, 2px);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}

.content-narrow {
  max-width: 980px;
}

.content-narrow-404 {
  max-width: 860px;
}

.hero {
  position: relative;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 0 var(--section-pad-x, 80px);
  color: #fff;
}

.hero-title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  letter-spacing: 0.3em;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #ffffffcc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-media {
  min-height: 450px;
  overflow: hidden;
}

.about-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad-y, 80px);
  gap: 24px;
}

.instagram-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.instagram-item {
  display: block;
  height: 200px;
  overflow: hidden;
}

.instagram-thumb {
  height: 200px;
}

.instagram-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access {
  min-height: 350px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 350px;
}

.access-media {
  overflow: hidden;
  display: block;
}

.access-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-content {
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.access-info {
  font-size: 12px;
  line-height: 2;
  margin: 0;
}

.placeholder-thumb {
  background: #ddd;
}

.footer-widget-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 960px;
}

.footer-widget-title {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #ffffffcc;
}

.footer-widget {
  font-size: 12px;
  color: #ffffffaa;
}

.widget-area .widget {
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  padding: 16px;
  margin-bottom: 16px;
}

.widget-title {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--main-navy);
}

.entry-content img,
.entry-content figure {
  max-width: 100%;
  height: auto;
}

.comments-area {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.comment-list {
  padding-left: 1.2em;
}

.custom-logo-link img {
  max-height: 58px;
  width: auto;
}

@media (max-width: 1024px) {
  .section-padding {
    padding: 56px 28px;
  }

  .cards-grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-header-inner {
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
  }

  .site-logo-wrap {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-overlay {
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: 0.18em;
  }

  .about-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .about-media,
  .access-media {
    min-height: 280px;
  }

  .access-content {
    padding: 36px 28px;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 18px;
  }

  .label-en {
    letter-spacing: 0.2em;
  }

  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-widget-area {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-logo-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-cta {
    align-self: flex-start;
  }

  .header-nav ul {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .site-footer-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-overlay {
    gap: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .about-content {
    padding: 28px 18px;
    gap: 14px;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-item,
  .instagram-thumb {
    height: 150px;
  }

  .access {
    min-height: 0;
  }

  .access-grid {
    min-height: 0;
  }

  .access-content {
    padding: 24px 16px;
  }
}

