/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-small {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.sp {
	display: none !important;
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: min(4vw, 20px);
    text-align: center;
    line-height: 1.2;
    transition: opacity 0.3s;
}
.btn:hover {
    opacity: 0.8;
}
.btn-orange { 
    background-color: #FF8800; 
    color: #fff; 
    border: none; 
}
.btn-red {
	background-color: #d80000; 
    color: #fff; 
    border: none; 
	padding: 15px;
	font-size: 18px;
}
.btn-phone { 
    background-color: #fff; 
    color: #FF8800; 
    border: 1px solid #FF8800; 
}
.btn-line { 
    background-color: #06c755; 
    color: #fff; 
}
.btn img {
    width: 35px;
    height: auto;
}
.btn-small {
    font-size: min(2.6vw, 16px);
}
.cta-btn {
	margin: 4rem auto 0;
	width: 80%;
}
.cta-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ヘッダー */
.header {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    z-index: 100;
	background-color: #385BA9;
	padding: 15px;
}
.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}
.header-btn-group {
    display: flex;
    gap: 15px;
}
.header-btn-group a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.small-cta img {
    height: 70px;
    border-radius: 6px;
}
.small-cta:hover {
    opacity: 0.8;
}

/* メインビジュアル (Hero) */
/* --- MV全体設定 --- */
.hero {
    position: relative;
    background: url('https://support.armor-horse.co.jp/wp-content/uploads/2026/09/26987539_l-1-scaled.jpg') no-repeat center top / cover;
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
}
.hero-inner {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 16px;
}
/* ヘッダー右上の問い合わせボタン */
.hero-header-contact {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 15px;
}
/* --- メインタイトル --- */
.hero-main-title {
    font-size: min(8.2vw, 80px);
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-main-title .white-text {
    color: #ffffff;
}
.hero-main-title .yellow-text {
    color: #ffde00; /* 鮮やかな黄色 */
}

/* --- カプセル型タグ --- */
.hero-tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.hero-tags .tag {
    background-color: #ffffff;
    color: #001C5B;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: min(3.1vw, 22px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
/* --- 右側バッジエリア --- */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 35%;
}
.hero-badges img {
    width: 15vw;
    height: auto;
}
/* --- MV内 お悩みカード（ホワイトボード風） --- */
.hero-problems-card {
    width: 90%;
    max-width: 1000px;
    background: #ffffff;
    border: 4px solid #f1c40f; /* 黄色・金色の太枠 */
    border-radius: 16px;
    padding: 25px min(3vw, 35px);
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}
.problems-header {
    margin-bottom: 15px;
	position: relative;
}
.checklist-tag {
    font-size: min(5.2vw, 50px);
    color: #e67e22;
    font-weight: bold;
	line-height: 1;
	border-bottom: double 4px #e67e22;
	position: absolute;
	top: -28px;
	left: -40px;
	transform: rotate(-9deg);
}
.problems-header .problem-title {
    font-size: min(5.2vw, 52px);
    font-weight: 800;
    color: #111111;
    margin: 0;
	text-align: center;
}
/* リスト・本文 */
.problems-content {
    position: relative;
}
.problems-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.problems-content li {
    position: relative;
    padding-left: min(5vw, 28px);
    padding-bottom: 8px;
    margin: min(5vw, 2rem) auto;
    font-size: min(4vw, 24px);
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
    border-bottom: 1px dashed #dddddd;
	display: flex;
    align-items: center;
}
/* チェックボックスアイコン */
.problems-content li .chk {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../images/check.png');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
	margin-right: 5px;
    flex-shrink: 0; 
}
/* リスト内補足テキスト（※注釈など） */
.problems-content .sub-text {
    display: block;
    font-size: min(3.1vw, 18px);
    color: #666666;
    font-weight: normal;
    margin-top: 2px;
}
/* 右下人物イラスト */
.problems-avatar {
    position: absolute;
    right: -150px;
    bottom: -57px;
    width: 35%;
    height: auto;
    z-index: 3;
}
/* --- 下部 CTAボタンエリア --- */
.bottom-cta-bar {
    background: #1a2b4c;
    padding: 25px 0;
    text-align: center;
}
.cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #f39c12, #e67e22);
    color: #ffffff;
    font-size: min(4vw, 1.5rem);
    font-weight: bold;
    padding: 12px 60px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
}
.logo img {
    width: 10%;
}
/* セクション共通 */
.section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    font-size: min(5.6vw, 40px);
    margin-bottom: 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.section-title::before {
    content: "●●●";
    letter-spacing: 4px;
    background: linear-gradient(
        to right, 
        #0044cc 0%, 
        #0044cc 66%, 
        #ff9900 66%, 
        #ff9900 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-bg-light { background-color: #fff9f0; } /* 薄いオレンジ/ベージュ */
.section-bg-blue { background-color: #f0f7ff; }  /* 薄いブルー */

/* CTA */
.cta-box {
    max-width: 1000px;
    margin: 0 auto;
}
.cta-heading {
  display: inline-block;
  padding: 2px 14px;
  margin-top: 8px;
  margin-bottom: 5px;
  background-color: #D80100;
  color: #fff;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.cta-text {
    margin-top: 8px;
}

/* About US */
.about-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}
.about-img img {
    width: 100%;
    border-radius: 8px;
}
.about-text {
    max-width: 620px;
    font-size: 18px;
}
.about-text-title {
    font-size: min(10vw, 140px);
    font-weight: bold;
    color: #F5F5F5;
    white-space: nowrap;
}

/* グリッドレイアウト */
.grid {
    display: grid;
    gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* カードデザイン (サポート内容) */
.card {
    background: #fff;
    padding: 30px 15px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #9B9B9B;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.1);
}
.card .icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}
.card p {
    font-weight: bold;
    font-size: 20px;
}
.card .card-small {
    font-size: 16px;
    font-weight: 400;
}
/* 取扱サービス */
.service-box {
    border: 2px solid #ff9900;
    border-radius: 10px;
    padding: 30px;
    background: #FFF4E8;
}
.service-title {
    font-size: 20px;
    margin: 1rem auto;
}
.service-logos {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
}
.logo-item {
    width: 200px;
    height: 74px;
    font-size: 20px;
    font-weight: bold;
    color: #555;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border:1px solid #001C5B;
    border-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.logo-item-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border:1px solid #001C5B;
    border-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
}
.logo-item-img2 img {
    width: 200px;
    height: 74px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* サポート可能な業種 */
.tag {
    background: #A3DAFF;
    color: #001C5B;
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: 16px;
}
.tag img {
    width: 80px;
    height: 80px;
    background-color: #001C5B;
    padding: 10px;
    border-radius: 16px 0 0 16px;
}
.tag p {
    margin-left: 2rem;
    font-size: 20px;
}

/* 対応エリア */
.area {
	margin-top: 6rem;
}
.area-card {
    background-color: #ffffff;
    margin: 0 auto 20px;
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.area-title {
    font-size: 24px;
    color: #001C5B;
    margin-bottom: 10px;
	display: flex;
	align-items: center;
}
.area-title::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('https://support.armor-horse.co.jp/wp-content/uploads/2026/08/area-icon.png');
    background-size: cover;
	margin-right: 5px;
}
.area-desc {
	font-size: 18px;
    line-height: 1.7;
}
.area-text {
	text-align: right;
}

/* メリット */
.merit-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.1);
}
.merit-card .num {
    font-size: 68px;
    color: #385BA9;
    display: block;
    position: absolute;
    top: -50px;
    left: 15px;
}
.merit-card h3 {
    font-size: min(6vw, 32px);
    color: #001C5B;
    text-align: center;
}
.merit-card img {
    display: block;
    margin: 1rem auto;
    width: 60%;
    object-fit: contain;
}
.merit-card {
    font-size: 18px;
}

/*FAQ*/
.accordion-004 {
    max-width: 1000px;
    margin: 0 auto 1rem;
}

.accordion-004 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #2C3E50;
    background-color: #A3DAFF;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #2C3E50;
    border-right: 3px solid #2C3E50;
    content: '';
    transition: transform .3s;
}

