/*
Theme Name: Agro HP
Theme URI:
Author: Agro
Author URI:
Description: Agro HP 用カスタムテーマ
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agro-hp
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: #111618;
  background-color: #fff;
}

a {
  color: #1e68a2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul, ol {
  list-style: none;
}

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

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
  width: 100%;
  display: flex;
  gap: 2rem;
}

.content-area {
  flex: 1;
}

.widget-area {
  width: 300px;
  flex-shrink: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0f3f4;
}

.header-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
}
.site-branding-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-branding-link:hover {
  text-decoration: none;
}
.site-logo-icon {
  width: 6rem;
  color: #1e68a2;
}

.site-logo-icon svg {
  width: 100%;
  height: 100%;
}

.site-logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: #111618;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  gap: 2rem;
}

.main-navigation li {
  list-style: none;
}

.main-navigation a {
  color: #111618;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: #1e68a2;
  text-decoration: none;
}

/* Contact Button */
.btn-contact {
  display: inline-block;
  background-color: #1e68a2;
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(30, 104, 162, 0.2);
}

.btn-contact:hover {
  background-color: rgba(30, 104, 162, 0.9);
  text-decoration: none;
  color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #111618;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #fff;
  border-top: 1px solid #e1eef6;
  padding: 1.25rem 0 1rem;
  color: #617c89;
  font-size: 0.85rem;
  text-align: left;
}

.site-footer a {
  color: #111618;
}

.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-top: 1.25rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 900;
  color: #111618;
  letter-spacing: -0.025em;
}

.footer-brand-info {
  font-size: 0.625rem;
  color: #617c89;
  line-height: 1.6;
}

.footer-brand-name-sub {
  font-weight: 700;
  color: #111618;
  font-size: 0.6875rem;
}

.footer-nav #footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 2.5rem;
  list-style: none;
  max-width: 520px;
}

.footer-nav #footer-menu li a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111618;
  text-decoration: none;
  letter-spacing: -0.025em;
  transition: color 0.2s ease;
}

.footer-nav #footer-menu li a:hover {
  color: #1e68a2;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #e1eef6;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.5625rem;
  color: #617c89;
}

/* ==========================================================================
   Posts & Pages
   ========================================================================== */

.entry-header {
  margin-bottom: 1.5rem;
}
.entry-title {
  font-size: 1.8rem;
  line-height: 1.4;
}
.entry-title a {
  color: #333;
}
.entry-meta {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.5rem;
}
.entry-content {
  margin-bottom: 2rem;
}
.entry-content p {
  margin-bottom: 1.2rem;
}
.entry-footer {
  font-size: 0.85rem;
  color: #777;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}
article.post {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e0e0e0;
}
article.post:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination .page-numbers {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.pagination .page-numbers.current {
  background-color: #1e68a2;
  color: #fff;
  border-color: #1e68a2;
}

/* ==========================================================================
   Sidebar / Widgets
   ========================================================================== */

.widget {
  margin-bottom: 2rem;
}
.widget-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1e68a2;
}
.widget ul li {
  padding: 0.3rem 0;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
  margin-top: 3rem;
}
.comments-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.comment-list {
  list-style: none;
}
.comment-list .comment {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.comment-respond {
  margin-top: 2rem;
}

/* ==========================================================================
   404 / Search
   ========================================================================== */

.error-404 .page-title,
.search-results .page-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.search-form {
  display: flex;
  gap: 0.5rem;
}
.search-form .search-field {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.search-form .search-submit {
  padding: 0.5rem 1.5rem;
  background-color: #1e68a2;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.search-form .search-submit:hover {
  background-color: #005f8a;
}

/* ==========================================================================
   Front Page
   ========================================================================== */

.front-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
/* Hero */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  margin: auto 0;
  width: 100%;
  height: 60vh;
}
.hero-inner {
  margin: 6rem 0 0 4rem;
}
.hero-title {
  font-size: 2.5rem;
  color: #fff;
  font-family: serif;
  width: 100%;
}
.hero-description {
  font-size: 1.2rem;
  color: #fff;
}

/* スマホかいぎヘルパー */
.sp-br { display: none; }

/* Section */
.front-section {
  padding: 4rem 2rem;
}
.section-inner {
  /* max-width: 1200px; */
  margin: 0 auto;
}
.section-title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #1e68a2;
  margin: 0.75rem auto 0;
}

/* ==========================================================================
   Strengths Section
   ========================================================================== */

.strengths-section {
  background-color: #fff;
  padding: 4rem 1.5rem 5rem;
}

.strengths-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Strengths Header */
.strengths-header {
  text-align: center;
  padding-bottom: 3rem;
}
.strengths-header02 {
  text-align: left;
  padding-bottom: 3rem;
}

.strengths-label {
  display: block;
  color: #1e68a2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.strengths-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #111618;
  line-height: 1.3;
}

.strengths-header-line {
  width: 100%;
  height: 2px;
  background-color: rgba(30, 104, 162, 0.1);
  margin-top: 0.5rem;
}

/* Strength Block */
.strength-block {
  margin-bottom: 0;
}

.strength-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 769px) {
  .strength-row {
    flex-direction: row;
  }

  .strength-row--reverse {
    flex-direction: row-reverse;
  }
}

