
/* ========================================
   NEWS DETAIL PAGE
   Modern Corporate Design
======================================== */

:root {
  --news-primary: #315efb;
  --news-primary-dark: #2348d8;
  --news-navy: #14213d;
  --news-text: #30394b;
  --news-muted: #7d8798;
  --news-border: #e8ecf3;
  --news-bg: #f6f8fc;
  --news-white: #ffffff;
  --news-radius: 20px;
  --news-container: 1120px;
}

/* ========================================
   Base
======================================== */

.news-page {
  overflow: hidden;
  color: var(--news-text);
  background: var(--news-white);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  padding-top: 75px;
}

.news-page *,
.news-page *::before,
.news-page *::after {
  box-sizing: border-box;
}

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

.news-page img {
  display: block;
  max-width: 100%;
}

.news-page a:focus-visible {
  outline: 3px solid var(--news-primary);
  outline-offset: 5px;
}

/* ========================================
   Hero
======================================== */

.news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 24px 34px;
  background:
    radial-gradient(
      ellipse at 85% 25%,
      rgba(49, 94, 251, 0.10),
      transparent 38%
    ),
    linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
}

.news-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--news-container);
  margin: 0 auto;
}

.news-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--news-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.news-eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--news-primary);
}

.news-hero h1 {
  margin: 0;
  color: var(--news-navy);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.news-hero h1 span {
  color: var(--news-primary);
}

.news-hero-description {
  margin: 24px 0 0;
  color: #68748a;
  font-size: 14px;
  letter-spacing: 0.025em;
  line-height: 2;
}

.news-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 76px;
  padding-top: 18px;
  border-top: 1px solid rgba(49, 94, 251, 0.16);
  color: #71809b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.news-hero-number {
  color: var(--news-primary);
}

/* Decorative shapes */

.news-decoration {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.news-decoration-one {
  top: 8%;
  right: 9%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(49, 94, 251, 0.13);
  border-radius: 50%;
}

.news-decoration-two {
  top: 17%;
  right: 16%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(49, 94, 251, 0.17);
  border-radius: 28px;
  transform: rotate(35deg);
}

.news-decoration-three {
  top: 33%;
  right: 8%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--news-primary);
  box-shadow:
    24px 22px 0 rgba(49, 94, 251, 0.18),
    -18px 35px 0 rgba(49, 94, 251, 0.12);
}

/* ========================================
   Breadcrumb
======================================== */

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: var(--news-container);
  margin: 0 auto;
  padding: 23px 24px;
  color: #9aa3b2;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.news-breadcrumb a {
  transition: color 0.25s ease;
}

.news-breadcrumb a:hover {
  color: var(--news-primary);
}

.news-breadcrumb [aria-current="page"] {
  color: var(--news-text);
}

/* ========================================
   Article Layout
======================================== */

.news-detail-section {
  padding: 48px 24px 120px;
  background: var(--news-white);
}

.news-detail-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.news-detail-article {
  width: 100%;
}

/* ========================================
   Article Header
======================================== */

.news-detail-header {
  margin-bottom: 42px;
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 25px;
}

