@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ - Muscle Trip Cafe Magazine Renewal
Theme URI: https://wp-cocoon.com/
Author: わいひら / customization for muscletripcafe.com
Author URI: https://wp-cocoon.com/
Template: cocoon-master
Version: 2.0.0
*/

/*
 * Muscle Trip Cafe Design System
 * ------------------------------------------------------------
 * 親テーマは変更せず、Cocoonの既存クラスへ外観だけを適用します。
 * 主要な色・余白・角丸は以下の変数を変更すると一括調整できます。
 */
:root {
  --mtc-paper: #ffffff;
  --mtc-canvas: #f7f5f0;
  --mtc-ink: #202a35;
  --mtc-muted: #65717d;
  --mtc-navy: #18354b;
  --mtc-accent: #b85c3d;
  --mtc-accent-soft: #f4e5de;
  --mtc-line: #dedbd3;
  --mtc-line-dark: #c9c4ba;
  --mtc-radius-sm: 8px;
  --mtc-radius-md: 14px;
  --mtc-radius-lg: 22px;
  --mtc-shadow-sm: 0 8px 24px rgba(24, 53, 75, 0.07);
  --mtc-shadow-hover: 0 14px 34px rgba(24, 53, 75, 0.11);
  --mtc-content: 760px;
  --mtc-wide: 1240px;
  --mtc-transition: 180ms ease;
}

/* ==========================================================
   1. 基本設定・アクセシビリティ
   ========================================================== */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--mtc-canvas);
  color: var(--mtc-ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--mtc-accent-soft);
  color: var(--mtc-ink);
}

a {
  color: var(--mtc-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--mtc-accent);
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(184, 92, 61, 0.48);
  outline-offset: 3px;
  border-radius: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.wrap {
  width: min(100% - 40px, var(--mtc-wide));
}

.content {
  margin-top: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(56px, 7vw, 96px);
}

.content-in {
  align-items: flex-start;
  gap: clamp(24px, 3vw, 44px);
}

/* Cocoonのスキップリンクを、フォーカス時に確実に見えるようにする */
.skip-link,
.go-to-content {
  background: var(--mtc-navy);
  color: var(--mtc-paper);
  font-weight: 700;
  padding: 12px 18px;
}

/* ==========================================================
   2. ヘッダー・グローバルナビゲーション
   ========================================================== */
.header-container {
  background: var(--mtc-paper);
  border-bottom: 1px solid var(--mtc-line);
}

.header {
  background: var(--mtc-paper);
}

.header .header-in {
  min-height: 0;
  padding-block: clamp(14px, 2.5vw, 30px);
}

.logo-header {
  line-height: 1;
}

.logo-header img {
  display: block;
  width: min(100%, 1180px);
  max-height: 280px;
  margin-inline: auto;
  object-fit: contain;
}

.site-name-text {
  color: var(--mtc-navy);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

#navi {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--mtc-line);
  border-bottom: 1px solid var(--mtc-line);
}

#navi .navi-in > ul {
  justify-content: center;
  min-height: 52px;
}

#navi .navi-in > ul > li {
  width: auto;
}

#navi .navi-in a {
  min-height: 52px;
  padding: 0 18px;
  color: var(--mtc-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.045em;
}

#navi .navi-in a:hover,
#navi .current-menu-item > a,
#navi a[aria-current="page"] {
  background: transparent;
  color: var(--mtc-accent);
}

#navi .navi-in a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--mtc-transition);
}

#navi .navi-in a:hover::after,
#navi .current-menu-item > a::after,
#navi a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ==========================================================
   3. メインカラム・サイドバー
   ========================================================== */
.main {
  width: min(100%, 860px);
  padding: clamp(22px, 4vw, 50px);
  background: var(--mtc-paper);
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-lg);
  box-shadow: none;
}

.front-top-page .main {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.sidebar {
  width: min(100%, 320px);
  padding: 0;
  background: transparent;
}

.sidebar .widget,
#sidebar .widget,
.sidebar-content .widget {
  margin: 0 0 22px;
  padding: 22px;
  background: var(--mtc-paper);
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-md);
  box-shadow: none;
}

.sidebar .widget-title,
#sidebar .widget-title,
.sidebar-content .widget-title {
  margin: 0 0 16px;
  padding: 0 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mtc-line);
  border-radius: 0;
  color: var(--mtc-navy);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sidebar .widget-title::before,
