/*
Theme Name: Kusawake HP
Theme URI:
Author: 草分拓弥
Description: 草分拓弥オフィシャルサイト カスタムテーマ
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: kusawake-hp
*/

/* ===== カラー変数 ===== */
:root {
  --ivory: #fefcf8;
  --dark-brown: #33261a;
  --mocha-brown: #4a3a2a;
  --honey-yellow: #efd98c;
  --marigold: #f5d54a;
  --yellow-green: #ddecb8;
  --camel: #c79b6e;
}

/* ===== FVアニメーション ===== */
@keyframes fv-hero-fade-up {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ===== リセット ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--mocha-brown);
  background-color: var(--ivory);
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== 共通 ===== */
.section-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: var(--dark-brown);
  letter-spacing: 1.6px;
  line-height: 1.5;
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 50px;
  background-color: var(--marigold);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.5;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* ===== 戻るボタン ===== */
.back-to-top {
  display: flex;
  justify-content: center;
  padding: 60px 20px 80px;
}

/* ===== HEADER ===== */
.hamburger {
  display: none;
}

.sp-nav {
  display: none;
}

.header {
  background-color: var(--yellow-green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
  max-width: calc(100% - 240px);
}

.header__logo {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--dark-brown);
  letter-spacing: 1.2px;
  line-height: 1.5;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--dark-brown);
  letter-spacing: 1px;
  line-height: 1.5;
  white-space: nowrap;
}

.header__nav a {
  transition: opacity 0.1s ease;
}

.header__nav a:hover {
  opacity: 0.7;
}

.header__sns {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header__sns a {
  display: flex;
  align-items: center;
}

.header__sns img {
  object-fit: cover;
}

/* ===== FV ===== */
.fv {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
  margin-top: 100px;
}

.fv__bg-left {
  display: none;
}

.fv__bg-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fv__bg-right picture,
.fv__bg-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv__content {
  position: absolute;
  top: 260px;
  left: 8.33%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-start;
  z-index: 2;
}

.fv__main-copy {
  font-weight: 500;
  font-size: 40px;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.5;
  word-break: break-word;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.0s ease, transform 0.6s ease;
}

.fv__badges {
  display: flex;
  gap: 30px;
  align-items: center;
}

.fv__badge {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.0s ease, transform 0.6s ease;
}

.fv__badge {
  width: 150px;
  height: 150px;
  background-color: var(--honey-yellow);
  border-radius: 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 24px;
  color: var(--mocha-brown);
  text-align: center;
  letter-spacing: 1.2px;
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about {
  background-color: var(--ivory);
  padding: 150px 120px 100px;
}

.about__inner {
  display: flex;
  gap: 100px;
  align-items: flex-start;
  width: 100%;
}

.about__text-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-end;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.about__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.5;
}

.about__img-col {
  width: 369px;
  flex-shrink: 0;
  padding-top: 20px;
}

.about__img-col img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* ===== NEWS ===== */
.news {
  position: relative;
  background-color: var(--yellow-green);
  padding: 150px 120px 100px;
}

.news__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-news.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.news__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 100px;
  align-items: flex-start;
  width: 100%;
}

.news__img-col {
  width: 369px;
  flex-shrink: 0;
  padding-top: 20px;
}

.news__img-col img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.news__text-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-end;
}

.news__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.5;
}

/* ===== 会社紹介 ===== */
.companies {
  position: relative;
  background-color: var(--ivory);
  padding: 150px 120px 100px;
}

.companies__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-companies.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: scaleX(-1);
  z-index: 0;
}

.companies__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  width: 100%;
}

.companies__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.company {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.company__img {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

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

.company__text-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end;
}

.company__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.company__name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--dark-brown);
  letter-spacing: 1.2px;
  line-height: 1.5;
}

.company__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.5;
}

/* ===== スタッフの声 ===== */
.staff {
  position: relative;
  background-color: var(--yellow-green);
  padding: 150px 120px 100px;
}

.staff__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-staff.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.staff__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  width: 100%;
}

.staff__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.staff-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}

.staff-item__img {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.staff-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-item__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  line-height: 1.5;
}

.staff-item__name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--dark-brown);
  letter-spacing: 1.2px;
  line-height: 1.5;
}

.staff-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.5;
}

/* ===== メッセージ ===== */
.message {
  position: relative;
  background-color: var(--ivory);
  padding: 150px 120px;
}

.message__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-message.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: scaleX(-1);
  z-index: 0;
}

.message__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 100px;
  align-items: flex-start;
  width: 100%;
}

.message__text-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.message__body {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.5;
}

