/*
Theme Name: LotusRE
Theme URI: https://lotusre.co.jp
Author: LotusRE
Author URI: https://lotusre.co.jp
Description: ロータスRE株式会社 - 売買仲介・不動産管理サービス
Version: 3.1.0
License: GNU General Public License v2 or later
Text Domain: lotusre
*/

/* ======================================================================
   ロータスRE株式会社 - Real Estate Website
   Comprehensive CSS Stylesheet
   ====================================================================== */

/* ======================================================================
   RESET & BASE STYLES
   ====================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 32px;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

h2 {
  font-size: 28px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

h3 {
  font-size: 22px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

h4 {
  font-size: 18px;
  letter-spacing: 0.05em;
}

/* Paragraphs & text elements */
p {
  margin-bottom: 1.5rem;
}

small {
  font-size: 13px;
}

/* Links */
a {
  color: #1e2d3d;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #333333;
}

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

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ======================================================================
   CONTAINER & LAYOUT
   ====================================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1023px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
}

/* Section spacing */
section {
  padding: 100px 0;
}

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }
}

/* Section background variations */
section.bg-light {
  background-color: #f5f5f5;
}

/* ======================================================================
   HEADER STYLES
   ====================================================================== */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  border-bottom: none;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo a {
  font-size: 18px;
  font-weight: 700;
  color: #1e2d3d;
  letter-spacing: 0.05em;
}

.header-logo img {
  width: 183px;
  height: auto;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  margin: 0 20px;
}

.header-nav a {
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  border-right: 1px solid #dddddd;
  height: 80px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.3s ease;
  letter-spacing: 0.04em;
}

.header-nav a:last-child {
  border-right: none;
}

.header-nav a:hover {
  color: #1e2d3d;
}

/* Header right section */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  background-color: #1e2d3d;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  height: 38px;
  border-radius: 4px;
}

.header-cta:hover {
  background-color: #0f1823;
}

.header-phone-number {
  background-color: #e8e8e8;
  color: #1e2d3d;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  height: 38px;
  border-radius: 4px;
}

/* Mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: #333333;
  margin: 4px 0;
  transition: 0.3s ease;
}

/* ======================================================================
   FOOTER STYLES
   ====================================================================== */

footer.site-footer {
  background-color: #f3f1ee;
  color: #333333;
  padding: 40px 0;
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-logo img {
  width: 183px;
  height: auto;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  padding: 0 16px;
  border-right: 1px solid #cccccc;
  transition: opacity 0.3s ease;
  letter-spacing: 0.04em;
}

.footer-nav a:last-child {
  border-right: none;
}

.footer-nav a:hover {
  opacity: 0.7;
  color: #333333;
}

@media (max-width: 767px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 0 20px;
  }

  .footer-nav {
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
  }

  .footer-nav a {
    padding: 4px 10px;
    font-size: 11px;
    border-right: 1px solid #cccccc;
  }

  .footer-nav a:last-child {
    border-right: none;
  }
}

/* ======================================================================
   TYPOGRAPHY & SECTION HEADINGS
   ====================================================================== */

/* Section heading with English title + Japanese subtitle */
.section-heading {
  text-align: left;
  margin-bottom: 60px;
}

.section-heading-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  color: #1e2d3d;
  letter-spacing: 0.08em;
  font-weight: 600;
  line-height: 1.4;
}

/* ======================================================================
   HERO / PAGE HERO SECTION
   ====================================================================== */

.page-hero {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

/* Optional overlay for better text readability */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 45, 61, 0.55);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 400;
}

.page-hero-title {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.14em;
  margin-bottom: 0;
  color: #ffffff;
}

/* Light variant: 薄グレー背景 + 左寄せ (NEWS等) */
.page-hero--light {
  background: #f3f1ee !important;
  background-image: none !important;
  height: auto !important;
  padding: 120px 0 80px !important;
  color: #111111;
}

.page-hero--light::before {
  display: none;
}

.page-hero--light .page-hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}

.page-hero--light .page-hero-subtitle {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: #999999;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-hero--light .page-hero-title {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 32px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: #1e2d3d;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .page-hero--light {
    padding: 70px 0 40px !important;
  }

  .page-hero--light .page-hero-content {
    padding: 0 20px;
  }

  .page-hero--light .page-hero-title {
    font-size: 32px;
    letter-spacing: 0.10em;
  }
}

@media (max-width: 767px) {
  .page-hero {
    height: 240px;
  }

  .page-hero-title {
    font-size: 24px;
  }
}

/* ======================================================================
   PAGE TITLE BLOCK + HERO IMAGE (PC原本型：タイトル左寄せ＋帯画像)
   ====================================================================== */

.page-title-block {
  padding: 48px 0 32px;
  background-color: #f3f1ee;
  text-align: left;
}

