/*
Theme Name: Nara Mirai
Theme URI: https://mirai.okudaweb2026.shop/
Author: Okuda Web Studio
Description: 奈良みらい税理士事務所のオリジナルWordPressテーマ
Version: 1.0
*/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;

  color: #222;
  background: #f7f6f2;
}


/* ヘッダー */
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  padding: 12px 30px;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(38, 51, 46, 0.08);

  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

header.is-show {
  transform: translateY(0);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #26332e;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  position: relative;
  color: #26332e;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.55;
}

.nav-contact a {
  padding: 12px 20px;
  background: #e8e1d5;
  color: #26332e;
}

.nav-contact a:hover {
  opacity: 1;
  background: #34443d;
}

.menu-btn{
display:none;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  padding: 0 8%;
  
  background: #f7f7f4;
  color: #26332e;
}


/* =========================
   背景の数字
========================= */

.hero-numbers {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.hero-numbers span {
  position: absolute;

  font-family: Georgia, serif;
  font-size: clamp(80px, 12vw, 180px);

  color: rgba(40, 50, 45, 0.045);

  animation: numberFloat 8s ease-in-out infinite;
}


/* 数字の位置 */

.hero-numbers span:nth-child(1) {
  top: 8%;
  left: 5%;
}

.hero-numbers span:nth-child(2) {
  top: 20%;
  right: 8%;
  animation-delay: -2s;
}

.hero-numbers span:nth-child(3) {
  bottom: 5%;
  left: 12%;
  animation-delay: -4s;
}

.hero-numbers span:nth-child(4) {
  bottom: 10%;
  right: 5%;
  animation-delay: -6s;
}

.hero-numbers span:nth-child(5) {
  top: 45%;
  left: 20%;
  animation-delay: -8s;
}

.hero-numbers span:nth-child(6) {
  top: 30%;
  right: 25%;
  animation-delay: -10s;
}


/* 数字をゆっくり動かす */

@keyframes numberFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(30px, -20px) rotate(1deg);
  }

  50% {
    transform: translate(-20px, -40px) rotate(-1deg);
  }

  75% {
    transform: translate(-30px, 20px) rotate(1deg);
  }
}


/* =========================
   FV CONTENT
========================= */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}


/* 事務所名 */

.hero-office {
  margin: 0 0 32px;

  font-size: 17px;
  letter-spacing: 0.18em;
  color: #26332e;
}


/* メインコピー */

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);

  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;

  opacity: 0;

  animation: fadeUp 1s ease 0.5s forwards;
}

.hero h1 span {
  font-weight: 600;
  color: #53685e;
}


/* 説明 */

.hero-description {
  margin: 40px 0 0;
  font-size: 15px;
  line-height: 2;

  letter-spacing: 0.08em;

  opacity: 0;

  animation: fadeUp 1s ease 0.8s forwards;
}


/* =========================
   SCROLL
========================= */

.scroll {
  position: absolute;

  bottom: 45px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  font-size: 10px;
  letter-spacing: 0.2em;

  opacity: 0;

  animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-line {
  width: 1px;
  height: 50px;

  background: #333;

  animation: scrollLine 2s ease-in-out infinite;
}


/* =========================
   ANIMATION
========================= */

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

}