.message__img-col {
  width: 369px;
  flex-shrink: 0;
  padding-top: 20px;
}

.message__img-col img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--camel);
  padding: 100px 120px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.footer__sns {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.footer__sns a {
  display: flex;
  align-items: center;
}

.footer__sns img {
  object-fit: cover;
}

.footer__copy {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  letter-spacing: 0.7px;
  line-height: 1.5;
  text-align: center;
}

/* ===== レスポンシブ (SP: ~767px) ===== */
@media (max-width: 767px) {

  /* Header SP — FVに重ねてfixedにすることでFigmaの660px設計に合わせる */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }

  .header__inner {
    max-width: calc(100% - 40px);
  }

  .header__logo {
    font-size: 20px;
    letter-spacing: 0.5px;
  }

  .header__nav,
  .header__sns {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
  }

  .hamburger__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-brown);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .hamburger.is-open .hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.is-open .hamburger__line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-open .hamburger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--yellow-green);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .sp-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .sp-nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .sp-nav__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--dark-brown);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
  }

  .sp-nav__link {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: var(--dark-brown);
    letter-spacing: 1.1px;
    text-decoration: none;
  }

  /* FV SP */
  .fv {
    height: 660px;
  }

  .fv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #C79B6E;
    clip-path: polygon(0 0, 100% 0, 100% 270px, 0 370px);
    z-index: 1;
  }

  .fv__bg-left {
    display: none;
  }

  .fv__bg-right {
    left: 0;
    top: 270px;
    width: 100%;
    height: 390px;
  }

  .fv__bg-right picture,
  .fv__bg-right img {
    object-position: center bottom;
  }

  .fv__content {
    left: 20px;
    right: 20px;
    top: 140px;
    gap: 30px;
    align-items: center;
  }

  .fv__badges {
    gap: 16px;
    justify-content: center;
  }

  .fv__main-copy {
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  .fv__badge {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* 共通 SP */
  .section-title {
    font-size: 28px;
    letter-spacing: 1.4px;
    text-align: center;
  }

  /* ABOUT SP */
  .about {
    padding: 100px 20px 80px;
  }

  .about__inner {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .about__text-col {
    align-items: center;
    width: 100%;
  }

  .about__img-col {
    width: 300px;
    padding-top: 20px;
  }

  /* NEWS SP */
  .news {
    padding: 150px 20px 80px;
  }

  .news__inner {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .news__img-col {
    width: 300px;
    padding-top: 20px;
    order: 2;
  }

  .news__text-col {
    align-items: center;
    order: 1;
    width: 100%;
  }

  /* 会社紹介 SP */
  .companies {
    padding: 150px 20px 80px;
  }

  .company {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .company__img {
    width: 200px;
    height: 200px;
  }

  .company__text-col {
    align-items: center;
    width: 100%;
  }

  .company__name {
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
  }

  /* スタッフの声 SP */
  .staff {
    padding: 150px 20px 80px;
  }

  .staff-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .staff-item__img {
    width: 150px;
    height: 150px;
  }

  .staff-item__name {
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
  }

  /* メッセージ SP */
  .message {
    padding: 150px 20px 80px;
  }

  .message__inner {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .message__img-col {
    width: 300px;
    padding-top: 20px;
    order: 2;
  }

  .message__text-col {
    order: 1;
    width: 100%;
  }

  /* Footer SP */
  .footer {
    padding: 60px 20px;
  }
}

/* ===== About Hero ===== */
.about-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
  margin-top: 100px;
}

.about-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}

.about-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 64px;
  color: #ffffff;
  letter-spacing: 3.2px;
  line-height: 1;
  animation: fv-hero-fade-up 0.8s ease 0.1s both;
}

/* ===== 経歴 ===== */
.career {
  background-color: var(--ivory);
  padding: 100px 120px;
}

.career__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  width: 100%;
}

.career__text-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.career__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.career__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.career__year {
  font-weight: 500;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.8;
  white-space: nowrap;
  min-width: 60px;
}

.career__desc {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.8;
}

.career__img-col {
  width: 240px;
  flex-shrink: 0;
}

.career__img-col img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== MISSION ===== */
.mission {
  position: relative;
  background-color: var(--yellow-green);
  padding: 150px 120px 100px;
}

.mission__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-news.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.mission__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.mission__img-col {
  position: relative;
  flex-shrink: 0;
}

.mission__img-wrapper {
  width: 300px;
}

.mission__img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}


.mission__text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.mission__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.8;
  text-align: left;
}

