/**
 * Theme Name: Original Theme
 * Theme URI: https://livelife-home.com/
 * Author: Your Name
 * Author URI: https://livelife-home.com/
 * Description: Custom responsive theme for livelife-home.com
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: original
 *
 * @format
 */

/* ===== リセットCSS ===== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5要素のディスプレイ設定 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* ===== 基本設定 ===== */
body {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

a:hover {
  color: #0066cc;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== 共通レイアウト ===== */
.wrapper {
  position: relative;
  /* overflow: hidden; */
}
.container {
  position: relative;
  overflow: hidden;
}
/* 縦書きの「LiveLife」テキスト */
.container::before {
  content: "LiveLife";
  position: absolute;
  left: 58px;
  top: 820px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 180px;
  font-weight: 900;
  color: rgba(0, 120, 255, 0.14);
  letter-spacing: 10px;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
  font-family: "Arial", sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .container::before {
    content: none;
    font-size: 130px;
    left: -5px;
  }
}

.containerin {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
}

.main {
  flex: 1;
  min-width: 0;
}

/* ===== ヘッダー ===== */
.header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: sticky;
  z-index: 10;
  top: 0;
}

.headerin {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 769px) {
  .headerin {
    position: relative; /* Add this */
  }

  .logo {
    position: absolute; /* Add this */
    left: 50%; /* Add this */
    transform: translateX(-50%); /* Add this */
  }
}

.logo img {
  max-height: 40px;
  width: auto;
}
/* ===== グローバルナビゲーション ===== */

.gnavi__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end; /* 右寄せに変更 */
  padding: 0;
  margin: 0 0 0 40px;
  list-style: none;
}

.gnavi__list li {
  margin: 0 10px; /* 左側にマージンを変更 */
  padding: 0;
  position: relative;
}

.gnavi__list li:first-child {
  margin-left: 0; /* 最初の項目は左マージンなし */
}

.gnavi__list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
  color: #333;
  transition: all 0.3s ease;
}

.gnavi__list a:hover {
  color: #0066cc;
}

.gnavi__list img {
  max-height: 20px;
  width: auto;
  margin-right: 5px;
}

.gnavi__list .menu-text {
  display: none;
}

/* 子メニュー関連のスタイル - PC表示では幅100%の下吹き出し */
@media (min-width: 769px) {
  /* 親メニュー項目を静的位置に設定 */
  .gnavi__list > li {
    position: static;
  }

  /* 親メニュー項目のホバー効果 */
  .gnavi__list > li > a {
    position: relative;
    z-index: 102;
  }

  .gnavi__list > li:hover > a {
    color: #0066cc;
  }

  .gnavi__list .menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
  }

  /* 幅100%のドロップダウンサブメニュー */
  .gnavi__list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* コンテナの幅いっぱい */
    background: #f9f9f9; /* 薄いグレー背景 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 4px 25px;
    z-index: 100;
    list-style: none;

    /* ふわっと表示のためのプロパティ */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* イージング効果 */
    pointer-events: none; /* 非表示時はクリックできない */

    /* フレックスボックスでアイテムを横並びに */
    display: flex;
    flex-wrap: wrap;
  }

  /* ホバー時の矢印表示 */
  .gnavi__list .menu-item-has-children:hover > a:before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  /* サブメニューアイテムを均等に配置 */
  .gnavi__list .sub-menu li {
    padding: 10px 15px;
    box-sizing: border-box;
  }

  /* サブメニューのリンクスタイル */
  .gnavi__list .sub-menu a {
    padding: 10px 0;
    transition: all 0.2s;
    font-size: 0.95em;
    color: #444;
  }

  .gnavi__list .sub-menu a:hover {
    color: #0066cc;
    border-bottom-color: #0066cc;
  }

  /* ホバー時に子メニューを表示 */
  .gnavi__list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* 表示時はクリック可能 */
  }
}

/* モバイル対応 */
@media (max-width: 768px) {
  .gnavi__list {
    flex-direction: column;
  }

  .gnavi__list li {
    margin: 0;
    padding: 0;
  }

  /* 親カテゴリを目立たせる */
  .gnavi__list > li > a {
    font-weight: bold;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    background-color: #f8f8f8;
  }

  /* 子カテゴリは常に表示 */
  .gnavi__list .sub-menu {
    display: block;
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  /* 子カテゴリのスタイリング */
  .gnavi__list .sub-menu li a {
    padding: 10px 15px 10px 30px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 0.9em;
  }

  /* モバイルでは.menu-textを表示 */
  .gnavi__list .menu-text {
    display: block;
  }
}

/* ===== スライダー ===== */
/* 通常スライダー */
.slider-container {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Swiper.jsスライダー */
.swiper-container {
  width: 100%;
  height: 550px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .swiper-container {
    height: 400px;
  }
}

.swiper-slide {
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  text-align: center;
}

.swiper-caption h2 {
  font-size: 36px;
  margin: 0 0 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .swiper-caption h2 {
    font-size: 28px;
  }
}

.swiper-caption p {
  font-size: 18px;
  margin: 0 0 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .swiper-caption p {
    font-size: 16px;
  }
}

/* ===== タイトルスタイル ===== */
/* 投稿一覧タイトル - 左寄せ */
.post-title {
  font-size: px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px;
  padding-bottom: 10px;
  position: relative;
  text-align: left;
  line-height: 1.3;
}

/* タイトルのリンクスタイル */
.post-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #0066cc;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .post-title {
    font-size: 22px;
  }

  .single-post .post-title {
    font-size: 26px;
  }
}

/* 投稿メタ情報 */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.post-date {
  text-align: right;
  font-size: 12px;
}

.post-category a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
}

.post-category a:hover {
  color: #004c99;
  text-decoration: underline;
}

/* Font Awesome アイコン */
.post-date:before {
  content: "\f017";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  margin-right: 5px;
}

.post-category:before {
  content: "\f02c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 5px;
}

/* サムネイル画像 */
.post-thumbnail {
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.post-thumbnail a:hover img {
  transform: scale(1.03);
}

/* 投稿抜粋 */
.post-excerpt {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
  font-size: 16px;
}

.post-excerpt p {
  margin: 0 0 15px;
}

.post-excerpt p:last-child {
  margin-bottom: 0;
}

/* 続きを読むボタン */
.read-more {
  display: block;
  text-align: center;
  padding: 8px 22px;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.read-more:hover {
  background: #004c99;
  box-shadow: 0 3px 8px rgba(0, 102, 204, 0.3);
  color: #fff;
}

/* 投稿がない場合 */
.no-posts {
  background: #f9f9f9;
  padding: 35px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #eee;
}

.no-posts h2 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  font-size: 22px;
}

.no-posts p {
  color: #666;
  margin-bottom: 25px;
}

/* ===== ページネーション ===== */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 3px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s;
}

.pagination .page-numbers.current {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

.pagination .page-numbers:hover:not(.current) {
  background: #f5f5f5;
  border-color: #bbb;
}

.pagination .prev,
.pagination .next {
  padding: 8px 15px;
}

/* ===== サイドバー ===== */
.widget {
  margin-bottom: 30px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #0066cc;
}

.widget ul li {
  border-bottom: 1px dashed #eee;
  padding: 8px 0;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: #333;
  text-decoration: none;
}

.widget ul li a:hover {
  color: #0066cc;
}

/* ===== 投稿詳細ページ ===== */

.single-post {
  margin-bottom: 30px;
}

/* 投稿ヘッダー */
.post-header {
  margin-bottom: 25px;
}

.single-post .post-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 15px 0 0;
  color: #222;
}

.single-post .post-meta {
  margin-bottom: 5px;
  font-size: 14px;
  color: #777;
}