.accordion-004[open] summary::after {
    transform: rotate(225deg);
}

.accordion-004 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 8px 0;
    padding: 1.5em 2em;
    background-color: #FFF4E8;
    font-size: 18px;
    color: #2C3E50;
    border-radius: 10px;
    transition: transform .5s, opacity .5s;
}

.accordion-004[open] p {
    transform: none;
    opacity: 1;
}

/* フォーム */
#contact .section-title {
	margin-bottom: 20px;
}
.contact-text {
	text-align: center;
	margin-bottom: 60px;
}
.contact-form {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
}
.required, .not-required {
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}
.required {
    background: #ff0000;
}
.not-required {
    background: #04a828;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}
.btn-submit {
    width: 100%;
    padding: 15px !important;
    font-size: 18px !important;
	margin-top: 1rem;
    cursor: pointer;
}
.wpcf7-radio,
.wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 0; 
}
.wpcf7-radio .wpcf7-list-item label, .wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-weight: 400 !important;
    height: 100%; 
    box-sizing: border-box;
}
.wpcf7-checkbox .wpcf7-list-item label:hover {
    background-color: #f0f7ff;
    border-color: #0044cc;
}
.wpcf7-radio input[type="radio"],
.wpcf7-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #0044cc;
    cursor: pointer;
}
.wpcf7-spinner {
	display: none;
}