#sidebar .widget-title::before,
.sidebar-content .widget-title::before {
  display: none;
}

.sidebar .widget ul,
#sidebar .widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar .widget li,
#sidebar .widget li {
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--mtc-line);
  border-bottom: 0;
}

.sidebar .widget li:first-child,
#sidebar .widget li:first-child {
  border-top: 0;
}

.sidebar .widget a,
#sidebar .widget a {
  display: block;
  padding: 0;
  color: var(--mtc-ink);
  line-height: 1.55;
  text-decoration: none;
  transition:
    color var(--mtc-transition),
    transform var(--mtc-transition);
}

.sidebar .widget a:hover,
#sidebar .widget a:hover {
  background: transparent;
  color: var(--mtc-accent);
  transform: translateX(2px);
}

.sidebar .widget_categories ul,
#sidebar .widget_categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar .widget_categories li,
#sidebar .widget_categories li {
  display: block;
  padding: 0;
  border: 0;
}

.sidebar .widget_categories a,
#sidebar .widget_categories a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 11px;
  background: var(--mtc-canvas);
  border: 1px solid var(--mtc-line);
  border-radius: 999px;
  color: var(--mtc-ink);
  font-size: 13px;
  font-weight: 600;
}

.sidebar .widget_categories a:hover,
#sidebar .widget_categories a:hover {
  background: var(--mtc-accent-soft);
  border-color: rgba(184, 92, 61, 0.36);
  transform: none;
}

/* 検索フォーム */
.search-box,
.search-form {
  display: flex;
  gap: 8px;
}

.search-box input[type="text"],
input[type="search"],
.search-form input[type="text"] {
  min-height: 46px;
  padding: 10px 13px;
  background: var(--mtc-paper);
  border: 1px solid var(--mtc-line-dark);
  border-radius: var(--mtc-radius-sm);
  color: var(--mtc-ink);
}

.search-box button,
.search-box input[type="submit"],
.search-form input[type="submit"] {
  min-width: 48px;
  min-height: 46px;
  padding: 9px 14px;
  background: var(--mtc-navy);
  border: 1px solid var(--mtc-navy);
  border-radius: var(--mtc-radius-sm);
  color: var(--mtc-paper);
  font-weight: 700;
}

/* ==========================================================
   4. トップ・カテゴリ・検索結果の記事カード
   ========================================================== */
.list-title,
.archive-title {
  position: relative;
  margin: 0 0 28px;
  padding: 0 0 14px;
  background: transparent;
  border: 0;
  color: var(--mtc-navy);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.045em;
  text-align: left;
}

.list-title::after,
.archive-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58px;
  height: 2px;
  background: var(--mtc-accent);
}

.list-columns {
  gap: clamp(16px, 2vw, 26px);
}

.entry-card-wrap,
.related-entry-card-wrap,
.popular-entry-card-wrap,
.new-entry-card-wrap {
  max-width: none;
  overflow: hidden;
  background: var(--mtc-paper);
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-md);
  box-shadow: none;
  color: var(--mtc-ink);
  text-decoration: none;
  transition:
    border-color var(--mtc-transition),
    box-shadow var(--mtc-transition),
    transform var(--mtc-transition);
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover,
.popular-entry-card-wrap:hover,
.new-entry-card-wrap:hover {
  background: var(--mtc-paper);
  border-color: var(--mtc-line-dark);
  box-shadow: var(--mtc-shadow-hover);
  color: var(--mtc-ink);
  transform: translateY(-3px);
}

.entry-card-thumb,
.related-entry-card-thumb,
.popular-entry-card-thumb,
.new-entry-card-thumb {
  overflow: hidden;
  background: #ece9e2;
  aspect-ratio: 16 / 9;
}

.entry-card-thumb img,
.related-entry-card-thumb img,
.popular-entry-card-thumb img,
.new-entry-card-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  transition: transform 320ms ease;
}

.entry-card-wrap:hover img,
.related-entry-card-wrap:hover img,
.popular-entry-card-wrap:hover img,
.new-entry-card-wrap:hover img {
  transform: scale(1.025);
}

