/* ============================================================
	共通設定
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bellota:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

:root {
  --mp-sm: 4.8rem;
  --mp-base: 6rem;
  --mp-md: 7.2rem;
  --mp-lg: 8.4rem;
  --mp-xl: 9.6rem;
  --mp-xxl: 10.8rem;
  --mp-xxxl: 12rem;

  --main-blue: #0073BD;
  --sub-blue: #E2F3FF;
  --text-main: #333333;
  --text-link: #0073BD;
  --point01: #C03936;

  --fs-xxs: clamp(0.85rem, 0vw, 3rem);
  --fs-xs: clamp(1rem, 0vw, 4rem);
  --fs-sm: clamp(1.28rem, 0vw, 4.4rem);
  --fs-base: clamp(1.6rem, 0vw, 5rem);
  --fs-md: clamp(2rem, 1vw, 5.4rem);
  --fs-lg: clamp(2.4rem, 2vw, 5.8rem);
  --fs-xl: clamp(2.8rem, 2.5vw, 6rem);
  --fs-xxl: clamp(3.2rem, 3vw, 6.2rem);
  --fs-xxxl: clamp(3.6rem, 4vw, 6.4rem);
}

html {
  flex-wrap: wrap;
  box-sizing: border-box;
  background-repeat: repeat-y;
  font-size: 62.5%;
  scroll-behavior: smooth;
  text-align: justify;
}

body {
  background-repeat: repeat;
  color: var(--main-text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: var(--fs-base);
  letter-spacing: 0.15rem;
}

::selection {
  background: #EEC10080;
  color: var(--text-main);
}

.wrapper {
  display: flex;
}

.section-title {
  margin: 0 auto;
  text-align: center;
}

.headline-img,
.headline-img-decoration {
  width: 30%;
}

h1 {
  font-size: var(--fs-sm);
  line-height: 1.3;
}

h2 {
  font-size: var(--fs-xxxl);
  line-height: 1.3;
}

h3 {
  font-size: var(--fs-xxl);
  line-height: 1.3;
}

h4 {
  font-size: var(--fs-xl);
  line-height: 1.3;
}

h5 {
  font-size: var(--fs-lg);
  line-height: 1.3;
}

h6 {
  font-size: var(--fs-base);
  line-height: 1.3;
}

p {
  font-size: var(--fs-base);
}

a:hover {
  cursor: pointer;
}

ul.asterisk {
  margin-top: .5em;
}

ul.asterisk li {
  display: flex;
  margin-top: .5em !important;
  text-align: left;
}

ul.asterisk li p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

ul.asterisk li::before {
  margin-right: .25em;
  content: "※";
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .headline-img {
    width: 60%;
  }

  .headline-img-decoration {
    display: none;
  }
}


/* ============================================================
    header
============================================================ */
header {
  position: relative;
  z-index: 100;
  display: none;
}

#global-nav {
  background-image: url(/2601/img/background.jpg);
  width: 100%;
  height: 100vh;
}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 960px) {
  header {
    display: block;
  }
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 420px) {}

/* ============================================================
    footer
============================================================ */
footer {
  background-color: var(--main-blue);
  color: #FFFFFF;
  font-family: sans-serif;
  font-size: var(--fs-base);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.footer-nav {
  margin-bottom: 4rem;
  font-size: var(--fs-sm);
}

.footer-nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 0 3rem;
  list-style: none;
}

.footer-nav-list li {
  position: relative;
}

.footer-nav-list li:not(:last-child)::after {
  position: absolute;
  top: 0;
  right: -2rem;
  color: rgba(255, 255, 255, 0.5);
  content: '｜';
}