/* フッター */
.footer {
    background: #385BA9;
    color: #fff;
    text-align: center;
    padding: 20px 0 120px;
    font-size: 14px;
}

/* 追従バナー全体設定（初期状態は非表示） */
.floating-banner {
    position: fixed;
    top: 50%;
    right: 20px;
    z-index: 9999;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-40%);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.floating-banner.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
}
.floating-banner.is-show:hover {
    transform: translateY(-55%);
}
.floating-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.banner-close-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background: #333333;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10000;
}

/* レスポンシブ対応 (スマホ表示) */
@media (max-width: 1024px) {
	.hero-badges img {
        width: 170px;
        height: auto;
	}
}
@media (max-width: 820px) {
	.logo img {
        width: 20%;
    }
	.hero-textbox {
		margin: 0 auto;
		width: 90%;
	}
    .hero-badges {
		width: 100%;
    }
	.problems-avatar {
		position: absolute;
		width: 33%;
		right: -5%;
		bottom: -170px;
	}
}
@media (max-width: 767px) {
    .pc { 
        display: none; 
    } 
	.sp {
		display: block !important;
	}
    .trouble-grid,
    .about-flex,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
	.header {
		padding: 5px 0 0;
	}
    .section {
        padding: 60px 0;
    }
    .section-title {
        margin-bottom: 30px;
    }
    .section-title::before {
        letter-spacing: -1px;
    }
    .header-inner {
        height: 60px;
    }
    .header-btn-group {
        gap: 5px;
    }
    .btn {
        padding: 8px;
		height: 50px
    }
    .btn img {
        width: 30px;
    }
	.floating-banner {
		top: 10%;
	}
    .small-cta img {
        height: 100px;
    }
	.hero {
		padding: 70px 0;
	}
    .logo {
        top: 1rem;
    }
    .logo img {
        width: 25%;
    }
    .hero-badges img {
        width: 30%;
    }
	.hero-problems-card {
		margin-top: 20px;
	}
	.checklist-tag {
	    top: -24px;
	    left: -15px;
    }
	.problems-content li {
		align-items: flex-start;
		padding-left: 0;
	}
    .about-flex, .cta-box {
        padding: 0 20px;
        gap: 0;
    }
    .service-logos {
        justify-content: center;
    }
    .tag img {
        width: 60px;
        height: 60px;
    }
	.area {
	    margin-top: 3rem;
    }
	.area-title {
		font-size: 20px;
	}
    .merit-card .num {
        font-size: 12vw;
        top: -30px;
    }
    .accordion-004 summary, .accordion-004 p {
        padding: 1rem;
        font-size: 16px;
    }
    .contact-form {
        padding: 40px 15px;
    }
    .form-group label, .area-desc {
        font-size: 16px;
    }
    .wpcf7-radio,
    .wpcf7-checkbox {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2列に並べる */
        gap: 10px;
    }
	.cta {
		padding-bottom: 0;
	}
    .cta-text {
        font-size: 14px;
    }
	.cta-btn {
        margin: 2rem auto 0;
        width: 100%;
	}
	.footer {
		padding-bottom: 70px;
	}
}
@media (max-width: 500px) {
	.problems-avatar {
        width: 50%;
        bottom: -25%;
    }
}

/* アニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.fade-in-up.is-active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.75s; }
.delay-6 { transition-delay: 0.9s; }
.delay-7 { transition-delay: 1.1s; }

@media screen and (max-width: 768px) {
    .delay-1,
    .delay-2,
    .delay-3,
    .delay-4,
    .delay-5,
    .delay-6,
    .delay-7  {
        transition-delay: 0s !important;
    }
}

/* ==========================================
   ブログ記事一覧（home.php）スタイル
   ========================================== */