.entry-card-content,
.related-entry-card-content,
.popular-entry-card-content,
.new-entry-card-content {
  margin: 0;
  padding: 16px 17px 18px;
}

.entry-card-title,
.related-entry-card-title,
.popular-entry-card-title,
.new-entry-card-title {
  margin: 0;
  color: var(--mtc-ink);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.55;
}

.entry-card-snippet,
.related-entry-card-snippet,
.popular-entry-card-snippet,
.new-entry-card-snippet {
  margin-top: 9px;
  color: var(--mtc-muted);
  font-size: 13px;
  line-height: 1.7;
}

.entry-card-meta,
.e-card-info {
  margin-top: 12px;
  color: var(--mtc-muted);
  font-size: 12px;
}

.cat-label {
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  background: rgba(24, 53, 75, 0.9);
  border: 0;
  border-radius: 999px;
  color: var(--mtc-paper);
  font-size: 11px;
  font-weight: 700;
}

.list-more-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--mtc-navy);
  border-radius: 999px;
  color: var(--mtc-navy);
  font-weight: 700;
  text-decoration: none;
}

.list-more-button:hover {
  background: var(--mtc-navy);
  color: var(--mtc-paper);
}

.pagination {
  gap: 8px;
  margin-top: 38px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mtc-line);
  border-radius: 999px;
}

.pagination .current {
  background: var(--mtc-navy);
  border-color: var(--mtc-navy);
  color: var(--mtc-paper);
}

/* ==========================================================
   5. 投稿・固定ページ
   ========================================================== */
.entry-title {
  margin: 0 0 18px;
  padding: 0;
  color: var(--mtc-navy);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(27px, 4.5vw, 43px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.42;
}

.date-tags,
.post-date,
.post-update {
  color: var(--mtc-muted);
  font-size: 13px;
}

.eye-catch-wrap {
  overflow: hidden;
  margin: 26px 0 34px;
  border-radius: var(--mtc-radius-lg);
  background: #ece9e2;
}

.eye-catch-wrap img {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.article .entry-content {
  color: var(--mtc-ink);
  font-size: 18px;
  line-height: 2;
}

.article .entry-content p {
  margin: 0 0 1.55em;
  line-height: inherit;
}

.article .entry-content > p:first-of-type {
  font-size: 1.06em;
}

.article .entry-content h2 {
  position: relative;
  margin: 3.2em 0 1.25em;
  padding: 18px 20px 18px 24px;
  background: #f1eee7;
  border: 0;
  border-left: 5px solid var(--mtc-accent);
  border-radius: 0 var(--mtc-radius-sm) var(--mtc-radius-sm) 0;
  box-shadow: none;
  color: var(--mtc-navy);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(24px, 3.2vw, 31px);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.55;
}

.article .entry-content h2::before {
  display: none;
}

.article .entry-content h3 {
  position: relative;
  margin: 2.5em 0 1.1em;
  padding: 0 0 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mtc-line-dark);
  color: var(--mtc-navy);
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 700;
  line-height: 1.6;
}

.article .entry-content h3::before {
  display: none;
}

.article .entry-content h4 {
  margin: 2em 0 0.8em;
  padding-left: 13px;
  border-left: 3px solid var(--mtc-accent);
  color: var(--mtc-ink);
  font-size: 19px;
  font-weight: 700;
}

.article .entry-content img {
  border-radius: var(--mtc-radius-md);
  box-shadow: none;
}

.article .entry-content figure {
  margin: 2.2em auto;
}

.article .entry-content figcaption,
.wp-element-caption {
  margin-top: 8px;
  color: var(--mtc-muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.article .entry-content ul,
.article .entry-content ol {
  margin: 1.7em 0;
  padding: 20px 24px 20px 46px;
  background: #faf9f6;
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-md);
}

.article .entry-content li + li {
  margin-top: 0.55em;
}

.article blockquote,
.wp-block-quote {
  position: relative;
  margin: 2em 0;
  padding: 24px 26px 24px 54px;
  background: #f5f7f8;
  border: 0;
  border-left: 3px solid var(--mtc-navy);
  color: #3f4b56;
}

.article blockquote::before,
.wp-block-quote::before {
  content: "“";
  position: absolute;
  top: 5px;
  left: 17px;
  color: rgba(24, 53, 75, 0.28);
  font-family: Georgia, serif;
  font-size: 50px;
  line-height: 1;
}

.article table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: var(--mtc-paper);
  font-size: 15px;
}

.article th,
.article td {
  padding: 13px 15px;
  border: 1px solid var(--mtc-line);
  text-align: left;
  vertical-align: top;
}

.article th {
  background: #f0eee8;
  color: var(--mtc-navy);
  font-weight: 700;
}

.mtc-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.8em 0;
  border-radius: var(--mtc-radius-sm);
  -webkit-overflow-scrolling: touch;
}