.footer-nav-list a {
  border-bottom: 1px solid transparent;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-nav-list a:hover {
  border-bottom: 1px solid #fff;
  opacity: 0.8;
}

.footer-logo {
  width: 320px;
  margin: 0 auto 20px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-info {
  letter-spacing: 0.05em;
}

.footer-tel,
.footer-address {
  margin: 0;
  font-size: var(--fs-sm);
}

.copyright {
  padding: 15px 0;
  background-color: #333333;
  color: #ccc;
  font-size: var(--fs-xs);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .footer-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-nav {
    margin: 2rem 2rem 0;
    order: 2;
  }

  .footer-nav-list {
    width: 100%;
  }

  .footer-nav-list li {
    width: 100%;
    padding: 1rem 0.5rem;
  }

  .footer-nav-list li a {
    display: inline-block;
  }

  .footer-nav-list li:not(:last-child)::after {
    content: '';
  }
}



/* ============================================================
    パンくずリスト
============================================================ */
.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  margin: 0;
  padding: calc(var(--mp-md) / 2);
  list-style: none;
  font-size: var(--fs-sm);
  -webkit-overflow-scrolling: touch;
}

.breadcrumb-item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  margin: 0 1rem;
  color: #CCCCCC;
  content: "-";
}

.breadcrumb-item a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  box-shadow: 0 0 0;
  color: var(--main-blue);
}



/* ============================================================
    サイドバー
============================================================ */
#sidebar {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 20vw;
  max-width: none;
  height: 100vh;
  margin: 0 auto;
  overflow-y: auto;
  text-align: center;
}

.sidebar {
  width: 100%;
}

.sidebar-inner {
  padding: 4rem 2rem;
}

.sidebar-inner .logo {
  width: 50%;
  margin: 0 auto;
}

.current-issue {
  width: 100%;
  margin: 0 auto;
  color: var(--main-blue);
  font-weight: bold;
  text-decoration: underline #EEC100 0.5rem;
}

.current-issue img {
  margin: calc(var(--mp-sm) / 4) auto;
}

.current-issue p {
  font-size: var(--fs-sm);
}

.cover {
  position: relative;
  width: 60%;
  margin: 0 auto;
  aspect-ratio: 262 / 228;
  overflow: hidden;
  cursor: pointer;
}

.cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
}

.cover img:last-of-type {
  opacity: 0;
  transition: opacity .3s;
}

.cover:hover img {
  opacity: 1;
}

.side-nav {
  width: 100%;
  margin: 0 auto;
  margin-top: calc(var(--mp-sm) / 2);
}

.side-nav li {
  margin-bottom: 1rem;
}

/* ----- リンクバナー
============================================================ */
.side-nav .image {
  width: 70%;
  margin: 0 auto;
}

.side-nav .image a {
  display: block;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
  transition: all .3s ease-in-out;
  transform: translateY(0);
  border-radius: 1rem;
  overflow: hidden;
}

.current-issue .image img,
.side-nav .image img {
  width: 100%;
  border-radius: 1rem;
  vertical-align: middle;
}

.side-nav .image a:hover {
  box-shadow: 0 10px 10px rgba(0, 0, 0, .2);
  transform: translateY(-5px);
}

/* ----- マガジンサイドバー
============================================================ */
.side-nav .index {
  box-sizing: border-box;
  margin: 2rem 2rem;
  padding: calc(var(--mp-sm) / 2);
  border-radius: 1rem;
  background-color: #FFFFFF;
}

.index h5 {
  margin-bottom: 1rem;
  color: var(--main-blue);
  font-size: var(--fs-base);
}

.index ul li a {
  display: block;
  padding: 1rem 0;
  background-image: linear-gradient(to right, #888888 1px, transparent 1px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 0.5rem 2px;
  text-align: left;
  font-size: calc(var(--fs-sm) * 1.1);
}

@media screen and (max-width: 1440px) {
  #sidebar {
    width: 300px;
  }

  .sidebar-inner .logo {
    width: 70%;
    margin: 0 auto;
  }

  .cover {
    width: 75%;
  }

  .side-nav .index {
    margin: 2rem 0;
  }

  .side-nav .image {
    width: 75%;
  }
}

@media screen and (max-width: 1280px) {
  #sidebar {
    width: 25vw;
  }
}