.page-title-block .page-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #999999;
  margin-bottom: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.page-title-block .page-title {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 500;
  color: #1e2d3d;
  letter-spacing: 0.14em;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Hero Image: left-overflow design (左にはみ出す) + gray/white split background */
.page-hero-image {
  padding: 0;
  background: linear-gradient(to bottom, #f3f1ee 50%, #ffffff 50%);
  overflow: visible;
}

.page-hero-image .container {
  overflow: visible;
}

.page-hero-image picture {
  display: block;
  /* Left overflow: extend from viewport left edge to container right edge */
  margin-left: calc((100% - 100vw) / 2);
  width: calc((100% + 100vw) / 2);
}

.page-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

@media (max-width: 767px) {
  .page-title-block {
    padding: 32px 0 20px;
  }

  .page-title-block .page-title {
    font-size: 24px;
  }

  .page-hero-image picture {
    /* On mobile, less dramatic overflow */
    margin-left: calc((100% - 100vw) / 2);
    width: calc((100% + 100vw) / 2);
  }

  .page-hero-image img {
    height: auto;
  }
}

/* ======================================================================
   PHOTO BREAK (background-image + overlay + text)
   ====================================================================== */

.photo-break {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Photo break: image-only variant (no overlay, no text) */
.photo-break--image-only {
  height: auto;
  background: none;
}

.photo-break--image-only img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .photo-break {
    height: 220px;
  }

  .photo-break--image-only {
    height: auto;
  }

}

/* ======================================================================
   LINK CARDS / CASE CARDS
   ====================================================================== */

.card-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}

.card-grid.two-column {
  grid-template-columns: 1fr 1fr;
}

.card-grid.three-column {
  grid-template-columns: 1fr 1fr 1fr;
}

.card-horizontal {
  display: flex;
  gap: 30px;
  align-items: stretch;
  border: 1px solid #dddddd;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

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

.card-horizontal-image {
  flex: 0 0 40%;
  overflow: hidden;
}

.card-horizontal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-horizontal:hover .card-horizontal-image img {
  transform: scale(1.05);
}

.card-horizontal-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-horizontal-title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-horizontal-description {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #1e2d3d;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: gap 0.3s ease, opacity 0.3s ease;
}

.card-link:hover {
  gap: 14px;
  opacity: 0.8;
}

.card-link::after {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #1e2d3d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: translateX(2px);
}

@media (max-width: 1023px) {
  .card-horizontal {
    flex-direction: column;
  }

  .card-horizontal-image {
    flex: 0 0 auto;
    height: 250px;
  }

  .card-grid.two-column {
    grid-template-columns: 1fr;
  }

  .card-grid.three-column {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .card-grid.three-column {
    grid-template-columns: 1fr;
  }

  .card-horizontal-content {
    padding: 20px;
  }
}

/* ======================================================================
   CTA BELT / ANNOUNCEMENT SECTION
   ====================================================================== */

.cta-belt {
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-belt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 45, 61, 0.55);
  z-index: 1;
}

.cta-belt-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
}

.cta-belt-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  background-color: transparent;
}

.cta-belt-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
  color: #ffffff;
}

/* ======================================================================
   ICON CIRCLE CARDS
   ====================================================================== */

.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.icon-card-grid.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.icon-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.icon-card:hover {
  transform: translateY(-8px);
}

.icon-card-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1e2d3d;
}

.icon-card-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.05em;
}

.icon-card-description {
  font-size: 13px;
  color: #888888;
  margin-top: 12px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .icon-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .icon-card-grid.three-column {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .icon-card-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .icon-card-grid.three-column {
    grid-template-columns: 1fr;
  }

  .icon-card-circle {
    width: 80px;
    height: 80px;
  }
}

/* ======================================================================
   NEWS / LIST ITEMS
   ====================================================================== */

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  padding: 20px 0;
  border-bottom: 1px solid #dddddd;
  transition: background-color 0.3s ease;
}

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

.news-item:hover {
  background-color: #f5f5f5;
}

.news-item .news-item-link,
.news-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-title {
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: #999999;
  letter-spacing: 0.02em;
}

.news-meta-date {
  white-space: nowrap;
}

.news-meta-category {
  white-space: nowrap;
}