.mtc-table-scroll:focus-visible {
  outline: 3px solid rgba(184, 92, 61, 0.45);
}

/* Cocoon目次 */
.toc {
  margin: 2.2em 0;
  padding: 24px clamp(18px, 4vw, 32px);
  background: #fbfaf7;
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-md);
  box-shadow: none;
}

.toc-title {
  margin-bottom: 14px;
  color: var(--mtc-navy);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.toc a {
  color: var(--mtc-ink);
  text-decoration: none;
}

.toc a:hover {
  color: var(--mtc-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* SNS共有は記事の主役にしない */
.sns-share {
  margin-block: 22px;
}

.sns-share-buttons {
  gap: 7px;
}

.sns-share-buttons a {
  min-height: 42px;
  border-radius: var(--mtc-radius-sm);
  box-shadow: none;
}

/* パンくず */
.breadcrumb {
  margin: 0 0 22px;
  color: var(--mtc-muted);
  font-size: 12px;
  line-height: 1.7;
}

.breadcrumb a {
  color: var(--mtc-muted);
}

/* 関連記事 */
.related-entry-heading,
.comment-title {
  margin-top: 54px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--mtc-line);
  color: var(--mtc-navy);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 25px;
  font-weight: 600;
}

.related-list {
  gap: 18px;
}

/* 著者プロフィール */
.author-box,
.author-info {
  margin-top: 44px;
  padding: clamp(22px, 4vw, 34px);
  background: #f4f1ea;
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-lg);
}

.author-thumb img,
.author-box .avatar {
  border: 3px solid var(--mtc-paper);
  border-radius: 50%;
  box-shadow: var(--mtc-shadow-sm);
}

.author-name {
  color: var(--mtc-navy);
  font-size: 18px;
  font-weight: 700;
}

/* コメント・お問い合わせ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  background: var(--mtc-paper);
  border: 1px solid var(--mtc-line-dark);
  border-radius: var(--mtc-radius-sm);
  color: var(--mtc-ink);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input[type="submit"],
.wp-block-button__link,
.btn,
.button,
.mtc-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: var(--mtc-navy);
  border: 1px solid var(--mtc-navy);
  border-radius: 999px;
  color: var(--mtc-paper);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background var(--mtc-transition),
    border-color var(--mtc-transition),
    color var(--mtc-transition);
}

input[type="submit"]:hover,
.wp-block-button__link:hover,
.btn:hover,
.button:hover,
.mtc-button:hover {
  background: var(--mtc-accent);
  border-color: var(--mtc-accent);
  color: var(--mtc-paper);
}

/* ==========================================================
   6. 再利用可能な旅行メディア用コンポーネント
   ========================================================== */
.mtc-place-info,
.mtc-trip-cost,
.mtc-facts,
.mtc-notice,
.mtc-cta {
  margin: 2em 0;
  padding: clamp(20px, 4vw, 30px);
  border-radius: var(--mtc-radius-md);
}

.mtc-place-info,
.mtc-facts {
  background: #f7f8f8;
  border: 1px solid #d9dfe3;
}

.mtc-trip-cost {
  background: #f6f2e9;
  border: 1px solid #dfd2bd;
}

.mtc-notice {
  background: #fff8ed;
  border: 1px solid #ead5b5;
}

.mtc-cta {
  background: var(--mtc-navy);
  color: var(--mtc-paper);
  text-align: center;
}

.mtc-place-info__title,
.mtc-trip-cost__title,
.mtc-facts__title,
.mtc-notice__title,
.mtc-cta__title {
  display: block;
  margin: 0 0 14px;
  color: var(--mtc-navy);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 700;
}

.mtc-cta__title {
  color: var(--mtc-paper);
}

.mtc-place-info dl,
.mtc-trip-cost dl,
.mtc-facts dl {
  display: grid;
  grid-template-columns: minmax(100px, 0.34fr) 1fr;
  margin: 0;
}

.mtc-place-info dt,
.mtc-place-info dd,
.mtc-trip-cost dt,
.mtc-trip-cost dd,
.mtc-facts dt,
.mtc-facts dd {
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid currentColor;
  border-color: rgba(32, 42, 53, 0.12);
}

.mtc-place-info dt,
.mtc-trip-cost dt,
.mtc-facts dt {
  padding-right: 15px;
  color: var(--mtc-navy);
  font-weight: 700;
}

.mtc-cta .mtc-button {
  background: var(--mtc-paper);
  border-color: var(--mtc-paper);
  color: var(--mtc-navy);
}

.mtc-cta .mtc-button:hover {
  background: var(--mtc-accent-soft);
  border-color: var(--mtc-accent-soft);
  color: var(--mtc-navy);
}

/* ==========================================================
   7. フッター・モバイル固定メニュー
   ========================================================== */
.footer {
  background: var(--mtc-navy);
  color: rgba(255, 255, 255, 0.82);
}

.footer-in {
  padding-block: clamp(42px, 6vw, 72px);
}

.footer a {
  color: var(--mtc-paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-footer-menu-buttons {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--mtc-line);
  box-shadow: 0 -8px 24px rgba(24, 53, 75, 0.08);
}

.mobile-footer-menu-buttons a,
.mobile-footer-menu-buttons button {
  min-height: 56px;
  color: var(--mtc-navy);
}

/* ==========================================================
   8. 404・検索結果・空状態
   ========================================================== */
.error404 .main,
.search-no-results .main {
  min-height: 52vh;
  text-align: center;
}

.error404 .entry-title,
.search-no-results .archive-title {
  margin-top: 20px;
}

.not-found,
.no-posts {
  padding: clamp(30px, 7vw, 72px) 16px;
  color: var(--mtc-muted);
}

/* ==========================================================
   9. タブレット
   ========================================================== */
@media screen and (max-width: 1023px) {
  .wrap {
    width: min(100% - 32px, var(--mtc-wide));
  }

  .content-in {
    display: block;
  }

  .main,
  .sidebar,
  .sidebar-left .main,
  .sidebar-left .sidebar {
    width: 100%;
    margin-inline: 0;
  }

  .sidebar {
    margin-top: 36px;
  }

  .sidebar .widget,
  #sidebar .widget {
    padding: 20px;
  }

  .logo-header img {
    max-height: 210px;
  }
}

/* ==========================================================
   10. スマートフォン
   ========================================================== */
@media screen and (max-width: 834px) {
  /* PC用ナビはCocoon標準のモバイルメニューへ切り替える */
  #navi {
    display: none;
  }

  .wrap {
    width: min(100% - 24px, var(--mtc-wide));
  }

  .header .header-in {
    padding-block: 12px;
  }

  .logo-header img {
    max-height: 150px;
  }

  .content {
    margin-top: 22px;
    margin-bottom: 64px;
  }

  .main {
    padding: 24px 18px 36px;
    border-radius: var(--mtc-radius-md);
  }

  .front-top-page .main {
    padding: 0;
  }

  .list-title,
  .archive-title {
    margin-bottom: 20px;
    font-size: 25px;
  }

  .article .entry-content {
    font-size: 17px;
    line-height: 1.95;
  }

  .entry-title {
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.45;
  }

  .eye-catch-wrap {
    margin: 20px 0 28px;
    border-radius: var(--mtc-radius-md);
  }

  .article .entry-content h2 {
    margin-top: 2.8em;
    padding: 15px 15px 15px 18px;
    font-size: 23px;
  }

  .article .entry-content h3 {
    font-size: 20px;
  }

  .article .entry-content ul,
  .article .entry-content ol {
    padding: 17px 17px 17px 38px;
  }

  .article blockquote,
  .wp-block-quote {
    padding: 20px 18px 20px 43px;
  }

  .mtc-place-info dl,
  .mtc-trip-cost dl,
  .mtc-facts dl {
    display: block;
  }

  .mtc-place-info dt,
  .mtc-trip-cost dt,
  .mtc-facts dt {
    padding-bottom: 3px;
    border-top: 1px solid rgba(32, 42, 53, 0.12);
  }

  .mtc-place-info dd,
  .mtc-trip-cost dd,
  .mtc-facts dd {
    padding-top: 0;
    border-top: 0;
  }

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

@media screen and (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 20px, var(--mtc-wide));
  }

  .logo-header img {
    max-height: 118px;
  }

  .entry-card-wrap,
  .ect-vertical-card .entry-card-wrap {
    max-width: none;
    border-radius: 12px;
  }

  .entry-card-content {
    padding: 13px 13px 15px;
  }

  .entry-card-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .entry-card-snippet {
    display: none;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .sns-share-buttons a {
    min-height: 46px;
  }
}