/* Strength Text */
.strength-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

@media (min-width: 769px) {
  .strength-text {
    width: 35%;
    align-items: flex-start;
    text-align: left;
    padding: 0 3rem 0 0;
  }

  .strength-text--right {
    align-items: flex-end;
    text-align: right;
    padding: 0 0 0 3rem;
  }
}

.strength-number {
  font-family: serif;
  font-style: italic;
  font-size: 1.875rem;
  color: rgba(30, 104, 162, 0.1);
  user-select: none;
  display: block;
}

.strength-title {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.strength-title-ja {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e68a2;
  line-height: 1;
  letter-spacing: -0.05em;
}

@media (min-width: 1024px) {
  .strength-title-ja {
    font-size: 1.875rem;
  }
}

.strength-title-en {
  font-family: serif;
  font-style: italic;
  font-size: 1.125rem;
  color: #64748b;
}

.strength-accent-line {
  width: 2rem;
  height: 2px;
  background-color: #1e68a2;
  margin-top: 1rem;
}

/* Strength Image */
.strength-image {
  width: 100%;
}

@media (min-width: 769px) {
  .strength-image {
    width: 65%;
  }
}

.strength-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.strength-image-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.strength-image-wrap:hover img {
  transform: scale(1.05);
}

/* Strength Image Grid (02) */
.strength-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
}

.strength-image-grid-col {
  display: flex;
  flex-direction: column;
}

.strength-image-grid-col img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* ==========================================================================
   Packs Section
   ========================================================================== */

.packs-section {
  padding: 4rem 10%;
  min-height: 280px;
}

.packs-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* Background image grid */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 100%;
}