.news-arrow {
  flex-shrink: 0;
  margin-left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.news-arrow img {
  width: 32px;
  height: 32px;
  display: block;
}

@media (max-width: 767px) {
  .news-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .news-arrow {
    margin-left: 12px;
  }
}

/* ======================================================================
   PAGINATION
   ====================================================================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.pagination-item:hover {
  border-color: #1e2d3d;
  color: #1e2d3d;
}

.pagination-item.active {
  background-color: #1e2d3d;
  color: #ffffff;
  border-color: #1e2d3d;
}

.pagination-item.prev,
.pagination-item.next {
  font-size: 16px;
  width: 40px;
  padding: 0;
}

.pagination-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-item.disabled:hover {
  border-color: #dddddd;
  color: #333333;
}

/* ======================================================================
   FORM ELEMENTS
   ====================================================================== */

.form-control {
  flex: 1;
  min-width: 0;
}

.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  background-color: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.form-control input::placeholder,
.form-control textarea::placeholder {
  color: #888888;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: none;
  border-color: #1e2d3d;
  box-shadow: 0 0 0 3px rgba(30, 45, 61, 0.1);
}

.form-control select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.form-control textarea {
  min-height: 120px;
  resize: vertical;
}

/* ======================================================================
   RESPONSIVE DESIGN - TABLET
   ====================================================================== */

@media (max-width: 1023px) {
  .header-wrapper {
    padding: 0 40px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .header-nav a {
    padding: 0 16px;
    font-size: 13px;
  }

  .icon-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .card-grid.two-column {
    grid-template-columns: 1fr;
  }

  .fv-tagline {
    font-size: 24px;
  }

  .link-card-title {
    font-size: 28px;
  }

  .message-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reason-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .difference-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ======================================================================
   RESPONSIVE DESIGN - SMARTPHONE
   ====================================================================== */

@media (max-width: 767px) {
  body {
    padding-top: 60px;
  }

  html {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .header-wrapper {
    padding: 0 20px;
  }

  /* Typography adjustments */
  h1 {
    font-size: 24px;
    letter-spacing: 0.1em;
  }

  h2 {
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  h3 {
    font-size: 18px;
  }

  /* Header adjustments */
  header.site-header {
    height: 60px;
  }

  .header-logo a {
    font-size: 14px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav a {
    border: none;
    border-bottom: 1px solid #dddddd;
    height: auto;
    padding: 16px 20px;
    text-align: left;
  }

  .header-nav a:last-child {
    border-right: none;
  }

  .header-nav a:first-child {
    border-top: 1px solid #dddddd;
  }

  .header-right {
    display: none;
  }

  .header-phone-number {
    display: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 4px;
    background-color: #1e2d3d;
    padding: 0;
  }

  .hamburger span {
    width: 18px;
    height: 1.5px;
    background-color: #ffffff;
    margin: 3px 0;
  }

  /* Hero adjustments */
  .page-hero {
    height: 240px;
  }

  .page-hero-title {
    font-size: 20px;
  }

  .page-hero-subtitle {
    font-size: 12px;
  }

  /* Section spacing */
  section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading-ja {
    font-size: 22px;
  }

  /* Cards */
  .card-horizontal {
    flex-direction: column;
    border: 1px solid #dddddd;
  }

  .card-horizontal-image {
    flex: 0 0 auto;
    height: 200px;
  }

  .card-horizontal-content {
    padding: 20px;
  }

  .card-grid {
    gap: 20px;
  }

  .card-grid.two-column,
  .card-grid.three-column {
    grid-template-columns: 1fr;
  }

  /* Icon cards */
  .icon-card-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .icon-card-circle {
    width: 80px;
    height: 80px;
  }

  /* CTA belt */
  .cta-belt {
    padding: 50px 20px;
  }

  /* News list */
  .news-item {
    padding: 16px 0;
  }

  .news-item:hover {
    background-color: #f5f5f5;
  }

  .news-title {
    font-size: 14px;
  }

  .news-meta {
    font-size: 11px;
    gap: 12px;
  }

  .news-arrow {
    margin-left: 12px;
  }

  /* Forms */
  .form-control {
    flex: none;
  }

  .form-control input,
  .form-control select,
  .form-control textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form-control textarea {
    min-height: 100px;
  }

  /* Footer */
  .footer-wrapper {
    padding: 0 20px;
  }

  .footer-nav a {
    padding: 0 8px;
    font-size: 12px;
  }

}

/* ======================================================================
   PRINT STYLES
   ====================================================================== */

@media print {
  body {
    background-color: #ffffff;
  }

  header,
  footer,
  .no-print {
    display: none;
  }

  a {
    text-decoration: underline;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ======================================================================
   ACCESSIBILITY & FOCUS STATES
   ====================================================================== */

/* Ensure visible focus indicators for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #1e2d3d;
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1e2d3d;
  color: #ffffff;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  body {
    color: #000000;
  }

  a {
    text-decoration: underline;
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ======================================================================
   DARK MODE SUPPORT (Optional)
   ====================================================================== */

@media (prefers-color-scheme: dark) {
  /* Uncomment and modify if dark mode support is needed */
  /* body {
    background-color: #1a1a1a;
    color: #e0e0e0;
  } */
}

/* ======================================================================
   MANAGEMENT PAGE STYLES
   ====================================================================== */

/* Introduction Section */
.intro-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.intro-content {
  text-align: left;
  max-width: none;
  margin: 0;
}

.intro-lead {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1e2d3d;
  margin-bottom: 24px;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.intro-description {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1e2d3d;
  line-height: 2.2;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

.intro-content p {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1e2d3d;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

/* Features Section */
.features-section {
  padding: 100px 0;
}

/* Reason Section (Two-column layout with text + image) */
.reason-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.reason-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.reason-content {
  display: flex;
  flex-direction: column;
}

.reason-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reason-body p {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 0;
}

.reason-image {
  overflow: hidden;
  border-radius: 4px;
}

.reason-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Difference Section (Two-column layout with image + text) */
.difference-section {
  padding: 100px 0;
}

.difference-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.difference-image {
  overflow: hidden;
  border-radius: 4px;
}

.difference-image img {
  width: 100%;
  height: auto;
  display: block;
}

.difference-content {
  display: flex;
  flex-direction: column;
}

.difference-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.difference-body p {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 0;
}

/* Responsive adjustments for page-specific sections */
@media (max-width: 1023px) {
  .reason-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .difference-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-heading {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .intro-section {
    padding: 60px 0;
  }

  .intro-lead {
    font-size: 16px;
  }

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

  .features-section {
    padding: 60px 0;
  }

  .reason-section {
    padding: 60px 0;
  }

  .reason-body p {
    font-size: 14px;
    line-height: 1.8;
  }

  .difference-section {
    padding: 60px 0;
  }

  /* SP: 見出し・本文→写真の順に変更 */
  .difference-content {
    order: -1;
  }

  .difference-body p {
    font-size: 14px;
    line-height: 1.8;
  }

  .reason-inner,
  .difference-inner {
    gap: 30px;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}

/* ======================================================================
   TOP PAGE - HOME SPECIFIC STYLES
   ====================================================================== */

/* FV Hero Section */
.fv-hero {
  padding: 80px 0 0 0;
  background-color: #ffffff;
}

.fv-tagline {
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  font-size: 28px;
  font-weight: 600;
  color: #1e2d3d;
  line-height: 1.7;
  letter-spacing: 0.08em;
  max-width: 600px;
  margin-bottom: 48px;
}

/* FV content: hero image determines height, CTA follows */
.fv-content-wrapper {
  position: relative;
}

.fv-content {
  position: relative;
}

.fv-image {
  /* hero takes full width minus CTA space */
  width: calc(100% - 236px); /* 220px CTA + 16px gap */
  overflow: hidden;
  border-radius: 8px;
}

.fv-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA boxes: absolute positioned, height = hero height */
.fv-cta-boxes {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fv-cta-box {
  display: block;
  flex: 1;
  min-height: 0;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.fv-cta-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* PC: hide pre-made card image */
.fv-cta-card-img {
  display: none;
}

/* CTA Thumbnail — fills entire card as background */
.fv-cta-thumb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.fv-cta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA body — static so arrow positions to .fv-cta-box */
.fv-cta-body {
  position: static;
  padding: 14px 16px;
}

.fv-cta-text {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* CTA arrow — absolute bottom-right, white rounded-square outside navy circle */
.fv-cta-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  z-index: 2;
  transition: transform 0.3s ease;
  background-color: #ffffff;
  border-radius: 8px 0 8px 0;
  padding: 5px;
}

.fv-cta-arrow img {
  width: 28px;
  height: 28px;
  display: block;
}

/* NEWS Section */
.news-section {
  padding: 80px 0;
  background-color: #ffffff;
}

/* NEWS heading link with arrow (左側に矢印丸ボタン、右斜め上向き) */
.news-heading-link {
  color: #1e2d3d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: gap 0.3s ease, opacity 0.3s ease;
}

.news-heading-link::before {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1e2d3d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.news-heading-link:hover {
  color: #1e2d3d;
  opacity: 0.8;
}

.news-heading-link:hover::before {
  transform: translate(2px, -2px);
}

.section-header-with-icon {
  margin-bottom: 40px;
}

.section-title-with-icon {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: #1e2d3d;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  letter-spacing: 0.08em;
}

/* MESSAGE Section */
.message-section {
  padding: 100px 0;
  background-color: #f5f5f5;
}

.message-section .section-heading {
  margin-bottom: 60px;
}

/* MESSAGE見出し：左寄せ + フォント指定 */
.message-heading {
  text-align: left;
}

.message-heading .section-heading-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 600;
  color: #1e2d3d;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.message-heading .section-heading-ja {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #999999;
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.message-portrait {
  overflow: hidden;
  border-radius: 0;
  position: relative;
}



.message-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.message-content {
  display: flex;
  flex-direction: column;
}

.message-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-body p {
  font-size: 15px;
  line-height: 2.0;
  color: #222222;
  margin-bottom: 0;
  letter-spacing: 0.04em;
}

.message-signature {
  font-size: 13px;
  font-weight: 400;
  color: #888888;
  margin-top: 28px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

/* Link Cards Section (Full-width cards) */
.link-cards-section {
  padding: 0;
  background-color: #ffffff;
}

.link-card {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.link-card + .link-card {
  margin-top: 0;
}

.link-card:hover {
  transform: scale(1.02);
}

.link-card picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.link-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.3s ease;
}

.link-card:hover img {
  transform: scale(1.05);
}

.link-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 45, 61, 0.55);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.link-card-overlay::after {
  content: '→';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 24px;
  color: #ffffff;
}

.link-card:hover .link-card-overlay::after {
  opacity: 1;
}

.link-card:hover .link-card-overlay {
  background: rgba(30, 45, 61, 0.4);
}

.link-card-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  padding: 60px;
  max-width: 700px;
}

.link-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.link-card-subtitle {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.link-card-description {
  font-size: 13px;
  line-height: 1.9;
  color: #ffffff;
  margin-bottom: 24px;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.link-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.3s ease;
  text-decoration: none;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 4px;
}

.link-card-link:hover,
.link-card-link:focus,
.link-card-link:active {
  gap: 12px;
  color: #ffffff;
}

.link-card-link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
}

.link-card-link:hover::after {
  transform: translateX(4px);
}

/* Bottom Cards Section */
.bottom-cards-section {
  padding: 0;
  background-color: #ffffff;
}

/* Responsive - Home Page */
@media (max-width: 1023px) {
  .message-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fv-cta-boxes {
    width: 180px;
  }

  .fv-image {
    width: calc(100% - 196px); /* 180px CTA + 16px gap */
  }

  .fv-tagline {
    font-size: 24px;
  }

  .link-card-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .fv-hero {
    padding: 60px 0 0 0;
  }

  .fv-tagline {
    font-size: 18px;
    max-width: 100%;
    line-height: 1.7;
    margin-bottom: 20px;
    letter-spacing: 0.06em;
  }

  /* SP: FV content wrapper stacks vertically */
  .fv-content-wrapper {
    position: static;
  }

  .fv-content {
    position: static;
  }

  /* SP: Hero image — portrait crop, full width */
  .fv-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
  }

  .fv-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* SP: CTA wrapper — 2-column row below hero */
  .fv-cta-boxes {
    position: static;
    width: 100%;
    margin-top: 12px;
    flex-direction: row;
    gap: 10px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  /* SP: hide PC card image */
  .fv-cta-card-img {
    display: none;
  }

  .fv-cta-box {
    display: block;
    flex: 1;
    min-height: 0;
    border-radius: 8px;
    position: relative;
    aspect-ratio: 1 / 1;
  }

  /* SP: thumb fills entire card as background (same as PC) */
  .fv-cta-thumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    min-height: auto;
    overflow: hidden;
  }

  .fv-cta-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* SP: body overlaid — static so arrow positions to .fv-cta-box */
  .fv-cta-body {
    position: static;
    z-index: auto;
    display: block;
    padding: 14px 14px;
    background-color: transparent;
  }

  .fv-cta-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-size: 12px;
    line-height: 1.5;
    color: #ffffff;
  }

  /* SP: arrow absolute to .fv-cta-box (bottom-right) */
  .fv-cta-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 34px;
    height: 34px;
    z-index: 2;
    padding: 4px;
    border-radius: 8px 0 8px 0;
  }

  .fv-cta-arrow img {
    width: 26px;
    height: 26px;
  }

  /* SP: NEWS */
  .news-section {
    padding: 50px 0;
  }

  .section-title-with-icon {
    font-size: 18px;
  }

  .news-title {
    font-size: 13px;
    line-height: 1.6;
  }

  .news-meta {
    font-size: 10px;
  }

  /* SP: MESSAGE */
  .message-section {
    padding: 50px 0;
  }

  .message-section .section-heading {
    margin-bottom: 28px;
  }

  .section-heading-ja {
    font-size: 22px;
  }

  .message-portrait {
    border-radius: 0;
    overflow: hidden;
  }

  .message-body p {
    font-size: 14px;
    line-height: 2.0;
    letter-spacing: 0.04em;
  }

  .message-signature {
    font-size: 12px;
    margin-top: 20px;
  }

  /* SP: Link Cards */
  .link-cards-section {
    padding: 40px 0;
  }

  .link-card {
    height: 320px;
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .link-card-title {
    font-size: 22px;
    letter-spacing: 0.06em;
  }

  .link-card-subtitle {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .link-card-content {
    padding: 24px 20px;
  }

  .link-card-description {
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.02em;
  }

  .link-card-description br {
    display: none;
  }

  .link-card-overlay::after {
    top: 20px;
    right: 20px;
  }

}

/* ======================================================================
   BUY PAGE - SPECIFIC STYLES
   ====================================================================== */

/* Worries Section */
.worries-section {
  padding: 100px 0;
}

.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
  color: #1e2d3d;
  text-align: left;
  margin-bottom: 60px;
  letter-spacing: 0.08em;
}

.worry-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.worry-card {
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 48px 32px;
  transition: transform 0.3s ease;
}

.worry-card:hover {
  transform: translateY(-8px);
}

.worry-card-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background-color: #eeeeee;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.worry-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.worry-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e2d3d;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.worry-card-text {
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
}

.worries-text {
  text-align: left;
}

.worries-text p {
  font-size: 15px;
  color: #222222;
  line-height: 2.0;
  margin-bottom: 0;
}

/* Philosophy Section */
.philosophy-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.philosophy-section .container {
  background-color: #f3f1ee;
  border-radius: 8px;
  padding: 64px 48px;
}

.philosophy-section .section-title {
  margin-bottom: 32px;
}

.philosophy-content {
  max-width: 800px;
  margin: 0;
  text-align: left;
}

.philosophy-content p {
  font-size: 15px;
  line-height: 2.0;
  color: #222222;
  margin-bottom: 24px;
}

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

/* Qualifications Section */
.qualifications-section {
  padding: 100px 0;
}

.qual-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.qual-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.qual-card:hover {
  transform: translateY(-8px);
}

.qual-card-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1e2d3d;
}

.qual-card-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qual-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* Stop Decision Section */
.stop-decision-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.stop-decision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stop-decision-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stop-decision-text p {
  font-size: 15px;
  line-height: 2.0;
  color: #222222;
  margin-bottom: 0;
}

.stop-decision-image {
  overflow: hidden;
  border-radius: 4px;
}

.stop-decision-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Flow Section */
.flow-section {
  padding: 100px 0;
}

.flow-image {
  margin: 0 auto;
  text-align: center;
}

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

/* CTA Belt */
.cta-belt-heading {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

/* Responsive - Buy Page */
@media (max-width: 1023px) {
  .worry-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .qual-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stop-decision-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

}

@media (max-width: 767px) {
  .worry-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .qual-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .qual-card-circle {
    width: 80px;
    height: 80px;
  }

  .qual-card-title {
    font-size: 13px;
  }

  .stop-decision-inner {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .intro-content p {
    font-size: 15px;
  }

  .philosophy-content p {
    font-size: 15px;
  }

  .philosophy-section .container {
    padding: 40px 24px;
  }

  .stop-decision-text p {
    font-size: 15px;
  }

  .worries-text p {
    font-size: 15px;
  }

  .photo-break {
    height: 300px;
  }

  .cta-belt-heading {
    font-size: 20px;
  }

}

@media (max-width: 480px) {
  .qual-cards-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 30px;
  }
}

/* ======================================================================
   WORKS PAGE - SPECIFIC STYLES
   ====================================================================== */

/* Case Study Steps Section */
.case-study-section {
  padding: 100px 0;
}

.case-step {
  margin-bottom: 100px;
}

.case-step:last-child {
  margin-bottom: 0;
}

.case-step-number {
  font-size: 14px;
  font-weight: 600;
  color: #1e2d3d;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.case-step-title {
  font-size: 26px;
  font-weight: 700;
  color: #1e2d3d;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.case-step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.case-step-image {
  overflow: hidden;
  border-radius: 4px;
}

.case-step-image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-step-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-step-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 0;
}

/* Article Cards Section */
.article-cards-section {
  padding: 100px 0;
}

/* Responsive - Works Page */
@media (max-width: 1023px) {
  .case-step-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-step {
    margin-bottom: 80px;
  }

  .case-step-title {
    font-size: 22px;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .case-study-section {
    padding: 60px 0;
  }

  .case-step {
    margin-bottom: 60px;
  }

  .case-step-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .case-step-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .case-step-text p {
    font-size: 14px;
    line-height: 1.8;
  }

  .article-cards-section {
    padding: 60px 0;
  }

  .features-section {
    padding: 60px 0;
  }

  .icon-card-title {
    font-size: 14px;
  }

  .icon-card-description {
    font-size: 12px;
  }
}

/* ======================================================================
   COMPANY PAGE STYLES
   ====================================================================== */

/* Lead Text Section */
.company-lead-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: left;
}

.company-lead-text {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1e2d3d;
  max-width: none;
  margin: 0;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

/* Profile Introduction Section */
.company-profile-section {
  padding: 100px 0;
}

.company-profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: flex-start;
}

.company-profile-content {
  display: flex;
  flex-direction: column;
}

.company-profile-name {
  font-size: 38px;
  font-weight: 700;
  color: #1e2d3d;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.company-profile-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company-profile-body p {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 0;
}

.company-profile-image {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.company-profile-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border-radius: 80px 0 0 0;
  z-index: 10;
}

.company-profile-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Sections (Alternating layout) */
.company-about-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.company-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.company-about-image {
  overflow: hidden;
  border-radius: 4px;
}

.company-about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.company-about-content {
  display: flex;
  flex-direction: column;
}

.company-about-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e2d3d;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.company-about-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company-about-body p {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 0;
}

/* Company Info Section */
.company-info-section {
  padding: 100px 0;
  background-color: #f5f5f5;
}

.company-info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.company-info-content {
  display: flex;
  flex-direction: column;
}

.company-info-table {
  width: 100%;
  border-collapse: collapse;
}

.company-info-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.company-info-table tbody tr:last-child {
  border-bottom: none;
}

.company-info-table th {
  padding: 28px 0;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  color: #333333;
  width: 180px;
  vertical-align: middle;
  letter-spacing: 0.03em;
}

.company-info-table td {
  padding: 28px 0 28px 40px;
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  vertical-align: middle;
}

.company-info-table td a {
  color: #1e2d3d;
  font-weight: 500;
}

.company-info-table td a:hover {
  color: #0f1823;
  text-decoration: underline;
}

.company-info-image {
  overflow: hidden;
  border-radius: 4px;
}

.company-info-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments for Company page */
@media (max-width: 1023px) {
  .company-lead-text {
    font-size: 15px;
  }

  .company-profile-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-profile-name {
    font-size: 28px;
  }

  .company-about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-about-title {
    font-size: 20px;
  }

  .company-info-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-info-table th {
    width: auto;
    padding: 20px 0;
  }

  .company-info-table td {
    padding: 20px 0 20px 30px;
  }

  .section-heading {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .company-lead-section {
    padding: 60px 0;
  }

  .company-lead-text {
    font-size: 15px;
    line-height: 2.0;
  }

  .company-profile-section {
    padding: 60px 0;
  }

  .company-profile-name {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .company-profile-body {
    gap: 16px;
  }

  .company-profile-body p {
    font-size: 14px;
    line-height: 1.8;
  }

  .company-about-section {
    padding: 60px 0;
  }

  .company-about-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .company-about-body {
    gap: 16px;
  }

  .company-about-body p {
    font-size: 14px;
    line-height: 1.8;
  }

  .company-info-section {
    padding: 60px 0;
  }

  .company-info-table th {
    padding: 16px 0;
    font-size: 13px;
  }

  .company-info-table td {
    padding: 16px 0 16px 24px;
    font-size: 13px;
  }

  .section-heading-ja {
    font-size: 22px;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}



/* ======================================================================
   SECTION BACKGROUND VARIATIONS - BG-DARK
   ====================================================================== */

section.bg-dark {
  background-color: #1e2d3d;
  color: #ffffff;
}

section.bg-dark a {
  color: #ffffff;
}


/* ======================================================================
   ALTERNATIVE HEADING STYLES
   ====================================================================== */

.heading-alt-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  color: #1e2d3d;
  letter-spacing: 0.08em;
}

.heading-alt-ja {
  font-size: 13px;
  color: #888888;
  margin-top: 8px;
}


/* ======================================================================
   PLACEHOLDER FOR MISSING HERO IMAGES
   ====================================================================== */

.page-hero-image-placeholder {
  width: 100%;
  height: 360px;
  background-color: #d4d4d4;
  border: 1px solid #c0c0c0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .page-hero-image-placeholder {
    height: 200px;
  }
}


/* ======================================================================
   PHOTO BREAK OVERLAY TEXT
   ====================================================================== */

.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
}

.photo-break-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-align: center;
}

.photo-break-text {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.9;
  text-align: center;
  opacity: 0.9;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .photo-break-title {
    font-size: 20px;
  }
}


/* ======================================================================
   ARROW ICON BUTTON (CIRCULAR)
   ====================================================================== */

.arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #1e2d3d;
  color: #ffffff;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.arrow-button:hover {
  background-color: #0f1823;
  transform: translateX(4px);
}

.arrow-button::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../img/common_icon_arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* ======================================================================
   WORDPRESS FORM LAYOUT SYSTEM
   ====================================================================== */

.form-group {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.form-label {
  flex: 0 0 30%;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  padding-top: 12px;
}

.form-label.required::after {
  content: ' *';
  color: #e74c3c;
}

.form-group-full {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.form-group-full .form-label {
  flex: none;
  margin-bottom: 8px;
  padding-top: 0;
}

.form-group-full .form-control {
  flex: none;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.form-button {
  background-color: #1e2d3d;
  color: #ffffff;
  padding: 14px 48px;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-button:hover {
  background-color: #0f1823;
}

.form-button:active {
  transform: scale(0.98);
}

.form-control.error input,
.form-control.error select,
.form-control.error textarea {
  border-color: #e74c3c;
}

.form-feedback {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}

.form-feedback.success {
  color: #27ae60;
}

@media (max-width: 1023px) {
  .form-group {
    flex-direction: column;
    gap: 8px;
  }

  .form-label {
    flex: none;
    padding-top: 0;
  }

  .form-control {
    flex: none;
  }
}


/* ======================================================================
   BUTTONS & LINKS
   ====================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-primary {
  background-color: #1e2d3d;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0f1823;
}

.btn-secondary {
  background-color: transparent;
  color: #1e2d3d;
  border: 1px solid #1e2d3d;
}

.btn-secondary:hover {
  background-color: #1e2d3d;
  color: #ffffff;
}

.btn-small {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}


/* ======================================================================
   BREADCRUMBS (below hero image / page-title-block)
   ====================================================================== */

.breadcrumb-bar {
  background-color: #ffffff;
  padding: 10px 0;
}

.breadcrumb {
  font-size: 12px;
  color: #999999;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0;
  text-align: left;
}

.breadcrumb a {
  color: #999999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #1e2d3d;
}

.breadcrumb .breadcrumb-separator {
  margin: 0 8px;
  color: #cccccc;
}

.breadcrumb .breadcrumb-current {
  color: #1e2d3d;
}


/* ======================================================================
   DECORATIVE ELEMENTS
   ====================================================================== */

.deco-line {
  display: block;
  width: 100%;
  height: auto;
  background-image: url('../img/common_line.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* ======================================================================
   UTILITY CLASSES
   ====================================================================== */

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

.text-right {
  text-align: right;
}

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

.text-muted {
  color: #888888;
}

.text-primary {
  color: #1e2d3d;
}

.text-white {
  color: #ffffff;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.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; }
.mb-5 { margin-bottom: 3rem; }

.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-2 { margin-top: 1rem; margin-bottom: 1rem; }
.my-3 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-4 { margin-top: 2rem; margin-bottom: 2rem; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }

.display-none {
  display: none !important;
}

.display-block {
  display: block !important;
}

.display-inline-block {
  display: inline-block !important;
}

.display-flex {
  display: flex !important;
}

.display-grid {
  display: grid !important;
}

.opacity-half {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}


/* ======================================================================
   ICON CIRCLE
   ====================================================================== */

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #1e2d3d;
  background-color: transparent;
  color: #1e2d3d;
  font-size: 16px;
  flex-shrink: 0;
}


/* ======================================================================
   BOTTOM CARDS SECTION
   ====================================================================== */

.bottom-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.bottom-card {
  position: relative;
  height: 360px;
  overflow: hidden;
}

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

.bottom-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 45, 61, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bottom-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.bottom-card-subtitle {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.8;
}

@media (max-width: 1023px) {
  .bottom-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .bottom-card {
    height: 280px;
  }

  .bottom-card-title {
    font-size: 24px;
  }
}


/* ======================================================================
   CTA BELT TEXT STYLES
   ====================================================================== */

.cta-belt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-belt-description {
  font-size: 13px;
  color: #ffffff;
  opacity: 0.8;
  margin-top: 20px;
}


/* ======================================================================
   MESSAGE PORTRAIT DECORATIVE CUTOUT
   ====================================================================== */

/* Removed: .message-portrait::after decorative white corner overlay */


/* ======================================================================
   NEWS LIST PAGE STYLES
   ====================================================================== */
.news-list-section { padding: 100px 0; background-color: #ffffff; }
.news-list-container { display: grid; grid-template-columns: 1.8fr 1fr; gap: 60px; }
.news-list-main { display: flex; flex-direction: column; }
.news-list-full { list-style: none; margin: 0; padding: 0; }
.news-list-full .news-item { padding: 24px 0; border-bottom: 1px solid #dddddd; cursor: pointer; transition: background-color 0.3s ease; }
.news-list-full .news-item:hover { background-color: #f5f5f5; padding: 24px 16px; margin: 0 -16px; }
.news-list-full .news-item:last-child { border-bottom: none; }
.news-list-full .news-item a { display: flex; align-items: center; justify-content: space-between; color: inherit; text-decoration: none; }
.news-list-full .news-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-list-full .news-title { font-size: 16px; font-weight: 600; color: #333333; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }
.news-list-full .news-meta { display: flex; gap: 16px; font-size: 12px; color: #888888; }
.news-sidebar { display: flex; flex-direction: column; gap: 40px; }
.sidebar-section { display: flex; flex-direction: column; gap: 16px; }
.sidebar-title { font-size: 14px; font-weight: 700; color: #333333; letter-spacing: 0.05em; text-transform: uppercase; }
.sidebar-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sidebar-links a { font-size: 13px; color: #333333; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid #dddddd; transition: color 0.3s ease, border-color 0.3s ease; }
.sidebar-links a:hover { color: #1e2d3d; border-color: #1e2d3d; }
@media (max-width: 1023px) { .news-list-container { grid-template-columns: 1fr; gap: 40px; } .news-sidebar { flex-direction: row; gap: 30px; } .sidebar-section { flex: 1; } }
@media (max-width: 768px) { .news-list-section { padding: 60px 0; } .news-list-container { grid-template-columns: 1fr; gap: 30px; } .news-sidebar { flex-direction: column; gap: 30px; } .news-list-full .news-item { padding: 16px 0; } .news-list-full .news-item:hover { padding: 16px 8px; margin: 0 -8px; } .news-list-full .news-title { font-size: 14px; } .news-list-full .news-meta { font-size: 11px; gap: 12px; } .sidebar-title { font-size: 12px; } .sidebar-links a { font-size: 12px; } }


/* ======================================================================
   NEWS DETAIL PAGE STYLES
   ====================================================================== */
.news-detail-section { padding: 100px 0; background-color: #ffffff; }
.news-detail-container { display: grid; grid-template-columns: 1.8fr 1fr; gap: 60px; }
.news-detail-main { display: flex; flex-direction: column; }
.news-detail-header { margin-bottom: 40px; }
.news-detail-date { font-size: 13px; color: #888888; margin-bottom: 16px; display: block; }
.news-detail-title { font-size: 28px; font-weight: 700; color: #333333; line-height: 1.5; margin-bottom: 0; letter-spacing: 0.02em; }
.news-detail-body { display: flex; flex-direction: column; gap: 24px; }
.news-detail-body p { font-size: 15px; line-height: 1.9; color: #333333; margin: 0; }
.news-detail-image { width: 100%; height: 400px; background-color: #e8e8e8; border-radius: 4px; overflow: hidden; margin: 24px 0; display: flex; align-items: center; justify-content: center; color: #888888; font-size: 14px; }
.news-detail-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-detail-body h2 { font-size: 20px; font-weight: 700; color: #333333; margin: 24px 0 16px 0; letter-spacing: 0.02em; }
.news-detail-body h3 { font-size: 16px; font-weight: 700; color: #333333; margin: 24px 0 16px 0; padding: 16px; background-color: #f5f5f5; border-left: 4px solid #1e2d3d; letter-spacing: 0.02em; }
.news-detail-body blockquote { font-size: 14px; font-style: italic; color: #666666; padding: 16px 20px; border-left: 4px solid #1e2d3d; background-color: #f9f9f9; margin: 24px 0; }
.news-detail-body blockquote p { margin: 0; }
.news-detail-sidebar { display: flex; flex-direction: column; gap: 40px; position: sticky; top: 100px; }
.news-detail-nav { margin-top: 60px; padding-top: 40px; border-top: 1px solid #dddddd; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.news-detail-nav-prev, .news-detail-nav-next { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background-color: #f5f5f5; border: 1px solid #dddddd; border-radius: 4px; color: #333333; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease; font-size: 18px; }
.news-detail-nav-prev:hover, .news-detail-nav-next:hover { background-color: #1e2d3d; color: #ffffff; border-color: #1e2d3d; }
.news-detail-nav-center { flex: 1; display: flex; align-items: center; justify-content: center; }
.news-detail-nav-link { display: flex; align-items: center; gap: 8px; color: #1e2d3d; text-decoration: none; font-weight: 600; font-size: 14px; transition: gap 0.3s ease; }
.news-detail-nav-link:hover { gap: 12px; }
.news-detail-nav-link::after { content: '→'; }
@media (max-width: 1023px) { .news-detail-container { grid-template-columns: 1fr; gap: 40px; } .news-detail-sidebar { position: static; flex-direction: row; gap: 30px; } .sidebar-section { flex: 1; } .news-detail-image { height: 300px; } }
@media (max-width: 768px) { .news-detail-section { padding: 60px 0; } .news-detail-container { grid-template-columns: 1fr; gap: 30px; } .news-detail-sidebar { flex-direction: column; gap: 30px; } .news-detail-title { font-size: 22px; } .news-detail-body p { font-size: 14px; line-height: 1.8; } .news-detail-body h2 { font-size: 18px; } .news-detail-body h3 { font-size: 14px; padding: 12px; } .news-detail-image { height: 250px; } .news-detail-nav { flex-wrap: wrap; } .news-detail-nav-center { order: 3; width: 100%; padding-top: 16px; border-top: 1px solid #dddddd; } }


/* ======================================================================
   CONTACT PAGE STYLES
   ====================================================================== */
.contact-section { padding: 60px 0 120px; background: #ffffff; }
.contact-container { max-width: 920px; margin: 0 auto; }
.contact-form-wrapper { background: transparent; padding: 0; border-radius: 0; }
.contact-form { display: flex; flex-direction: column; }
.form-group-contact { display: flex; gap: 30px; margin-bottom: 40px; align-items: flex-start; }
.form-label-contact { flex: 0 0 30%; font-size: 15px; font-weight: 600; color: #333333; padding-top: 12px; letter-spacing: 0.02em; }
.form-label-contact.required::after { content: ' *'; color: #e74c3c; }
.form-control-contact { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.form-control-contact input, .form-control-contact select, .form-control-contact textarea { width: 100%; padding: 12px 16px; font-size: 14px; font-family: inherit; background-color: #ffffff; border: 1px solid #e6e6e6; border-radius: 2px; transition: border-color 0.3s ease, box-shadow 0.3s ease; color: #333333; }
.form-control-contact input::placeholder, .form-control-contact textarea::placeholder { color: #888888; }
.form-control-contact input:focus, .form-control-contact select:focus, .form-control-contact textarea:focus { outline: none; border-color: #1e2d3d; box-shadow: none; }
.form-control-contact select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer; }
.form-control-contact textarea { min-height: 140px; resize: vertical; }
.form-help-text { font-size: 12px; color: #888888; margin-top: 2px; }
.contact-submit { display: flex; justify-content: center; margin-top: 60px; }
.contact-button { background-color: #1e2d3d; color: #ffffff; padding: 14px 48px; border: none; border-radius: 3px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; min-width: 200px; }
.contact-button:hover { background-color: #0f1823; }
.contact-button:active { transform: scale(0.98); }
.contact-note { display: none; }
@media (max-width: 768px) { .contact-section { padding: 60px 0; } .form-group-contact { flex-direction: column; gap: 8px; margin-bottom: 28px; } .form-label-contact { flex: none; padding-top: 0; } .form-control-contact { flex: none; } .form-control-contact input, .form-control-contact select, .form-control-contact textarea { padding: 10px 12px; font-size: 14px; } .form-control-contact textarea { min-height: 120px; } .contact-button { padding: 12px 40px; font-size: 13px; min-width: 160px; } .contact-submit { margin-top: 40px; } }


/* ======================================================================
   CONTACT FORM 7 OVERRIDE STYLES
   ====================================================================== */

/* CF7 form inherits .contact-form layout */
.contact-form-wrapper .wpcf7-form { display: flex; flex-direction: column; }

/* Reset CF7 default <p> wrapping */
.contact-form-wrapper .wpcf7-form > p { margin: 0; padding: 0; }

/* CF7 wrapper span - make it fill the .form-control-contact width */
.form-control-contact .wpcf7-form-control-wrap { display: block; width: 100%; }

/* CF7 form controls inherit prototype styling */
.form-control-contact .wpcf7-form-control.wpcf7-text,
.form-control-contact .wpcf7-form-control.wpcf7-email,
.form-control-contact .wpcf7-form-control.wpcf7-tel,
.form-control-contact .wpcf7-form-control.wpcf7-select,
.form-control-contact .wpcf7-form-control.wpcf7-textarea { width: 100%; padding: 12px 16px; font-size: 14px; font-family: inherit; background-color: #ffffff; border: 1px solid #e6e6e6; border-radius: 2px; transition: border-color 0.3s ease, box-shadow 0.3s ease; color: #333333; box-sizing: border-box; }

.form-control-contact .wpcf7-form-control.wpcf7-text::placeholder,
.form-control-contact .wpcf7-form-control.wpcf7-email::placeholder,
.form-control-contact .wpcf7-form-control.wpcf7-tel::placeholder,
.form-control-contact .wpcf7-form-control.wpcf7-textarea::placeholder { color: #888888; }

.form-control-contact .wpcf7-form-control.wpcf7-text:focus,
.form-control-contact .wpcf7-form-control.wpcf7-email:focus,
.form-control-contact .wpcf7-form-control.wpcf7-tel:focus,
.form-control-contact .wpcf7-form-control.wpcf7-select:focus,
.form-control-contact .wpcf7-form-control.wpcf7-textarea:focus { outline: none; border-color: #1e2d3d; box-shadow: none; }

/* CF7 select arrow */
.form-control-contact .wpcf7-form-control.wpcf7-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer; }

/* CF7 textarea */
.form-control-contact .wpcf7-form-control.wpcf7-textarea { min-height: 140px; resize: vertical; }

/* CF7 submit button - match .contact-button */
.contact-form-wrapper .wpcf7-form .contact-submit { display: flex; justify-content: center; margin-top: 60px; }
.contact-form-wrapper .wpcf7-form .contact-submit .wpcf7-form-control.wpcf7-submit { background-color: #1e2d3d; color: #ffffff; padding: 14px 48px; border: none; border-radius: 3px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; min-width: 200px; }
.contact-form-wrapper .wpcf7-form .contact-submit .wpcf7-form-control.wpcf7-submit:hover { background-color: #0f1823; }
.contact-form-wrapper .wpcf7-form .contact-submit .wpcf7-form-control.wpcf7-submit:active { transform: scale(0.98); }

/* CF7 validation error */
.form-control-contact .wpcf7-not-valid-tip { color: #e74c3c; font-size: 12px; margin-top: 4px; display: block; }

/* CF7 response output */
.contact-form-wrapper .wpcf7-response-output { text-align: center; padding: 12px 20px; margin: 20px 0 0; font-size: 14px; border-radius: 3px; }

/* CF7 spinner */
.contact-form-wrapper .wpcf7-spinner { display: block; margin: 10px auto 0; }

/* CF7 Responsive */
@media (max-width: 768px) {
  .contact-form-wrapper .wpcf7-form .contact-submit { margin-top: 40px; }
  .contact-form-wrapper .wpcf7-form .contact-submit .wpcf7-form-control.wpcf7-submit { padding: 12px 40px; font-size: 13px; min-width: 160px; }
  .form-control-contact .wpcf7-form-control.wpcf7-text,
  .form-control-contact .wpcf7-form-control.wpcf7-email,
  .form-control-contact .wpcf7-form-control.wpcf7-tel,
  .form-control-contact .wpcf7-form-control.wpcf7-select,
  .form-control-contact .wpcf7-form-control.wpcf7-textarea { padding: 10px 12px; font-size: 14px; }
  .form-control-contact .wpcf7-form-control.wpcf7-textarea { min-height: 120px; }
}

/* ======================================================================
   UTILITY / LAYOUT HELPER CLASSES
   ====================================================================== */

/* Generic content section (replaces inline padding on page.php, 404.php, etc.) */
.content-section {
  padding: 60px 0;
}

.content-section--lg {
  padding: 100px 0;
  text-align: center;
}

.pagination-section {
  padding: 0 0 100px 0;
  background-color: #ffffff;
}

/* Visually hidden but accessible */
.visually-hidden {
  visibility: hidden;
}

/* News item link (unstyled anchor) */
.news-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* Form feedback messages */
.form-errors {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #dc2626;
  font-size: 14px;
}

.form-errors ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.form-errors li {
  margin-bottom: 4px;
}

.form-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 24px;
  color: #166534;
  font-size: 15px;
  text-align: center;
}

/* Breadcrumb duplicate removed - see BREADCRUMBS section above */