/* ==========================================================
   11. 動きを減らす設定
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 印刷時は装飾・サイドバー・共有ボタンを減らす */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .header-container,
  #navi,
  .sidebar,
  .footer,
  .mobile-footer-menu-buttons,
  .sns-share {
    display: none !important;
  }

  .main {
    width: 100%;
    padding: 0;
    border: 0;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ==========================================================
   15. 旅行メディア型トップページ（2026-07-27）
   - トップページの1ページ目だけに適用
   - 既存の投稿・固定ページ・アーカイブには影響しません
   ========================================================== */
.home:not(.paged) .header-container {
  display: none;
}

.home .mtc-home-content {
  margin-top: 0;
}

.home .mtc-home-content-in {
  display: block;
  max-width: var(--mtc-wide);
  padding-inline: clamp(16px, 3vw, 40px);
}

.home .mtc-home-main {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 clamp(64px, 9vw, 120px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home .mtc-home-main + #sidebar,
.home .mtc-home-content-in > #sidebar {
  display: none;
}

.mtc-home {
  color: var(--mtc-ink);
}

.mtc-home * {
  box-sizing: border-box;
}

.mtc-home img {
  display: block;
  width: 100%;
}

.mtc-home a {
  text-decoration: none;
}

.mtc-home-kicker {
  margin: 0 0 10px;
  color: var(--mtc-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.mtc-home-hero {
  position: relative;
  min-height: clamp(430px, 63vw, 690px);
  overflow: hidden;
  border-radius: 0 0 var(--mtc-radius-lg) var(--mtc-radius-lg);
  background: var(--mtc-navy);
  isolation: isolate;
}

.mtc-home-hero__media,
.mtc-home-hero__shade {
  position: absolute;
  inset: 0;
}

.mtc-home-hero__image {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mtc-home-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 28, 41, 0.82) 0%, rgba(10, 28, 41, 0.52) 48%, rgba(10, 28, 41, 0.14) 100%),
    linear-gradient(0deg, rgba(10, 28, 41, 0.34), transparent 48%);
}

.mtc-home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  max-width: 760px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(36px, 7vw, 86px);
  color: #fff;
}

.mtc-home-hero .mtc-home-kicker {
  color: #f1c3b2;
}

.mtc-home-hero-title {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 7.5vw, 3.7rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.16;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.mtc-home-hero__content > p:last-child {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(0.98rem, 1.5vw, 1.16rem);
  line-height: 1.9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.mtc-home-section {
  margin-top: clamp(72px, 10vw, 128px);
}

.mtc-home-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mtc-line);
}

.mtc-home-section__header h2,
.mtc-home-intro h2,
.mtc-home-profile h2,
.mtc-home-contact h2 {
  margin: 0;
  color: var(--mtc-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.mtc-home-section__header > p {
  margin: 0;
  color: var(--mtc-muted);
  font-size: 0.94rem;
  line-height: 1.9;
}

.mtc-home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-lg);
  background: var(--mtc-paper);
}

.mtc-home-intro__copy > p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--mtc-muted);
  line-height: 2;
}