.packs-grid-item {
  position: relative;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.packs-grid-item:last-child {
  border-right: none;
}

.packs-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay band */
.packs-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.packs-overlay-band {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /* padding: 1.5rem 1rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.packs-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.packs-title-accent {
  color: #fde047;
}

.packs-subtitle {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* "Learn more" link */
.packs-link {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e68a2;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.375rem 1.5rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.packs-link:hover {
  background-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.packs-link-arrow {
  font-size: 1rem;
}

/* Packs responsive */
@media (max-width: 768px) {
  .packs-section {
    padding: 2rem 1rem;
  }

  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packs-title {
    font-size: 1.5rem;
  }

  .packs-subtitle {
    font-size: 0.875rem;
  }

  .packs-link {
    bottom: 0.5rem;
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
  }
}

/* Post Grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

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

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

.post-card-body {
  padding: 1.2rem;
}

.post-card-date {
  font-size: 0.8rem;
  color: #999;
}

.post-card-title {
  font-size: 1.05rem;
  margin: 0.4rem 0 0.6rem;
  line-height: 1.5;
}

.post-card-title a {
  color: #333;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: #666;
}

.section-more {
  text-align: center;
  margin-top: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline {
  border: 2px solid #1e68a2;
  color: #1e68a2;
  background: transparent;
}

.btn-outline:hover {
  background-color: #1e68a2;
  color: #fff;
  text-decoration: none;
}

/* 施工事例セクション */
/* カードを並べるグリッド */
.works-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* カード本体 */
.works-card {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
}
/* 画像エリア */
.works-card-image {
    flex: 0 0 55%;
}
.works-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* テキストエリア */
.works-card-content {
    flex: 1;
    padding: 0 20px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 青色のカテゴリー文字 */
.category-label {
    color: #1e68a2;
    font-weight: bold;
    font-size: 0.6rem;
    text-transform: uppercase;
}
.main-title {
    font-size: 1rem;
    margin-top: 5px;
    font-weight: bold;
    line-height: 1.2;
}
/* 費用エリア */
.cost-label {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}
.cost-value {
    color: #1e68a2;
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
}


/* 費用目安セクション */
/* カードを並べるグリッド */
.cost-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* カード本体 */
.cost-card {
    display: flex;
    /* 横並びにする */
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    /* 高さを揃える */
}

/* 画像エリア */
.cost-card-image {
    flex: 0 0 55%;
    /* 幅を45%に固定 */
}

.cost-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像を枠いっぱいに収める */
}

/* テキストエリア */
.cost-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cost-title {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: bold;
}
.cost-estimate {
    color: #1e68a2;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.cost-text {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}

/* ==========================================================================
   Cost Estimation Page (ce-card)
   ========================================================================== */
.ce-section {
    padding: 0 0 2rem;
}

.ce-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .ce-card {
        flex-direction: row;
    }
}

.ce-card-image {
    width: 100%;
    max-height: 22rem;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .ce-card-image {
        width: 33.333%;
        height: auto;
    }
}

.ce-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.ce-card-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.ce-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ce-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e68a2;
    margin: 0;
}

.ce-card-desc {
    font-size: 0.875rem;
    color: #617c89;
    line-height: 1.75;
    margin: 0;
}

.ce-card-bottom {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ce-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.ce-card-label {
    display: block;
    font-size: 0.625rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

/* .ce-card-period-value {
    font-size: 0.9375rem;
    font-weight: 500;
} */

.ce-card-period{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ce-card-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ce-card-period-value,
.ce-card-total-value {
    font-size: 1.625rem;
    font-weight: 900;
    color: #1e68a2;
    line-height: 1;
}

.ce-card-total-suffix {
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 0.25rem;
}

.ce-card-breakdown {
    background: #eff6ff;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #617c89;
    font-weight: 500;
}

.ce-card-breakdown-op {
    color: #1e68a2;
}

.ce-card-breakdown-total {
    color: #1e68a2;
    font-weight: 700;
}
/* リスト全体のコンテナ */
.news-container {
    /* max-width: 1200px; */
    display: flex;
    flex-flow: column;
    text-decoration: none;
    align-items: center;
}

/* 各投稿アイテム */
.top-news-item,
.news-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  min-height: 170px;
}
.top-news-item{
  margin-bottom: 2rem;
}
.news-item {
  margin-bottom: 4rem;
}
.top-news-meta,
.news-meta {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 40px;
  align-items: center;
}
.news-date {
  color: #1e68a2;
  font-weight: bold;
  font-family: Arial, sans-serif;
}
.news-category {
  display: inline-block;
  background-color: #eef4ff;
  color: #1e68a2;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}

/* テキスト部分 */
.news-body {
  flex: 1;
  /* 残りの幅をすべて使う */
}
.news-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.4;
}
.news-excerpt {
  font-size: 1rem;
  line-height: 1.6;
}
.news-excerpt--sp { display: none; }

/* 画像部分 */
.top-news-image {
  flex: 0 0 200px;
  height: 140px;
  margin-left: 40px;
}
.top-news-image img,
.news-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.news-image{
  flex: 0 0 30rem;
  margin-left: 2rem;
}

@media (max-width: 1024px) {
  .news-item {
    flex-direction: column;
    min-height: 0;
    padding-bottom: 1.5rem;
    gap: 0.75rem;
  }
  .news-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: 0;
    order: 2;
  }
  .news-image img {
    width: 80%;
    /* height: 100%; */
    object-fit: cover;
  }

}
/* スマホ対応 */
@media (max-width: 768px) {
  .cost-container {
    grid-template-columns: 1fr;
  }
  .cost-card {
    height: 140px;
  }
  .cost-text {
    display: none;
  }
  .top-news-item {
    flex-direction: column;
    height: auto;
    gap: 0.75rem;
  }
  .top-news-image{
    flex: 0 0 auto;
    width: 100%;
    height: 180px;
    margin-left: 0;
    order: 2;
  }
  .top-news-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .news-date,
  .news-excerpt{
    font-size: 0.8rem;
  }
  .news-category {
    font-size: 0.6rem;
    padding: 0.1rem 0.2rem;
  }
  .news-excerpt--pc { display: none; }
  .news-excerpt--sp { display: block; }
}

/* ==========================================================================
   About Us Section
   ========================================================================== */

/* ==========================================================================
   Service Examples Page
   ========================================================================== */

.se-layout {
    max-width: 1480px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem 5rem;
}

.se-breadcrumb,
.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}
.se-breadcrumb a {
    color: #617c89;
    text-decoration: none;
    transition: color 0.2s ease;
}
.se-breadcrumb a:hover,
.about-breadcrumb a:hover {
    color: #1e68a2;
    text-decoration: none;
}
.se-breadcrumb span {
    color: #617c89;
}
.se-breadcrumb span:last-child {
    color: #111618;
    font-weight: 500;
}
.about-breadcrumb a{
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-breadcrumb span {
    color: #ffffff;
}
.about-breadcrumb span:last-child {
    color: #ffffff;
    font-weight: 500;
}

.se-page-header {
    padding: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.se-section {
    padding: 3rem 0;
    border-top: 1px solid #dbe2e6;
}
.se-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .se-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .se-layout {
        padding: 1rem 1rem 4rem;
    }
    .se-grid {
        grid-template-columns: 1fr;
    }
    .se-page-title {
        font-size: 1.75rem;
    }
}

.se-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.se-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-color: rgba(30,104,162,0.2);
}

.se-card-image {
    height: 15rem;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.se-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.se-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111618;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
    transition: color 0.2s ease;
}

.se-card:hover .se-card-title {
    color: #1e68a2;
}

.se-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.se-card-cost,
.se-card-duration {
    display: flex;
    flex-direction: column;
}

.se-card-duration {
    text-align: right;
}

.se-card-meta-label {
    font-size: 0.625rem;
    color: #617c89;
    line-height: 1;
}

.se-card-cost-value,
.se-card-duration-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1e68a2;
    line-height: 1.3;
}

/* CTA */
.se-cta {
    padding: 4rem 0 1rem;
}

.se-cta-inner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.se-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111618;
    margin-bottom: 1rem;
}

.se-cta-text {
    font-size: 1rem;
    color: #617c89;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.se-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #1e68a2;
    color: #fff;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(30,104,162,0.25);
}

.se-cta-btn:hover {
    background-color: rgba(30,104,162,0.9);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 24px rgba(30,104,162,0.35);
}

.se-cta-btn svg {
    transition: transform 0.2s ease;
}

.se-cta-btn:hover svg {
    transform: translateX(4px);
}

/* SE Nav */
.se-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 0;
    position: sticky;
    top: 80px;
    background-color: #fff;
    z-index: 40;
    border-bottom: 1px solid #f0f3f4;
    margin-bottom: 0.5rem;
}