/* ===== VALUE ===== */
.value {
  position: relative;
  background-color: var(--ivory);
  padding: 150px 120px 100px;
}

.value__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-companies.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

.value__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.value__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 760px;
}

.value-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.value-item__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #7a8c3c;
}

.value-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-item__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 80px;
}

.value-item__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--dark-brown);
  letter-spacing: 1px;
  line-height: 1.5;
}

.value-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.6;
}

.value-item__body--small {
  font-size: 12px;
  opacity: 0.75;
}

/* ===== VISION ===== */
.vision {
  position: relative;
  background-color: var(--yellow-green);
  padding: 150px 120px 100px;
}

.vision__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-staff.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.vision__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.vision__img-col {
  position: relative;
  flex-shrink: 0;
}

.vision__img-wrapper {
  width: 300px;
}

.vision__img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}


.vision__text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.vision__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.8;
  text-align: left;
}

/* ===== レスポンシブ (SP: ~767px) ===== */
@media (max-width: 767px) {

  /* Hero SP */
  .about-hero {
    height: calc(100vh - 100px);
    margin-top: 100px;
  }

  .about-hero__title {
    font-size: 40px;
    letter-spacing: 2px;
  }

  /* 経歴 SP */
  .career {
    padding: 60px 20px 80px;
  }

  .career__inner {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .career__text-col {
    width: 100%;
    align-items: center;
  }

  .career__list {
    width: 100%;
  }

  .career__img-col {
    width: 180px;
  }

  /* MISSION SP */
  .mission {
    padding: 120px 20px 80px;
  }

  .mission__inner {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .mission__img-col {
    order: 2;
  }

  .mission__text-col {
    order: 1;
  }

  .mission__img-wrapper {
    width: 220px;
  }

  .mission__body {
    font-size: 15px;
  }

  /* VALUE SP */
  .value {
    padding: 80px 20px;
  }

  .value__list {
    gap: 30px;
  }

  .value-item__icon {
    width: 64px;
    height: 64px;
  }

  .value-item__title {
    font-size: 18px;
  }

  /* VISION SP */
  .vision {
    padding: 120px 20px 80px;
  }

  .vision__inner {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .vision__img-col {
    order: 2;
  }

  .vision__text-col {
    order: 1;
  }

  .vision__img-wrapper {
    width: 220px;
  }

  .vision__body {
    font-size: 15px;
  }
}

/* ===== News Hero ===== */
.news-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
  margin-top: 100px;
}

.news-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}

.news-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 64px;
  color: #ffffff;
  letter-spacing: 3.2px;
  line-height: 1;
  animation: fv-hero-fade-up 0.8s ease 0.1s both;
}

/* ===== News 一覧 ===== */
.news-body {
  background-color: var(--ivory);
  padding: 100px 120px;
}

.news-body__inner {
  display: flex;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.news-body__text-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-body__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-body__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  letter-spacing: 0.8px;
  line-height: 1.8;
}

.news-body__date {
  white-space: nowrap;
  font-weight: 500;
}

.news-body__desc {
  flex: 1;
}

.news-body__img-col {
  flex-shrink: 0;
  width: 300px;
}

.news-body__img-col img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== レスポンシブ (SP: ~767px) ===== */
@media (max-width: 767px) {

  /* Hero SP */
  .news-hero {
    height: calc(100vh - 100px);
    margin-top: 100px;
  }

  .news-hero__title {
    font-size: 40px;
    letter-spacing: 2px;
  }

  /* News 一覧 SP */
  .news-body {
    padding: 60px 20px 80px;
  }

  .news-body__inner {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .news-body__text-col {
    width: 100%;
    align-items: center;
  }

  .news-body__item {
    flex-direction: column;
    gap: 4px;
  }

  .news-body__img-col {
    width: 240px;
  }
}

/* ===== Hida Hero ===== */
.hida-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
  margin-top: 100px;
}

.hida-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}

.hida-hero__content {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  animation: fv-hero-fade-up 0.8s ease 0.1s both;
}

.hida-hero__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 48px;
  color: #ffffff;
  letter-spacing: 2.4px;
  line-height: 1.3;
}

.hida-hero__btn {
  display: inline-block;
}

/* ===== 事業紹介 ===== */
.hida-business {
  background-color: var(--ivory);
  padding: 80px 120px 100px;
}

.hida-business__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hida-business__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hida-business-item {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.hida-business-item__img {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

.hida-business-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hida-business-item__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.hida-business-item__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--dark-brown);
  letter-spacing: 1.1px;
}

.hida-business-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  line-height: 1.9;
  letter-spacing: 0.8px;
}