.mtc-home-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mtc-home-quick-links a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--mtc-line);
  color: var(--mtc-navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.mtc-home-quick-links a::after {
  color: var(--mtc-accent);
  content: "→";
}

.mtc-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}

.mtc-home-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mtc-line);
  border-radius: var(--mtc-radius-md);
  background: var(--mtc-paper);
  box-shadow: var(--mtc-shadow-sm);
  transition:
    border-color var(--mtc-transition),
    box-shadow var(--mtc-transition),
    transform var(--mtc-transition);
}

.mtc-home-card__link {
  display: block;
  height: 100%;
  color: inherit;
}

.mtc-home-card__media {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #ece9e2;
}

.mtc-home-card__image {
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.mtc-home-card__body {
  padding: 20px 20px 24px;
}

.mtc-home-card__category {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--mtc-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mtc-home-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--mtc-navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (hover: hover) and (pointer: fine) {
  .mtc-home-card:hover {
    border-color: var(--mtc-line-dark);
    box-shadow: var(--mtc-shadow-hover);
    transform: translateY(-3px);
  }

  .mtc-home-card:hover .mtc-home-card__image {
    transform: scale(1.025);
  }
}

.mtc-home-more {
  margin-top: 36px;
  text-align: center;
}

.mtc-home-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--mtc-navy);
  border-radius: 999px;
  background: var(--mtc-navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background-color var(--mtc-transition),
    color var(--mtc-transition),
    transform var(--mtc-transition);
}

.mtc-home-button:hover {
  background: #102a3d;
  color: #fff;
  transform: translateY(-1px);
}

.mtc-home-popular {
  padding: clamp(34px, 5vw, 64px);
  border-radius: var(--mtc-radius-lg);
  background: var(--mtc-navy);
}

.mtc-home-popular .mtc-home-section__header {
  border-color: rgba(255, 255, 255, 0.2);
}

.mtc-home-popular .mtc-home-section__header h2,
.mtc-home-popular .mtc-home-section__header > p {
  color: #fff;
}

.mtc-home-popular .mtc-home-kicker {
  color: #f1c3b2;
}

.mtc-home-popular .popular-entry-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mtc-home-popular .popular-entry-card-link {
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--mtc-radius-md);
  background: #fff;
  color: var(--mtc-navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mtc-home-popular .popular-entry-card {
  display: block;
  height: 100%;
}

.mtc-home-popular .entry-card-thumb {
  width: 100%;
  margin: 0;
}

.mtc-home-popular .entry-card-thumb img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.mtc-home-popular .entry-card-content {
  padding: 18px;
}

.mtc-home-popular .entry-card-title {
  color: var(--mtc-navy);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.6;
}

.mtc-home-popular .post-count,
.mtc-home-popular .entry-card-snippet,
.mtc-home-popular .entry-card-meta {
  display: none;
}

.mtc-home-ad {
  margin: clamp(64px, 9vw, 112px) auto;
  padding-block: 24px;
  border-block: 1px solid var(--mtc-line);
}

.mtc-home-destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.mtc-home-destination {
  overflow: hidden;
  border-radius: var(--mtc-radius-lg);
  background: var(--mtc-paper);
  box-shadow: var(--mtc-shadow-sm);
}

.mtc-home-destination > a {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  height: 100%;
  color: inherit;
}

.mtc-home-destination figure {
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  background: #ece9e2;
}

.mtc-home-destination figure img {
  height: 100%;
  object-fit: cover;
}

.mtc-home-destination__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 44px);
}