/* アイキャッチ画像 */
.post-featured-image {
  margin-bottom: 30px;
  border-radius: 8px;
  /* overflow: hidden; */
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 投稿コンテンツ */
.post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote {
  margin-bottom: 20px;
}

.post-content h2 {
  font-size: 26px;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.post-content h3 {
  font-size: 22px;
  margin: 35px 0 18px;
}

.post-content h4 {
  font-size: 18px;
  margin: 25px 0 15px;
}

.post-content ul,
.post-content ol {
  padding-left: 25px;
}

.post-content ul li,
.post-content ol li {
  margin-bottom: 10px;
}

.post-content blockquote {
  border-left: 4px solid #0066cc;
  padding: 15px 20px;
  background-color: #f9f9f9;
  font-style: italic;
  color: #555;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 10px 0;
  width: 100%;
}

.post-content a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 102, 204, 0.3);
  transition: border-color 0.3s;
}

.post-content a:hover {
  border-color: #0066cc;
}

/* 投稿フッター */
.post-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

/* タグリスト */
.post-tags {
  margin-bottom: 30px;
}

.tag-list {
  font-size: 14px;
  color: #666;
}

.tag-list a {
  display: inline-block;
  margin: 3px;
  padding: 4px 10px;
  background: #f1f1f1;
  border-radius: 3px;
  color: #444;
  text-decoration: none;
  transition: all 0.3s;
}

.tag-list a:hover {
  background: #e4e4e4;
  color: #0066cc;
}

/* 投稿者情報 */
.post-author {
  padding: 10px 20px;
  margin: 0 0 40px;
  background: #f9f9f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.author-avatar {
  margin-right: 20px;
}

.author-avatar img {
  border-radius: 50%;
}

.author-info {
  flex: 1;
}

.author-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

.author-bio {
  margin-bottom: 0;
  font-size: 14px;
  color: #555;
}

/* 前後の投稿ナビゲーション */
.post-navigation {
  margin-bottom: 40px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
}
@media (max-width: 768px) {
  .nav-links {
    gap: 4px;
  }
}
.nav-previous,
.nav-next {
  flex: 0 1 auto;
}