.se-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111618;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.se-nav-btn:hover {
    border-color: #1e68a2;
    color: #1e68a2;
    text-decoration: none;
}

.se-nav-btn--active {
    background-color: #1e68a2;
    color: #fff;
    border-color: #1e68a2;
    box-shadow: 0 2px 8px rgba(30, 104, 162, 0.25);
}

.se-nav-btn--active:hover {
    background-color: rgba(30, 104, 162, 0.9);
    color: #fff;
    text-decoration: none;
}

.se-nav-arrow {
    font-size: 0.7rem;
    line-height: 1;
}

/* Dropdown */
.se-nav-dropdown-wrap {
    position: relative;
}

.se-nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    z-index: 60;
    white-space: nowrap;
}

.se-nav-dropdown--open {
    display: flex;
    gap: 0.25rem;
}

.se-nav-dropdown a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111618;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.se-nav-dropdown a:hover {
    background-color: #f0f6fc;
    color: #1e68a2;
    text-decoration: none;
}

/* Section heading */
.se-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.se-section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111618;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.se-section-bar {
    display: inline-block;
    width: 0.5rem;
    height: 2rem;
    background-color: #1e68a2;
    border-radius: 9999px;
    flex-shrink: 0;
}

/* Sub-section */
.se-subsection {
    margin-bottom: 3rem;
    scroll-margin-top: 160px;
}

.se-subsection-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #617c89;
    margin-bottom: 1.25rem;
    padding-left: 0.75rem;
    border-left: 3px solid rgba(30, 104, 162, 0.35);
}

/* Scroll margin for anchor targets */
#se-sections,
#water,
#electrical,
#other {
    scroll-margin-top: 130px;
}