@media screen and (max-width: 960px) {
  main #sidebar {
    display: none;
  }

  #sidebar {
    width: 100%;
    /* padding: 6rem 0; */
  }

  .side-nav .index {
    margin: 2rem 2rem;
  }
}



/* ============================================================
    メインコンテンツ
============================================================ */
.main-content {
  flex: 1;
  min-width: 0;
}


/* ----- メインビジュアルセクション
============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-section::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background-image: url(/assets/img/common/hero-cover.png);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  content: "";
  pointer-events: none;
}

.hero-section::after {
  position: absolute;
  bottom: 0;
  left: 2rem;
  z-index: 3;
  width: 35rem;
  height: 33rem;
  background-image: url(/assets/img/common/hero-point.png);
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 90%;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-main-title img {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.hero-copy {
  margin-top: 20px;
  color: inherit;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: var(--fs-base);
  font-weight: bold;
  line-height: 1.6;
}

@media screen and (max-width: 1440px) {
  .hero-section::after {
    width: 22vw;
    height: 20vw;
  }
}

@media screen and (max-width: 1280px) {
  .hero-section::after {
    width: 18vw;
    height: 16vw;
  }
}

@media screen and (max-width: 960px) {
  .hero-section::after {
    width: 22vw;
    height: 20vw;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 11 / 16;
    overflow: hidden;
  }

  .hero-section::after {
    width: 46vw;
    height: 44vw;
  }
}

@media screen and (max-width: 420px) {}





/* ============================================================
    トップページ
=============================================================== 
body
├ header (#header.sp) ※モバイル用ヘッダー
└ main
	└ .wrapper（フレックスコンテナ：サイドバーとメインを横並び）
		├ aside#sidebar.pc（固定サイドバー）
		└ div.main-content（メインコンテンツエリア）
			├ section#hero-section（キービジュアル等）
			└ section.topics-section（マガジン本編）
				├ h2.section-title（2026年1月号 映える萩旅篇！）
				└ .magazine-section（提供されたHTMLのメインエリア）
					│
					├ div.magazine-inner (導入：スマイルサポーター紹介)
					│
					├ div#section00 (bz4x紹介：クルマの特徴・試乗情報)
					│  └ .car-info (車両詳細ブロック)
					│
					├ div#section01 (スポット#01：萩ふくや)
					│  └ .spot-info (店舗情報・Map・料金)
					│
					├ div#section02 (スポット#02：円政寺)
					│  └ .spot-info (拝観情報・Map・料金)
					│
					├ div#section03 (スポット#03：ホトリテイ)
					│  ├ .carousel-container (メニュー一覧スライダー)
					│  └ .spot-info (店舗情報・Map)
					│
					├ div#section04 (散策：城下町フォト)
					│
					├ div#section05 (スポット#05：花江茶亭)
					│  └ .spot-info (施設情報・Map・呈茶料金)
					│
					└ div#last
					└ section#senryu

------------------------------------------------------------ */

/* ----- 1. Topics
============================================================ */
.topics-section {
  width: 100%;
  padding: var(--mp-base);
  background-image: url(/assets/img/common/topics-background.png);
  background-repeat: repeat;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 90%;
  margin: 0 auto;
  padding: 4rem 4rem 0;
  gap: 2rem;
}

.topics-card {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  border-radius: 2rem;
  background: transparent;
  box-shadow: none;
}

