/*
 * 阪神淡路大震災1.17のつどい - スタイルシート
 * Design Philosophy: シネマティック・イマーシブ
 * - ダークテーマ基調で夜の追悼式典の雰囲気を再現
 * - ゴールデンアンバーのアクセントで灯籠の温かみを表現
 */

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  /* Colors */
  --color-bg-dark: #0d0d0d;
  /* --color-bg-light: #f8f7f5; */
  --color-bg-light: #fff;
  --color-text-light: #f5f5f0;
  --color-text-dark: #1a1a1a;
  --color-text-muted: #d8d7d4;
  --color-text-muted-dark: #666;
  --color-primary: #C9A962;
  --color-primary-dark: #B8994D;
  --color-border-light: #e5e5e5;
  --color-border-dark: #333;

  /* Typography */
  --font-ci: "Cormorant Infant";
  --font-mincho: "Zen Old Mincho", 'Shippori Mincho B1', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-garamond: 'EB Garamond', serif;

  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-bottom: 60px;
  font-family: var(--font-mincho);
  line-height: 1.8;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
}

@media (min-width:768px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, opacity 0.3s ease;
}

ul,
ol {
  list-style: none;
}

/* ========================================
   Typography
   ======================================== */
.font-mincho {
  font-family: var(--font-mincho);
}

.font-garamond {
  font-family: var(--font-garamond);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.4;
}

* :has(> wbr) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.dp_ib {
  display: inline-block;
}