@media (max-width: 768px) {
    #se-sections,
    #water,
    #water-bath,
    #water-toilet,
    #water-vanity,
    #water-kitchen {
        scroll-margin-top: 160px;
    }

    .se-nav {
        top: 64px;
        gap: 0.5rem;
    }
    .se-nav-dropdown {
      left: -4rem;
      padding: 0;
      white-space: nowrap;
    }
}

/* ==========================================================================
   Inner Page Templates
   ========================================================================== */

.page-hero-section {
    text-align: center;
    margin-top: 2rem;
}

.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111618;
    line-height: 1.3;
}

.page-hero-desc {
    font-size: 1.125rem;
    color: #111618;
    line-height: 1.8;
}

/* ページネーション */
.page-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    color: #111618;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-pagination .page-numbers:hover {
    border-color: #1e68a2;
    color: #1e68a2;
    text-decoration: none;
}

.page-pagination .page-numbers.current {
    background-color: #1e68a2;
    color: #fff;
    border-color: #1e68a2;
}

/* お知らせ一覧でリンクとして使う */
.news-item--link {
    display: flex;
    color: inherit;
    pointer-events: none;
    text-decoration: none;
    cursor: inherit;
}

.news-item--link:hover {
    text-decoration: none;
}

.news-item--link:hover .news-title {
    color: #1e68a2;
}

/* ツールバー（件数・並び替え） */
.news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.news-toolbar-count {
    font-size: 0.875rem;
    color: #6b7280;
}

.news-toolbar-count-num {
    font-weight: 700;
    color: #111618;
    margin: 0 0.25rem;
}

.news-toolbar-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-toolbar-sort-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.news-toolbar-select {
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    color: #111618;
}

.news-list-section {
    display: flex;
    flex-direction: column;
}

/* お知らせページネーション */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    color: #111618;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.news-pagination .page-numbers:hover {
    background-color: #f9fafb;
}

.news-pagination .page-numbers.current {
    background-color: #1e68a2;
    color: #fff;
    font-weight: 700;
    border-color: #1e68a2;
}

.news-pagination .page-numbers.dots {
    border: none;
    color: #9ca3af;
    width: auto;
    padding: 0 0.5rem;
    pointer-events: none;
}

.news-pagination .prev.page-numbers,
.news-pagination .next.page-numbers {
    color: #6b7280;
}


/* ==========================================================================
   About Us Section
   ========================================================================== */

/* Hero */
.about-hero-section {
    position: relative;
    min-height: 360px;
    background-image: linear-gradient(to right, rgba(16, 28, 34, 0.9) 0%, rgba(19, 164, 236, 0.4) 100%), url('images/aboutUs_top.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.about-hero-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 2.5rem 5rem;
    width: 100%;
}

.about-hero-content {
    max-width: 48rem;
}

.about-hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 2rem 0 1.5rem;
}

.about-hero-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75;
}

/* Main Container */
.about-main {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 5rem;
}

/* Mission / Vision / Table Section */
.about-mv-section {
    padding: 3rem 1.5rem;
}

.about-mv-inner {
    max-width: 56rem;
    margin: 0 auto;
}

.about-mv-inner h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #111618;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.about-mv-inner p {
    font-size: 1.125rem;
    color: #333;
    line-height: 1.75;
    margin-bottom: 4rem;
}