.topics-card::before {
  position: absolute;
  top: -4rem;
  left: -1rem;
  z-index: 10;
  width: 14rem;
  height: 11rem;
  background-image: url(/assets/img/common/point-spot.svg);
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

.topics-card a {
  display: block;
  border-radius: 2rem;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
  transition: all .3s ease-in-out;
  transform: translateY(0);
}

.topics-card a:hover {
  box-shadow: 0 10px 10px rgba(0, 0, 0, .2);
  transform: translateY(-5px);
}

.topics-img {
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
}

.topics-img img {
  display: block;
  width: 100%;
  transition: transform .3s ease-in-out;
}

.topics-decoration {
  margin: calc(var(--mp-sm) * -0.95) 0 0 -2rem;
  padding-bottom: 1rem;
  line-height: 1;
  width: calc(100% + 4rem);
}

.topics-decoration img {
  width: 100%;
  line-height: 1;
}

.topics-content {
  position: relative;
  padding: 2rem;
  color: #fff;
}

.hashtag-content {
  padding-top: calc(var(--mp-sm) / 2.5);
  border-top: 1px dashed #FFFFFF;
}

.bg-blue {
  background-color: initial;
}

.bg-blue .topics-content {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  background-color: #6CA8D8;
}

.bg-green .topics-content {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  background-color: #92c5b0;
}

.bg-pink .topics-content {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  background-color: #CE9493;
}

.topics-card a:hover .topics-img img {
  transform: scale(1.1);
}

@media screen and (max-width: 1440px) {
  .topics-section {
    padding: var(--mp-base) var(--mp-sm);
  }

  .topics-grid {
    width: 100%;
    padding: 4rem 2rem 0;
    gap: 2rem;
  }
}

@media screen and (max-width: 1280px) {
  .topics-section {
    padding: var(--mp-base) 0;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
    padding: 4rem 4rem 0;
    gap: 2rem;
  }

  .topics-grid .topics-card:nth-child(3) {
    display: none;
  }
}

@media screen and (max-width: 960px) {}

@media screen and (max-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 96%;
    padding: 4rem 0 0;
  }
}

@media screen and (max-width: 600px) {
  .topics-grid {
    grid-template-columns: repeat(1, 1fr);
    width: 96%;
    padding: 4rem 0 0;
  }

  .topics-grid .topics-card:nth-child(3) {
    display: block;
  }
}


/* ----- 2. Spot
============================================================ */
.spot-section {
  position: relative;
  padding: 0 0 var(--mp-base);
  overflow: hidden;
}

.spot-inner {
  margin: 0 auto;
  padding: 0 2rem;
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-auto-rows: calc(100% / 24);
  /* gap: 0.5rem; */
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.spot-item {
  position: relative;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease !important;
}

.spot-item img {
  display: block;
  width: 100%;
  height: 100%;
}

.spot-item {
  position: relative;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease !important;
}

.spot-item:hover {
  z-index: 10;
  transition: 0.3s ease !important;
  transform: scale(1.05) rotate(0deg) !important;
}

[class*="item-00-"] {
  box-shadow: none !important;
}

[class*="item-00-"]:hover {
  z-index: 0 !important;
  transform: none !important;
  transition: none !important;
}

.item-01 {
  grid-column: 1 / 13;
  grid-row: 1 / 9;
  z-index: 2;
  --rotate: rotate(-2deg);
  transform: translateY(50px) var(--rotate);
}

.item-02 {
  grid-column: 15 / 24;
  grid-row: 1 / 7;
  z-index: 2;
  --rotate: rotate(4deg);
  transform: translateY(50px) var(--rotate);
}

.item-03 {
  grid-column: 14 / 23;
  grid-row: 8 / 14;
  z-index: 2;
  --rotate: rotate(-3deg);
  transform: translateY(50px) var(--rotate);
}

.item-04 {
  grid-column: 2 / 11;
  grid-row: 11 / 17;
  z-index: 2;
  --rotate: rotate(1deg);
  transform: translateY(50px) var(--rotate);
}

.item-05 {
  grid-column: 12 / 24;
  grid-row: 15 / 23;
  z-index: 2;
  --rotate: rotate(2deg);
  transform: translateY(50px) var(--rotate);
}

.item-00-1 {
  grid-column: 13 / 15;
  grid-row: 1 / 6;
}

.item-00-2 {
  grid-column: 22 / 24;
  grid-row: 6 / 11;
}

.item-00-3 {
  grid-column: 11 / 13;
  grid-row: 10 / 15;
}

.item-00-4 {
  grid-column: 1 / 3;
  grid-row: 11 / 16;
}

.item-00-5 {
  grid-column: 9 / 11;
  grid-row: 18 / 23;
}

.item-00-6 {
  grid-column: 16 / 23;
  grid-row: 23 / 25;
}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 768px) {
  .spot-section {
    padding: var(--mp-base) 0;
  }

  .spot-grid {
    display: grid;
    grid-template-columns: repeat(23, 1fr);
    grid-auto-rows: calc(100% / 23);
  }

  .spot-section .section-title {
    padding: 0 0 4rem;
    justify-content: center;
  }

  .item-01,
  .item-02,
  .item-03,
  .item-04,
  .item-05 {
    --rotate: rotate(0deg);
  }

  .item-01 {
    grid-column: 1 / 12;
    grid-row: 1 / 8;
  }

  .item-02 {
    grid-column: 13 / 24;
    grid-row: 1 / 8;
  }

  .item-03 {
    grid-column: 1 / 12;
    grid-row: 9 / 16;
  }

  .item-04 {
    grid-column: 13 / 24;
    grid-row: 9 / 16;
  }

  .item-05 {
    grid-column: 1 / 12;
    grid-row: 17 / 24;
  }

  .item-00-1 {
    grid-column: 11 / 14;
    grid-row: 1 / 8;
  }

  .item-00-2 {
    grid-column: 22 / 25;
    grid-row: 6 / 13;
  }

  .item-00-3 {
    grid-column: 11 / 14;
    grid-row: 10 / 17;
  }

  .item-00-4 {
    grid-column: 1 / 4;
    grid-row: 11 / 18;
  }

  .item-00-5 {
    grid-column: 10 / 13;
    grid-row: 16 / 23;
  }

  .item-00-6 {
    grid-column: 16 / 23;
    grid-row: 19 / 22;
  }
}