@keyframes fadeIn {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


@keyframes scrollLine {

  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

}


/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

  .hero {
    min-height: 600px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-office {
    margin-bottom: 25px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 54px);
    letter-spacing: 0.04em;
  }

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

  .hero-numbers span {
    font-size: 70px;
  }

  /* Header */
  header {
    padding: 12px 20px;
  }

  .header-inner {
    width: 100%;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: flex;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-btn span {
    display: block;
    width: 22px;
    height: 1px;
    background: #26332e;
  }

    .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 2;
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 20px 25px;
  }

  .nav li {
    border-bottom: 1px solid rgba(38, 51, 46, 0.1);
  }

  .nav a {
    display: block;
    padding: 18px 5px;
    font-size: 13px;
  }

  .nav-contact a {
    margin-top: 10px;
    padding: 15px 20px;
    background: #e8e1d5;
    text-align: center;
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(38, 51, 46, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
  }

  header.menu-open .overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-btn span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  header.menu-open .menu-btn span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  header.menu-open .menu-btn span:nth-child(2) {
    opacity: 0;
  }

  header.menu-open .menu-btn span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

}

/* =========================
   Concept
========================= */

.concept {
  padding: 130px 8%;
  background: #ffffff;
}

.concept-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.concept-heading {
  padding-top: 10px;
}

.section-number {
  margin: 0 0 30px;

  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: #999;
}

.concept-heading h2 {
  margin: 0;

  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.concept-text {
  padding-top: 50px;
}

.concept-text p {
  margin: 0 0 30px;

  font-size: 15px;
  line-height: 2.3;
  letter-spacing: 0.06em;
}

.concept-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;

  margin-top: 20px;
  padding-bottom: 10px;

  color: #222;
  text-decoration: none;

  border-bottom: 1px solid #222;

  font-size: 14px;
  letter-spacing: 0.1em;

  transition: gap 0.3s ease;
}

.concept-link:hover {
  gap: 40px;
}

.concept-link span {
  font-size: 20px;
}


/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

  .concept {
    padding: 100px 6%;
  }

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

  .concept-text {
    padding-top: 0;
  }

}

/* =========================
   Service
========================= */

.service {
  padding: 140px 8%;
  background: #f7f6f2;
}

.service-inner {
  max-width: 1200px;
  margin: 0 auto;
}


/* Heading */

.service-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  margin-bottom: 75px;
}

.service-heading .section-number {
  grid-column: 1 / -1;
  margin-bottom: -40px;
}