/* 企業情報テーブル */
.about-mv-inner .wp-block-table,
.about-mv-inner figure.wp-block-table {
    margin: 0;
    border: 1px solid #dbe2e6;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.about-mv-inner .wp-block-table::before,
.about-mv-inner figure.wp-block-table::before {
    content: "企業情報";
    display: block;
    background-color: #1e68a2;
    color: #fff;
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.about-mv-inner .wp-block-table table,
.about-mv-inner figure.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    text-align: left;
}

.about-mv-inner .wp-block-table tbody tr,
.about-mv-inner figure.wp-block-table tbody tr {
    border-bottom: 1px solid #f0f3f4;
}

.about-mv-inner .wp-block-table tbody tr:last-child,
.about-mv-inner figure.wp-block-table tbody tr:last-child {
    border-bottom: none;
}

.about-mv-inner .wp-block-table th,
.about-mv-inner figure.wp-block-table th {
    padding: 1.5rem 2rem;
    background-color: #fbfcfd;
    width: 33%;
    font-weight: 700;
    color: #111618;
    text-align: left;
    border: none;
}

.about-mv-inner .wp-block-table td,
.about-mv-inner figure.wp-block-table td {
    padding: 1.5rem 2rem;
    color: #333;
    border: none;
}

/* トップページ 会社概要カード内テーブル */
.about-us-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.about-us-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    text-align: left;
}
.about-us-content table tr {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.about-us-content table tr:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.about-us-content table td {
    padding: 0;
    border: none;
    background: none;
    text-align: left;
    line-height: 1.8;
    color: #111618;
    flex: 1;
}
.about-us-content table th {
    flex: 0 0 10rem;
    font-weight: 700;
    color: #111618;
}
.about-us-content table td:first-child {
    flex: 0 0 10rem;
    font-weight: 700;
}

/* About section (maker) */
.about-section {
    background-color: #f9fafb;
    padding: 3rem 1.5rem;
}

/* 主要取引メーカー */
.about-us-maker-section {
    padding-top: 2.5rem;
}

.about-us-maker-heading {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.about-us-maker-heading::after {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background-color: #1e68a2;
}

.about-us-maker ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    list-style: none;
    max-width: 56rem;
    margin: 0 auto;
}

.about-us-maker ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    transition: opacity 0.2s ease;
    filter: grayscale(1);
}

.about-us-maker ul li:hover {
    filter: grayscale(0);
    color: #1e68a2;
}

.about-us-maker table td {
    border: none;
    background: none;
    font-weight: bold;
    font-size: 1.25rem;
    font-family: serif;
}

.about-us-maker table td:first-child {
    font-size: 0.8rem;
    font-family: serif;
}