.blog-archive-container {
  padding-bottom: 80px;
  color: #333333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ページ見出し（サイト特有の紺色と洗練されたフォント配置） */
.blog-archive-header {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 1px solid #e2e8f0;
}

.archive-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a2536;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.archive-subtitle {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
  letter-spacing: 0.05em;
}

/* 一覧レイアウト枠 */
.blog-archive-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* グリッドレイアウト（PCは3列） */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* 記事カード */
.post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(26, 37, 54, 0.08);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* カード画像 */
.post-card-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f1f5f9;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumbnail img {
  transform: scale(1.05);
}

/* NO IMAGE用表示 */
.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
}

/* カードテキスト部分 */
.post-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.post-card-date {
  color: #64748b;
}

.post-card-category {
  background-color: #1a2536;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.7rem;
}

.post-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a2536;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-excerpt {
  font-size: 0.875rem;
  color: #626262;
  line-height: 1.6;
  margin-top: auto;
}

.post-card-excerpt p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ページネーション設定 */
.blog-pagination {
  text-align: center;
  margin-top: 40px;
}

.blog-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  color: #1a2536;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.blog-pagination a:hover,
.blog-pagination .current {
  background-color: #1a2536;
  color: #ffffff;
  border-color: #1a2536;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレットで2列 */
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr; /* スマホで1列 */
  }
  .blog-archive-header {
    padding: 40px 20px;
    margin-bottom: 30px;
  }
  .archive-title {
    font-size: 1.75rem;
  }
}


/* ==========================================
   ブログ記事詳細（single.php）スタイル
   ========================================== */

body.single .header-inner, body.blog .header-inner {
	display: none;
}

/* 全体レイアウト */
.single-container {
  max-width: 860px;
  margin: 60px auto;
  padding: 0 20px;
  color: #333333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
}

/* 記事ヘッダー */
.entry-header {
  margin-bottom: 40px;
  text-align: center;
}

.entry-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.875rem;
  color: #666666;
}

.entry-category {
  background-color: #1a2536; /* ブランドカラーの濃紺 */
  color: #ffffff;
  padding: 3px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
}

.entry-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a2536;
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin: 0;
}

/* アイキャッチ画像 */
.entry-thumbnail {
  margin-bottom: 40px;
  text-align: center;
}

.entry-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 記事本文スタイル */
.entry-content {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

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

/* 見出し h2 (左ライン付きの洗練されたデザイン) */
.entry-content h2 {
  font-size: 1.5rem;
  color: #1a2536;
  position: relative;
  padding-left: 18px;
  margin: 50px 0 25px;
  line-height: 1.4;
  font-weight: 600;
}

.entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #1a2536;
  border-radius: 2px;
}

/* 見出し h3 (下線スタイル) */
.entry-content h3 {
  font-size: 1.25rem;
  color: #1a2536;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
  margin: 40px 0 20px;
  font-weight: 600;
}

/* 引用 */
.entry-content blockquote {
  background-color: #f8f9fa;
  border-left: 3px solid #1a2536;
  margin: 30px 0;
  padding: 20px 25px;
  font-style: italic;
  color: #555555;
}

/* リンク */
.entry-content a {
  color: #1a2536;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.entry-content a:hover {
  opacity: 0.7;
}

/* 画像 */
.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

/* 前後記事ナビゲーション */
.entry-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.post-navigation a {
  color: #1a2536;
  text-decoration: none;
  font-weight: 500;
}

.post-navigation a:hover {
  text-decoration: underline;
}

/* スマホ表示対応 */
@media (max-width: 768px) {
  .single-container {
    margin: 30px auto;
  }
  .entry-title {
    font-size: 1.5rem;
  }
  .entry-content h2 {
    font-size: 1.25rem;
  }
  .post-navigation {
    flex-direction: column;
    gap: 15px;
  }
}

/* ==========================================
   数字でみるサポート内容
   ========================================== */