.flexBox {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.flexL {
  -webkit-box-ordinal-group: 2;
  -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
}

.flexC {
  -webkit-box-ordinal-group: 3;
  -webkit-order: 2;
  -ms-flex-order: 2;
  order: 2;
}

.flexR {
  -webkit-box-ordinal-group: 4;
  -webkit-order: 3;
  -ms-flex-order: 3;
  order: 3;
}

.i_flex {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.ai_c {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.ai_fs {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.ai_fe {
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.ai_s {
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.jc_sb {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.jc_sa {
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.jc_c {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.jc_fe {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.fdc {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.fw_wp {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.taC {
  text-align: center;
}

.taR {
  text-align: right;
}

.taL {
  text-align: left;
}

.fwB {
  font-weight: bold;
}

.fwN {
  font-weight: normal;
}

.m-c {
  margin-inline: auto;
}

.ma-0 {
  margin: 0rem;
}

.mb-0 {
  margin-bottom: 0rem;
}

.mt-0 {
  margin-top: 0rem;
}

.ml-0 {
  margin-left: 0rem;
}

.mr-0 {
  margin-right: 0rem;
}

.pa-0 {
  padding: 0rem;
}

.pb-0 {
  padding-bottom: 0rem;
}

.pt-0 {
  padding-top: 0rem;
}

.pl-0 {
  padding-left: 0rem;
}

.pr-0 {
  padding-right: 0rem;
}

.ma-1 {
  margin: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mt-1 {
  margin-top: 1rem;
}

.ml-1 {
  margin-left: 1rem;
}

.mr-1 {
  margin-right: 1rem;
}

.pa-1 {
  padding: 1rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pt-1 {
  padding-top: 1rem;
}

.pl-1 {
  padding-left: 1rem;
}

.pr-1 {
  padding-right: 1rem;
}

.ma-2 {
  margin: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.ml-2 {
  margin-left: 2rem;
}

.mr-2 {
  margin-right: 2rem;
}

.pa-2 {
  padding: 2rem;
}

.pb-2 {
  padding-bottom: 2rem;
}

.pt-2 {
  padding-top: 2rem;
}

.pl-2 {
  padding-left: 2rem;
}

.pr-2 {
  padding-right: 2rem;
}

.ma-3 {
  margin: 3rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 3rem;
}

.ml-3 {
  margin-left: 3rem;
}

.mr-3 {
  margin-right: 3rem;
}

.pa-3 {
  padding: 3rem;
}

.pb-3 {
  padding-bottom: 3rem;
}

.pt-3 {
  padding-top: 3rem;
}

.pl-3 {
  padding-left: 3rem;
}

.pr-3 {
  padding-right: 3rem;
}

.ma-4 {
  margin: 4rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 4rem;
}

.ml-4 {
  margin-left: 4rem;
}

.mr-4 {
  margin-right: 4rem;
}

.pa-4 {
  padding: 4rem;
}

.pb-4 {
  padding-bottom: 4rem;
}

.pt-4 {
  padding-top: 4rem;
}

.pl-4 {
  padding-left: 4rem;
}

.pr-4 {
  padding-right: 4rem;
}

.ma-5 {
  margin: 5rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mt-5 {
  margin-top: 5rem;
}

.ml-5 {
  margin-left: 5rem;
}

.mr-5 {
  margin-right: 5rem;
}

.pa-5 {
  padding: 5rem;
}

.pb-5 {
  padding-bottom: 5rem;
}

.pt-5 {
  padding-top: 5rem;
}

.pl-5 {
  padding-left: 5rem;
}

.pr-5 {
  padding-right: 5rem;
}

.space-y-1> :not(:last-child) {
  margin-bottom: 1rem;
}

.space-y-2> :not(:last-child) {
  margin-bottom: 2rem;
}

.icon_svg {
  flex-shrink: 0;
  fill: currentColor;
}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.grecaptcha-badge {
  transform: translateY(-130px);
}

@media (min-width: 768px) {
  .grecaptcha-badge {
    transform: translateY(-70px);
  }
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: .75rem 3%;
  color: var(--color-text-light);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  transition: background 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  position: relative;
  z-index: 2;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  line-height: 1.2em;
}

.header-logo_day {
  font-family: var(--font-ci);
  color: var(--color-primary);
}

.header-nav {
  display: none;
  position: fixed;
  inset: 0;
  padding: 5em 1em 1em;
  color: #fff;
  background: #000;
  max-height: 100dvh;
  overflow-y: auto;
}

.header-nav li:has(.sub-menu)::after {
  content: '';
  position: absolute;
  width: 5.5rem;
  height: 2rem;
}

.header-nav .sub-menu {
  background: #222;
}

.header-nav li a:not(.header-cta) {
  padding: 1.25em .75em;
}

.header-nav .sub-menu li a {
  padding: 1.25em 1.5em;
}

.header-nav .sub-menu li a:not(:hover) {
  color: #fff;

}

@media (min-width: 768px) {
  .header {
    padding: 1.5rem 3%;
  }
}

@media (min-width: 1024px) {
  .header-nav {
    position: static;
    display: block !important;
    padding: 0;
    background: transparent;
  }

  body:not(.front-page) .header-nav {
    color: #000;
  }

  .header-nav>ul {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .header-nav li a:not(.header-cta) {
    padding: 0;
  }

  .header-nav .sub-menu li a {
    padding: 1em .75em;
  }

  .header-nav li:not(:hover) .sub-menu {
    display: none;
  }

  .header-nav .sub-menu {
    position: absolute;
    margin-top: 1.5rem;
  }
}

.header-nav a {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.2em;
  opacity: 0.9;
}

.header-nav li>span {
  display: flex;
  align-items: center;
  gap: .75em;
  padding: 1.25em .75em;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.2em;
  opacity: 0.9;
}

.header-nav li>span::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: .35em;
  height: .35em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width:767.9px) {
  .header-nav li>span.open::after {
    transform: rotate(-135deg);
  }

  .header-nav li>span:not(.open)+.sub-menu {
    display: none;
  }
}


.header-nav a:hover {
  opacity: 1;
  color: var(--color-primary);
}

.header-cta {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: var(--color-primary);
  color: #000 !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn.close span:first-of-type {
  transform: translateY(3px) rotate(35deg);
}

.mobile-menu-btn.close span:nth-of-type(2) {
  display: none;
}

.mobile-menu-btn.close span:last-of-type {
  transform: translateY(-3px) rotate(-35deg);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  position: relative;
  z-index: 3;
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
}

.mobile-menu-btn.close span {
  background: #fff;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-bg_slider,
.hero-bg_slider :is(.slick-list, .slick-track) {
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(13, 13, 13, 0.4),
      rgba(13, 13, 13, 0.6),
      rgba(13, 13, 13, 1));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 800px;
}

.hero-date {
  font-family: var(--font-garamond);
  font-size: 1rem;
  color: rgba(245, 245, 240, 0.8);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-mincho);
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.hero-title-main {
  display: block;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  line-height: 1.2em;
}

.hero-title-accent {
  display: block;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(201, 169, 98, 0.3);
}

.hero-title-accent span {
  font-family: var(--font-ci);
  font-size: 1.25em;
  line-height: 1em;
}

.hero-subtitle {
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  color: rgba(245, 245, 240, 0.9);
  letter-spacing: 0.1em;
  line-height: 1.2em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-scroll span {
  display: block;
  font-size: 0.75rem;
  color: rgba(245, 245, 240, 0.5);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-date {
    font-size: 1.25rem;
  }

  .hero-title-main {
    font-size: 4rem;
    letter-spacing: 0.2em;
  }

  .hero-title-accent {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-main {
    font-size: 3.75rem;
  }

  .hero-title-accent {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 1.875rem;
  }
}

/* ========================================
   Information Section (Dark)
   ======================================== */
.information {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--section-padding) 0;
}

.btnStl01 {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  padding: 1em;
  border: 1px solid #000;
  transition: background-color .5s;
}

.btnStl01:hover {
  color: #fff;
  background: #000;
}

.linkStl01 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2em;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 1em 0;
  line-height: 1.4em;
}

.linkStl01::after {
  content: '';
  inset: auto auto 0 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: width .3s;
}

.linkStl01:hover::after {
  inset: auto 0 0 auto;
  width: 0;
}

.tableStl01 tr>* {
  padding-block: .5em;
}

.tableStl01 tr th {
  padding-right: .75em;
  vertical-align: text-top;
}

.tableStl01 tr th span {
  padding: .25em .5em;
  color: #fff;
  font-weight: normal;
  line-height: 1em;
  white-space: nowrap;
  background: #000;
}

.tableStl02 {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

.tableStl02 tr>* {
  padding: 0.1em .5em;
  vertical-align: text-top;
}

.tableStl02 caption {
  padding: .4em .5em;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  background: #000;
}

.tableStl02 tr:not(:first-of-type):has(th:nth-of-type(2)) {
  border-top: 1px solid #e5e5e5;
}

.tableStl02 tr:has(th:nth-of-type(2))>* {
  padding-top: 1em;
}

.tableStl02 tr:has(+ tr > th:nth-of-type(2))>*,
.tableStl02 tr:last-of-type>* {
  padding-bottom: 1em;
}

.indent01 {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

.indent01list>* {
  padding-left: 1em;
  text-indent: -1em;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: .9rem;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--font-ci);
  font-size: clamp(1rem, 12vw, 2.8rem);
  line-height: 1.2em;
}


.section-header02 {
  margin-bottom: 2.5rem;
}

.section-header02:after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 1.5em;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.section-label02 {
  font-size: .85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title02 {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .section-label {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 4.375rem;
  }

  .section-label02 {
    font-size: 1.125rem;
  }

  .section-title02 {
    font-size: 1.75rem;
  }

}

.information-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .information-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.information-image {
  aspect-ratio: 5/6;
  overflow: hidden;
}

.information-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.information-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.information-text p {
  line-height: 2;
}

.information-text .highlight {
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  color: var(--color-text-light);
}

.information-text .body-text {
  color: #ccc;
}

.information-text .emphasis {
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  line-height: 2.5em;
}

.information-text .emphasis .underline {
  font-size: 1.3em;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
}

.information-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .information-buttons {
    flex-direction: row;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid var(--color-text-muted-dark);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(201, 169, 98, 0.1);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   Venue Section (Light)
   ======================================== */
.venue {
  background-color: var(--color-bg-light);
  padding: var(--section-padding) 0;
}

.venue_grid {
  display: grid;
  gap: 2em;
  align-items: center;
  justify-content: space-between;
}


.venue-subtitle {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-dark);
}

.venue-info {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .venue-info {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .venue_grid {
    grid-template-columns: 37.8% 56%;
  }

  .venue_text {
    padding: 0 10%;
  }
}

.venue-info-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border: 1px solid var(--color-border-light);
}

.venue-info-label {
  font-size: 0.875rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 0.5rem;
}

.venue-info-value {
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  line-height: 1.6;
}

.venue-cta {
  text-align: center;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  font-size: 0.875rem;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

/* Map Illustration */
.venue-map {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #f0efe8;
  border-radius: 8px;
}

.venue-map-title {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 1rem;
}

.venue-map-content {
  position: relative;
  padding: 2rem;
}

.map-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-dark);
}

.map-location.highlight {
  color: var(--color-primary-dark);
  font-weight: 500;
}

/* ========================================
   Schedule Section
   ======================================== */


.schedule-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .schedule-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.schedule-day-header {
  background: #000;
  color: white;
  padding: .5em;
  margin: 0 0 1.5rem;
  text-align: center;
}

.schedule-day-date {
  font-family: var(--font-mincho);
  font-size: 1.25rem;
}

.schedule-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  flex-shrink: 0;
  width: 70px;
  font-weight: 500;
}

.schedule-content {
  line-height: 1.6;
}

.schedule-description {

  font-size: 0.875rem;
}

/* ========================================
   Tokyo Venue Section
   ======================================== */
.tokyo-venue {
  background-color: var(--color-bg-light);
  padding: var(--section-padding) 0;
}

.tokyo-venue-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tokyo-venue-image {
  margin-bottom: 2rem;
  overflow: hidden;
}

.tokyo-venue-image img {
  width: 100%;
}

.tokyo-venue-notice {
  font-family: var(--font-mincho);
  font-size: 1.125rem;
  color: var(--color-text-dark);
  line-height: 2;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background-color: var(--color-bg-light);
  padding: var(--section-padding) 0;
}

.cta-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0 1em;
  justify-content: space-between;
  padding: 1em;
  color: white;
  text-align: center;
  background: #000;
}


.cta-card_img {
  width: 90px;
  max-width: 25%;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.cta-card :is(img, .icon_svg) {
  transition: transform .3s;
}

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

.cta-card:hover .icon_svg {
  transform: translateX(5px);
}

.cta-card-content {
  position: relative;
  z-index: 10;
}

.cta-card-title {
  font-family: var(--font-mincho);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  line-height: 1.7em;
}

.cta-card .icon_svg {
  max-width: 7%;
}

@media (min-width: 768px) {
  .cta-grid {
    flex-direction: row;
  }

  .cta-card {
    gap: 0 3em;
    padding: 1.5em;
  }

  .cta-card-title {
    font-size: 1.375rem;
  }
}

/* ========================================
   News Section
   ======================================== */
.news {
  background-color: var(--color-bg-light);
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border-light);
}

.news-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.news-card {
  background: white;
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-card-image {
  aspect-ratio: 16/9;
  background: #e5e5e5;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 1rem;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-dark);
}

.news-more {
  text-align: center;
}

.news-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
}

/* ========================================
   SNS Section
   ======================================== */
.sns {
  position: relative;
  background-color: var(--color-bg-light);
  padding: var(--section-padding) 0;
}

.sns::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  display: block;
  height: 5px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.sns-grid {
  display: grid;
  grid-template-columns: 100%;
  width: 100%;
  max-width: 1000px;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}


.sns-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sns-card-instagram iframe {
  height: auto !important;
  aspect-ratio: 1 / 1;
}

.sns-icon {
  flex-shrink: 0;
}

.sns-card-title {
  font-family: var(--font-ci);
  font-size: 1.6rem;
  color: var(--color-text-dark);
}

@media (min-width: 768px) {
  .sns-grid {
    grid-template-columns: 38% 56%;
  }

  .sns-card-title {
    font-size: 2.5rem;
  }
}

.sns-card-content {
  font-size: 0.875rem;
  color: var(--color-text-muted-dark);
  line-height: 1.8;
}

.sns-card-content iframe {
  width: 100%;
}

.sns-card-link {
  display: flex;
  align-items: center;
  gap: .75em;
  width: fit-content;
  margin: 1rem auto 0;
  padding: .75em 0;
  line-height: 1.2em;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  position: relative;
  background-color: var(--color-bg-light);
  padding: var(--section-padding) 0;
}

.contact::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  display: block;
  height: 5px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.contact-line {
  max-width: 660px;
  margin: 0 auto 3rem;
}

.contact-line-btn {
  display: flex;
  align-items: center;
  gap: .5em;
  justify-content: space-between;
  min-height: 140px;
  padding: 1rem 0.5rem 1rem 1rem;
  background: var(--color-bg-dark);
  color: white;
  transition: opacity 0.3s ease;
}

.contact-line-btn:hover {
  opacity: 0.9;
}

.contact-line-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.line-icon {
  flex-shrink: 0;
}

.contact-line-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}


.contact-line-arrow {
  font-size: 1.5rem;
}

.contact-line-text p {
  font-size: 0.8rem;
  line-height: 1.4em;
}

.contact-info {
  max-width: 800px;
  margin: 5em auto 0;
  text-align: center;
}

.contact-org {
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
}

@media (min-width: 768px) {
  .contact-line-btn {
    gap: 1em;
    padding: 1.85rem 2.5rem 1.85rem 3rem;
  }

  .contact-line-text h3 {
    font-size: 1.625rem;
  }

  .contact-line-text p {
    font-size: 0.875rem;
  }

  .contact-details {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-item:first-of-type {
  border-left: 1px solid #e8e8e6;
}

.contact-item {
  padding: 1rem;
  border-right: 1px solid #e8e8e6;
}

.contact-item-label {
  font-size: 0.875rem;
}

.contact-item-value {
  font-size: 1.125rem;
  color: var(--color-text-dark);
}

.contact-item-value a {
  color: var(--color-text-dark);
}

.contact-item-value a:hover {
  color: var(--color-primary-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: .65rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-org {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-top {
  position: fixed;
  bottom: 65px;
  right: .5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .75em;
  justify-content: center;
  font-family: var(--font-ci);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
  filter: drop-shadow(0 0 5px #fff);
  text-shadow: 0 0 1px #fff;
}

@media (min-width:768px) {
  .footer-top {
    bottom: .5rem;
  }
}

.footer-top .icon_svg {
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

.footer-top:hover .icon_svg {
  transform: translateY(-3px) rotate(-90deg);
}

/* ========================================
   Side Contact Button
   ======================================== */
.side-contact {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
}

.side-contact a {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  height: 60px;
  padding: 1.25rem 1rem 1.25rem 1rem;
  background: #8c6e50;
  color: white;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1em;
  border-top: 1px solid #8c6e50;
  transition: background 0.3s ease;
}

.side-contact a:hover {
  background: var(--color-bg-dark);
}

.side-contact .side-contact-icon {
  display: block;
}

@media (min-width: 768px) {
  .side-contact {
    inset: 50% 0 auto auto;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
  }

  .side-contact a {
    height: auto;
    padding: 1.75rem 1.2rem 1.75rem 1.2rem;
    font-size: 1.125rem;
    border: 1px solid #8c6e50;
    border-right: none;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* lower */

body:not(.front-page) .header {
  position: sticky;
  color: #000;
  background: #fff;
  border-bottom: 1px solid #000;
}

body:not(.front-page) .header-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-direction: column;
  justify-content: center;
}

body:not(.front-page) .header-logo>span {
  font-size: .8rem;
}

body:not(.front-page) .header-logo>span:nth-of-type(2) {
  font-size: 1.1rem;
}

body:not(.front-page) .mobile-menu-btn:not(.close) span {
  background: #000;
}


body:not(.front-page) .header-logo_day {
  color: inherit;
  font-size: 1.333em;
}

body:not(.front-page) .header-cta {
  color: #000;
  border: 1px solid #000;
}

body:not(.front-page) .header-cta:hover {
  color: #fff !important;
  background: #000;
}

.mainContainer_col2 {
  display: grid;
  width: 1200px;
  max-width: 100%;
  padding: 0 20px 3rem;
}

.breadcrumb {
  grid-column: 1/-1;
}

.breadcrumb ul {
  display: flex;
  align-items: center;
  gap: .75em;
  padding: 1.75em 0;
  color: #777777;
  font-size: 0.75rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: .75em;
}

.breadcrumb li:not(:last-of-type)::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: .5em;
  clip-path: polygon(0 100%, 0 0, 100% 50%);
  background: currentcolor;
  aspect-ratio: 1/1;
}

@media (min-width:768px) {
  body:not(.front-page) .header-logo {
    gap: .2em;
  }

  body:not(.front-page) .header-logo>span {
    font-size: 1.125rem;
  }

  body:not(.front-page) .header-logo>span:nth-of-type(2) {
    font-size: 1.3125rem;
  }

  .mainContainer_col2 {
    align-items: flex-start;
    gap: 3rem clamp(5px, 4.5vw, 5rem);
    grid-template-columns: minmax(0, 1fr) 300px;
    margin-inline: auto;
  }
}

aside.sidebar .cta-side {
  padding-bottom: 1em;
}

aside.sidebar .cta-side>*:not(:first-of-type) {
  margin-top: .25em;
}

aside.sidebar .cta-card {
  gap: 1em;
  justify-content: space-between;
  padding: 1em;
}

aside.sidebar .cta-card .cta-card_img {
  width: 50px;
}

aside.sidebar .cta-card .cta-card-title {
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1.4375em;
}

aside.sidebar .line-side {
  padding: 1.4em 0 3em;
}

aside.sidebar .line-side_title {
  display: flex;
  align-items: center;
  gap: .65em;
  margin-bottom: 1em;
}

aside.sidebar .line-side_title::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 10px;
  background: #000;
  aspect-ratio: 2/1;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

aside.sidebar .line-side_link {
  position: relative;
  display: grid;
  grid-template-columns: 40% 55%;
  align-items: center;
  justify-content: space-between;
  padding: .5em 1.5em .5em .5em;
  border: 1px solid #000;
}

aside.sidebar .line-side_link span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .5em;
  justify-content: center;
  font-size: 1.25rem;
  letter-spacing: 0;
  line-height: 1.4em;
}

aside.sidebar .line-side_link span img {
  mix-blend-mode: difference;
}

aside.sidebar .line-side_link .icon_svg {
  position: absolute;
  bottom: .6em;
  right: .6em;
  transition: transform .3s;
}

aside.sidebar .line-side_link:hover .icon_svg {
  transform: translateX(4px);
}

aside.sidebar .sns-card {
  padding: 1.25em 0 3em;
  border-top: 1px solid #000;
}

aside.sidebar .sns-card-header {
  gap: .75em;
  justify-content: flex-start;
  margin-bottom: 1.2em;
}

aside.sidebar .sns-card-header .sns-icon {
  width: 20px;
}

aside.sidebar .sns-card-header .sns-card-title {
  font-family: var(--font-mincho);
  font-size: 1rem;
}

aside.sidebar .sns-card .sns-card-link {
  margin-right: 0;
  font-size: 0.875rem;
}

.lower-pagetitle {
  font-size: 2rem;
  margin-bottom: 1.75em;
}

.lower-pagethumbnail {
  margin-bottom: 4rem;
}

.lower-pagethumbnail img {
  width: 100%;
}

.lower-temp a {
  color: #4B99B5;
}

.lower-temp a:not(:hover) {
  text-decoration: underline;
  word-break: break-all;
}

.lower-temp p {
  margin: 0 0 1.6em;
}

.lower-temp a:not(:has(img))::after {
  content: '';
  display: inline-block;
  width: 11.5px;
  height: 11.5px;
  margin-left: .2em;
  background-color: currentColor;
  background-blend-mode: lighten;
  mask-image: url(https://117notsudoi.jp/wp-content/themes/theme117/asset/images/icon_blank.svg);
  -webkit-mask-image: url(https://117notsudoi.jp/wp-content/themes/theme117/asset/images/icon_blank.svg);
  background-repeat: no-repeat;
  background-position: 0px -0px;
  mask-position-x: -0px;
  -webkit-mask-position-x: -0px;
}

.lower-temp h1:not(.lower-pagetitle) {
  margin: .5em 0;
  font-size: 1.4rem;
}

.lower-temp h2:not(.lower-pagetitle) {
  margin: .5em 0;
  font-size: 1.375rem;
}

/* form */
input.wpcf7-form-control.wpcf7-submit.has-spinner {
  position: relative;
  display: block;
  min-width: 40%;
  max-width: 85%;
  margin: auto;
  padding: 1.2em 3em;
  color: #fff;
  background: #333;
  font-size: 1.05em;
  border: 1px solid #333;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .3s;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
  background: #8c6e50;
}

.wpcf7-form input:is([type="text"], [type="tel"], [type="email"]) {
  display: block;
  width: 100%;
  padding: .5em;
}

.wpcf7-form textarea {
  width: 100%;
  min-height: 5em;
  padding: .5em;
  resize: vertical;
}

.wpcf7-form .wpcf7-form-control {
  display: flex;
  gap: .5em 2em;
  flex-wrap: wrap;
}

.wpcf7-form .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: .35em;
  margin: 0;
}

.wpcf7-form .wpcf7-list-item input {
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
}