.mtc-home-destination__body h3 {
  margin: 0 0 16px;
  color: var(--mtc-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 600;
}

.mtc-home-destination__body p {
  margin: 0;
  color: var(--mtc-muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.mtc-home-destination__body span {
  margin-top: 22px;
  color: var(--mtc-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.mtc-home-prefectures {
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--mtc-radius-lg);
  background: #eeeae2;
}

.mtc-home-prefecture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mtc-home-prefecture {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--mtc-radius-sm);
  background: #fff;
  color: var(--mtc-navy);
}

.mtc-home-prefecture__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e7e3dc;
}

.mtc-home-prefecture__media img {
  height: 100%;
  object-fit: cover;
}

.mtc-home-prefecture__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
}

.mtc-home-prefecture__body strong {
  overflow: hidden;
  font-size: 0.96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtc-home-prefecture__body small {
  margin-top: 4px;
  color: var(--mtc-muted);
  font-size: 0.74rem;
}

.mtc-home-grid--feature {
  grid-template-columns: minmax(0, 1fr);
}

.mtc-home-card--feature .mtc-home-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
}

.mtc-home-card--feature .mtc-home-card__media {
  min-height: 380px;
  aspect-ratio: auto;
}

.mtc-home-card--feature .mtc-home-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
}

.mtc-home-card--feature .mtc-home-card__title {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 600;
  -webkit-line-clamp: initial;
}

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