.hida-business__btn-wrap {
  display: flex;
  justify-content: flex-end;
}

/* ===== メディア掲載 ===== */
.hida-media {
  position: relative;
  background-color: var(--yellow-green);
  padding: 150px 120px 100px;
}

.hida-media__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-news.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hida-media__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.hida-media__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.hida-media-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hida-media-item__category {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--dark-brown);
  letter-spacing: 0.7px;
}

.hida-media-item__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--dark-brown);
  letter-spacing: 1px;
  line-height: 1.5;
}

.hida-media-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  line-height: 1.9;
  letter-spacing: 0.8px;
}

.hida-media-item__btn {
  align-self: flex-end;
  margin-top: 4px;
}

/* ===== 提携事例 ===== */
.hida-partner {
  position: relative;
  background-color: var(--ivory);
  padding: 150px 120px 100px;
}

.hida-partner__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-companies.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

.hida-partner__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hida-partner__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hida-partner-item {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.hida-partner-item__img {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
}

.hida-partner-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hida-partner-item__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.hida-partner-item__name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--dark-brown);
  letter-spacing: 1px;
}

.hida-partner-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  line-height: 1.9;
  letter-spacing: 0.8px;
}

/* ===== 日田商会 オリジナル商品 ===== */
.hida-original {
  position: relative;
  background-color: var(--yellow-green);
  padding: 150px 120px 100px;
}

.hida-original__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-news.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hida-original__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hida-original__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hida-original-item {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.hida-original-item__img {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
}

.hida-original-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hida-original-item__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.hida-original-item__name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--dark-brown);
  letter-spacing: 1px;
}

.hida-original-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  line-height: 1.9;
  letter-spacing: 0.8px;
}

/* ===== レスポンシブ (SP: ~767px) ===== */
@media (max-width: 767px) {

  /* Hero SP */
  .hida-hero {
    height: calc(100vh - 100px);
    margin-top: 100px;
  }

  .hida-hero__content {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    text-align: center;
    width: 90%;
  }

  .hida-hero__title {
    font-size: 28px;
    letter-spacing: 1.4px;
  }

  /* 事業紹介 SP */
  .hida-business {
    padding: 60px 20px 80px;
  }

  .hida-business__inner {
    gap: 40px;
  }

  .hida-business__list {
    gap: 40px;
  }

  .hida-business-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hida-business-item__img {
    width: 140px;
    height: 140px;
  }

  .hida-business-item__text {
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .hida-business-item__body {
    text-align: left;
  }

  .hida-business__btn-wrap {
    justify-content: center;
  }

  /* メディア掲載 SP */
  .hida-media {
    padding: 120px 20px 80px;
  }

  .hida-media__list {
    gap: 40px;
  }

  .hida-media-item__title {
    font-size: 17px;
  }

  .hida-media-item__body {
    font-size: 15px;
  }

  .hida-media-item__btn {
    align-self: center;
  }

  /* 提携事例 SP */
  .hida-partner {
    padding: 60px 20px 80px;
  }

  .hida-partner__inner {
    gap: 40px;
  }

  .hida-partner__list {
    gap: 40px;
  }

  .hida-partner-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hida-partner-item__img {
    width: 130px;
    height: 130px;
  }

  .hida-partner-item__text {
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .hida-partner-item__body {
    text-align: left;
  }

  /* オリジナル商品 SP */
  .hida-original {
    padding: 120px 20px 80px;
  }

  .hida-original__inner {
    gap: 40px;
  }

  .hida-original__list {
    gap: 40px;
  }

  .hida-original-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hida-original-item__img {
    width: 130px;
    height: 130px;
  }

  .hida-original-item__text {
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .hida-original-item__body {
    text-align: left;
  }
}

/* ===== supernova Hero ===== */
.sn-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
  margin-top: 100px;
}

.sn-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  max-width: 100%;
}

.sn-hero__content {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  animation: fv-hero-fade-up 0.8s ease 0.1s both;
}

.sn-hero__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 48px;
  color: #ffffff;
  letter-spacing: 2.4px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ===== 事業紹介 ===== */
.sn-business {
  background-color: var(--ivory);
  padding: 80px 120px 100px;
}

.sn-business__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.sn-business-item {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.sn-business-item__img {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

.sn-business-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-business-item__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}

.sn-business-item__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--dark-brown);
  letter-spacing: 1.1px;
}

.sn-business-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  line-height: 1.9;
  letter-spacing: 0.8px;
}

.sn-business__btn-wrap {
  display: flex;
  justify-content: flex-end;
}