#support2 .section-title {
	font-size: min(5vw, 40px);
	letter-spacing: -1px;
}
.ah-section {
    background-color: #f4f4f4;
}
.ah-block {
  margin-bottom: 40px;
}
.ah-block-title {
  font-size: min(4.6vw, 32px);
  color: #1a237e;
  border-left: 5px solid #0d47a1;
  padding-left: 12px;
  margin-bottom: 16px;
}
.ah-grid {
  display: grid;
  gap: 20px;
}
.ah-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ah-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
/* カードスタイル */
.ah-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.ah-card-header {
  background: #1a237e;
  color: #fff;
  font-weight: bold;
  padding: 12px 16px;
  font-size: min(4.6vw, 24px);
  text-align: center;
}
.ah-card-body {
  padding: 20px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 価格・数字の強調デザイン */
.ah-price-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 8px;
}
.ah-price-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
	height: 50px;
}
.ah-price-item2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.ah-price-main {
    justify-content: center;
    gap: 1rem;
}
.ah-label {
	width: 37%;
  font-size: 14px;
  color: #666;
}
.ah-num {
  font-size: min(5.6vw, 32px);
  font-weight: bold;
  color: #0d47a1;
}
.ah-num-bold {
  font-size: min(7.6vw, 40px);
  font-weight: bold;
  color: #d32f2f; /* 0円などの強調色 */
  line-height: 1;
}
.ah-num-accent {
  font-size: 30px;
  font-weight: bold;
  color: #d32f2f;
  line-height: 1;
}
.ah-unit {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-left: 2px;
}
.ah-unit-accent {
  font-size: 16px;
  font-weight: bold;
  color: #d32f2f;
}
.ah-approx {
  font-size: 13px;
  color: #666;
  margin-right: 2px;
}

/* 補足文章 */
.ah-note {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}
.ah-sub-note {
  font-size: 11px;
  color: #777;
  text-align: center;
  margin-top: 4px;
}

/* バッジ・事例枠 */
.ah-badge-text {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
.ah-badge-text2 {
    margin-bottom: 1rem;
}
.ah-case-box {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid #e9ecef;
}
.ah-case-title {
  font-weight: bold;
  color: #0d47a1;
  margin-bottom: 8px;
  text-align: center;
}
.ah-case-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ah-case-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #e0e0e0;
}
.ah-case-list li:last-child {
  border-bottom: none;
}
.ah-case-list strong {
  color: #d32f2f;
}
.ah-case-list small {
  font-size: 11px;
  color: #666;
  font-weight: normal;
}
.ah-num-sm {
  font-size: 16px;
  font-weight: bold;
}

/* ==========================================
   お客様の声
   ========================================== */
.ah-voice-section {
  overflow: hidden;
}
/* スライダー枠*/
.ah-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* アニメーション用トラック */
.ah-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: loop-slide-right 50s linear infinite;
}
/* モーダル表示時にアニメーション停止 */
.ah-slider-track.is-paused {
  animation-play-state: paused;
}

@keyframes loop-slide-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}
/* カードデザイン（クリック可能に） */
.ah-voice-card {
  width: 380px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ah-voice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
/* カードヘッダー */
.ah-voice-header {
  background: #1a237e;
  color: #ffffff;
  padding: 16px 20px;
}
.ah-voice-meta {
  display: block;
  font-size: 12px;
  color: #bbdefb;
  margin-bottom: 2px;
}
.ah-voice-name {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}
/* カード本文 */
.ah-voice-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.ah-voice-heading {
  margin: 0 0 12px 0;
  font-weight: bold;
  color: #0d47a1;
  line-height: 1.4;
  border-left: 3px solid #e65100;
  padding-left: 8px;
}
.ah-voice-text {
  margin: 0;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}
/* スライダー側は文章を3行に制限 */
.ah-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.ah-more-btn {
  font-size: 12px;
  color: #0d47a1;
  font-weight: bold;
  margin-top: auto;
  align-self: flex-end;
}
/* サポート内容タグ */
.ah-voice-footer {
  padding: 12px 20px 16px;
  background: #fafbfc;
  border-top: 1px dashed #e2e8f0;
}
.ah-voice-tag-label {
  display: block;
  color: #777;
  margin-bottom: 6px;
  font-weight: bold;
}
.ah-voice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ah-voice-tags span {
  background: #e8eaf6;
  color: #1a237e;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* モーダルウィンドウ部分 */
.ah-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.ah-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.ah-modal-content {
  background: #fff;
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: modal-pop 0.3s ease;
}

.ah-modal-content.is-active {
  display: block;
}

@keyframes modal-pop {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ah-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}

@media (max-width: 480px) {
    .ah-voice-card { 
	    width: 300px; 
	}
	.ah-case-list li {
		flex-direction: column;
		align-items: flex-start;
	}
	.ah-price-item:last-child {
		height: auto;
	}
}