.mtc-home-card--hotel:first-child {
  grid-row: span 2;
}

.mtc-home-card--hotel:first-child .mtc-home-card__media {
  aspect-ratio: 4 / 5;
}

.mtc-home-profile {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 68px);
  border-block: 1px solid var(--mtc-line);
}

.mtc-home-profile__mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--mtc-accent-soft);
  color: var(--mtc-accent);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 4rem;
}

.mtc-home-profile__body > p:not(.mtc-home-kicker) {
  margin: 18px 0;
  color: var(--mtc-muted);
  line-height: 1.95;
}

.mtc-home-text-link {
  color: var(--mtc-accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.mtc-home-text-link::after {
  margin-left: 8px;
  content: "→";
}

.mtc-home-contact {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--mtc-radius-lg);
  background: var(--mtc-navy);
  color: #fff;
}

.mtc-home-contact h2,
.mtc-home-contact p {
  color: #fff;
}

.mtc-home-contact p:last-child {
  max-width: 680px;
  margin: 16px 0 0;
  line-height: 1.85;
}

.mtc-home-contact .mtc-home-kicker {
  color: #f1c3b2;
}

.mtc-home-button--light {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--mtc-navy);
}

.mtc-home-button--light:hover {
  background: #f5f1e9;
  color: var(--mtc-navy);
}

@media screen and (max-width: 1023px) {
  .mtc-home-grid,
  .mtc-home-popular .popular-entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtc-home-destination > a {
    grid-template-columns: 1fr;
  }

  .mtc-home-destination figure {
    min-height: 260px;
  }

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

  .mtc-home-card--feature .mtc-home-card__link {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  }
}

@media screen and (max-width: 767px) {
  .home .mtc-home-content-in {
    padding-inline: 14px;
  }

  .mtc-home-hero {
    min-height: min(72vh, 560px);
    border-radius: 0 0 var(--mtc-radius-md) var(--mtc-radius-md);
  }

  .mtc-home-hero__shade {
    background:
      linear-gradient(0deg, rgba(10, 28, 41, 0.88) 0%, rgba(10, 28, 41, 0.54) 58%, rgba(10, 28, 41, 0.18) 100%);
  }

  .mtc-home-hero__content {
    padding: 34px 24px;
  }

  .mtc-home-hero-title {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
    letter-spacing: 0.02em;
  }

  .mtc-home-section {
    margin-top: 72px;
  }

  .mtc-home-section__header,
  .mtc-home-intro {
    grid-template-columns: 1fr;
  }

  .mtc-home-section__header {
    gap: 14px;
  }

  .mtc-home-intro {
    padding: 30px 24px;
  }

  .mtc-home-grid,
  .mtc-home-popular .popular-entry-cards,
  .mtc-home-destination-grid,
  .mtc-home-prefecture-grid,
  .mtc-home-grid--hotels {
    grid-template-columns: 1fr;
  }

  .mtc-home-popular,
  .mtc-home-prefectures {
    margin-inline: -4px;
    padding: 30px 18px;
  }

  .mtc-home-prefecture {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .mtc-home-card--feature .mtc-home-card__link {
    grid-template-columns: 1fr;
  }

  .mtc-home-card--feature .mtc-home-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .mtc-home-card--hotel:first-child {
    grid-row: auto;
  }

  .mtc-home-card--hotel:first-child .mtc-home-card__media {
    aspect-ratio: 16 / 10;
  }

  .mtc-home-profile {
    grid-template-columns: 1fr;
    padding-inline: 8px;
    text-align: center;
  }

  .mtc-home-profile__mark {
    width: 132px;
    margin-inline: auto;
    font-size: 3rem;
  }

  .mtc-home-contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 24px;
  }
}

@media screen and (max-width: 390px) {
  .mtc-home-quick-links {
    grid-template-columns: 1fr;
  }

  .mtc-home-hero {
    min-height: 500px;
  }

  .mtc-home-card__body {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mtc-home-card,
  .mtc-home-card__image,
  .mtc-home-button {
    transition: none;
  }
}