.service-heading h2 {
  margin: 0;
　white-space: nowrap;

  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.service-intro {
  align-self: end;

  margin: 0;

  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}


/* Service List */

.service-list {
  border-top: 1px solid #ccc;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  transition: background 0.3s ease;
}

.service-item:hover {
  background: #fff;
}

.service-number {
  display: block;

  margin-bottom: 10px;

  font-family: Georgia, serif;
  font-size: 13px;
  color: #999;
}

.service-item h3 {
  margin: 0 0 12px;

  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.service-item p {
  margin: 0;

  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.service-arrow {
  font-size: 28px;
  transition: transform 0.3s ease;
}

.service-item:hover .service-arrow {
  transform: translateX(10px);
}


/* =========================
   Service Responsive
========================= */

@media (max-width: 768px) {

  .service {
    padding: 100px 6%;
  }

  .service-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .service-heading .section-number {
    margin-bottom: 0;
  }

  .service-heading h2 {
    font-size: 32px;
  }

  .service-heading h2 br {
  display: none;
}

.service-heading h2 br.pc-br {
  display: block;
}

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

  .service-item {
    padding: 30px 10px;
  }

  .service-item:hover {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-item h3 {
    font-size: 20px;
  }

  .service-item p {
    font-size: 13px;
  }

  .service-arrow {
    font-size: 22px;
  }

}

/* =========================
   Case
========================= */

.case {
  padding: 140px 8%;
  background: #ffffff;
}

.case-inner {
  max-width: 1200px;
  margin: 0 auto;
}


/* Heading */

.case-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  margin-bottom: 75px;
}

.case-heading .section-number {
  grid-column: 1 / -1;
  margin-bottom: -40px;
}

.case-heading h2 {
  margin: 0;

  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.case-heading > p:last-child {
  align-self: center;
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}


/* Case List */

.case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-item {
  background: #f7f6f2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(38, 51, 46, 0.08);
}


/* Image */

.case-image {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 25px;
  background:
    linear-gradient(
      135deg,
      #e9e7e1,
      #f7f6f2
    );
}

.case-image span {
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #777;
}


/* Content */

.case-content {
  padding: 35px;
}

.case-category {
  margin: 0 0 20px;

  font-size: 12px;
  letter-spacing: 0.1em;
  color: #888;
}

.case-content h3 {
  margin: 0 0 25px;

  font-size: 23px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.case-description {
  margin: 0 0 30px;

  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;

  color: #222;
  text-decoration: none;

  font-size: 13px;
  letter-spacing: 0.1em;

  transition: gap 0.3s ease;
}

.case-link:hover {
  gap: 30px;
}


/* =========================
   Case Responsive
========================= */

@media (max-width: 768px) {

  .case {
    padding: 100px 6%;
  }

  .case-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .case-heading .section-number {
    margin-bottom: 0;
  }

  .case-heading h2 {
    font-size: 30px;
  }

  .case-heading > p:last-child {
    font-size: 14px;
  }

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

  .case-image {
    height: 220px;
  }

  .case-content {
    padding: 30px;
  }

  .case-content h3 {
    font-size: 21px;
  }

}

/* =========================
   Feature
========================= */

.feature {
  padding: 140px 8%;
  background: #f7f6f2;
}

.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
}


/* Heading */

.feature-heading {
  margin-bottom: 75px;
}

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

.feature-heading h2 {
  margin: 0;

  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}


/* Feature List */

.feature-list {
  border-top: 1px solid #ccc;
}

.feature-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 45px 20px;
  border-bottom: 1px solid #ccc;
}

.feature-number {
  font-family: Georgia, serif;
  font-size: 14px;
  color: #888;
}

.feature-content h3 {
  margin: 0 0 20px;

  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.feature-content p {
  max-width: 650px;

  margin: 0;

  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.06em;
}


/* =========================
   Feature Responsive
========================= */

@media (max-width: 768px) {

  .feature {
    padding: 100px 6%;
  }

  .feature-heading {
    margin-bottom: 60px;
  }

  .feature-heading h2 {
    font-size: 30px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 20px;

    padding: 35px 10px;
  }

  .feature-number {
    font-size: 13px;
  }

  .feature-content h3 {
    font-size: 21px;
  }

  .feature-content p {
    font-size: 14px;
  }

}

/* =========================
   Message
========================= */

.message {
  padding: 140px 8%;
  background: #ffffff;
}

.message-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}


/* Image */

.message-image {
  position: relative;
  top: -40px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  background:
    linear-gradient(
      135deg,
      #e9e7e1,
      #f7f6f2
    );
}

.message-image span {
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #777;
}


/* Content */

.message-content {
  padding: 20px 0;
}

.message-content .section-number {
  margin-bottom: 15px;
}

.message-label {
  margin: 0 0 35px;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #888;
}

.message-content h2 {
  margin: 0 0 35px;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.message-text {
  max-width: 650px;
  margin: 0 0 25px;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

.message-profile {
  margin-top: 50px;
  padding-top: 25px;

  border-top: 1px solid #ccc;
}

.message-role {
  margin: 0 0 10px;

  font-size: 12px;
  letter-spacing: 0.1em;
  color: #888;
}

.message-name {
  margin: 0;

  font-size: 18px;
  letter-spacing: 0.1em;
}


/* =========================
   Message Responsive
========================= */

@media (max-width: 768px) {

  .message {
    padding: 100px 6%;
  }

  .message-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .message-content {
    display: contents;
  }

  /* 05 */
.message-content .section-number {
  order: 1;
  width: 100%;
  text-align: left;
  margin-left: 0;
}

  /* MESSAGE */
  .message-content .message-label {
  order: 2;
  width: 100%;
  text-align: left;
  margin-left: 0;
}

  /* 代表写真 */
  .message-image {
    order: 3;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 40px 0 25px;
  }

  /* 代表者名 */
  .message-content .message-profile {
    order: 4;
    margin-top: 0;
    margin-bottom: 45px;
  }

  /* 見出し */
  .message-content h2 {
    order: 5;
    font-size: 30px;
    margin-bottom: 35px;
    letter-spacing: 0.04em;
  }

  /* 本文 */
  .message-content .message-text {
    order: 6;
    font-size: 14px;
  }

}

/* =========================
   News
========================= */

.news {
  padding: 140px 8%;
  background: #f7f6f2;
}

.news-inner {
  max-width: 1200px;
  margin: 0 auto;
}


/* Heading */

.news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 70px;
}

.news-heading .section-number {
  margin-bottom: 25px;
}

.news-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.08em;
}


/* More Link */

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #222;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: gap 0.3s ease;
}

.news-more:hover {
  gap: 30px;
}

.news-more span {
  font-size: 18px;
}


/* News List */

.news-list {
  border-top: 1px solid #ccc;
}

.news-item {
  display: grid;
  grid-template-columns: 120px 120px 1fr 30px;
  align-items: center;
  gap: 25px;
  padding: 30px 20px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  transition: background 0.3s ease;
}

.news-item:hover {
  background: #fff;
}

.news-item time {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #777;
}

.news-category {
  display: inline-block;
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid #bbb;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.news-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.news-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.news-item:hover .news-arrow {
  transform: translateX(8px);
}


/* =========================
   News Responsive
========================= */

@media (max-width: 768px) {

  .news {
    padding: 100px 6%;
  }

  .news-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }

  .news-heading h2 {
    font-size: 34px;
  }

  .news-item {
    grid-template-columns: 1fr 1fr 25px;
    gap: 12px;
    padding: 25px 10px;
  }

  .news-item time {
    grid-column: 1;
  }

  .news-category {
    grid-column: 2;
  }

  .news-item p {
    grid-column: 1 / 3;
    font-size: 13px;
  }

  .news-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

}

/* =========================
   FAQ
========================= */

.faq {
  padding: 140px 8%;
  background: #ffffff;
}

.faq-inner {
  max-width: 1000px;
  margin: 0 auto;
}


/* Heading */

.faq-heading {
  margin-bottom: 70px;
}

.faq-heading .section-number {
  margin-bottom: 25px;
}

.faq-heading h2 {
  margin: 0 0 25px;

  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.faq-heading > p:last-child {
  margin: 0;

  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
}


/* FAQ List */

.faq-list {
  border-top: 1px solid #ccc;
}

.faq-item {
  border-bottom: 1px solid #ccc;
}


/* Question */

.faq-question {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 30px 10px;

  border: none;
  background: transparent;

  color: #222;

  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.06em;

  text-align: left;

  cursor: pointer;
}

.faq-question:hover {
  opacity: 0.6;
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;

  transition: transform 0.3s ease;
}


/* Answer */

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;

  transition: grid-template-rows 0.4s ease;
}

.faq-answer p {
  overflow: hidden;

  margin: 0;
  padding: 0 50px 0 10px;

  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.05em;
}


/* Open */

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 30px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}