.nav-previous a,
.nav-next a {
  display: inline-flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.nav-previous a:hover,
.nav-next a:hover {
  color: #0066cc;
  background-color: #e5e5e5;
}

.nav-arrow {
  font-size: 20px;
}

.nav-title {
  font-size: 15px;
  margin: 0 10px;
}

.nav-previous .nav-title {
  margin-left: 5px;
}

.nav-next .nav-title {
  margin-right: 5px;
}

/* 関連記事 */
.related-posts {
  margin: 40px 0;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 8px;
}

.related-title {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 22px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.related-post {
  transition: transform 0.3s ease;
}

.related-post:hover {
  transform: translateY(-3px);
}

.related-thumbnail {
  margin-bottom: 12px;
  border-radius: 5px;
  overflow: hidden;
}

.related-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.related-post:hover .related-thumbnail img {
  transform: scale(1.05);
}

.related-post h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.related-post h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.related-post h4 a:hover {
  color: #0066cc;
}

.related-meta {
  font-size: 13px;
  color: #777;
}

/* コメント欄 */
.post-comments {
  margin-top: 40px;
}

.comments-title {
  font-size: 22px;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.comment:last-child {
  border-bottom: none;
}

.comment-body {
  position: relative;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author img {
  border-radius: 50%;
  margin-right: 15px;
}

.comment-author .fn {
  font-weight: 600;
  font-style: normal;
}

.comment-metadata {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

.comment-metadata a {
  color: #777;
  text-decoration: none;
}

.comment-content {
  margin-bottom: 15px;
}

.reply {
  text-align: right;
}

.reply a {
  display: inline-block;
  font-size: 14px;
  padding: 3px 10px;
  background: #f1f1f1;
  color: #555;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s;
}

.reply a:hover {
  background: #e4e4e4;
  color: #0066cc;
}

/* 共通スタイル: タイトル */
.related-title,
.comments-title,
.comment-reply-title {
  font-size: 22px;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .related-title,
  .comments-title,
  .comment-reply-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

.comment-respond {
  margin-top: 40px;
}

.comment-form-comment label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

/* フォーム要素の共通スタイル */
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.comment-form textarea {
  padding: 15px;
  margin-bottom: 20px;
  min-height: 150px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  padding: 10px 15px;
  margin-bottom: 15px;
}

.comment-form input[type="submit"] {
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.comment-form input[type="submit"]:hover {
  background: #004c99;
}

@media (max-width: 768px) {
  .comment-form textarea {
    min-height: 120px;
  }

  .comment-form input[type="submit"] {
    padding: 10px 20px;
    width: 100%;
  }
}

/* ===== 共通スタイル ===== */

/* ボタンスタイル */
.contact-button,
.view-all-button {
  display: inline-block;
  transition: all 0.3s ease;
}

/* .contact-button {
  background: #fff;
  color: #0066cc;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
} */

.contact-button:hover {
  color: #fff;
  /* transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); */
}

.view-all-button {
  padding: 8px 20px;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.view-all-button:hover {
  background-color: #e5e5e5;
}

/* ===== リフォーム事例ページ ===== */
.featured-image {
  margin: 20px auto 0;
  width: 100%;
  max-width: 900px;
}
@media (max-width: 768px) {
  .featured-image {
    margin: 0 auto -20px;
  }
}
.featured-image-container img {
  width: 100%;
  height: auto;
}

.featured-text {
  margin-top: 10px;
  font-size: 16px;
}

/* ヘッダー部分 */
.reform-header {
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.reform-title {
  text-align: left;
  font-size: 24px;
  margin-bottom: 40px;
  color: #333;
}

.reform-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  color: #666;
  font-size: 16px;
  margin: 0 0 20px;
}
.reform-box {
  text-align: left;
}
.reform-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  background: #f8f8f8;
  border-radius: 20px;
}

.reform-meta i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .reform-title {
    font-size: 20px;
  }

  .reform-meta {
    gap: 15px;
    font-size: 14px;
  }

  .reform-meta span {
    padding: 5px 12px;
  }
}

/* メインコンテンツ */
.reform-content {
  line-height: 1.8;
  color: #444;
  padding: 15px;
}

@media (max-width: 768px) {
  .reform-content {
    padding: 10px;
  }
}

/* アフター画像セクション */
.after-section {
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .after-section {
    margin-bottom: 30px;
  }
}

/* 画像ギャラリー */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-item {
  margin-bottom: 20px;
}

.gallery-image {
  margin-bottom: 10px;
  position: relative;
}
.image-tag {
  font-size: 14px;
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 6px;
  color: #ffffff;
  z-index: 1;
}

.before-tag {
  background-color: #929292; /* 青色のタグ for Before */
}

.after-tag {
  background-color: #f3b53a; /* 赤色のタグ for After */
}

.gallery-text {
  font-size: 14px;
  line-height: 1.5;
}

.gallery-image {
  position: relative;
  overflow: hidden;
  padding-bottom: 75%; /* 4:3のアスペクト比 */
}

.gallery-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
}

/* お問い合わせCTA */
.contact-cta {
  background: linear-gradient(to right, #0066cc, #0099ff);
  color: #fff;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

.contact-cta h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-cta {
    padding: 20px;
  }

  .contact-cta h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
}

/* ナビゲーション */
.reform-footer {
  margin-top: 40px;
}
.reform-footer-body {
  background-color: #f5f2f2;
  padding: 40px 30px;
}
@media (max-width: 768px) {
  .reform-footer-body {
    padding: 30px 20px;
  }
}
.reform-footer-title {
  font-size: 20px;
  margin: 0 0 20px;
}
@media (max-width: 768px) {
  .reform-navigation {
    gap: 15px;
  }

  .back-to-list {
    order: -1;
    width: 86%;
    text-align: center;
  }
}
.reform-date {
  font-size: 12px;
  text-align: right;
  color: #777;
  font-weight: normal;
  margin: 4px 4px 0 0;
}

.reform-footer-title {
  margin-top: 0; /* 日付との間隔を調整 */
}
.reform-navigation {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 60px;
}

.reform-navigation a {
  /* display: inline-flex; */
  flex: 1;
  align-items: center;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
}

.reform-navigation a:hover {
  color: #0066cc;
}

.reform-navigation i {
  margin: 0 8px;
}

.back-to-list {
  padding: 8px 20px;
  background: #f5f5f5;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .reform-footer {
    margin-top: 30px;
  }

  .reform-navigation {
    /* flex-direction: column; */
    gap: 15px;
  }

  .back-to-list {
    width: 100%;
    text-align: center;
  }
}

/* ===== リフォームセクション（フロントページ用） ===== */
.reform-section {
  margin: 80px 0;
}

.reform-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 0;
}

.reform-item {
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* .reform-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
} */

.reform-thumbnail {
  overflow: hidden;
}

.reform-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.reform-thumbnail:hover img {
  transform: scale(1.05);
}

.reform-excerpt {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.view-all-reforms {
  text-align: center;
  margin: 40px 0 80px;
}
.view-all-posts {
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .reform-section {
    margin: 60px 0;
  }

  .reform-items {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 0 -20px 0 0;
  }

  .reform-thumbnail img {
    height: 180px;
  }
}

/* ===== 404ページ ===== */
.error-404 {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.error-title {
  font-size: 120px;
  font-weight: 700;
  color: #f0f0f0;
  margin: 0;
  line-height: 1;
  text-shadow:
    1px 1px 0 #ddd,
    2px 2px 0 #ccc;
  letter-spacing: -5px;
}

.error-subtitle {
  font-size: 28px;
  color: #333;
  margin: 10px 0 30px;
  position: relative;
}

.error-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.error-search {
  margin-bottom: 30px;
}

.error-search form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
}

.error-search input[type="search"] {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

.error-search button[type="submit"] {
  padding: 10px 20px;
  background-color: #4a7aff;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.error-search button[type="submit"]:hover {
  background-color: #3a67e8;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.error-links a {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.home-button {
  background-color: #4a7aff;
  color: white;
}

.home-button:hover {
  background-color: #3a67e8;
}

.reform-button {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.reform-button:hover {
  background-color: #e5e5e5;
}

@media (max-width: 768px) {
  .error-404 {
    padding: 40px 15px;
  }

  .error-title {
    font-size: 80px;
  }

  .error-subtitle {
    font-size: 22px;
    margin: 10px 0 20px;
  }

  .error-description {
    font-size: 14px;
  }

  .error-search form {
    max-width: 100%;
  }

  .error-links {
    flex-direction: column;
    gap: 10px;
  }

  .error-links a {
    width: 100%;
  }
}

/* ===== フッター ===== */
.footer {
  background: #333;
  color: #fff;
  padding: 30px 0;
}
@media (max-width: 768px) {
  .footer {
    padding: 0;
  }
}
.footer__list {
  margin: 0 0 20px;
}
.footer__list > li {
  margin: 0 15px 10px;
}
@media (max-width: 768px) {
  .footer__list {
    margin: 0;
  }
  .footer__list > li {
    margin: 0 15px 10px;
  }
}
.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__navi {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .footer__navi {
    padding: 0;
  }
  .footer__list {
    display: block;
  }

  .footer__list li {
    display: block;
    padding: 20px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__list li:last-child {
    border-bottom: none;
  }
}

/* コピーライト */
.footer__copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #4c4c4c;
  font-size: 12px;
  color: #fff;
}

/* SNSアイコン */
.footer-social {
  margin: 20px 0 40px;
  text-align: center;
}

.social-title {
  margin: 0 0 20px;
}

.social-icons {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons li {
  margin: 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  color: #333;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 各SNSの色（ホバー時） */
.social-icons a:hover {
  color: #fff;
}

.social-icons li:nth-child(1) a:hover {
  background-color: #1877f2; /* Facebook色 */
}

.social-icons li:nth-child(2) a:hover {
  background-color: #c32aa3; /* Instagram色 */
}

.social-icons li:nth-child(3) a:hover {
  background-color: #000000; /* X（Twitter）色 */
}

.social-icons i {
  font-size: 18px;
}

/* Instagramフィード */
.instagram-feed {
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
}

.instagram-title {
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.instagram-title:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border-radius: 2px;
}

.instagram-container {
  margin-bottom: 15px;
}

.view-instagram {
  display: inline-block;
  padding: 8px 20px;
  background-color: #f5f5f5;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.view-instagram:hover {
  background-color: #c32aa3;
  color: white;
}

/* レイアウト関連 */

/* @media (max-width: 768px) {
  .containerin {
    flex-direction: column;
    display: block;
  }
} */

/* .main {
  margin-right: 30px;
}
*/
@media (max-width: 768px) {
  .main {
    padding: 0 20px;
  }
}

/* ハンバーガーメニュー */
.menu-toggle {
  z-index: 100;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s;
}

/* モバイル表示時のスタイル */
@media (max-width: 768px) {
  /* ハンバーガーメニュー表示 */
  .menu-toggle {
    display: block;
  }

  /* メニュー開いたときに右上に固定 */
  .menu-toggle.active {
    position: fixed;
    top: 20px;
    left: 20px;
  }

  /* ハンバーガーメニューのアニメーション */
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}
/* ナビゲーション基本スタイル */
.gnavi {
  display: flex;
  position: relative;
}
.gnavi .social-icons {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
}
@media (max-width: 768px) {
  .gnavi .social-icons {
    display: flex;
  }
}
.gnavi__list {
  display: flex;
}

.gnavi__list li a {
  display: flex;
}

.gnavi__list .menu-text {
  display: none; /* PC表示ではテキストを非表示 */
}

/* モバイル対応（768px以下） */
@media (max-width: 768px) {
  /* ナビゲーションのモバイルスタイル */
  .gnavi {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    flex-direction: column;
    padding: 80px 0 20px;
    z-index: 2;
  }
  .gnavi-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    backdrop-filter: blur(3px); /* 背景をぼかす */
    -webkit-backdrop-filter: blur(3px); /* Safari対応 */
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  /* メニューが開いたときにオーバーレイを表示 */
  .gnavi-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  /* アクティブ状態 */
  .gnavi.active {
    left: 0;
  }

  /* リストのモバイルスタイル */
  .gnavi__list {
    margin: 0;
    flex-direction: column;
  }

  .gnavi__list li a {
    flex-direction: row;
    align-items: center;
  }

  .gnavi__list li a img {
    max-width: 30px;
    margin-right: 10px;
  }

  .gnavi__list .menu-text {
    display: block; /* モバイルではテキストを表示 */
  }
}

/* 投稿メタ情報 */
.post-meta {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.post-category {
  margin-left: 10px;
}

@media (max-width: 768px) {
  .post-category {
    margin-bottom: 5px;
    margin-left: 0;
  }
}

/* 投稿内容 */
.post-content {
  font-size: 18px;
}

@media (max-width: 768px) {
  .post-content {
    font-size: 16px;
  }
}

.post-content h2 {
  font-size: 24px;
}

@media (max-width: 768px) {
  .post-content h2 {
    font-size: 22px;
  }
}

.post-content h3 {
  font-size: 22px;
}

@media (max-width: 768px) {
  .post-content h3 {
    font-size: 20px;
  }
}

/* 投稿ナビゲーション */
.nav-previous,
.nav-next {
  max-width: 48%;
}

@media (max-width: 768px) {
  .nav-previous,
  .nav-next {
    max-width: 100%;
    margin-bottom: 15px;
  }
}

.nav-next {
  text-align: right;
}

@media (max-width: 768px) {
  .nav-next {
    text-align: left;
  }

  .nav-next a {
    justify-content: flex-start;
  }
}

/* 関連投稿 */
.related-posts {
  padding: 30px;
}

@media (max-width: 768px) {
  .related-posts {
    padding: 20px;
  }
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 投稿著者 */
.post-author {
  display: flex;
}

@media (max-width: 600px) {
  .post-author {
    flex-direction: column;
    text-align: center;
  }
}

.author-avatar {
  margin-right: 15px;
}

@media (max-width: 600px) {
  .author-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

.back-to-list {
  order: 0;
}

@media (max-width: 768px) {
  .back-to-list {
    order: -1;
    width: 100%;
    text-align: center;
  }
}

/* エラーページ */
.error-title {
  font-size: 120px;
}

@media (max-width: 768px) {
  .error-title {
    font-size: 80px;
  }
}

.error-subtitle {
  font-size: 28px;
}

@media (max-width: 768px) {
  .error-subtitle {
    font-size: 22px;
  }
}

.error-links {
  display: flex;
}

@media (max-width: 768px) {
  .error-links {
    flex-direction: column;
  }

  .error-links a {
    width: 100%;
  }
}

/* リフォーム事例アーカイブページのスタイル */
.archive-header {
  margin-bottom: 20px;
}

.archive-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.archive-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* リフォーム事例グリッド */
.reform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* リフォーム事例アイテム */
.reform-item {
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.reform-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.reform-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.reform-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.reform-item:hover .reform-thumbnail img {
  transform: scale(1.05);
}

.reform-item-content {
  padding: 1.5rem;
}

.reform-item-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #333;
  line-height: 1.4;
}

.reform-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.reform-item-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.more-link {
  display: inline-flex;
  align-items: center;
  color: #004ea1;
  font-size: 14px;
  font-weight: 600;
}

.more-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.post-item:hover .more-link i {
  transform: translateX(3px);
}

/* WordPress特有のクラス */
.alignleft {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

.alignright {
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;
}

.aligncenter {
  display: block;
  margin: 0 auto 15px;
}

.wp-caption {
  max-width: 100%;
  background: #f1f1f1;
  padding: 5px;
  text-align: center;
  margin-bottom: 15px;
}

.wp-caption-text {
  font-size: 12px;
  margin: 5px 0 0;
}

.gallery-caption {
  font-size: 12px;
}

.bypostauthor {
  background: #f8f8f8;
}

/* アクセシビリティ対応 */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #0066cc;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
/* ===== レイアウト設定 ===== */
sub-section {
  margin: 15px 0 20px;
}

.article-content p {
  margin: 0 0 15px;
  line-height: 1.8;
}

.image-right {
  float: right;
  width: 35%;
  margin: 0 0 15px 20px;
}
@media (max-width: 768px) {
  .image-right {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
}

.image-right img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button {
  width: 100%;
  text-align: center;
  margin: 40px 0;
}

.button-link {
  display: inline-block;
  background-color: #2d3353;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  border: 3px double #525872;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .button-link {
    width: 80%;
    padding: 12px 20px;
  }
}

.button-link:hover {
  opacity: 0.85;
  text-decoration: none;
  transform: translateY(-2px);
}

.related-links {
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 20px;
  margin: 40px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.related-links h3 {
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0085c8;
}

.link-list {
  margin: 0 0 0 25px;
  padding: 0;
}

.link-list li {
  margin-bottom: 12px;
}

.link-list a {
  color: #0085c8;
  text-decoration: none;
  transition: color 0.2s;
}

.link-list a:hover {
  text-decoration: underline;
  color: #006395;
}

.company-info {
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.company-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.info-table th {
  background-color: #f5f5f5;
  width: 25%;
  text-align: left;
  font-weight: normal;
}
@media (max-width: 768px) {
  .info-table th {
    width: 30%;
  }
}
@media (max-width: 768px) {
  .containerin {
    flex-direction: column;
    display: block;
  }
}

/* ===== グリッドレイアウト ===== */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* サムネイルがない場合のプレースホルダー */
.placeholder-thumbnail {
  background-color: #f0f0f0;
  height: 100%;
  width: 100%;
  min-height: 150px;
  border-radius: 5px;
}

.post-excerpt {
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  font-weight: bold;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

.post-meta {
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .post-category {
    margin-bottom: 5px;
  }
}

.post-content {
  font-size: 18px;
}
@media (max-width: 768px) {
  .post-content {
    font-size: 16px;
  }

  .post-content h2 {
    font-size: 22px;
  }

  .post-content h3 {
    font-size: 20px;
  }
}

.post-author {
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .post-author {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* ===== ナビゲーションリンク ===== */
.nav-links {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .nav-previous,
  .nav-next {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .nav-next {
    text-align: left;
  }

  .nav-next a {
    justify-content: flex-start;
  }
}

/* ===== 関連投稿 ===== */
.related-posts {
  padding: 30px;
}
@media (max-width: 768px) {
  .related-posts {
    padding: 20px;
  }
}

/* ===== エラーページ ===== */
.error-title {
  font-size: 120px;
}
@media (max-width: 768px) {
  .error-title {
    font-size: 80px;
  }

  .error-subtitle {
    font-size: 22px;
  }

  .error-links {
    flex-direction: column;
  }

  .error-links a {
    width: 100%;
  }
}

/* ===== アーカイブ ===== */

.archive-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.archive-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== リフォーム事例アイテム ===== */
.reform-item {
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.reform-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.reform-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.reform-item:hover .reform-thumbnail img {
  transform: scale(1.05);
}

.reform-item-content {
  padding: 1.5rem;
}

.reform-item-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #333;
  line-height: 1.4;
}

/* ===== ページネーション ===== */
.pagination {
  margin: 2rem 0;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  align-items: center;
}

.pagination .page-numbers.current {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: #f5f5f5;
}

/* ===== CTAセクション ===== */
.archive-cta {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .archive-cta {
    padding: 1.5rem;
  }
}

.archive-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.archive-cta p {
  margin-bottom: 1.5rem;
  color: #555;
}

.contact-button {
  display: inline-block;
  background-color: #0056b3;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* ===== アクセスセクション ===== */
.access {
  max-width: 1200px;
  margin: 0 auto;
  color: #333;
}
@media (max-width: 768px) {
  .access {
    width: 100%;
  }
}

.access__body {
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .access__body {
    display: block;
  }
}

.access__box01 {
  width: 45%;
}
@media (max-width: 768px) {
  .access__box01 {
    width: auto;
    margin: 0 0 20px;
  }
}

.access__box02 dt {
  font-weight: bold;
  font-size: 18px;
}

.access__box02 dd {
  margin: 0 0 20px;
}

.access__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.access__list > li {
  margin: 0 0 4px;
}

.access__list > li span {
  font-weight: bold;
}

.access__list:last-child {
  margin-bottom: 0;
}

.access__map {
  flex: 1;
}

.access__map iframe {
  width: 100%;
  height: 400px;
}
@media (max-width: 768px) {
  .access__map iframe {
    height: 450px;
  }
}

/* ===== サービスセクション ===== */
.services {
  /* max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px; */
  /* color: #333; */
}
/* @media (max-width: 768px) {
  .services {
    padding: 30px 15px;
  }
} */

.services__header {
  /* text-align: center; */
  margin-bottom: 50px;
}

.services__title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
@media (max-width: 768px) {
  .services__title {
    font-size: 28px;
  }
}

.services__intro {
  font-size: 18px;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .services__intro {
    font-size: 16px;
  }
}

/* .services__description {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
} */

.services__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  .service-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 240px;
  }

  .service-card__content {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service-card__figure {
    width: 40%;
    height: auto;
    order: 1; /* Image on right */
  }

  /* Alternate layout for even numbered cards */
  .service-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .service-card:nth-child(even) .service-card__title:after {
    left: 0;
  }
}

.service-card__content {
  padding: 25px;
  flex: 1;
}
@media (max-width: 768px) {
  .service-card__content {
    padding: 20px;
  }
}

.service-card__title {
  font-family:
    "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #454545;
  position: relative;
}
@media (max-width: 768px) {
  .service-card__title {
    font-size: 20px;
  }
}

/* .service-card__title span {
  padding-bottom: 10px;
  border-bottom: 2px solid #b28247;
} */

.service-card__text {
  font-family:
    "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  line-height: 1.8;
}

.service-card__figure {
  margin: 0;
  overflow: hidden;
  order: -1; /* Image on top for mobile */
}
@media (max-width: 768px) {
  .service-card__figure {
    height: 200px;
  }
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image {
  transform: scale(1.05);
}

/* ===== プライバシーポリシー ===== */
.privacy {
  font-family: "Arial", "Helvetica", sans-serif;
  color: #333;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .privacy {
    padding: 30px 15px;
  }
}

.privacy__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
  color: #2c3e50;
}
@media (max-width: 768px) {
  .privacy__title {
    font-size: 24px;
  }
}

/* .privacy__body {
  max-width: 800px;
  margin: 0 auto;
} */

.privacy__intro {
  font-size: 16px;
  margin-bottom: 30px;
}

.privacy__section {
  margin-bottom: 30px;
}

.privacy__section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 8px;
}
@media (max-width: 768px) {
  .privacy__section-title {
    font-size: 18px;
  }
}

.privacy__list {
  padding-left: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .privacy__list {
    padding-left: 15px;
  }
}

.privacy__list-item {
  margin-bottom: 10px;
}

.privacy__list-item:last-child {
  margin-bottom: 0;
}

.privacy__company {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .privacy__company {
    padding: 15px;
  }
}

.privacy__section p {
  margin-bottom: 15px;
}

.privacy__section p:last-child {
  margin-bottom: 0;
}

/* ===== コンタクトフォーム ===== */
.contact {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.contact__container {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 40px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .contact__container {
    padding: 30px 20px;
  }
}

.contact__header {
  text-align: center;
  margin-bottom: 40px;
}

.contact__title {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
@media (max-width: 768px) {
  .contact__title {
    font-size: 24px;
  }
}

.contact__description,
.contact__instruction {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.contact__instruction {
  font-weight: 500;
}

/* .contact__form-wrapper {
  max-width: 600px;
  margin: 0 auto;
} */

/* ===== フォーム要素 ===== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  color: #333;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
  outline: none;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #e74c3c;
  margin-bottom: 5px;
}

.wpcf7-form textarea {
  height: 150px;
  resize: vertical;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.wpcf7-form .required {
  color: #e74c3c;
}

.wpcf7-form input[type="submit"] {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin: 20px auto 0;
  width: auto;
}
@media (max-width: 768px) {
  .wpcf7-form input[type="submit"] {
    width: 100%;
  }
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #2980b9;
}

.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 15px;
  display: block;
  word-break: break-word;
  max-width: 100%;
}

div.wpcf7-response-output {
  margin: 30px 0 0;
  padding: 15px;
  border: none !important;
  font-size: 15px;
  text-align: center;
  color: #e74c3c;
  font-weight: 600;
}

div.wpcf7-mail-sent-ok {
  color: #2ecc71;
}

@media (max-width: 768px) {
  /* フォーム要素のエラー対策 */
  .wpcf7-form {
    overflow: hidden;
  }

  .wpcf7-form-control-wrap {
    display: block;
    max-width: 100%;
  }
}

/* ===== 査定フォーム ===== */
.assessment-wrap {
  max-width: 960px;
  margin: 0 auto;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  box-sizing: border-box;
}

.table-top-label {
  background: linear-gradient(90deg, #3498db, #2980b9);
  color: #fff;
  padding: 12px 20px;
  margin: 30px 0 15px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  position: relative;
}

.table-top-label::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #2980b9 transparent transparent transparent;
}

.contact-form {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.contact-form th,
.contact-form td {
  padding: 15px;
  border-bottom: 1px solid #eaeaea;
  vertical-align: middle;
  box-sizing: border-box;
}

.contact-form th {
  width: 30%;
  text-align: left;
  font-weight: 600;
  background-color: #f8f9fa;
  border-right: 1px solid #eaeaea;
}

.contact-form td {
  width: 70%;
}

@media (max-width: 768px) {
  .contact-form th,
  .contact-form td {
    display: block;
    width: 100%;
  }

  .contact-form th {
    border-right: none;
    border-bottom: none;
    padding-bottom: 5px;
  }

  .contact-form td {
    padding-top: 10px;
  }
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: normal;
  margin-left: 8px;
}

.tag.red {
  /* background-color: #e74c3c; */
  color: #e74c3c;
  padding: 0;
  margin: 0;
}

.tag.gray {
  background-color: #95a5a6;
  color: white;
}

.mR5 {
  margin-right: 5px;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 15px 8px 0;
}
@media (max-width: 768px) {
  .wpcf7-list-item {
    margin-bottom: 10px;
  }
}

.wpcf7-list-item input[type="radio"],
.wpcf7-list-item input[type="checkbox"] {
  margin-right: 5px;
  vertical-align: middle;
}

.wpcf7-list-item-label {
  vertical-align: middle;
}

.privacy-consent {
  background-color: #f8f9fa;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  text-align: center;
}

.privacy-consent a {
  color: #3498db;
  text-decoration: underline;
}

.submit-btn {
  text-align: center;
  margin: 30px 0;
}

.wpcf7-submit {
  min-width: 200px;
  /* background: linear-gradient(to bottom, #3498db, #2980b9); */
  color: white;
  border: none;
  border-radius: 4px;
  padding: 15px 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* .wpcf7-submit:hover {
  background: linear-gradient(to bottom, #2980b9, #2573a7);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
} */

.wpcf7-submit:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}

/* ===== 会員登録メリット ===== */
.membership-benefits {
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
}

.benefits-header {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefits-header-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.benefits-header:hover .benefits-header-image {
  transform: scale(1.02);
}

.benefits-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.benefit-item {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  padding: 25px 25px 25px 70px;
}
@media (max-width: 767px) {
  .benefit-item {
    padding: 20px 20px 20px 60px;
  }
}

.benefit-number {
  position: absolute;
  left: 15px;
  top: 25px;
  width: 40px;
  height: 40px;
  background-color: #3aa3ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  font-family: "Arial Black", Arial, sans-serif;
}
@media (max-width: 767px) {
  .benefit-number {
    width: 35px;
    height: 35px;
    font-size: 18px;
    left: 10px;
    top: 20px;
  }
}

.benefit-title {
  color: #3aa3ff;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 20px;
  margin: 0 0 15px 0;
  font-weight: bold;
}
@media (max-width: 767px) {
  .benefit-title {
    font-size: 18px;
  }
}

.benefit-description {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #333;
}
@media (max-width: 767px) {
  .benefit-description {
    font-size: 15px;
  }
}

.benefits-cta {
  text-align: center;
  margin: 40px 0 20px;
}
/* 
.cta-button {
  display: inline-block;
  background: linear-gradient(to bottom, #3aa3ff, #2952cc);
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(51, 102, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
  color: #fff;
} */

/* ===== 採用情報 ===== */
.recruitment {
  /* max-width: 900px;
  margin: 0 auto;
  padding: 20px; */
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
}

.recruitment-header {
  /* text-align: center; */
  margin-bottom: 40px;
}

.recruitment-title {
  font-size: 28px;
  color: #3aa3ff;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
@media (max-width: 768px) {
  .recruitment-title {
    font-size: 24px;
  }
}

.recruitment-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #3aa3ff, #66a3ff);
}

.recruitment-subtitle {
  font-size: 18px;
  /* color: #3aa3ff; */
  margin: 20px 0;
}
@media (max-width: 768px) {
  .recruitment-subtitle {
    font-size: 16px;
  }
}

.recruitment-image {
  margin: 30px auto;
  max-width: 400px;
}

.recruitment-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.recruitment-details {
  /* background-color: #f8f9fa; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid #d6d6d6;
}

.detail-row {
  display: flex;
  border-bottom: 1px solid #d6d6d6;
}
@media (max-width: 768px) {
  .detail-row {
    flex-direction: column;
  }
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  width: 25%;
  padding: 18px 20px;
  background-color: #efefef;
  font-weight: bold;
  border-right: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .detail-label,
  .detail-content {
    width: 100%;
    border-right: none;
  }

  .detail-label {
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
  }
}

.detail-content {
  width: 75%;
  padding: 18px 20px;
}

.condition-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.condition-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.condition-list li:last-child {
  margin-bottom: 0;
}

.condition-list li::before {
  content: "•";
  color: #3aa3ff;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.recruitment-footer {
  text-align: center;
  margin-top: 30px;
}

.recruitment-footer p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* .contact-button {
  display: inline-block;
  background-color: #3aa3ff;
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #2952cc;
} */
/* ===== 投稿リスト ===== */
/* ===== 投稿リスト ===== */
.post-list {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* 投稿アイテムの基本スタイル */
.post-item {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* サムネイル基本スタイル */
.post-thumbnail img {
  width: 100%;
  height: auto;
}

/* 抜粋の基本スタイル */
.post-excerpt {
  flex-grow: 1;
  margin-bottom: 10px;
}

/* モバイル表示用の横スクロール（768px以下の画面サイズ） */
@media (max-width: 768px) {
  /* スクロールコンテナ */
  .posts-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    margin: 0 -15px 0 0;
  }

  /* 投稿リスト */
  .post-list {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  /* 投稿アイテム */
  .post-item {
    min-width: 280px;
    max-width: 85vw;
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  /* サムネイル画像 */
  .post-thumbnail {
    height: 150px;
    overflow: hidden;
  }

  .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 抜粋部分 */
  .post-excerpt {
    height: 60px;
    overflow: hidden;
  }
}
.post-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-thumbnail {
  height: 200px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-item:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-item-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 15px;
  color: #333;
  line-height: 1.4;
}

.post-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  align-items: center;
  color: #777;
  margin-bottom: 15px;
}

.post-item-meta i {
  margin-right: 10px;
}

.post-category a {
  color: #3aa3ff;
  text-decoration: none;
}

.post-category a:hover {
  text-decoration: underline;
}

.post-item-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.no-results {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.no-results p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #666;
}

.categories-list {
  margin-top: 30px;
  text-align: left;
}

.categories-list h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.categories-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.categories-list li {
  margin-bottom: 10px;
}

.categories-list a {
  display: inline-block;
  padding: 5px 12px;
  background-color: #f1f1f1;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.categories-list a:hover {
  background-color: #e0e0e0;
}

.archive-related {
  margin: 40px 0;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .archive-related {
    padding: 20px;
  }
}

.archive-related h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  color: #333;
}

.archive-related h4 {
  font-size: 16px;
  margin: 15px 0 10px;
  color: #555;
}

.archive-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-related li {
  margin-bottom: 8px;
}

.archive-related a {
  color: #3aa3ff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.archive-related a:hover {
  color: #2952cc;
  text-decoration: underline;
}

.subscribe-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #3aa3ff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s;
}

.subscribe-button:hover {
  background-color: #2952cc;
}

/* ===== 会社概要 ===== */
.company-profile {
  max-width: 900px;
  margin: 0 auto;
  font-family:
    "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  color: #333;
  line-height: 1.8;
}

.philosophy-content {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 0 60px;
}
@media (max-width: 768px) {
  .philosophy-content {
    flex-direction: column;
    margin: 0 0 40px;
  }
}

.philosophy-image {
  flex: 0 0 35%;
}
@media (max-width: 768px) {
  .philosophy-image {
    flex: 0 0 100%;
  }
}

.philosophy-image img {
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.philosophy-text {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .philosophy-text {
    text-align: center;
    display: block;
    font-size: 16px;
    line-height: 2.4;
    font-family:
      "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-feature-settings: "palt"; /* プロポーショナルメトリクスを適用 */
  }
}

.highlight {
  color: #004ea1;
  font-weight: bold;
}

.company-info-table {
  width: 100%;
  overflow: hidden;
}

.info-row {
  display: flex;
  border: 1px solid #e9ecef;
}
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
  }
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 25%;
  padding: 15px 20px;
  background-color: #f8f9fa;
  font-weight: bold;
  border-right: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .info-label,
  .info-content {
    width: 100%;
  }

  .info-label {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    padding: 15px;
  }
}

.info-content {
  width: 75%;
  padding: 15px 20px;
}
@media (max-width: 768px) {
  .info-content {
    padding: 15px;
  }
}

.business-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.business-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.business-list li:last-child {
  margin-bottom: 0;
}

.business-list li:before {
  content: "•";
  color: #7e92c4;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== 不動産売却サポート ===== */
.real-estate-sales {
  /* max-width: 1000px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7; */
}
/* @media (max-width: 768px) {
  .real-estate-sales {
    padding: 30px 15px;
  }
} */

.sales-header,
.sales-concerns,
.sales-flow,
.sales-cta {
  margin-bottom: 60px;
}

.header-description {
  font-size: 16px;
  line-height: 1.8;
}

.sales-concerns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.concerns-image {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.concerns-image img {
  width: 100%;
  height: auto;
  display: block;
}

.concerns-message {
  font-size: 16px;
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .concerns-message {
    font-size: 15px;
  }
}
.header-description p {
  max-width: 700px;
  margin: 0 0 20px;
}
.flow-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  color: #666;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  .flow-step {
    padding: 20px;
  }
}

.flow-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
  background-color: #004ea1;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.step-content p {
  margin: 0;
  font-size: 15px;
  color: #555;
}

.sales-cta {
  background-color: #f5f2f2;
  padding: 30px;
}

.sales-cta h3 {
  font-size: 22px;
  color: #333;
  margin: 0 0 15px;
}

.sales-cta p {
  font-size: 16px;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-button {
    width: 100%;
  }
}

.cta-button {
  /* padding: 14px 30px; */
  /* text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 4px; */
  /* transition: background-color 0.3s ease, transform 0.3s ease; */
}

.cta-button.contact {
  background-color: #3aa3ff;
  color: white;
}

/* .cta-button.contact:hover {
  background-color: #2952cc;
  transform: translateY(-3px);
} */

.cta-button.assessment {
  background-color: white;
  color: #3aa3ff;
  border: 2px solid #3aa3ff;
}

.cta-button.assessment:hover {
  background-color: #f0f5ff;
  transform: translateY(-3px);
}

/* ===== 不動産売却の流れ ===== */
.sales-flow-page {
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-title {
  margin: 0 0 40px;
  position: relative;
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 47px;
  font-weight: 400;
  color: #2c2c2c;
}
.uppercase-slug {
  font-size: 12px;
  padding: 0 0 0 4px;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 30px;
  }
}

.page-description {
  font-size: 18px;
  margin: 0 0 40px;
  color: #666;
}
@media (max-width: 768px) {
  .page-description {
    font-size: 16px;
  }
}

.flow-container {
  position: relative;
}

.flow-container:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 4px;
  background: linear-gradient(to bottom, #0085c8, #66b5e6);
  border-radius: 2px;
  z-index: 0;
}
@media (max-width: 768px) {
  .flow-container:before {
    left: 25px;
  }
}

.flow-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 80px;
  z-index: 1;
}
@media (max-width: 768px) {
  .flow-item {
    padding-left: 60px;
  }
}

.flow-item:last-child {
  margin-bottom: 0;
}
.flow-item.last {
  background-color: #fff;
}
.flow-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: #0085c8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 133, 200, 0.3);
}
@media (max-width: 768px) {
  .flow-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

.flow-content {
  background-color: white;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.flow-title {
  background-color: #f2f8fd;
  color: #0085c8;
  font-size: 20px;
  margin: 0;
  padding: 15px 20px;
  border-bottom: 1px solid #e9f2fa;
}
@media (max-width: 768px) {
  .flow-title {
    font-size: 18px;
    padding: 12px 15px;
  }
}

.flow-box {
  display: flex;
  padding: 20px;
}
@media (max-width: 768px) {
  .flow-box {
    flex-direction: column;
  }
}

.flow-image {
  flex: 0 0 35%;
  margin-right: 20px;
  display: none;
}
@media (max-width: 768px) {
  .flow-image {
    flex: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.flow-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.flow-text {
  flex: 1;
}

.flow-text p {
  margin: 0;
  line-height: 1.8;
}

.flow-summary {
  margin-top: 60px;
  background-color: #f2f8fd;
  padding: 30px;
  border-radius: 10px;
  /* text-align: center; */
}

.flow-summary p {
  margin: 0 0 25px;
  font-size: 16px;
}

.contact-btn {
  display: inline-block;
  background-color: #0085c8;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  transition:
    background-color 0.3s,
    transform 0.3s;
  box-shadow: 0 4px 10px rgba(0, 133, 200, 0.3);
}

.contact-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 133, 200, 0.4);
}

/* ===== 記事コンテンツ ===== */
.article-content {
  /* max-width: 1200px;
  margin: 0 auto;
  padding: 20px; */
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
}

.article-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0 0 30px;
  padding: 10px 0;
  border-bottom: 2px solid #0085c8;
}
@media (max-width: 768px) {
  .article-title {
    font-size: 20px;
  }
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #004ea1;
  padding: 10px 15px;
  margin: 0 0 20px;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 18px;
  }
}

.sub-title {
  font-size: 18px;
  font-weight: bold;
  color: #150e71;
  padding: 5px 0;
  margin: 20px 0 10px;
  border-bottom: 1px dotted #aaa;
}
@media (max-width: 768px) {
  .sub-title {
    font-size: 16px;
  }
}

.content-section {
  margin-bottom: 30px;
  overflow: hidden;
}
.heading01 {
  color: #2c2c2c;
  font-size: 30px;
  margin: 0 0 20px;
  padding: 0 0 0 4px;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
}

/* .heading01::before {
  display: inline-block;
  width: 5px;
  height: 1em;
  margin-right: 0.5em;
  background-color: #004ea1;
  content: "";
} */
/* 関連ページスタイル */
.child-pages {
  background-color: #f9f9fa;
  padding: 25px 30px;
  margin: 40px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.child-pages h3 {
  font-size: 20px;
  color: #333;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.child-pages h3:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #3aa3ff;
}

.child-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.child-pages li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.child-pages li:last-child {
  margin-bottom: 0;
}

.child-pages li:before {
  content: "・";
  color: #3aa3ff;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.child-pages a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 16px;
}

.child-pages a:hover {
  color: #3aa3ff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .child-pages {
    padding: 20px;
  }

  .child-pages h3 {
    font-size: 18px;
  }

  .child-pages a {
    font-size: 15px;
  }
}
.welcome-img {
  max-width: 340px;
  margin: 40px auto;
}
@media (max-width: 768px) {
  .welcome-img {
    max-width: 200px;
  }
}
.welcome-text {
  text-align: center;
}
/* お問い合わせセクションのスタイル */
.contact-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  margin: 40px 0;
  text-align: center;
}

.contact-section h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-phone {
  font-size: 32px;
  color: #3498db;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .contact-phone {
    font-size: 26px;
  }
}
.contact-phone:hover {
  color: #2980b9;
  transform: translateY(-2px);
}

.contact-phone i {
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.business-hours {
  display: block;
  font-size: 14px;
}
@media (max-width: 768px) {
  .business-hours {
    font-size: 12px;
  }
}
.email-button {
  background-color: #3498db;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
}
.contact-box {
  margin: 0 0 20px;
}
.line-bnr {
  max-width: 400px;
  margin: 20px auto 0;
}
/* サービスセクションのスタイル - 縦並び */
.services-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 50px 0;
}

.service-card {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-title {
  width: 90%;
  background-color: #004ea1;
  color: white;
  padding: 20px;
  margin: 0;
  font-size: 1.5rem;
  align-content: center;
  text-align: center;
}
@media (max-width: 768px) {
  .service-title {
    width: 100%;
    padding: 20px 0;
  }
}
.service-subtitle {
  font-weight: normal;
  font-size: 1rem;
  display: block;
  margin-top: 5px;
  opacity: 0.9;
}

.service-content {
  padding: 25px;
}

.service-content p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-button {
  display: inline-block;
  background-color: #2c3e50;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-button:hover {
  background-color: #1a2530;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
/* スライダーの基本設定 */
.your-slider-class {
  width: 100%;
  height: 100vh; /* PCではビューポートの高さいっぱい */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* スライド内の画像を調整 */
.your-slider-class div {
  height: 100%;
}

.your-slider-class img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ドットナビゲーション */
.your-slider-class .slick-dots {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  z-index: 999;
  text-align: center;
  display: block;
}

.your-slider-class .slick-dots li {
  display: inline-block;
  margin: 0 8px;
}

.your-slider-class .slick-dots li button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(157, 157, 157, 0.887);
  padding: 0;
}

.your-slider-class .slick-dots li.slick-active button {
  background-color: white;
}

.your-slider-class .slick-dots li button:before {
  content: "";
  display: none;
}

/* スマートフォン用のスタイル調整 */
@media (max-width: 767px) {
  .your-slider-class {
    height: 50vh; /* SPでは画面の半分の高さに設定 */
  }

  .your-slider-class .slick-dots {
    bottom: 10px !important; /* ドットの位置を上に調整 */
  }

  .your-slider-class .slick-dots li {
    margin: 0 5px !important; /* 間隔を小さく */
  }

  .your-slider-class .slick-dots li button {
    width: 12px !important; /* ドットサイズを小さく */
    height: 12px !important;
  }
}

/* 横向きのスマートフォン対応 */
@media (max-width: 767px) and (orientation: landscape) {
  .your-slider-class {
    height: 80vh; /* 横向きでは高さを調整 */
  }
}
/* 基本設定 */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=Noto+Serif+JP:wght@300;400&display=swap");

.philosophy-container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 2rem;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* タイトル */
.philosophy-title {
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* ロゴ文字 */
.logo-script {
  font-family: "Cormorant Garamond", cursive;
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 3rem;
  line-height: 1.2;
  font-style: italic;
}

/* テキスト全体 */
.welcome-section {
  margin: 80px 0 100px;
}
@media (max-width: 768px) {
  .welcome-section {
    margin: 0 0 40px;
  }
}

.japanese-text {
  line-height: 2;
  font-family:
    "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-feature-settings: "palt"; /* プロポーショナルメトリクスを適用 */
  letter-spacing: 0.03em;
  text-align: center;
}

.japanese-text p {
  margin: 0.7rem 0;
  font-size: 1rem;
  font-weight: 300;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .philosophy-container {
    padding: 1.5rem;
    margin: 3rem auto;
  }

  .logo-script {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .english-text p,
  .japanese-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .philosophy-container {
    padding: 1rem;
    margin: 2rem auto;
  }

  .logo-script {
    font-size: 2.5rem;
  }

  .philosophy-title {
    margin-bottom: 2rem;
  }
}

/* 実績アイテムのグリッドレイアウト */
.achievement-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* デスクトップ：3列 */
  gap: 30px;
  /* margin: 40px 0; */
}

/* サムネイル画像のスタイル */
.achievement-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.achievement-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.achievement-thumbnail:hover img {
  transform: scale(1.05);
}

/* コンテンツ部分のスタイル */
.achievement-content {
  padding: 20px;
}

.achievement-title {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.achievement-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.achievement-title a:hover {
  color: #3498db;
}

/* メタ情報のスタイル */
.achievement-meta {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.achievement-meta span {
  display: inline-flex;
  align-items: center;
}

.achievement-meta i {
  margin-right: 5px;
}

/* 一覧を見るボタンのコンテナ */
.view-all-achievements {
  margin: 40px 0 80px;
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .achievement-items {
    grid-template-columns: repeat(2, 1fr); /* タブレット：2列 */
  }
}

@media (max-width: 576px) {
  .achievement-items {
    /* margin: 0 -20px 40px 0; */

    /* gap: 20px; */
  }

  /* .achievement-content {
    padding: 15px;
  } */
}

.achievement-thumbnail {
  position: relative;
}

.view-all-button {
  margin: 0 10px;
}
/* 実績一覧ページのスタイル */
.achievements-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-title {
  color: #2c2c2c;
  font-size: 34px;
  margin: 0 0 40px;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
}

/* タブナビゲーション */
.achievements-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.tab-button {
  padding: 12px 30px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #333;
}

.tab-button.active {
  color: #3498db;
  border-bottom-color: #3498db;
}

/* 実績グリッド */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

/* 個別の実績アイテム */
.achievement-item {
  border: 1px solid #e1e1e1;
  background-color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

/* サムネイル */
.achievement-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.achievement-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.achievement-thumbnail:hover img {
  transform: scale(1.05);
}

/* ポストタイプタグ */
.post-type-tag {
  font-size: 12px;
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 10px;
  color: white;
  z-index: 1;
  border-radius: 3px;
}

.reform-tag {
  background-color: #2d7cb0;
}

.store-tag {
  background-color: #d87c25;
}

/* コンテンツ部分 */
.achievement-content {
  padding: 20px;
}

.achievement-title {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.achievement-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.achievement-title a:hover {
  color: #3498db;
}

.achievement-meta {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.achievement-meta span {
  display: inline-flex;
  align-items: center;
}

.achievement-meta i {
  margin-right: 5px;
}

/* レスポンシブ */
@media (max-width: 992px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .tab-button {
    padding: 10px 15px;
    font-size: 14px;
  }
}
/* バナーコンテナ */
.line-bnr-container {
  margin: 30px auto;
  max-width: 100%;
}

/* PCでの横並びバナー */
.line-bnr-desktop {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.line-bnr-desktop a {
  flex: 1;
}

.line-bnr-desktop img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.line-bnr-desktop a:hover img {
  opacity: 0.9;
}

/* モバイル用スライダー */
.line-bnr-mobile {
  display: none;
}

/* スライダーのスタイル */
.line-bnr-slider {
  width: 100%;
}
/* ドットの位置を下に移動してバナーとの重なりを避ける */
.line-bnr-mobile .line-bnr-slider .slick-dots {
  bottom: -30px; /* この負の値を大きくするとドットがさらに下に移動します */
  padding: 0; /* パディングを削除 */
}

/* ドットを丸から長方形に変更 */
.line-bnr-mobile .line-bnr-slider .slick-dots li button:before {
  content: "";
  width: 20px; /* 長方形の幅 */
  height: 5px; /* 長方形の高さ */
  border-radius: 0; /* 角丸を削除して長方形にする */
  background-color: #ccc; /* 非アクティブ状態のドットの色 */
  opacity: 1;
}

/* アクティブなドットのスタイル */
.line-bnr-mobile .line-bnr-slider .slick-dots li.slick-active button:before {
  background-color: #000; /* アクティブ状態のドットの色 - 必要に応じて変更してください */
  opacity: 1;
}

/* ドット間のスペースを調整 */
.line-bnr-mobile .line-bnr-slider .slick-dots li {
  margin: 0 5px; /* ドット間の間隔を調整 */
}
.line-bnr-slide {
  padding: 0 10px;
}

.line-bnr-slide img {
  width: 100%;
  height: auto;
}

/* Slickナビゲーションのカスタマイズ */
.slick-dots {
  bottom: -25px;
}

.slick-dots li button:before {
  font-size: 12px;
  color: #ccc;
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  color: #3498db;
}

.slick-prev,
.slick-next {
  z-index: 1;
}

.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

.slick-prev:before,
.slick-next:before {
  color: #3498db;
}

/* レスポンシブ設定 */
@media (max-width: 767px) {
  .line-bnr-desktop {
    display: none;
  }

  .line-bnr-mobile {
    display: block;
    margin: 20px auto;
  }
}

/* achievement-items-wrapper: スクロールコンテナのラッパー */
.achievement-items-wrapper {
  position: relative;
}

/* achievement-items: PCではグリッド、SPでは横スクロール */
.achievement-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* サムネイル画像のスタイル */
.achievement-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.achievement-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.achievement-thumbnail:hover img {
  transform: scale(1.05);
}

/* コンテンツ部分のスタイル */
.achievement-content {
  padding: 20px;
}

.achievement-title {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.achievement-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.achievement-title a:hover {
  color: #3498db;
}

/* メタ情報のスタイル */
.achievement-meta {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.achievement-meta span {
  display: inline-flex;
  align-items: center;
}

.achievement-meta i {
  margin-right: 5px;
}

/* スクロールインジケーター（デフォルトでは非表示） */
.scroll-indicator {
  display: none;
  text-align: center;
  margin-top: 15px;
  color: #666;
  font-size: 14px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.scroll-indicator span {
  display: inline-block;
  position: relative;
  padding-right: 20px;
}

.scroll-indicator span:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>')
    no-repeat center center;
  background-size: contain;
  animation: arrowBounce 1.5s infinite;
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-50%) translateX(5px);
  }
}

/* タブレット対応 */
@media (max-width: 992px) {
  .achievement-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ対応（横スクロール） */
@media (max-width: 767px) {
  .achievement-items-wrapper {
    overflow: hidden;
    padding: 0 15px;
    margin: 0 -15px;
  }

  .achievement-items {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* scrollbar-width: none; を削除 */
    /* -ms-overflow-style: none; を削除 */
  }

  /* .achievement-items::-webkit-scrollbar { display: none; } を削除 */

  /* スクロールバーのカスタマイズ */
  .achievement-items::-webkit-scrollbar {
    height: 6px;
  }

  .achievement-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .achievement-items::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }

  .achievement-items::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .achievement-item {
    flex: 0 0 85%;
    min-width: 280px;
    scroll-snap-align: start;
  }

  .achievement-item:last-child {
    margin-right: 0;
    padding-right: 15px;
  }

  .scroll-indicator {
    display: block;
  }
}
.voice-section {
  padding: 40px 0;
}

.voice-container {
  margin-top: 30px;
}

.voice-item {
  margin-bottom: 30px;
  padding: 20px;
  border: 4px solid #eee;
  border-radius: 5px;
  background-color: #fff;
}

.voice-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.voice-avatar {
  margin-right: 15px;
}

.avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* 円形にする */
  object-fit: cover; /* 画像がきれいにフィットするようにする */
  border: 2px solid #eee; /* 枠線を追加 */
}

.customer-name {
  font-weight: bold;
  font-size: 18px;
}

.customer-info {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.voice-content p {
  margin: 0;
  line-height: 1.6;
}
.pc-no {
  display:none;
}
@media (max-width: 767px) { 
  .pc-no {
    display:block;
  }
}
/* スライダー全体のスタイル */
.featured-image-slider-wrapper {
  margin: 20px 0 -20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) { 
  .featured-image-slider-wrapper {
    margin: 0 0 -20px;
  }
}
.featured-image-slider {
  margin: 0 -50px; /* 左右のはみ出し部分のマイナスマージン */
}


/* スライド個別のスタイル */
.featured-slide {
  padding: 0 10px;
  height: auto; /* 高さを自動調整 */
}

/* 既存のfeatured-imageクラスを活用 */
.featured-slide .featured-image {

  margin-bottom: 0;
  height: 100%; /* 親要素に合わせる */
}

.featured-image-container {
  position: relative;
  overflow: hidden;
  padding-top: 66.67%;
  height: 0;
}

.featured-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像比率を保ちながら領域を埋める */
  object-position: center; /* 中央を基準に配置 */
  transition: all 0.5s ease;
  cursor: pointer;
}
/* .featured-slide:hover .featured-image-container img {
  transform: scale(1.05);
} */

/* .reform-date {
  margin-top: 10px;
  padding: 0 10px 0 0;
  font-size: 14px;
  color: #666;
  font-weight: bold;
} */

/* スライダーのナビゲーションボタン */
.slick-prev, .slick-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* よりはっきりと左右の画像を見せるためのスタイル調整 */
/* .slick-slide {
  opacity: 0.7;
  transform: scale(0.9);
  transition: all 0.5s ease;
} */

.slick-center {
  opacity: 1;
  transform: scale(1);
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
  .featured-image-slider {
    margin: 0 -30px;
  }
  
  .slick-prev {
    left: 5px;
  }

  .slick-next {
    right: 5px;
  }
}