/*
Theme Name: Rioraz
Theme URI: https://rioraz.com
Author: Rioraz
Author URI: https://rioraz.com
Description: Rioraz オリジナルテーマ - シンプルでモダンなデザイン
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rioraz
Tags: blog, custom-menu, featured-images, responsive-layout
*/

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary:   #1a1a2e;
  --color-accent:    #ff3131;
  --color-bg:        #f8f8f8;
  --color-white:     #ffffff;
  --color-text:      #333333;
  --color-muted:     #777777;
  --color-border:    #e0e0e0;
  --font-sans:       'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:      'Noto Serif JP', Georgia, serif;
  --max-width:       1100px;
  --radius:          6px;
  --shadow:          0 2px 12px rgba(0, 0, 0, 0.08);
  --transition:      0.25s ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

ul, ol {
  padding-left: 1.5em;
}

/* ========================================
   Layout
======================================== */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 56px 0;
}

.content-area.full-width {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .content-area {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Header
======================================== */
.site-header {
  background: #fff;
  color: var(--color-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-bottom: solid 1px #b9b9b9;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 0;
  max-width: 1300px;
}

.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-branding .custom-logo,
.site-logo {
  max-height: 56px;
  width: auto;
  display: block;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo-link:hover {
  opacity: 0.85;
}

.site-title-link {
  text-decoration: none;
  color: var(--color-text);
}

.site-title-link:hover {
  opacity: 0.8;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* ========================================
   Navigation
======================================== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content:flex-end;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
}

.menu-item-sp-contact {
  display: none;
}

.main-nav ul li {
  position: relative;
}

.main-nav a {
  display: block;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 10px;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
  opacity: 1;
}

.main-nav a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.main-nav .current-menu-item > a {
  color: var(--color-text);
  opacity: 1;
}

.main-nav .current-menu-item > a::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-top: 4px;
}

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

.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-tel__icon {
  color: var(--color-text);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-tel__body {
  line-height: 1.4;
}

.header-tel__number {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--transition);
  opacity: 1;
}

.header-tel__number:hover {
  color: var(--color-accent);
  opacity: 1;
}

.header-tel__meta {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff3131;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  text-decoration: none;
  transition: background-color 0.2s;
  opacity: 1;
  white-space: nowrap;
}

.header-cta:hover {
  background-color: #d92020;
  color: #fff;
  opacity: 1;
}

.header-cta__arrow {
  font-size: 0.75rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .main-nav a {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .header-tel__number {
    font-size: 1.1rem;
  }

  .header-cta {
    padding: 12px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
    max-width: 1300px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .nav-close span {
    display: block;
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
  }

  .nav-close span:nth-child(1) {
    transform: rotate(45deg);
  }

  .nav-close span:nth-child(2) {
    transform: rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 0;
    box-shadow: none;
    border-top: none;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .main-nav a {
    display: block;
    width: 150px;
    padding: 18px 24px;
    font-size: 1.1rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav .current-menu-item > a::after {
    display: none;
  }

  .menu-item-sp-contact {
    display: block;
  }

  .header-right {
    display: none;
  }
}

/* ========================================
   Hero
======================================== */
.site-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #16213e 100%);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.site-hero .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.site-hero .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   Posts & Cards
======================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.post-card__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card__thumb .no-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.2);
}

.post-card__body {
  padding: 24px;
}

.post-card__meta {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.post-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.post-card__title a {
  color: var(--color-text);
}

.post-card__title a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ========================================
   Single Post
======================================== */
.post-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 56px 0 40px;
}

.post-hero__category {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.3;
  margin-bottom: 20px;
}

.post-hero__meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   業務内容 FV
======================================== */
.service-fv {
  background: var(--color-white);
}

.service-fv__image {
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  background: #c8c8c8;
  position: relative;
}

.service-fv__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-fv__title {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-fv__title-mark {
  color: var(--color-accent);
  font-style: normal;
}

@media (max-width: 768px) {
  .service-fv__image {
    aspect-ratio: 16 / 7;
  }

  .service-fv__title {
    padding: 16px 0 20px;
  }
}

/* ========================================
   業務内容 ナビゲーション
======================================== */
.service-nav {
  background: var(--color-white);
  padding: 48px 0 56px;
}

.service-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-nav__btn {
  display: inline-block;
  background: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.2s;
}

.service-nav__btn:hover {
  background: var(--color-accent);
}

.service-nav__btn--active {
  background: var(--color-accent);
}

@media (max-width: 768px) {
  .service-nav {
    padding: 32px 0 40px;
  }

  .service-nav__list {
    gap: 10px;
  }

  .service-nav__btn {
    padding: 10px 18px;
  }
}

/* ========================================
   業務内容 セクション共通
======================================== */
.service-section {
  position: relative;
  background: #ebebeb;
  padding: 72px 0 88px;
  overflow: hidden;
}

.service-section .container {
  background: #fff;
}

.service-section__label {
  display: inline-block;
  background: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 20px;
  margin-left: -24px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.service-section__lead {
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
}

.service-section__catch {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.service-section__catch-mark {
  color: var(--color-accent);
}

.service-section__desc {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text);
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}

.service-feature__image {
  flex: 0 0 48%;
  aspect-ratio: 4 / 3;
  background: #c0c0c0;
  overflow: hidden;
  position: relative;
}

.service-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-feature__text {
  flex: 1;
  padding: 0;
  position: relative;
  z-index: 1;
}

.service-feature--text-left .service-feature__text {
  order: -1;
}


.service-feature__title {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.service-feature__title-mark {
  color: var(--color-accent);
}

.service-feature__list {
  list-style: disc;
  padding-left: 1.4em;
  font-size: 0.92rem;
  line-height: 2.2;
  color: var(--color-text);
}

.service-section__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

.service-section__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff3131;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 4px 35px;
  text-decoration: none;
  transition: background-color 0.2s;
  opacity: 1;
}

.service-section__btn:hover {
  background-color: #cc0000;
}

@media (max-width: 768px) {
  .service-section {
    padding: 48px 0 64px;
  }

  .service-feature {
    flex-direction: column;
    margin-bottom: 48px;
  }

  .service-feature__image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .service-feature__text {
    flex: none;
    width: 100%;
    padding: 28px 24px;
    margin: 0 !important;
  }

  .service-feature--text-right {
    flex-direction: column-reverse;
  }
}

/* ========================================
   選ばれる理由 FV
======================================== */
.reason-fv {
  background: var(--color-white);
}

.reason-fv__image {
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  background: #c8c8c8;
  position: relative;
}

.reason-fv__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reason-fv__title {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reason-fv__title-mark {
  color: var(--color-accent);
  font-style: normal;
}

@media (max-width: 768px) {
  .reason-fv__image {
    aspect-ratio: 16 / 7;
  }

  .reason-fv__title {
    padding: 16px 0 20px;
  }
}

/* ========================================
   選ばれる理由 キャッチコピーセクション
======================================== */
.reason-catchcopy {
  position: relative;
  padding: 72px 0 80px;
  text-align: center;
  overflow: hidden;
}

.reason-catchcopy__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.reason-catchcopy__body {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--color-text);
  line-height: 2.1;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .reason-catchcopy {
    padding: 52px 0 60px;
  }

  .reason-catchcopy__body br {
    display: none;
  }

}

/* ========================================
   選ばれる理由 フィーチャーセクション
======================================== */
.reason-features {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.reason-feature {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 1;
}

.reason-feature:last-child {
  margin-bottom: 0;
}

.reason-feature__image {
  flex: 0 0 52%;
  aspect-ratio: 4 / 3;
  background: #c0c0c0;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.reason-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reason-feature__text {
  flex: 0 0 54%;
  background: var(--color-white);
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.reason-feature--text-left .reason-feature__text {
  margin-right: -6%;
  order: -1;
}

.reason-feature--text-right .reason-feature__text {
  margin-left: -6%;
}

.reason-feature__title {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reason-feature__title-mark {
  color: var(--color-accent);
}

.reason-feature__body {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 2;
}

@media (max-width: 768px) {
  .reason-features {
    padding: 56px 20px 72px;
  }

  .reason-feature {
    flex-direction: column-reverse;
    margin-bottom: 56px;
  }

  .reason-feature__image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .reason-feature__text {
    flex: none;
    width: 100%;
    padding: 28px 24px;
    margin: 0 !important;
  }

  .reason-feature--text-right {
    flex-direction: column;
  }

  .reason-features__buttons {
    gap: 16px;
  }

  .reason-features__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

.reason-features__buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.reason-features__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff3131;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 4px 35px;
  text-decoration: none;
  transition: background-color 0.2s;
  opacity: 1;
  white-space: nowrap;
}

.reason-features__btn:hover {
  background-color: #cc0000;
}

/* ========================================
   Post Thumbnail
======================================== */
.post-thumbnail {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-thumbnail img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* Entry Content */
.entry-content {
  font-size: 1rem;
  line-height: 1.9;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  margin: 2em 0 0.75em;
  line-height: 1.4;
}

.entry-content h2 { font-size: 1.5rem; border-left: 4px solid var(--color-accent); padding-left: 14px; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content h4 { font-size: 1.05rem; }

.entry-content p { margin-bottom: 1.4em; }

.entry-content blockquote {
  border-left: 4px solid var(--color-accent);
  margin: 1.5em 0;
  padding: 12px 20px;
  background: #f4f4f8;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-muted);
  font-style: italic;
}

.entry-content pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1.5em 0;
}

.entry-content code {
  background: #f0f0f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.88em;
}

.entry-content pre code {
  background: none;
  padding: 0;
}

.entry-content ul,
.entry-content ol {
  margin: 1em 0 1.4em;
}

.entry-content li { margin-bottom: 0.4em; }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  text-align: left;
}

.entry-content th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}

.entry-content tr:nth-child(even) td {
  background: #f8f8fc;
}

/* Tags */
.post-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-link {
  background: #f0f0f5;
  color: var(--color-muted);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
}

.tag-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
  opacity: 1;
}

/* Post Nav */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.nav-previous, .nav-next {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

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

.nav-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.nav-title {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .post-navigation {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Sidebar
======================================== */
.sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.widget {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.widget ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Search Form */
.search-form {
  display: flex;
  gap: 8px;
}

.search-field {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.search-field:focus {
  border-color: var(--color-accent);
}

.search-submit {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity var(--transition);
}

.search-submit:hover {
  opacity: 0.85;
}

/* ========================================
   Pagination
======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--color-accent);
  color: var(--color-white);
  opacity: 1;
}

/* ========================================
   Pre-footer CTA
======================================== */
.pre-footer {
  background: #f0f0f0;
  padding: 64px 24px;
}

.pre-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pre-footer__card {
  background: #fff;
  border-radius: 8px;
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
}

.pre-footer__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.pre-footer__title-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #ff3131;
  flex-shrink: 0;
}

.pre-footer__card-logo {
  width: 100%;
  height: 200px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  box-sizing: border-box;
}

.pre-footer__card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pre-footer__logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.pre-footer__card-img {
  width: 100%;
  height: 200px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.pre-footer__card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pre-footer__card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pre-footer__card-lead {
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.pre-footer__card-lead strong {
  font-weight: 700;
}

.pre-footer__card-body {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 28px;
}

.pre-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff3131;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 35px;
  text-decoration: none;
  transition: background-color 0.2s;
  opacity: 1;
  margin-top: auto;
}

.pre-footer__btn:hover {
  background-color: #a93226;
  color: #fff;
  opacity: 1;
}

.pre-footer__btn-text {
  text-align: center;
  width: 100%;
}

.pre-footer__btn-br {
  display: none;
}

@media (max-width: 768px) {
  .pre-footer__inner {
    grid-template-columns: 1fr;
  }

  .pre-footer__btn-br {
    display: inline;
  }
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: #f5f5f5;
  color: #333;
  margin-top: auto;
}

.footer-main {
  padding: 56px 24px 48px;
}

.footer-main__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.footer-logo__text {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.footer-tel {
  margin-bottom: 8px;
}

.footer-tel a {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 1;
}

.footer-tel a:hover {
  color: #ff3131;
  opacity: 1;
}

.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 13px;
  color: #555;
  line-height: 1.9;
}

.footer-address {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 13px;
  color: #555;
  line-height: 1.9;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer-nav ul li {
  font-size: 13px;
}

.footer-nav ul li::after {
  content: '　';
}

.footer-nav ul li:last-child::after {
  content: '';
}

.footer-nav__break {
  flex-basis: 100%;
  height: 0;
}

.footer-nav__break::after {
  content: none;
}

@media (max-width: 768px) {
  .footer-nav__break {
    display: none;
  }
}

.footer-nav a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
  opacity: 1;
}

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

.footer-main__map {
  width: 100%;
}

.footer-map-placeholder {
  width: 100%;
  height: 280px;
  background: #ddd;
  border-radius: 4px;
}

.footer-map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: #777;
  background: #ebebeb;
}

@media (max-width: 900px) {
  .footer-main__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-main {
    padding: 40px 20px 36px;
  }
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  border: none;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
}

/* ========================================
   404 & Search
======================================== */
.error-page,
.no-results {
  text-align: center;
  padding: 80px 0;
}

.error-page h1 {
  font-size: 6rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--color-muted);
  margin-bottom: 32px;
}

/* ========================================
   Comments
======================================== */
.comments-area {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.comments-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  margin-bottom: 24px;
}

.comment-body {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.comment-author {
  font-weight: 700;
  margin-bottom: 4px;
}

.comment-metadata {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.comment-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Comment Form */
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--color-accent);
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form .submit {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition);
}

.comment-form .submit:hover {
  opacity: 0.85;
}

/* ========================================
   Utility
======================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }

/* ========================================
   採用ページ イントロ
======================================== */
.recruit-intro {
  padding: 72px 0 80px;
}

.recruit-intro__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  text-align: center;
}

.recruit-intro__body {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--color-text);
  line-height: 2.2;
  letter-spacing: 0.03em;
  text-align: center;
}

.recruit-intro__accent {
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .recruit-intro {
    padding: 52px 0 60px;
  }

  .recruit-intro__body br {
    display: none;
  }

}

/* ========================================
   採用ページ 会社紹介
======================================== */
.recruit-about {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.recruit-about__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recruit-about__heading-mark {
  color: var(--color-accent);
}

.recruit-about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recruit-about__card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding-bottom: 32px;
}

.recruit-about__card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #c8c8c8;
  overflow: hidden;
  margin-bottom: 24px;
}

.recruit-about__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recruit-about__card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  padding: 0 24px;
}

.recruit-about__card-body {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.9;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .recruit-about__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .recruit-about {
    padding: 56px 0 72px;
  }

}

/* ========================================
   採用ページ 施工写真スライダー
======================================== */
.recruit-slider {
  overflow: hidden;
}

.recruit-slider__track {
  display: flex;
  width: max-content;
  animation: recruit-scroll 30s linear infinite;
}

.recruit-slider__track:hover {
  animation-play-state: paused;
}

.recruit-slider__item {
  width: 280px;
  height: 200px;
  flex-shrink: 0;
  background: #444;
  overflow: hidden;
  margin: 0 8px;
}

.recruit-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes recruit-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .recruit-slider__item {
    width: 200px;
    height: 150px;
  }
}

/* ========================================
   採用ページ 求める人物像
======================================== */
.recruit-wanted {
  background: var(--color-white);
  padding: 80px 0 88px;
}

.recruit-wanted .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recruit-wanted__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.recruit-wanted__heading-mark {
  color: var(--color-accent);
}

.recruit-wanted__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.recruit-wanted__list li {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.03em;
  padding-left: 1.4em;
  position: relative;
}

.recruit-wanted__list li::before {
  content: '・';
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .recruit-wanted {
    padding: 56px 0 64px;
  }
}

/* ========================================
   採用ページ よくある質問
======================================== */
.recruit-faq {
  background: #f0f0f0;
  padding: 80px 0 88px;
}

.recruit-faq__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recruit-faq__heading-mark {
  color: var(--color-accent);
}

.recruit-faq__item {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  margin-bottom: 16px;
  overflow: hidden;
}

.recruit-faq__item[open] .recruit-faq__question::after {
  transform: rotate(180deg);
}

.recruit-faq__question {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 700;
  color: var(--color-text);
  padding: 24px 56px 24px 28px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}

.recruit-faq__question::-webkit-details-marker {
  display: none;
}

.recruit-faq__question::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  translate: 0 -50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.recruit-faq__item[open] .recruit-faq__question::after {
  transform: rotate(-135deg);
  translate: 0 -20%;
}

.recruit-faq__answer {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1.8;
  padding: 0 28px 24px;
  margin: 0;
}

@media (max-width: 768px) {
  .recruit-faq {
    padding: 56px 0 64px;
  }

  .recruit-faq__question {
    padding: 20px 48px 20px 20px;
  }

  .recruit-faq__answer {
    padding: 0 20px 20px;
  }
}

/* ========================================
   採用ページ 募集要項
======================================== */
.recruit-requirements {
  background: var(--color-white);
  padding: 80px 0 88px;
}

.recruit-requirements .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recruit-requirements__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recruit-requirements__heading-mark {
  color: var(--color-accent);
}

.recruit-requirements__table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
}

.recruit-requirements__table th,
.recruit-requirements__table td {
  padding: 20px 24px;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  vertical-align: middle;
}

.recruit-requirements__table th {
  width: 160px;
  background: #e8e8e8;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--color-accent);
}

.recruit-requirements__table td {
  background: #f5f5f5;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.recruit-requirements__table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .recruit-requirements {
    padding: 56px 0 64px;
  }

  .recruit-requirements__table th {
    width: 100px;
    padding: 16px 16px;
  }

  .recruit-requirements__table td {
    padding: 16px 16px;
  }
}

/* ========================================
   採用ページ エントリーフォーム
======================================== */
.recruit-entry {
  background: #f0f0f0;
  padding: 80px 0 100px;
}

.recruit-entry__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recruit-entry__heading-mark {
  color: var(--color-accent);
}

.recruit-entry__form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recruit-entry__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recruit-entry__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.recruit-entry__required {
  color: var(--color-accent);
  margin-left: 4px;
}

.recruit-entry__input,
.recruit-entry__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  font-size: 1rem;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.recruit-entry__input:focus,
.recruit-entry__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.recruit-entry__textarea {
  resize: vertical;
  min-height: 140px;
}

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

.recruit-entry__privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}

.recruit-entry__privacy-label a {
  color: var(--color-text);
  text-decoration: underline;
}

.recruit-entry__submit-wrap {
  text-align: center;
}

.recruit-entry__submit {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 16px 64px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.recruit-entry__submit:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .recruit-entry {
    padding: 56px 0 72px;
  }

}

/* ========================================
   お問い合わせフォーム
======================================== */
.contact-form-section {
  padding: 80px 0 100px;
  background: #f0f0f0 url('./assets/images/contact-form-section_bk.png') center center / cover no-repeat;
}

.contact-form-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form-section__title-mark {
  color: var(--color-accent);
}

.contact-form-section .wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__field .wpcf7-form-control-wrap {
  display: block;
}

.contact-form__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.contact-form__required {
  color: var(--color-accent);
  margin-left: 4px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  font-size: 1rem;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

select.contact-form__input {
  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 d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

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

.contact-form__privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}

.contact-form__privacy-label a {
  color: var(--color-text);
  text-decoration: underline;
}

.contact-form__submit-wrap {
  text-align: center;
}

.contact-form__submit {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 16px 64px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-form__submit:hover {
  opacity: 0.85;
}

.contact-form-section__tel-wrap {
  text-align: center;
  margin-top: 48px;
}

.contact-form-section__tel-btn {
  display: inline-block;
}

.contact-form-section__tel-btn img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .contact-form-section {
    padding: 56px 0 72px;
  }
}

/* ========================================
   ページトップボタン
======================================== */
.page-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
  z-index: 999;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background-color: #cc0000;
}

@media (max-width: 768px) {
  .page-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