/* =========================
   FAQ Responsive
========================= */

@media (max-width: 768px) {

  .faq {
    padding: 100px 6%;
  }

  .faq-heading {
    margin-bottom: 60px;
  }

  .faq-heading h2 {
    font-size: 34px;
  }

  .faq-heading > p:last-child {
    font-size: 14px;
  }

  .faq-question {
    padding: 27px 5px;
    font-size: 14px;
    line-height: 1.8;
  }

  .faq-icon {
    flex-shrink: 0;
    margin-left: 20px;
  }

  .faq-answer p {
    padding-left: 5px;
    padding-right: 30px;

    font-size: 13px;
  }

  .faq-item.is-open .faq-answer p {
    padding-bottom: 25px;
  }

}

/* Contact */

.contact {
  padding: 160px 0;
  background: #26332e;
  color: #fff;
}

.contact-inner {
  width: min(1100px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-heading {
  position: relative;
}

.contact-heading .section-number {
  display: block;
  margin-bottom: 10px;

  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.contact-heading .section-label {
  margin: 0 0 40px;

  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

.contact-heading h2 {
  margin: 0;

  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.contact-content {
  padding-top: 80px;
}

.contact-lead {
  margin: 0 0 50px;

  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 30px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.4s ease,
              color 0.4s ease,
              border-color 0.4s ease;
}

.contact-button:hover {
  background: #fff;
  color: #26332e;
  border-color: #fff;
}

.contact-button-label {
  font-size: 15px;
  letter-spacing: 0.1em;
}

.contact-button-arrow {
  font-size: 20px;

  transition: transform 0.3s ease;
}

.contact-button:hover .contact-button-arrow {
  transform: translateX(8px);
}

.contact-button-tel {
  cursor: pointer;
}

.contact-button-tel span:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-button-tel small {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.contact-button-tel strong {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.contact-note {
  margin: 20px 0 0;

  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

/* Contact Responsive */

@media (max-width: 768px) {

  .contact {
    padding: 100px 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-heading .section-label {
    margin-bottom: 25px;
  }

  .contact-heading h2 {
    font-size: 34px;
  }

  .contact-content {
    padding-top: 0;
  }

  .contact-lead {
    margin-bottom: 35px;

    font-size: 14px;
  }

  .contact-button {
    padding: 20px;
  }

  .contact-button-tel strong {
    font-size: 20px;
  }

}

/* Footer */

.site-footer {
  padding: 70px 0 30px;
  background: #1d2723;
  color: #fff;
}

.footer-inner {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* 上部：事務所情報とナビゲーション */
.footer-info {
  margin: 0;
}

.footer-info p:first-child {
  margin: 0 0 25px;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.footer-info p:last-child {
  margin: 0;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.site-footer .footer-inner > .footer-nav {
  margin-top: 0;
}

.site-footer .footer-inner {
  position: relative;
}

.site-footer .footer-info {
  width: 50%;
}

.site-footer .footer-nav {
  width: 50%;
  margin-left: auto;
  margin-top: -100px;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: end;
  gap: 18px 60px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

/* 下部：ポリシーとコピーライト */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom p:first-child {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bottom p:first-child a {
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.4;
}

.footer-bottom p:first-child a:hover {
  opacity: 0.8;
}

.copyright {
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.4;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 50px 0 25px;
  }

  .site-footer .footer-info {
    width: 100%;
  }

  .site-footer .footer-nav {
    width: 100%;
    margin: 40px 0 0;
  }

  .footer-nav ul {
    justify-content: start;
    gap: 18px 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
  }


/* Footer Responsive */

@media (max-width: 768px) {

  .footer {
    padding: 60px 0 25px;
  }

  .footer-main {
    flex-direction: column;
    gap: 45px;

    padding-bottom: 45px;
  }

  .footer-nav ul {
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    gap: 20px;
  }

}

/* Scroll Animation */

.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Case Item Animation */

.case-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.case-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-item-1 {
  transition-delay: 0s;
}

.case-item-2 {
  transition-delay: 0.2s;
}

.case-item-3 {
  transition-delay: 0.4s;
}

/* Service Item Animation */

.service-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-item-1 {
  transition-delay: 0s;
}

.service-item-2 {
  transition-delay: 0.15s;
}

.service-item-3 {
  transition-delay: 0.3s;
}

.service-item-4 {
  transition-delay: 0.45s;
}

/* Feature Item Animation */

.feature-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-item-1 {
  transition-delay: 0s;
}

.feature-item-2 {
  transition-delay: 0.2s;
}

.feature-item-3 {
  transition-delay: 0.4s;
}

/* Message Animation */

.message-image {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s ease, transform 1s ease;
}

.message-content {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s ease 0.2s,
              transform 1s ease 0.2s;
}

.message-image.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.message-content.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* News Item Animation */

.news-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.news-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.news-item-1 {
  transition-delay: 0s;
}

.news-item-2 {
  transition-delay: 0.15s;
}

.news-item-3 {
  transition-delay: 0.3s;
}

.news-item-4 {
  transition-delay: 0.45s;
}

/* FAQ Item Animation */

.faq-item {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.faq-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item-1 {
  transition-delay: 0s;
}

.faq-item-2 {
  transition-delay: 0.15s;
}

.faq-item-3 {
  transition-delay: 0.3s;
}

.faq-item-4 {
  transition-delay: 0.45s;
}

.faq-item-5 {
  transition-delay: 0.6s;
}



/* =========================
   投稿ページ
========================= */

body.single-post .single-post-content {
  box-sizing: border-box;
  width: 84%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 160px 0 140px;
}

body.single-post .single-post-article {
  box-sizing: border-box;
  padding: 60px 70px;
  background: #fff;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

body.single-post .single-post-title {
  margin: 0 0 35px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

body.single-post .single-post-body p {
  margin: 0 0 25px;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

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

body.single-post .single-post-body a {
  color: #53685e;
  text-underline-offset: 4px;
}

@media (max-width: 768px) {
  body.single-post .single-post-content {
    width: 88%;
    padding: 110px 0 80px;
  }

  body.single-post .single-post-article {
    padding: 30px 22px;
  }

  body.single-post .single-post-title {
    font-size: 27px;
  }

  body.single-post .single-post-body p {
    font-size: 14px;
  }
}
