/* base */
@charset "utf-8";

/* CSS Document */

/* タイトルスタイル（全ページ共通） */
.section__title .title__lang {
  display: block;
}

.section__title .title__lang--en {
  color: #e07f81;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section__title .title__lang--jp {
  font-size: 2.3rem;
  font-weight: 500;
}

.section__title .title--center {
  text-align: center;
}

.section__title .title--left .title__lang--en {
  margin-bottom: 10px;
}

html {
  scroll-behavior: smooth;
}

.hero {
  background: #FFFFFF;
  position: relative;
}

.hero__container {
  aspect-ratio: 529 / 543;
}

.hero__mask {
  bottom: 40px;
  position: absolute;
  width: 100%;
}

.mb30 {
  margin-bottom: 30px;
}

.mb50 {
  margin-bottom: 50px;
}

.section-title {
  text-align: left;
  margin: 20px 0;
}

.section-title__heading {
  display: flex;
  align-items: flex-start;
  font-size: 1.95rem;
  font-weight: 500;
  color: #333;
  border-bottom: 1px dotted #ccc;
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-title__icon {
  flex: 0 0 0.8em;
  width: 14px;
  height: 14px;
  background-image: url("../../images/policy/tt_icon.png'");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  vertical-align: text-top;
  margin-top: 10px;
  margin-right: 8px;
}

/* パンくずナビ全体 */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #cccccc;
  /* 下のライン */
  margin-bottom: 24px;
  width: 100%;
}

/* リストリセット */
.breadcrumb ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

/* セパレータ */
.breadcrumb li+li::before {
  content: "―";
  margin: 0 8px;
  color: #bbbbbb;
}

/* リンク */
.breadcrumb a {
  color: #bbbbbb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 現在ページ */
.breadcrumb .current {
  color: #e07f81;
  font-weight: bold;
}

/* topix_list/topix_detail */


/* Logo switching for dual-logo header */
.header__logo-img--normal {
  display: none;
}

.header__logo.is-visible .header__logo-img--white {
  display: none;
}

.header__logo.is-visible .header__logo-img--normal {
  display: block;
}

/* =====================
   Hero (match topix_list)
   ===================== */
.hero__container {
  aspect-ratio: auto;
}

.hero__image {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero__mask {
  bottom: 0;
  position: absolute;
  width: 100%;
}

/* =====================
   Archive Select
   ===================== */
.archive-select {
  margin-top: 50px;
}

.archive-select__header {
  background: #e07f81;
  padding: 10px 20px;
  text-align: center;
}

.archive-select__title {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0;
}

.archive-select__body {
  background: #fff;
  padding: 0;
  text-align: center;
}

.archive-select__wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.archive-select__select {
  width: 100%;
  padding: 21px 14px 21px 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #191e1f;
  font-size: 1.5rem;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.archive-select__wrapper::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #e07f81;
  pointer-events: none;
}

.archive-select__select:hover {
  border-color: #e07f81;
}

/* =====================
   Image Grid
   ===================== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================
   Navigation Arrows
   ===================== */
.nav-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-arrows div {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 110%;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.nav-arrows img {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
}

/* =====================
   Topix Detail Specific
   ===================== */
.topix-detail-header {
  margin-bottom: 30px;
  margin-top: 70px;
}

.topix-detail-title-section {
  border-bottom: 1px dotted #ccc;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.topix-detail-title-section .section-title__heading {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 4px;
  font-size: 17px;
}

.topix-detail-date {
  color: #aaa;
}

.topix-detail-text {
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.topix-detail-nav-section {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.topix-detail-nav-link {
  font-size: 14px;
}

.topix-detail-back-link {
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.topix-detail-back-link a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #191e1f;
}

.mb8 {
  margin-bottom: 8px;
}

.mb24 {
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

.hero__tittle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.7rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  letter-spacing: 0.14em;
    text-shadow: 0 0 4px #3b3b3b, 0 0 8px #3b3b3b, 0 0 12px #3b3b3b;
}

/* =========================================
   Imported/Copied Styles from Guardian Detail
   to match blog_list design
   ========================================= */

/* Section 01 Styles */
.section01__title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2.4rem;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 1.6rem;
}

.section01__date {
  color: #999;
  font-size: 1.4rem;
  margin-bottom: 2.4rem;
  /* text-align: right; Remove if title and date are top aligned */
}

.section01__image {
  margin-bottom: 4rem;
}

.section01__image img {
  max-width: 100%;
  height: auto;
}

/* Post Content Styles */
.post-content {
  margin-bottom: 6rem;
}

.post-content p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 2.4rem;
  letter-spacing: 0.05em;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.8rem;
}

/* Dynamic Photo Grid (JS generated) - CSS Grid方式 */
.dynamic-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 2.4rem;
}

/* グリッド内の子要素 */
.dynamic-photo-grid>* {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* グリッド内の画像 */
.dynamic-photo-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: bottom;
  display: block;
}

/* figure要素の余白リセット */
.dynamic-photo-grid figure {
  margin: 0;
  padding: 0;
}

/* リンク内画像のスタイル */
.dynamic-photo-grid a {
  display: block;
}

/* Navigation Arrows と Back Link は guardian_detail/style.css で定義 */