.about-us-maker table td img {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.25rem;
    }

    .about-hero-desc {
        font-size: 1rem;
    }

    .about-mv-inner .wp-block-table th,
    .about-mv-inner figure.wp-block-table th,
    .about-mv-inner .wp-block-table td,
    .about-mv-inner figure.wp-block-table td {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .about-mv-inner .wp-block-table th,
    .about-mv-inner figure.wp-block-table th {
        width: 40%;
    }

    .about-us-maker ul {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-us-maker table,
    .about-us-maker table tbody,
    .about-us-maker table tr {
        display: block;
    }

    .about-us-maker table td {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* プライバシーポリシー */
.page-id-3 #secondary {
  display: none;
}
.page-id-3 .content-area {
  padding: 2rem 4rem;
}
.page-id-3 .wp-block-list {
  padding-left: 0.25rem;
}
.page-id-3 .wp-block-heading{
  font-size: 20px;
}


/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-page-section {
  padding: 2rem;
}
.contact-page-inner {
  max-width: 900px;
  margin: 0 auto;
}
.contact-page-body {
  background-color: #fff;
  border: 1px solid #f0f3f4;
  border-radius: 1.5rem;
  padding: 2rem 4rem 0 4rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.contact-page-body .wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: #111618;
}
.contact-page-body label {
  margin-top: 2rem;
}
.required {
  background-color: #e53e3e;
  color: #fff;
  padding: 0 0.25rem;
  margin-left: 0.25rem;
}
.contact-page-body .wpcf7-form input[type="text"],
.contact-page-body .wpcf7-form input[type="email"],
.contact-page-body .wpcf7-form input[type="tel"],
.contact-page-body .wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  outline: none;
}
.contact-page-body .wpcf7-form input[type="file"]{
  /* width: 100%; */
  padding: 0;
  font-family: inherit;
}
.contact-page-body .wpcf7-form input:focus,
.contact-page-body .wpcf7-form textarea:focus {
  border-color: #1e68a2;
}
.contact-page-body .wpcf7-form input[type="submit"] {
  background-color: #1e68a2;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.875rem 3rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.contact-page-body .wpcf7-form input[type="submit"]:hover {
  background-color: rgba(30, 104, 162, 0.9);
}

/* トップページ_お問い合わせ */
.contact-section {
  padding: 2.5rem 1.5rem 5rem;
}
.contact-card {
  position: relative;
  overflow: hidden;
  background-color: rgba(239, 246, 255, 0.5);
  border: 1px solid rgba(30, 104, 162, 0.1);
  border-radius: 1.5rem;
  padding: 5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.contact-blob {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.contact-blob--top {
  top: -8rem;
  right: -8rem;
  background-color: rgba(30, 104, 162, 0.1);
}
.contact-blob--bottom {
  bottom: -8rem;
  left: -8rem;
  background-color: rgba(30, 104, 162, 0.05);
}
.contact-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-heading {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111618;
}
.contact-text {
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.7;
}
.contact-actions {
  position: relative;
  z-index: 1;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #1e68a2;
  color: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem 5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 8px 32px rgba(30, 104, 162, 0.3);
}
.contact-btn:hover {
  background-color: rgba(30, 104, 162, 0.9);
  text-decoration: none;
  color: #fff;
}
.wpcf7-adress {
  display: flex;
  width: 100%;
}
.wpcf7-adress1 {
  width: 30%;
}
.wpcf7-adress2 {
  width: 70%;
}
.wpcf7-footnote {
  font-size: 10px;
  color: #617C89;
}
input.wpcf7-submit[disabled],
input.wpcf7-submit:disabled {
  background-color: #ccc !important;
  border-color: #ccc !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 0.6;
  width: 100%;
}
input.wpcf7-submit{
  width: 100%;
}
.wpcf7 form:not(.submitting):not(.sent):not(.invalid) .wpcf7-not-valid-tip,
.wpcf7 form:not(.submitting):not(.sent):not(.invalid) .wpcf7-response-output {
  display: none !important;
}
.wpcf7-check{
  display: flex;
  flex-flow: column;
  align-items: center;
}
.wpcf7-check-item{
  margin-bottom: 1rem;
}
.wpcf7-form-control-wrap input::placeholder,
.wpcf7-form-control-wrap textarea::placeholder {
  color: #617C89;
  opacity: 1;
  font-size: 14px;
}
.contact-page-body .wpcf7-form p{
  font-size: 14px;
}

@media (max-width: 768px) {
  .contact-page-section {
      padding: 0.1rem;
    }
  .page-hero-title {
    font-size: 1.75rem;
  }
  .contact-page-body {
    padding: 1.5rem 1rem;
    border-radius: 1rem;
  }
  .contact-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}


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

@media (max-width: 768px) {
  .site-content {
    flex-direction: column;
  }
  .widget-area {
    width: 100%;
  }
  .header-inner {
    padding: 1rem 1.25rem;
  }
  .header-right {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .site-header.nav-open .header-right {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0f3f4;
    gap: 1.5rem;
    align-items: stretch;
  }
  .site-header.nav-open .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .site-header.nav-open .btn-contact {
    text-align: center;
  }
  .hero-section {
    height: 40vh;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .sp-br {
    display: block;
  }
  .strengths-inner {
    padding: 0 0.75rem;
  }
  .hero-inner {
    margin: 4rem 0 0 1.25rem;
  }

  /* 強みセクション：ヘッダー下余白を縮小 */
  .strengths-header,
  .strengths-header02 {
    padding-bottom: 1.5rem;
  }
  .strength-image-wrap img {
    height: 200px;
  }

  /* フッターナビを非表示 */
  .footer-nav {
    display: none;
  }
  /* お問い合わせフォーム */
  .contact-section {
    padding: 2.5rem 0.8rem;
  }
  .contact-card {
    position: relative;
    overflow: hidden;
    background-color: rgba(239, 246, 255, 0.5);
    border: 1px solid rgba(30, 104, 162, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .contact-blob {
    position: absolute;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
  }
  .contact-blob--top {
    top: -8rem;
    right: -8rem;
    background-color: white;
  }
  .contact-blob--bottom {
    bottom: -8rem;
    left: -8rem;
    background-color: white;
  }
  .contact-heading {
    font-size: 2rem;
  }
  .contact-text {
    font-size: 1rem;
  }
  .wpcf7-adress {
    display: flex;
    flex-flow: column;
    width: 100%;
  }
  .wpcf7-adress1 {
    width: 100%;
  }
  .wpcf7-adress2 {
    width: 100%;
  }
}

/* ==========================================================================
   View More Button
   ========================================================================== */

.section-view-more {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 3rem;
  padding: 0 2rem;
  background-color: #fff;
  border: 2px solid rgba(30, 104, 162, 0.2);
  border-radius: 0.75rem;
  color: #1e68a2;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(30, 104, 162, 0.05);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-view-more:hover {
  background-color: #1e68a2;
  color: #fff;
  border-color: #1e68a2;
  text-decoration: none;
}