@media screen and (max-width: 600px) {
  .spot-grid {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-auto-rows: calc(100% / 70);
  }

  .spot-section .section-title {
    padding: 0 0 4rem;
    justify-content: center;
  }

  .item-01,
  .item-02,
  .item-03,
  .item-04,
  .item-05 {
    --rotate: rotate(0deg);
  }

  .item-01 {
    grid-column: 1 / 12;
    grid-row: 1 / 14;
  }

  .item-02 {
    grid-column: 1 / 12;
    grid-row: 15 / 28;
  }

  .item-03 {
    grid-column: 1 / 12;
    grid-row: 29 / 42;
  }

  .item-04 {
    grid-column: 1 / 12;
    grid-row: 43 / 56;
  }

  .item-05 {
    grid-column: 1 / 12;
    grid-row: 57 / 71;
  }

  .item-00-1,
  .item-00-2,
  .item-00-3,
  .item-00-4,
  .item-00-5,
  .item-00-6 {
    display: none;
  }
}

@media screen and (max-width: 420px) {}


/* ----- 3. News
============================================================ */
.news-section {
  position: relative;
  padding: var(--mp-base);
  background-color: #FFFFFF;
}

.news-illust {
  margin: 0 auto;
  text-align: center;
}

.news-list {
  max-width: 800px;
  margin: calc(var(--mp-base) / 1.5) auto;
  border-top: 1px dotted #ccc;
  list-style: none;
}

.news-list a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 1rem;
  border-bottom: 1px dotted #ccc;
  gap: 30px;
  transition: color 0.3s;
}

.news-list a:hover {
  color: var(--main-blue);
}

.news-list .label {
  border: 1px solid var(--main-blue);
  border-radius: 20px;
  padding: 2px 10px;
  color: var(--main-blue);
  font-size: 0.95rem;
}

@media screen and (max-width:768px) {
  .news-section {
    padding: var(--mp-sm) 2rem;
  }

  .news-list a {
    gap: 1rem 3rem;
  }

  .news-title {
    display: block;
    width: 100%;
  }
}



/* ============================================================
    バックナンバー
============================================================ */
.backnumber-section {
  background-color: #FFFFFF;
}

.backnumber-inner {
  width: 90%;
  margin: 0 auto;
  padding-top: var(--mp-base);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: var(--mp-base) 8%;
}

