/* =========================
   JOURNAL BASE
========================= */

.journal-page {
  --journal-navy: #18344f;
  --journal-orange: #ed6f22;
  --journal-blue: #dff2ff;
  --journal-yellow: #ffe36e;
  --journal-green: #bfe9c8;
  --journal-pink: #ffdce7;
  --journal-cream: #fffaf1;
  --journal-text: #69798a;
  --journal-line: #dce7ed;

  width: 100%;
  overflow: hidden;

  background: #fff;
}

.journal-container {
  width: min(1280px, calc(100% - 112px));
  margin: 0 auto;
}

.journal-page a {
  color: inherit;
  text-decoration: none;
}


/* =========================
   HERO
========================= */

.journal-hero {
  position: relative;

  min-height: 760px;
  padding: 105px 0 95px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 74% 15%,
      rgba(255, 225, 109, 0.22),
      transparent 23%
    ),
    radial-gradient(
      circle at 17% 84%,
      rgba(139, 211, 246, 0.22),
      transparent 25%
    ),
    #fffaf3;
}

.journal-hero-inner {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
}

.journal-left {
  position: relative;
  z-index: 4;
}

.journal-tag {
  display: inline-flex;
  align-items: center;

  margin: 0 0 30px;
  padding: 11px 21px;

  background: #ffe6c8;
  border-radius: 999px;

  color: var(--journal-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.journal-left h1 {
  margin: 0;

  color: var(--journal-navy);
  font-size: clamp(58px, 5.7vw, 82px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.journal-left h1 span {
  color: var(--journal-orange);
  white-space: nowrap;
}

.journal-intro {
  margin: 34px 0 0;

  color: var(--journal-text);
  font-size: 17px;
  line-height: 2;
}

.journal-button {
  display: inline-flex;
  align-items: center;
  gap: 25px;

  margin-top: 34px;
  padding: 16px 27px;

  background: var(--journal-orange);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(237, 111, 34, 0.2);

  color: #fff;
  font-size: 14px;
  font-weight: 800;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.journal-button:hover {
  transform: translateY(-4px);

  box-shadow: 0 22px 40px rgba(237, 111, 34, 0.27);
}

.journal-button span {
  font-size: 18px;
}

.journal-mini-note {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 27px;

  color: #788795;
  font-size: 12px;
}

.journal-mini-note span {
  padding: 5px 10px;

  background: var(--journal-yellow);
  border-radius: 999px;

  color: var(--journal-navy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}


/* 拼贴图片 */

.journal-collage {
  position: relative;

  min-height: 555px;
}

.journal-photo {
  position: absolute;

  margin: 0;
  padding: 9px;
  overflow: hidden;

  background: #fff;
  border: 1px solid rgba(24, 52, 79, 0.08);
  border-radius: 26px;
  box-shadow: 0 24px 55px rgba(40, 71, 92, 0.13);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.journal-photo:hover {
  z-index: 10;

  box-shadow: 0 30px 65px rgba(40, 71, 92, 0.2);
}

.journal-photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  border-radius: 18px;
}

.journal-photo > span {
  position: absolute;
  left: 21px;
  bottom: 18px;

  padding: 8px 13px;

  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;

  color: var(--journal-navy);
  font-size: 10px;
  font-weight: 800;
}

.journal-photo-1 {
  top: 15px;
  left: 10px;

  width: 330px;
  height: 245px;

  transform: rotate(-7deg);
}

.journal-photo-1:hover {
  transform: rotate(-3deg) translateY(-7px);
}

.journal-photo-2 {
  top: 35px;
  right: 10px;

  width: 250px;
  height: 335px;

  transform: rotate(6deg);
}

.journal-photo-2:hover {
  transform: rotate(2deg) translateY(-7px);
}

.journal-photo-3 {
  left: 85px;
  bottom: 8px;

  width: 250px;
  height: 190px;

  transform: rotate(5deg);
}

.journal-photo-3:hover {
  transform: rotate(1deg) translateY(-7px);
}

.journal-photo-4 {
  right: 105px;
  bottom: 10px;

  width: 220px;
  height: 175px;

  transform: rotate(-5deg);
}

.journal-photo-4:hover {
  transform: rotate(-1deg) translateY(-7px);
}

.journal-speech {
  position: absolute;
  z-index: 8;

  padding: 14px 17px;

  background: #fff;
  border: 2px solid var(--journal-navy);
  border-radius: 16px;
  box-shadow: 5px 6px 0 var(--journal-yellow);

  color: var(--journal-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.journal-speech::after {
  content: "";

  position: absolute;
  bottom: -10px;
  left: 28px;

  width: 17px;
  height: 17px;

  background: #fff;
  border-right: 2px solid var(--journal-navy);
  border-bottom: 2px solid var(--journal-navy);

  transform: rotate(45deg);
}

.journal-speech-top {
  top: 2px;
  left: 315px;

  transform: rotate(-4deg);
}

.journal-speech-bottom {
  right: 5px;
  bottom: 100px;

  transform: rotate(3deg);
}


/* Hero背景线稿 */

.journal-hero-doodles {
  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;
}

.doodle {
  position: absolute;

  fill: none;
  stroke: var(--journal-navy);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;

  opacity: 0.055;
}

.doodle-sun {
  top: 45px;
  left: 32%;

  width: 115px;
}

.doodle-mountain {
  left: 2%;
  bottom: 25px;

  width: 220px;
}

.doodle-cloud {
  top: 90px;
  right: 4%;

  width: 185px;
}

.doodle-house {
  right: 1%;
  bottom: 16px;

  width: 170px;
}

.doodle-tree {
  left: 45%;
  bottom: 6px;

  width: 100px;
}

.doodle-train {
  top: 155px;
  left: 43%;

  width: 170px;
}

.doodle-star {
  position: absolute;

  color: var(--journal-orange);
  opacity: 0.18;
}

.doodle-star-1 {
  top: 20%;
  left: 6%;

  font-size: 27px;
}

.doodle-star-2 {
  right: 34%;
  bottom: 12%;

  font-size: 36px;
}

.doodle-star-3 {
  top: 18%;
  right: 2%;

  font-size: 22px;
}


/* =========================
   GENERAL HEADING
========================= */

.journal-heading-label {
  margin: 0 0 18px;

  color: var(--journal-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.journal-heading h2 {
  margin: 0;

  color: var(--journal-navy);
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.journal-heading > p,
.journal-heading-row > p {
  margin: 0;

  color: var(--journal-text);
  font-size: 14px;
  line-height: 2;
}

.journal-heading-center {
  text-align: center;
}

.journal-heading-center > p:last-child {
  margin-top: 22px;
}

.journal-heading-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: end;

  margin-bottom: 55px;
}


/* =========================
   CATEGORY
========================= */

.journal-category {
  position: relative;

  padding: 125px 0 135px;

  background: #fff;
}

.journal-category-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  margin-top: 62px;
}

.category-card {
  position: relative;

  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;

  min-height: 125px;
  padding: 25px 27px;

  border: 2px solid transparent;
  border-radius: 26px;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-7px) rotate(-1deg);

  border-color: var(--journal-navy);
  box-shadow: 6px 7px 0 var(--journal-navy);
}

.category-icon {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;

  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;

  color: var(--journal-navy);
  font-size: 27px;
  font-weight: 800;
}

.category-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.category-text small {
  color: rgba(24, 52, 79, 0.52);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.category-text strong {
  color: var(--journal-navy);
  font-size: 21px;
}

.category-arrow {
  color: var(--journal-navy);
  font-size: 22px;
}

.category-home {
  background: #e5f4ff;
}

.category-life {
  background: #e8f7e8;
}

.category-kumamoto {
  background: #fff3bb;
}

.category-guide {
  background: #ffe8d5;
}

.category-event {
  background: #ffe2eb;
}

.category-news {
  background: #eee8ff;
}


/* =========================
   FEATURED
========================= */

.journal-featured {
  padding: 100px 0 145px;

  background: #eaf7ff;
}

.journal-featured-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;

  height: 600px;
  overflow: hidden;

  background: #fff;
  border: 2px solid #fff;
  border-radius: 38px;
  box-shadow: 0 30px 70px rgba(64, 118, 146, 0.13);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}


/* 左侧图片框 */

.journal-featured-image {
  position: relative;

  width: 100%;
  height: 100%;
  min-height: 0;

  overflow: hidden;
}


/* 图片始终铺满左侧固定框 */

.journal-featured-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  transition: transform 0.6s ease;
}

.journal-featured-card:hover {
  transform: translateY(-7px);

  box-shadow: 0 38px 85px rgba(64, 118, 146, 0.2);
}



.journal-featured-card:hover .journal-featured-image img {
  transform: scale(1.035);
}

.journal-featured-number {
  position: absolute;
  left: 28px;
  top: 26px;

  display: grid;
  place-items: center;

  width: 63px;
  height: 63px;

  background: var(--journal-yellow);
  border: 2px solid var(--journal-navy);
  border-radius: 50%;
  box-shadow: 4px 5px 0 var(--journal-navy);

  color: var(--journal-navy);
  font-weight: 900;
}

.journal-featured-sticker {
  position: absolute;
  right: 20px;
  bottom: 20px;

  padding: 8px 8px;

  background: #fff;
  border: 2px solid var(--journal-navy);
  border-radius: 999px;

  color: var(--journal-orange);
  font-size: 11px;
  font-weight: 900;

  transform: rotate(-4deg);
}

.journal-featured-content {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 30px;
  overflow: hidden;
}

.journal-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 33px;
}

.journal-featured-meta span {
  padding: 8px 14px;

  background: #fff1dc;
  border-radius: 999px;

  color: var(--journal-orange);
  font-size: 10px;
  font-weight: 900;
}

.journal-featured-meta time {
  color: #9aa7b1;
  font-size: 11px;
}

.journal-featured-content h3 {
  margin: 28px 0 20px;

  color: var(--journal-navy);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.42;
}

.journal-featured-content > p {
  margin: 0;

  color: var(--journal-text);
  font-size: 14px;
  line-height: 2;
}

.journal-read-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: auto;
  padding-top: 24px;

  border-top: 1px solid var(--journal-line);

  color: var(--journal-navy);
  font-size: 14px;
  font-weight: 800;
}

.journal-read-link span {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  background: var(--journal-orange);
  border-radius: 50%;

  color: #fff;
  font-size: 19px;
}

.journal-featured-decoration span {
  position: absolute;

  color: var(--journal-orange);
  opacity: 0.1;
}

.journal-featured-decoration span:nth-child(1) {
  top: 12px;
  right: 33px;

  font-size: 50px;
}

.journal-featured-decoration span:nth-child(2) {
  right: 25px;
  bottom: 90px;

  font-size: 90px;
}

.journal-featured-decoration span:nth-child(3) {
  left: 20px;
  bottom: 14px;

  font-size: 45px;
}


/* =========================
   ARTICLES
========================= */

.journal-articles {
  padding: 135px 0 145px;

  background: #fffdf8;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 24px;
}

.journal-card {
  height: 540px;
  min-height: 540px;
  overflow: hidden;

  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 29px;
  box-shadow: 0 15px 40px rgba(45, 70, 88, 0.06);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.journal-card:hover {
  transform: translateY(-7px);

  box-shadow: 0 25px 55px rgba(45, 70, 88, 0.13);
}

.journal-card > a {
  display: flex;
  flex-direction: column;

  height: 100%;
}

.journal-card-large {
  grid-column: span 2;
  grid-row: span 2;

  min-height: 730px;
}

.journal-card-wide {
  grid-column: span 2;

  min-height: 410px;
}

.journal-card-large > a,
.journal-card-wide > a {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.journal-card-image {
  width: 100%;
  height: 260px;
  min-height: 260px;
  flex: 0 0 260px;
  overflow: hidden;
}

.journal-card-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.journal-card:hover .journal-card-image img {
  transform: scale(1.04);
}

.journal-card-body {
  display: flex;
  flex-direction: column;

  padding: 31px;
}

.journal-card-large .journal-card-body,
.journal-card-wide .journal-card-body {
  justify-content: center;

  padding: 47px;
}

.journal-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  margin-bottom: 24px;
}

.journal-card-category {
  display: inline-flex;

  padding: 7px 11px;

  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;

  color: var(--journal-navy);
  font-size: 9px;
  font-weight: 900;
}

.category-color-orange {
  background: #fff0df;
  color: var(--journal-orange);
}

.category-color-green {
  background: #e8f6e9;
  color: #4f995d;
}

.journal-card-meta time {
  color: #96a2ac;
  font-size: 10px;
}

.journal-card h3 {
  margin: 0 0 20px;

  color: var(--journal-navy);
  font-size: 24px;
  line-height: 1.55;
}

.journal-card-large h3 {
  font-size: clamp(32px, 3vw, 43px);
}

.journal-card p {
  margin: 0;

  color: var(--journal-text);
  font-size: 13px;
  line-height: 1.9;
}

.journal-card-link {
  display: block;

  margin-top: auto;
  padding-top: 28px;

  color: var(--journal-navy);
  font-size: 12px;
  font-weight: 800;
}

.journal-card-icon {
  display: grid;
  place-items: center;

  width: 72px;
  height: 72px;
  margin: 32px 0 0 31px;

  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;

  color: var(--journal-navy);
  font-size: 32px;
}

.journal-card-yellow {
  background: #fff1b7;
}

.journal-card-blue {
  background: #dff1ff;
}

.journal-card-pink {
  background: #ffe2eb;
}

.journal-card-green {
  background: #e3f5e4;
}

.journal-more {
  display: flex;
  justify-content: center;

  margin-top: 60px;
}

.journal-more a {
  display: inline-flex;
  align-items: center;
  gap: 35px;

  padding: 16px 27px;

  background: #fff;
  border: 2px solid var(--journal-navy);
  border-radius: 999px;
  box-shadow: 5px 6px 0 var(--journal-navy);

  color: var(--journal-navy);
  font-size: 13px;
  font-weight: 800;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.journal-more a:hover {
  transform: translate(4px, 5px);

  box-shadow: 1px 1px 0 var(--journal-navy);
}


/* =========================
   CLOSING
========================= */

.journal-closing {
  padding: 90px 0;

  background: #fff;
}

.journal-closing-card {
  position: relative;

  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;

  min-height: 350px;
  padding: 46px 60px;
  overflow: hidden;

  background: var(--journal-yellow);
  border: 2px solid var(--journal-navy);
  border-radius: 38px;
  box-shadow: 9px 10px 0 var(--journal-navy);
}

.journal-closing-content {
  position: relative;
  z-index: 3;
}

.journal-closing-content h2 {
  margin: 0 0 24px;

  color: var(--journal-navy);
  font-size: clamp(36px, 3.6vw, 50px);
  line-height: 1.35;
}

.journal-closing-content > p:not(.journal-heading-label) {
  margin: 0;

  color: rgba(24, 52, 79, 0.7);
  font-size: 14px;
  line-height: 2;
}

.journal-closing-content a {
  display: inline-flex;
  align-items: center;
  gap: 27px;

  margin-top: 30px;
  padding: 14px 22px;

  background: #fff;
  border: 2px solid var(--journal-navy);
  border-radius: 999px;

  color: var(--journal-navy);
  font-size: 13px;
  font-weight: 800;
}

.journal-closing-town {
  position: relative;

  height: 225px;
  transform: scale(0.82);
  transform-origin: center right;
}

.closing-house {
  position: absolute;
}

.closing-house-one {
  left: 10px;
  bottom: 30px;
}

.closing-house-two {
  right: 20px;
  bottom: 30px;

  transform: scale(0.78);
}

.closing-wall {
  position: absolute;
  left: 15px;
  bottom: 0;

  display: block;

  width: 140px;
  height: 120px;

  background: #fff;
  border: 4px solid var(--journal-navy);
  border-radius: 6px;
}

.closing-roof {
  position: absolute;
  left: 13px;
  bottom: 85px;

  display: block;

  width: 143px;
  height: 143px;

  border-top: 5px solid var(--journal-navy);
  border-left: 5px solid var(--journal-navy);

  transform: rotate(45deg);
}

.closing-door {
  position: absolute;
  z-index: 2;
  left: 66px;
  bottom: 0;

  display: block;

  width: 38px;
  height: 68px;

  background: var(--journal-orange);
  border: 4px solid var(--journal-navy);
}

.closing-tree {
  position: absolute;
  left: 195px;
  bottom: 30px;

  width: 90px;
  height: 165px;
}

.closing-tree span {
  position: absolute;
  top: 0;
  left: 0;

  width: 90px;
  height: 90px;

  background: #7bcf8b;
  border: 4px solid var(--journal-navy);
  border-radius: 50%;
}

.closing-tree i {
  position: absolute;
  left: 39px;
  bottom: 0;

  width: 13px;
  height: 92px;

  background: #fff;
  border: 4px solid var(--journal-navy);
}

.closing-sun {
  position: absolute;
  right: 0;
  top: 0;

  width: 65px;
  height: 65px;

  background: var(--journal-orange);
  border: 4px solid var(--journal-navy);
  border-radius: 50%;
}

.closing-road {
  position: absolute;
  left: -20px;
  right: -40px;
  bottom: 20px;

  height: 4px;

  background: var(--journal-navy);

  transform: rotate(-3deg);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

  .journal-container {
    width: min(860px, calc(100% - 56px));
  }

  .journal-hero-inner,
  .journal-featured-card,
  .journal-closing-card {
    grid-template-columns: 1fr;
  }

  .journal-left {
    text-align: center;
  }

  .journal-mini-note {
    justify-content: center;
  }

  .journal-collage {
    width: min(700px, 100%);
    margin: 30px auto 0;
  }

  .journal-category-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-heading-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .journal-card-large,
  .journal-card-wide {
    grid-column: span 2;
  }

  .journal-closing-town {
    margin-top: 45px;
  }

}


@media (max-width: 700px) {

  .journal-container {
    width: calc(100% - 40px);
  }

  .journal-hero {
    min-height: auto;
    padding: 80px 0;
  }

  .journal-left h1 {
    font-size: 48px;
  }

  .journal-intro {
    font-size: 14px;
  }

  .journal-collage {
    min-height: 470px;

    transform: scale(0.85);
    transform-origin: top center;
  }

  .journal-category,
  .journal-featured,
  .journal-articles,
  .journal-closing {
    padding: 90px 0;
  }

  .journal-category-list,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-card-large,
  .journal-card-wide {
    grid-column: span 1;
  }

  .journal-card-large > a,
  .journal-card-wide > a {
    grid-template-columns: 1fr;
  }

  .journal-featured-image {
    min-height: 380px;
  }

  .journal-featured-content {
    padding: 38px 26px;
  }

  .journal-card-large {
    min-height: auto;
  }

  .journal-closing-card {
    padding: 48px 26px;
  }

  .journal-closing-town {
    transform: scale(0.78);
    transform-origin: center top;
  }

}