/* ===== イベント ===== */
.sn-event {
  position: relative;
  background-color: var(--yellow-green);
  padding: 150px 120px 100px;
}

.sn-event__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/wave-news.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.sn-event__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.sn-event-item {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.sn-event-item__img {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

.sn-event-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-event-item__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}

.sn-event-item__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--dark-brown);
  letter-spacing: 1.1px;
}

.sn-event-item__body {
  font-weight: 400;
  font-size: 16px;
  color: var(--mocha-brown);
  line-height: 1.9;
  letter-spacing: 0.8px;
}

/* ===== レスポンシブ (SP: ~767px) ===== */
@media (max-width: 767px) {

  /* Hero SP */
  .sn-hero {
    height: calc(100vh - 100px);
    margin-top: 100px;
  }

  .sn-hero__title {
    font-size: 28px;
    letter-spacing: 1.4px;
    white-space: nowrap;
  }

  /* 事業紹介 SP */
  .sn-business {
    padding: 60px 20px 80px;
  }

  .sn-business__inner {
    gap: 40px;
  }

  .sn-business-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .sn-business-item__img {
    width: 140px;
    height: 140px;
  }

  .sn-business-item__text {
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .sn-business-item__body {
    text-align: left;
  }

  .sn-business__btn-wrap {
    justify-content: center;
  }

  /* イベント SP */
  .sn-event {
    padding: 120px 20px 80px;
  }

  .sn-event__inner {
    gap: 40px;
  }

  .sn-event-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .sn-event-item__img {
    width: 140px;
    height: 140px;
  }

  .sn-event-item__text {
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .sn-event-item__body {
    text-align: left;
  }
}

/* ===== Single Post ===== */
body.single .single-post {
  background-color: var(--ivory) !important;
  padding: 80px 120px 100px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin-top: 100px !important;
}

body.single .single-post__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

body.single .single-post__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 30px;
  border-bottom: 1px solid #d9cfc5;
}

body.single .single-post__date {
  font-size: 14px;
  color: var(--mocha-brown);
  letter-spacing: 0.7px;
}

/* body.single で詳細度を最大化してGutenbergを確実に上書き */
body.single h1.single-post__title,
body.single .single-post .single-post__title {
  font-family: 'Zen Maru Gothic', sans-serif !important;
  font-weight: 500 !important;
  font-size: 28px !important;
  color: var(--dark-brown) !important;
  line-height: 1.5 !important;
  letter-spacing: 1.4px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single .single-post__content {
  font-size: 16px !important;
  color: var(--mocha-brown) !important;
  line-height: 1.9 !important;
  letter-spacing: 0.8px !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

body.single .single-post__content p {
  margin-bottom: 1.6em;
  font-size: inherit;
}

body.single .single-post__content p:last-child {
  margin-bottom: 0;
}

body.single .single-post__content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 20px 0;
}

/* コンテンツ内の見出し（Gutenbergのwp-block-post-titleも含む） */
body.single .single-post__content h1,
body.single .single-post__content .wp-block-post-title {
  font-family: 'Zen Maru Gothic', sans-serif !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  color: var(--dark-brown) !important;
  margin: 2em 0 0.8em !important;
  line-height: 1.4 !important;
}

body.single .single-post__content h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 22px !important;
  font-weight: 500;
  color: var(--dark-brown);
  margin: 2em 0 0.8em;
  line-height: 1.4;
}

body.single .single-post__content h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px !important;
  font-weight: 500;
  color: var(--dark-brown);
  margin: 1.6em 0 0.6em;
  line-height: 1.4;
}

body.single .single-post__content .wp-block-image,
body.single .single-post__content figure {
  margin: 20px 0;
}

body.single .single-post__content .wp-block-image img,
body.single .single-post__content figure img {
  max-width: 100% !important;
  height: auto !important;
}

body.single .single-post__back {
  text-align: center;
}

/* ===== SP: Single Post ===== */
@media (max-width: 767px) {
  body.single .single-post {
    padding: 30px 20px 80px !important;
    margin-top: 100px !important;
  }

  body.single h1.single-post__title,
  body.single .single-post .single-post__title {
    font-size: 22px !important;
    letter-spacing: 0.8px !important;
  }

  body.single .single-post__content {
    font-size: 15px !important;
  }

  body.single .single-post__content h1,
  body.single .single-post__content .wp-block-post-title {
    font-size: 20px !important;
  }

  body.single .single-post__content h2 {
    font-size: 18px !important;
  }

  body.single .single-post__content h3 {
    font-size: 16px !important;
  }
}
}