.card {
  position: relative;
  box-sizing: border-box;
  border-top: 1px solid #dcdcdc;
  background: #fff;
  transition: all 0.3s ease;
}

.card::before,
.card::after {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  width: 0;
  height: 0;
  background: transparent;
  opacity: 0;
  content: '';
  transition: all 0.5s ease;
  pointer-events: none;
}

.card::before {
  top: 0;
  left: 0;
  border-top: 2px solid #D6A1AB;
  border-left: 2px solid #D6A1AB;
}

.card::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #D6A1AB;
  border-right: 2px solid #D6A1AB;
}

.card a {
  position: relative;
  z-index: 5;
  display: block;
  padding: var(--mp-sm);
  color: inherit;
  text-decoration: none;
}

.card-img {
  max-width: 100%;
  margin-bottom: calc(var(--mp-sm) / 3);
  border-radius: 2rem;
  overflow: hidden;
  vertical-align: middle;
}

.card-img img {
  display: block;
  width: 100%;
  transition: all .3s ease-in-out;
}

time {
  font-weight: bold;
}

.location {
  margin-bottom: calc(var(--mp-sm) / 3);
  font-weight: bold;
}

.magazine-title {
  margin-bottom: calc(var(--mp-sm) / 2);
  font-size: var(--fs-md);
  font-weight: bold;
  line-height: 1.5;
}

.card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card:hover::before,
.card:hover::after {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.card-grid a:hover {
  color: var(--text-link);
}

.card-grid a:hover .card-img img {
  transform: scale(1.1);
}

.card-grid a:hover .button_solid {
  background-color: var(--main-blue);
  color: #FFFFFF;
  box-shadow: 0 0 0;
  transform: translate(5px, 5px);
}

@media screen and (max-width: 1440px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--mp-base) 2%;
  }
}

@media screen and (max-width: 1280px) {
  .backnumber-inner {
    width: 96%;
  }

  .card a {
    padding: calc(var(--mp-sm) / 1.5);
  }
}

@media screen and (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 420px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}



/* ============================================================
    記事ページ
============================================================ */
/* ----- 1. Base & Layout (全体・共通)
============================================================ */
.magazine-section {
  width: 96%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--mp-base);
  letter-spacing: 2px;
}

.magazine-section img {
  width: 100%;
  border-radius: 1rem;
}

.magazine-inner {
  margin: var(--mp-xxxl) auto 0;
}

.main-content .magazine-inner:first-child div:first-child {
  margin-top: 0;
}

.img-wrapper,
.text-box {
  margin-top: var(--mp-sm);
}

.text-box p {
  margin-bottom: 1rem;
}

figcaption {
  margin-top: 1rem;
  color: #888888;
  font-size: var(--fs-sm);
}

.flex .img-wrapper {
  width: calc(100% / 2 - 2rem);
}

/* ----- 2. Heading Styles (タイトル類)
============================================================ */
.magazine-inner h2 {
  font-size: calc(var(--fs-xxxl) / 1.5);
  font-weight: bold;
}

.magazine-inner h3 {
  text-align: left;
  font-size: calc(var(--fs-xxl) / 1.5);
  font-weight: bold;
}

.magazine-inner h3 img {
  display: block;
  width: auto;
  height: 5rem;
  margin-bottom: 1rem;
  border-radius: 0;
}

/* ----- 3. Section Components (車両・店舗情報カード)
============================================================ */
.car-info,
.spot-info,
#last {
  position: relative;
  margin-top: var(--mp-xxl);
  padding: var(--mp-sm);
  border-radius: 3rem;
}

.car-info .flex-inner,
.spot-info .flex-inner {
  width: calc(100% / 2 - 2rem);
}

.car-info .flex-inner .button_solid,
.spot-info .flex-inner .button_solid {
  margin: 0;
}

.car-info {
  background-color: var(--sub-blue);
}