.news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 14px;
  border: 1px solid rgba(49, 94, 251, 0.14);
  border-radius: 100px;
  background: #eef3ff;
  color: var(--news-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-date {
  color: var(--news-muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.news-detail-title {
  margin: 0;
  color: var(--news-navy);
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.news-detail-lead {
  margin: 22px 0 0;
  color: #748095;
  font-size: 15px;
  line-height: 2.1;
}

/* ========================================
   Main Image
======================================== */

.news-detail-image {
  position: relative;
  overflow: hidden;
  margin: 0 0 54px;
  border-radius: var(--news-radius);
  background: var(--news-bg);
  box-shadow: 0 18px 55px rgba(28, 47, 91, 0.08);
}

.news-detail-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.news-detail-image:hover img {
  transform: scale(1.025);
}

.news-detail-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(20, 33, 61, 0.72);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  backdrop-filter: blur(8px);
}

/* ========================================
   Article Content
======================================== */

.news-detail-content {
  max-width: 740px;
  margin: 0 auto;
  color: #515c70;
  font-size: 15px;
  line-height: 2.25;
  overflow-wrap: anywhere;
}

.news-detail-content h3 {
  position: relative;
  margin: 0 0 30px;
  padding: 4px 0 4px 22px;
  color: var(--news-navy);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.7;
}

.news-detail-content h3::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 4px;
  border-radius: 5px;
  background: var(--news-primary);
  content: "";
}

.news-detail-content p {
  margin: 0 0 24px;
}

.news-detail-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   News Back Button
======================================== */

.news-detail-footer {
  display: flex;
  justify-content: center;
  margin-top: 72px;
  padding-top: 42px;
  border-top: 1px solid var(--news-border);
}

.news-back-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-width: 310px;
  min-height: 70px;
  padding: 16px 30px;

  border: 1px solid #b9cbff;
  border-radius: 10px;

  /* 通常時もボタンを認識しやすく */
  background: linear-gradient(
    135deg,
    #f2f6ff 0%,
    #e8efff 100%
  );

  color: #244bc4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;

  box-shadow: 0 4px 12px rgba(49, 94, 251, 0.10);

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

/* ホバー時 */
.news-back-button:hover {
  transform: translateY(-3px);
  border-color: #315efb;
  background: linear-gradient(
    135deg,
    #315efb 0%,
    #5278ff 100%
  );

  color: #ffffff;
  box-shadow: 0 10px 24px rgba(49, 94, 251, 0.25);
}

/* 左矢印 */
.news-back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
  flex-shrink: 0;

  border-radius: 50%;
  background: #dce7ff;
  color: #315efb;

  font-size: 18px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.news-back-button:hover .news-back-arrow {
  transform: translateX(-3px);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* BACK TO NEWS */
.news-back-en {
  position: absolute;
  right: 18px;
  bottom: 5px;

  color: #7189d4;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;

  transition: color 0.3s ease;
}

.news-back-button:hover .news-back-en {
  color: rgba(255, 255, 255, 0.8);
}

/* キーボード操作時 */
.news-back-button:focus-visible {
  outline: 3px solid #315efb;
  outline-offset: 4px;
}

/* スマートフォン */
@media (max-width: 480px) {
  .news-detail-footer {
    margin-top: 42px;
    padding-top: 27px;
  }

  .news-back-button {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    padding: 13px 18px;
    gap: 10px;
    font-size: 12px;
  }

  .news-back-arrow {
    width: 28px;
    height: 28px;
  }

  .news-back-en {
    right: 12px;
    bottom: 3px;
    font-size: 7px;
  }
}
/* ========================================
   Entrance Animation
======================================== */

@media (prefers-reduced-motion: no-preference) {
  .news-detail-header {
    animation: newsFadeUp 0.7s ease both;
  }

  .news-detail-image {
    animation: newsFadeUp 0.8s 0.1s ease both;
  }

  .news-detail-content {
    animation: newsFadeUp 0.8s 0.2s ease both;
  }

  @keyframes newsFadeUp {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 768px) {
  .news-hero {
    padding: 76px 22px 28px;
  }

  .news-eyebrow {
    margin-bottom: 20px;
  }

  .news-hero-description {
    margin-top: 18px;
    font-size: 13px;
  }

  .news-hero-bottom {
    margin-top: 52px;
  }

  .news-decoration-one {
    top: 12%;
    right: -70px;
    width: 180px;
    height: 180px;
  }

  .news-decoration-two {
    top: 22%;
    right: 4%;
    width: 85px;
    height: 85px;
  }

  .news-decoration-three {
    right: 10%;
  }

  .news-breadcrumb {
    gap: 9px;
    padding: 18px 22px;
    font-size: 10px;
  }

  .news-detail-section {
    padding: 35px 22px 85px;
  }

  .news-detail-header {
    margin-bottom: 32px;
  }

  .news-meta {
    margin-bottom: 20px;
  }

  .news-detail-lead {
    margin-top: 18px;
    font-size: 14px;
  }

  .news-detail-image {
    margin-bottom: 40px;
    border-radius: 14px;
  }

  .news-detail-content {
    font-size: 14px;
    line-height: 2.15;
  }

  .news-detail-content h3 {
    margin-bottom: 23px;
    font-size: 21px;
  }

  .news-detail-footer {
    margin-top: 52px;
    padding-top: 32px;
  }
}

/* ========================================
   Mobile
======================================== */

@media (max-width: 480px) {
  .news-hero {
    padding: 64px 20px 24px;
  }

  .news-eyebrow {
    gap: 9px;
    font-size: 10px;
  }

  .news-eyebrow-line {
    width: 26px;
  }

  .news-hero h1 {
    font-size: 44px;
  }

  .news-hero-description {
    max-width: 290px;
    font-size: 12px;
    line-height: 2;
  }

  .news-hero-bottom {
    margin-top: 42px;
    padding-top: 14px;
    font-size: 9px;
  }

  .news-decoration-one {
    top: 10%;
    right: -95px;
    width: 160px;
    height: 160px;
  }

  .news-decoration-two {
    top: 21%;
    right: 2%;
    width: 65px;
    height: 65px;
    border-radius: 18px;
  }

  .news-decoration-three {
    top: 36%;
    right: 13%;
    width: 8px;
    height: 8px;
  }

  .news-breadcrumb {
    padding: 16px 20px;
    gap: 7px;
    font-size: 9px;
  }

  .news-detail-section {
    padding: 27px 20px 65px;
  }

  .news-detail-header {
    margin-bottom: 27px;
  }

  .news-meta {
    gap: 11px;
    margin-bottom: 17px;
  }

  .news-category {
    min-height: 27px;
    padding: 3px 11px;
    font-size: 10px;
  }

  .news-date {
    font-size: 11px;
  }

  .news-detail-title {
    font-size: 27px;
    line-height: 1.65;
  }

  .news-detail-lead {
    margin-top: 15px;
    font-size: 13px;
    line-height: 2;
  }

  .news-detail-image {
    margin-bottom: 32px;
    border-radius: 11px;
  }

  .news-detail-image img {
    aspect-ratio: 4 / 3;
  }

  .news-detail-image figcaption {
    right: 10px;
    bottom: 10px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .news-detail-content {
    font-size: 13px;
    line-height: 2.1;
  }

  .news-detail-content h3 {
    margin-bottom: 20px;
    padding-left: 16px;
    font-size: 19px;
    line-height: 1.7;
  }

  .news-detail-content h3::before {
    top: 8px;
    bottom: 8px;
    width: 3px;
  }

  .news-detail-content p {
    margin-bottom: 19px;
  }

  .news-detail-footer {
    margin-top: 42px;
    padding-top: 27px;
  }

  .news-back-button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 13px 18px;
    gap: 10px;
    font-size: 12px;
  }

  .news-back-en {
    right: 12px;
    bottom: 3px;
    font-size: 7px;
  }
}

/* ========================================
   Reduced Motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  .news-page *,
  .news-page *::before,
  .news-page *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}


/* ========================================
   News Hero - Plant Style
======================================== */

.news-hero {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 115px 0 105px;
  color: #fff;

  background: linear-gradient(
    135deg,
    #071a2b 0%,
    #102a43 58%,
    #168aad 100%
  );
}

/* Background Decoration */

.news-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -130px;
  bottom: -260px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(114, 210, 231, 0.10);
  pointer-events: none;
}

/* Hero Inner */

.news-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* Eyebrow */

.news-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #72d2e7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.news-eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: #72d2e7;
}

/* Title */

.news-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.news-hero h1 span {
  color: #72d2e7;
}

/* Description */

.news-hero-description {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.9;
}

/* Bottom Information */

.news-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 18px;
  border-top: 1px solid rgba(114, 210, 231, 0.25);
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.news-hero-number {
  color: #72d2e7;
}

/* Decorative Shapes */

.news-decoration {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.news-decoration-one {
  top: 8%;
  right: 9%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(114, 210, 231, 0.20);
  border-radius: 50%;
}

.news-decoration-two {
  top: 17%;
  right: 16%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(114, 210, 231, 0.25);
  border-radius: 28px;
  transform: rotate(35deg);
}

.news-decoration-three {
  top: 33%;
  right: 8%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #72d2e7;
  box-shadow:
    24px 22px 0 rgba(114, 210, 231, 0.25),
    -18px 35px 0 rgba(114, 210, 231, 0.15);
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 768px) {
  .news-hero {
    padding: 85px 0 65px;
  }

  .news-hero-inner {
    width: calc(100% - 44px);
  }

  .news-hero-bottom {
    margin-top: 48px;
  }

  .news-decoration-one {
    top: 12%;
    right: -70px;
    width: 180px;
    height: 180px;
  }

  .news-decoration-two {
    top: 22%;
    right: 4%;
    width: 85px;
    height: 85px;
  }
}

/* ========================================
   Mobile
======================================== */

@media (max-width: 480px) {
  .news-hero {
    padding: 70px 0 45px;
  }

  .news-hero-inner {
    width: calc(100% - 40px);
  }

  .news-eyebrow {
    gap: 9px;
    margin-bottom: 20px;
    font-size: 10px;
  }

  .news-eyebrow-line {
    width: 26px;
  }

  .news-hero h1 {
    font-size: 44px;
  }

  .news-hero-description {
    margin-top: 18px;
    font-size: 13px;
  }

  .news-hero-bottom {
    margin-top: 40px;
    padding-top: 14px;
    font-size: 9px;
  }

  .news-decoration-one {
    top: 10%;
    right: -95px;
    width: 160px;
    height: 160px;
  }

  .news-decoration-two {
    top: 21%;
    right: 2%;
    width: 65px;
    height: 65px;
    border-radius: 18px;
  }

  .news-decoration-three {
    top: 36%;
    right: 13%;
    width: 8px;
    height: 8px;
  }
}


.news-hero {
  height: auto !important;
  min-height: 0 !important;
  padding: 24px 24px 12px !important;
}

.news-hero-inner {
  min-height: 0 !important;
}

.news-eyebrow {
  margin-bottom: 8px !important;
}

.news-hero h1 {
  font-size: clamp(32px, 4vw, 54px) !important;
  line-height: 1.1 !important;
}

.news-hero-description {
  margin-top: 10px !important;
  line-height: 1.5 !important;
}

.news-hero-bottom {
  margin-top: 18px !important;
  padding-top: 8px !important;
}