.car-info:before,
.spot-info:before {
  position: absolute;
  top: -6rem;
  left: 0;
  font-family: "Bellota", system-ui;
  font-size: var(--fs-xxxl);
  font-weight: bold;
  font-style: italic;
}

.car-info:before {
  color: var(--main-blue);
  content: 'CAR INFO';
}

.car-info .flex {
  align-items: center;
}

.car-info .car-name {
  margin-bottom: 1rem;
  color: var(--main-blue);
  font-size: var(--fs-lg);
  font-weight: bold;
}

.car-info .flex-inner .button_solid,
.spot-info .flex-inner .button_solid {
  margin: 0;
}

.spot-info:before {
  /* カラーは __individual.css */
  content: 'SPOT INFO';
}

.spot-info .img-wrapper {
  margin-top: 0;
  margin-bottom: calc(var(--mp-base) / 2);
}

.spot-name {
  margin-bottom: 1rem;
  font-size: var(--fs-md);
  font-weight: bold;
}

.spot-info .text-box {
  margin-top: calc(var(--mp-base) / 2);
}

.spot-info .text-box ul {
  color: #888888;
  font-size: var(--fs-sm);
}

.spot-info a {
  transition: color 0.3s;
}

.spot-info a:hover {
  color: var(--main-blue);
}

/* ----- 4. Carousel (メニュー・ギャラリー)
============================================================ */
.carousel-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-track .carousel-card {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 10px;
}

.carousel-track .carousel-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.carousel-card .card-name {
  font-size: var(--fs-base);
}

.carousel-controls {
  display: flex;
  justify-content: right;
  gap: 3rem;
}

.carousel-controls button {
  transition: all 0.3s;
  cursor: pointer;
}

.carousel-controls button:hover {
  opacity: 0.8;
}

/* ----- 5. Special Section (川柳)
============================================================ */
#senryu {
  width: 96%;
  max-width: 1080px;
  margin: 0 auto;
  margin-top: var(--mp-xxl);
  padding: 0 var(--mp-base);
  letter-spacing: 2px;
  text-align: center;
}

#senryu .senryu-inner {
  position: relative;
  padding: var(--mp-sm);
}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 1280px) {
  .magazine-section {
    width: 90%;
    padding: 0;
  }

  .magazine-inner {
    margin: var(--mp-xl) auto 0;
  }

  .img-wrapper,
  .text-box {
    margin-top: calc(var(--mp-sm) / 1.5);
  }

  .car-info:before,
  .spot-info:before {
    font-size: calc(var(--fs-xxxl) * 1.25);
  }
}

@media screen and (max-width: 960px) {
  #senryu {
    width: 100%;
    padding: 0 calc(var(--mp-base)/ 2);
  }
}

@media screen and (max-width: 768px) {
  .car-info .flex-inner {
    width: 100%;
  }

  .car-info .flex-inner:first-child {
    order: 2;
    margin: 0 auto;
    margin-top: calc(var(--mp-base) / 3);
    text-align: center;
  }

  .car-info .flex-inner .button_solid,
  .spot-info .flex-inner .button_solid {
    margin: 0 auto;
  }

  .flex.info-inner .flex-inner {
    width: 100%;
  }

  .flex.info-inner .flex-inner.map {
    order: 2;
    margin-top: calc(var(--mp-base) / 2);
  }

  .flex.info-inner .text-box {
    order: 1;
    margin-top: calc(var(--mp-base) / 3);
  }
}

@media screen and (max-width: 420px) {
  .flex .img-wrapper {
    width: 100%;
    margin-bottom: var(--fs-sm);
  }

  .flex .img-wrapper:last-child {
    margin-bottom: 0;
  }

  .car-info,
  .spot-info,
  #last {
    padding: var(--fs-xl);
  }

  .map iframe {
    height: 30vh;
  }

  .carousel-track .carousel-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 2rem 0;
  }

  #senryu {
    padding: 0 calc(var(--mp-base) / 3);
  }

  #senryu .senryu-inner {
    position: relative;
    padding: 2rem 2rem 4rem;
  }
}