@charset "utf-8";
/*
Theme Name: Apikaa-corp
Author: アスクホールディングス株式会社
Description: original theme
Version： 1.0.0
*/

/* -----------------------------------------------------------------------
root
---------------------------------------------------------------------- */
:root {
    --color-text: #333333;
    --color-brand: #005CAB;
    --color-blue: #00396A;
    --color-lblue: #D9E1E9;
    --color-pblue: #EBF1F6;
    --color-bk: #1a1a1a;
    --color-dgrey: #767676;
    --color-grey: #999;
    --color-mgrey: #d3d3d3;
    --color-lgrey: #f5f5f5;
    --color-wh: #ffffff;
}

/* -----------------------------------------------------------------------
reset
---------------------------------------------------------------------- */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    background: transparent;
}

ins {
    text-decoration: none;
    color: var(--color-text);
    background-color: #ff9;
}

mark {
    color: var(--color-text);
    background-color: #ff9;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    cursor: help;
    border-bottom: 1px dotted;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

hr {
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ccc;
}

/* -----------------------------------------------------------------------
page design
---------------------------------------------------------------------- */
html {
    font-size: 16px;
    scroll-padding-top: calc((var(--headerHeight, 95px)) + 20px);
    /* 95px：変数が取得できなかった場合の初期値 */
    /* 20px：スクロール時の上部のゆとり */
}

body {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--color-text);
    letter-spacing: .1em;
    font-weight: 400;
    line-height: 1.6;
    text-align: justify;
    word-break: break-all;
}

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

/* parts-------------------- */
a:link,
a:visited {
    color: var(--color-blue);
    text-decoration: underline;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a:hover {
    color: var(--color-brand);
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
}

/* -----------------------------------------------------------------------
layout
---------------------------------------------------------------------- */
.wrap,
main.cnt {
    overflow:clip;
}

.inner,
.brandcrumbs-wrap,
.post-wrap,
.subpage-cnt {
    max-width: 1200px;
    margin: 0 auto;
}

/* -----------------------------------------------------------------------
header
---------------------------------------------------------------------- */
header {
    position: sticky;
    top: 0px;
    z-index: 9999;
    height: fit-content;
    background-color: var(--color-wh);
}

header .inner {
    font-size: 0.9em;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ-------------------- */
header p.sitelogo{
    margin-top: 8px;
}

header p.sitelogo img {
    width: 140px;
    height: 40px;
    position: relative;
    z-index: 9999;
    /* ボタンを最前面に */
}

/* ナビゲーションメニュー-------------------- */
header .pcmenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 40px;
}

header .pcmenu ul,
header .spmenu ul {
    list-style: none;
}

header .pcmenu ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

header .pcmenu ul a {
    position: relative;
    color: var(--color-text);
    text-decoration: none;
}

header .pcmenu ul a:hover {
    color: var(--color-brand);
}

header .pcmenu ul a::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--color-brand);
    bottom: -6px;
    left: 0;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

header .pcmenu ul a:hover::after {
    transform: scale(1, 1);
}


/* スマホメニュー-------------------- */
/* 表示の処理 */
header .spmenu {
    display: none;
    position: fixed;
    top: 10px;
    right: 6%;
    z-index: 9998;
}

header .spmenu .gnav-sp {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: -200%;
    /* はじめは欄外に */
    width: calc(100% - 40px);
    padding: 70px 20px 0;
    background-color: var(--color-wh);
    transition: all 0.55s;
    /* 動き */
    height: calc(100vh - 70px);
    overflow-y: scroll;
}

/* アクティブクラスがついた時の処理 */
header .spmenu .gnav-sp.panelactive {
    right: 0;
}

/* ナビゲーションボタンの処理 */
.openbtn {
    position: relative;
    z-index: 9999;
    /* ボタンを最前面に */
    cursor: pointer;
    width: 28px;
    height: 36px;
    margin: 0 0 0 auto;
}

.openbtn span {
    /* ×に変化 */
    display: inline-block;
    transition: all .4s;
    position: absolute;
    height: 1px;
    background-color: var(--color-text);
    width: 100%;
}

.openbtn span:nth-of-type(1) {
    top: 10px;
}

.openbtn span:nth-of-type(2) {
    top: 18px;
}

.openbtn span:nth-of-type(3) {
    top: 26px;
}

.openbtn.active span:nth-of-type(1) {
    top: 13px;
    left: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 25px;
    left: 0px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
}

header .spmenu ul.menu {
    font-size: 1.2em;
    font-weight: 700;
    border-top: 1px solid var(--color-mgrey);
    margin-bottom: 3em;
}

header .spmenu ul.menu li {
    padding: 1.5em 0;
    border-bottom: 1px solid var(--color-mgrey);
}

header .spmenu ul.menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    color: var(--color-text);
    text-decoration: none;
	padding: 0.5em 0;
}

header .spmenu ul.menu li a::after {
    content: '';
    width: 10px;
    height: 14px;
    background-image: url(_img/icn-arrow2bl-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
}


header .spmenu ul.sub-menu {
    font-size: 0.9em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 32px;
}

header .spmenu ul.sub-menu li {
    width: calc(50% - 16px);
    border: none;
    padding: 0.5em 0;
}

header .spmenu ul.sub-menu li:last-of-type {
    padding-bottom: 0;
}

header .spmenu ul.sub-menu li a {
    color: var(--color-blue);
}

header .spmenu ul.sub-menu li a::after {
    width: 10px;
    height: 10px;
}

/* バナー-------------------- */
header .spmenu .gnav-sp .banner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.5em;
    margin-bottom: 3em;
}

header .spmenu .gnav-sp .banner a,
header .spmenu .gnav-sp .banner img {
    display: block;
}

/* -----------------------------------------------------------------------
トップページ
---------------------------------------------------------------------- */
/* layout-------------------- */
.home .l-content__body {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.home section {
    padding: 5em 0;
}

/* スライダー共通-------------------- */
.swiper-slide img {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 100%;
}

/* 次へ前へボタン */
.top-swiper-button.swiper-button-next,
.top-swiper-button.swiper-button-prev {
    width: 56px;
    height: 56px;
}

.top-swiper-button.swiper-button-next:after,
.top-swiper-button.swiper-button-prev:after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('_img/icn-arrow.svg');
    background-position: center center;
    background-size: 30%;
    background-repeat: no-repeat;
    background-color: var(--color-blue);
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.top-swiper-button.swiper-button-prev:after {
    background-image: url('_img/icn-arrow-prev.svg');
}

.top-swiper-button.swiper-button-next:hover:after,
.top-swiper-button.swiper-button-prev:hover:after {
    background-color: var(--color-brand);
}

/* スライダーmv-------------------- */
.top-mv {
    position: relative;
    width: 100%;
}

.top-mv .sp {
    display: none;
}

.top-mv .swiper-slide img {
    width: 100%;
    height: auto;

}

.top-mv:before,
.top-mv:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-mv:before {
    background-image: linear-gradient(90deg, #0F4C92, #0E1A5350 60%, #0E1A5300);
    z-index: 7;
}

.top-mv .mv-txt {
    position: absolute;
    bottom: 60px;
    left: 80px;
    color: var(--color-wh);
    z-index: 9;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.top-mv .mv-txt .en {
    font-size: 5em;
    line-height: 1;
    margin-bottom: 0.4em;
}

.top-mv .mv-txt .jp {
    font-size: 2em;
}

/* スライダーバナー-------------------- */
.bnr-swiper {
    position: relative;
    margin: 24px 0;
}

/* ページネーション */
.swiper-horizontal>.top-swiper-pagination.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    width: auto;
    left: auto;
    right: 17%;
    bottom: 0;
    padding: 0 4px;
    background-color: rgba(0, 0, 0, 0.3);
}

.swiper-pagination-bullet {
    background: none;
    border: 1px solid var(--color-wh);
    opacity: 1;
}

.bnr-swiper .swiper-pagination-bullet-active {
    background: var(--color-wh);
    border: 1px solid var(--color-wh);
}

.bnr-swiper .swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 次へ前へボタン */
.bnr-swiper .swiper-button-next {
    right: 15%;
}

.bnr-swiper .swiper-button-prev {
    left: 15%;
}

/* スライダー製品情報-------------------- */
.product-swiper {
    position: relative;
    margin: 24px 0;
}

.product-swiper-ui {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    margin-top: 2em;
}

/* ページネーション */
.product-swiper-ui .swiper-pagination {
    position: static;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
}

.product-swiper-ui .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--color-wh);
}

/* 次へ前へボタン */
.product-swiper-button {
    position: relative;
    display: flex;
    gap: 24px;
}

.product-swiper-button .swiper-button-next,
.product-swiper-button .swiper-button-prev {
    position: static;
    margin: 0;
    border: 1px solid var(--color-wh);
}

/* 製品情報 */
.product-swiper a {
	text-decoration: none;
	color: var(--color-wh);
}

.product-swiper a:hover {
	opacity: 0.5;
}

.product-swiper .info {
    margin-top: 1em;
}

.product-swiper .info h3 {
    font-size: 1.25em;
    display: flex;
	flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.5em;
}

.product-swiper .info h3 span.cate {
    display: flex;
    align-items: center;
    font-size: 0.6em;
    font-weight: 400;
    line-height: 1;
    padding: 0.5em 1em;
    background-color: var(--color-brand);
	width: max-content;
}

/* トップページ共通-------------------- */
/* h2 */
h2.topindex {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    font-weight: 600;
    font-size: 2em;
    margin-bottom: 1.5em;
}

h2.topindex span {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
}

#top-product h2.topindex,
#top-news h2.topindex,
#top-recruit .recruit-box h2.topindex {
    align-items: normal;
}

/* トップページ私たちについて-------------------- */
#top-about {
    background-color: var(--color-lgrey);
}

#top-about h3 {
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
}

#top-about p {
    text-align: center;
}

#top-about .btn-link {
    margin: 3em auto;
    display: flex;
    justify-content: center;
}

/* スライドの動き等速 */
.about-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

/* トップページ私たちについて-------------------- */
#top-strength .strength-box {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid var(--color-mgrey);
}

#top-strength .strength-box:last-of-type {
    margin-bottom: 0;
}

#top-strength .strength-ttl {
    font-size: 1.25em;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.3em;
    width: 80%;
}

#top-strength .strength-ttl span {
    font-size: 0.8em;
    color: var(--color-brand);
}

#top-strength .strength-cnt {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3em;
}

#top-strength .btn-strength a {
    padding: 1em;
}

#top-strength .btn-strength a::after {
    margin: 0;
}

/* トップページ製品紹介-------------------- */
#top-product {
    color: var(--color-wh);
    background-color: var(--color-blue);
}

#top-product .product-box {
    display: flex;
    justify-content: space-between;
    gap: 2em;
}

#top-product .product-box h2,
#top-product .btn-product {
    flex-shrink: 0;
}

#top-product .btn-product a {
    border: 1px solid var(--color-wh);
}

#top-product .btn-product.sp {
    display: none;
}

/* トップページ新着情報-------------------- */
#top-news {
    background-color: var(--color-lgrey);
}

/* 新着情報タブ */
/* ラジオボタン非表示 */
#top-news .news-tabs-wrapper input[type="radio"] {
    display: none;
}

/* タブボタン */
#top-news .news-tabs {
    display: flex;
    width: 100%;
    margin-bottom: 1em;
}

#top-news .news-tabs label {
    width: 100%;
    text-align: center;
    padding: 1em;
    cursor: pointer;
    border-bottom: 4px solid var(--color-lblue);
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

/* アクティブ状態のスタイル */
#tab-all:checked~.news-tabs label[for="tab-all"],
#tab-news:checked~.news-tabs label[for="tab-news"],
#tab-product:checked~.news-tabs label[for="tab-product"],
#tab-event:checked~.news-tabs label[for="tab-event"] {
    color: var(--color-blue);
    border-bottom: 4px solid var(--color-blue);
}

/* タブ内容の切り替え */
#top-news .news-content {
    display: none;
}

#tab-all:checked~.news-contents .news-content:nth-child(1),
#tab-news:checked~.news-contents .news-content:nth-child(2),
#tab-product:checked~.news-contents .news-content:nth-child(3),
#tab-event:checked~.news-contents .news-content:nth-child(4) {
    display: block;
}

/* お知らせリストデザイン */
#top-news .news-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#top-news .news-content li {
    border-bottom: 1px solid var(--color-mgrey);
    padding: 1em 0;
}

#top-news .news-content li a {
    text-decoration: none;
}

#top-news .news-content li .info {
    display: flex;
    align-items: center;
    gap: 16px;
}

#top-news .news-date {
    font-size: 0.9em;
    color: var(--color-blue);
}

#top-news .news-cat {
    font-size: 0.7em;
    line-height: 1;
    padding: 0.5em;
    border: 1px solid var(--color-blue);
}

#top-news .news-cat {
    order: 3;
}

#top-news .news-cat.cat-news-news {
    order: 1;
}

#top-news .news-title {
    margin-top: 1em;
}

#top-news .news-empty {
    padding-top: 1em;
}

/* お知らせ一覧ボタン */
#top-news .btn-news {
    margin: 3em auto 0;
    display: flex;
    justify-content: center;
}

/* トップページ採用情報-------------------- */
#top-recruit .recruit-box {
    display: flex;
}

#top-recruit .recruit-box .pict {
    width: 100%;
    height: auto;
    background-image: url(_img/top-recruit.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#top-recruit .recruit-box .cnt {
    width: calc(100% - 8em);
    padding: 4em;
    color: var(--color-wh);
    background-color: var(--color-blue);
}

/* 採用情報ボタン */
#top-recruit .recruit-box .cnt .btn-recruit {
    border: 1px solid var(--color-wh);
    margin: 3em auto 0;
    width: fit-content;
    display: flex;
    justify-content: center;
}

/* トップページ企業情報・カタログリンク-------------------- */
#top-linkbox {
    display: flex;
    background-color: var(--color-brand);
}

#top-linkbox .linkbox {
    width: 100%;
}

#top-linkbox .linkbox h2.topindex {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    font-weight: 400;
}

#top-linkbox .linkbox a {
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--color-wh);
    padding: 6em 0;
    overflow: hidden;
}

#top-linkbox .linkbox a::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    /* マウスホバー時のアニメーション */
}

#top-linkbox .linkbox a:hover::before {
    transform: scale(1.1);
    /* ←ふわっとズーム */
}

#top-linkbox .linkbox a::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00335E50;
}

#top-linkbox .company a::before {
    background-image: url(_img/top-company.jpg);
}

#top-linkbox .catalog a::before {
    background-image: url(_img/top-catalog.jpg);
}

/* -----------------------------------------------------------------------
parts
---------------------------------------------------------------------- */
/* btn-link-------------------- */
.btn-link {
    display: inline-block;
}

.btn-link a {
    padding: 1em 2em;
    text-decoration: none;
    color: var(--color-wh);
    background-color: var(--color-blue);
    display: flex;
    align-items: center;
    border-radius: 0;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.btn-link a::after {
    content: '';
    width: 16px;
    height: 12px;
    background-image: url('_img/icn-arrow.svg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 1em;
}

.btn-link a:hover {
    background-color: var(--color-brand);
}

/* -----------------------------------------------------------------------
ftr-contact
---------------------------------------------------------------------- */
.ftr-contact {
    padding: 5em 0;
    color: var(--color-wh);
    background-color: var(--color-blue);
}

.ftr-contact h2 {
    text-align: center;
    font-weight: 400;
    font-size: 2em;
    margin-bottom: 1.5em;
}

.ftr-contact h2 span {
    display: block;
    font-size: 0.5em;
}

.ftr-contact .ftr-contactbox {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.ftr-contact .ftr-contact-tel,
.ftr-contact .ftr-contact-mail {
    width: 50%;
    text-align: center;
}

.ftr-contact .ftr-contactbox h3 {
    font-weight: 400;
    font-size: 1em;
    margin-bottom: 1em;
}

.ftr-contact .ftr-contact-tel {
    border-right: 1px solid var(--color-wh);
}

.ftr-contact .ftr-contact-tel .tel {
    font-size: 2em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.ftr-contact .ftr-contact-tel .tel span {
    font-size: 0.7em;
    margin-right: 0.5em;
}

.ftr-contact .time {
    font-size: 0.8em;
}

.ftr-contact .ftr-contact-mail .btn-link a {
    border: 1px solid var(--color-wh);
}

/* -----------------------------------------------------------------------
footer
---------------------------------------------------------------------- */
footer {
    padding: 4em 0 0;
}

footer a {
    text-decoration: none !important;
}

footer .ftr-top {
    padding: 0 0 2.5em;
    display: flex;
    justify-content: space-between;
}

/* ロゴ-------------------- */
footer p.sitelogo img {
    width: 240px;
    height: 60px;
}

footer .ftr-top .name {
    padding: 1em 0 2em;
}

/* フッターメニュー-------------------- */
#ftr-menu {
    display: flex;
    flex-wrap: wrap;
    /* 折り返し有効 */
    gap: 1.5em 3em;
}

#ftr-menu a {
    color: var(--color-text);
}

#ftr-menu a:hover {
    color: var(--color-brand);
}

#ftr-menu li {
    width: calc(100% / 3 - 3em);
}

/* サブメニュー */
#ftr-menu .sub-menu {
    list-style: disc;
    padding-left: 1.3em;
}

#ftr-menu .sub-menu li::marker {
    color: var(--color-brand);
}

#ftr-menu .sub-menu li {
    width: 100%;
}

/* フッター下段-------------------- */
footer .ftr-bottom {
    color: var(--color-grey);
    font-size: 0.75em;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-grey);
    padding: 1em 0;
}

footer .ftr-bottom a {
    color: var(--color-grey);
}

/* -----------------------------------------------------------------------
ページトップに戻る
---------------------------------------------------------------------- */
a#back-to-top {
    position: fixed;
    right: 1em;
    bottom: 1em;
    width: 48px;
    height: 48px;
    background-color: var(--color-brand);
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 999;
    overflow: hidden;
}

a#back-to-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(_img/icn-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32% auto;
    transform: rotate(-90deg);
    transform-origin: center;
}

a#back-to-top.active {
    opacity: 1;
    pointer-events: auto;
}

/* -----------------------------------------------------------------------
subpage
---------------------------------------------------------------------- */
/* 下層ページのトップエリア-------------------- */
.top-area {
    position: relative;
    padding: 5em 0;
    background-image: url(_img/top-mv-wash.jpg);
    background-size: cover;
    background-position: center center;
}

.top-area:before,
.top-area:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-area::after {
    background-image: linear-gradient(90deg, #0F4C92, #0E1A5350 60%, #0E1A5300);
}

/* 下層ページのトップエリアの背景画像の出し分け */
.top-area.top-page-about {
    background-image: url(_img/toparea-about.jpg);
}

.top-area.top-cat-product {
    background-image: url(_img/toparea-product.jpg);
}

.top-area.top-page-company {
    background-image: url(_img/toparea-company.jpg);
}

.top-area.top-cat-news {
    background-image: url(_img/toparea-news.jpg);
}

.top-area.top-page-contact {
    background-image: url(_img/toparea-contact.jpg);
}

.top-area h1 {
    position: relative;
    z-index: 1;
    color: var(--color-wh);
    font-weight: 600;
    font-size: 3em;
    letter-spacing: .15em;
    display: flex;
    align-items: normal;
    flex-direction: column-reverse;
    gap: 16px;
}

.top-area h1 span {
    font-size: 0.4em;
    font-weight: 400;
}

/* 下層ページのコンテンツエリア-------------------- */
main.subpage-cnt {
    padding: 5em 0;
}

.subpage-cnt:has(.post > .inner > .postbody > .full-bg:last-child) {
    padding-bottom: 0;
}

/* パンくずリスト-------------------- */
.brandcrumbs-wrap {
    font-size: 0.75em;
    margin-bottom: 2.5em;
}

.aioseo-breadcrumb-separator {
    font-size: 0;
    /* 中身の文字を見えなくする */
    position: relative;
}

.aioseo-breadcrumb-separator::after {
    content: '';
    background-image: url(_img/icn-arrow2bl-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 16px;
    height: 10px;
    display: inline-block;
}

.aioseo-breadcrumb {
    color: var(--color-brand);
    font-weight: 700;
}

.aioseo-breadcrumb a {
    font-weight: 400;
}

/* サイドナビがある時-------------------- */
.subpage-layout {
    display: flex;
    justify-content: space-between;
    gap: 4em;
}

.subpage-layout .post {
    width: 100%;
    max-width: 884px;
}

.subpage-layout .side-nav {
    width: 100%;
    max-width: 252px;
}

.subpage-layout .side-nav .side-nav-inner {    
    position: sticky;
    top: 100px;
}

/* 製品紹介 投稿 */
.subpage-cnt.product-cat-cnt .post,
.subpage-cnt.product-single-cnt .post {
    order: 2;
}

.subpage-cnt.product-cat-cnt .side-nav,
.subpage-cnt.product-single-cnt .side-nav {
    order: 1;
}

/* サイドナビ-------------------- */
.side-nav .side-ttl,
.side-nav .cat-list li {
    padding: 1em 1.5em;
    background-color: var(--color-lgrey);
}

.side-nav .side-ttl .side-ttl-en {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--color-blue);
}

.side-nav .side-ttl .side-ttl-jp {
    font-size: 0.7em;
    padding-left: 1em;
}

.side-nav .cat-list {
    list-style: none;
}

.side-nav .cat-list li {
    border-bottom: 1px solid var(--color-grey);
}

.side-nav .cat-list li:last-child {
    border-bottom: none;
}

.side-nav .cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
}

.side-nav .cat-list a::after {
    content: '';
    background-image: url(_img/icn-arrow2bl-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 12px;
    height: 12px;
    display: inline-block;
}

/* アンカーリンクの時 */
.side-nav .cat-list.cat-list-anchor a::after {
    background-image: url(_img/icn-arrow2bl-down.svg);
    width: 16px;
    height: 16px;
}

/* サイドバナー-------------------- */
.side-banner {
    margin-top: 2.5em;
}

.side-banner a {
    display: block;
    margin-bottom: 0.5em;
}

/* -----------------------------------------------------------------------
固定ページ、投稿ページ共通（post）
---------------------------------------------------------------------- */
/* posthdr-------------------- */
/* 投稿のタイトル */
.post .posthdr .postttl {
    font-size: 2.25em;
    font-weight: 700;
    margin-bottom: 0.9em;
}

/* postbody-------------------- */
.post .postbody *:last-child {
    margin-bottom: 0;
}

/* エディタ内の余白 */
.post .postbody .mbx2 {
    margin-bottom: 2em;
}

.post .postbody .mbx4 {
    margin-bottom: 4em;
}

/* エディタ内の見出し */
.post .postbody .wp-block-heading {
    margin: 2.5em 0 1em;
}

.post .postbody .wp-block-heading:first-child {
    margin-top: 0;
}

.post .postbody h1,
.post .postbody h2 {
    font-size: 2.25em;
    font-weight: 700;
}

.post .postbody h2.h-hdr span {
    font-size: 0.5em;
    color: var(--color-brand);
    display: inline-block;
}

.post .postbody h2.h-hdr {
    color: var(--color-text);
    margin-bottom: 2em;
}

.post .postbody h2.h-lead {
    color: var(--color-brand);
}

.post .postbody h3 {
    font-size: 1.75em;
    color: var(--color-blue);
}

.post .postbody h3.h-hdr {
    color: var(--color-text);
}

.post .postbody h3.h-hdr span {
    font-size: 0.7em;
    color: var(--color-brand);
}

.post .postbody h4 {
    font-size: 1.5em;
}

.post .postbody h4.h-line {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-lblue);
}

.post .postbody h5 {
    font-size: 1.25em;
}

.post .postbody h6 {
    font-size: 1.1em;
}

/* エディタ内の段落 */
.post .postbody p {
    margin-bottom: 1em;
}

/* エディタ内の区切り線 */
.post .postbody hr {
    width: 100%;
    height: 2px;
    background: var(--color-mgrey);
    margin: 4em auto;
    border: 0;
}

/* エディタ内のリスト */
.post .postbody ul,
.post .postbody ol {
    list-style: revert;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.post .postbody ul li::marker {
    color: var(--color-brand);
}

/* エディタ内のテーブル */
.post .postbody .wp-block-table {
    margin-bottom: 1em;
}

.post .postbody table,
.post .postbody table td,
.post .postbody table th {
    border: 1px solid var(--color-grey);
}

.post .postbody table td:first-of-type {
    width: 25%;
}

.post .postbody table td:first-of-type,
.post .postbody table th {
    color: var(--color-wh);
    background-color: var(--color-blue);
}

.post .postbody table th {
    font-weight: 400;
}

.post .postbody .wp-block-table thead {
    border: none;
}

.post .postbody table .t-blue {
    background-color: var(--color-pblue);
}

.post .postbody .t-black table td:first-of-type,
.post .postbody .t-black table th {
    color: var(--color-wh);
    background-color: var(--color-text);
}

/* 洗車機用洗剤・ワックス対応表のテーブル */
.post .postbody .wp-block-table.t-product th {
    vertical-align: middle;
    text-align: center;
    padding: 1em 0.5em;
}

.post .postbody .wp-block-table.t-product th:nth-of-type(2) {
    background-color: var(--color-text);
}

.post .postbody .wp-block-table.t-product td,
.post .postbody .wp-block-table.t-product tr td:only-child {
    background-color: #fff;
}

.post .postbody .wp-block-table.t-product td:first-of-type {
    color: var(--color-text);
    background-color: var(--color-pblue);
}

/* エディタ内の引用 */
.post .postbody blockquote {
    font-style: italic;
    padding-left: 0.5em;
    border-left: 3px solid var(--color-mgrey);
}

/* エディタ内の詳細 */
.post .postbody .wp-block-details {
    margin-bottom: 1.5em;
    border-bottom: 1px solid var(--color-mgrey);
}

.wp-block-details summary {
    color: var(--color-brand);
    margin-bottom: 16px;
}

/* エディタ内の枠線ありボックス */
.post .postbody .blockbox-line {
    padding: 2.5em;
    border: 1px solid var(--color-grey);
}

/* エディタ内の枠線ありボックス */
.post .postbody .blockbox-fill {
    padding: 2.5em;
    background-color: var(--color-lgrey);
}

/* -----------------------------------------------------------------------
page
---------------------------------------------------------------------- */
/* 背景がグレーのコンテンツ -------------------- */
.full-bg {
    background-color: var(--color-lgrey);
    margin: 0 -100%;
    margin-top: 4em;
    padding: 4em 100%;
}

/* 私たちについて -------------------- */
/* アピカの強み　見出し */
.about-strength-index::before {
    content: 'STRENGTH';
    position: relative;
    display: block;
    color: var(--color-lblue);
    font-size: 3.5em;
    line-height: 1;
    letter-spacing: .1em;
    font-weight: 600;
    text-align: center;
}

.about-strength-index span {
    position: relative;
    margin-top: -0.8em;
    display: block;
    color: var(--color-blue);
    text-align: center;
}

.about-strength-index {
    margin-bottom: 2em !important;
}

.about-strength-box {
    margin-bottom: 8em;
}

/* 私達の強み　各コンテンツヘッダー */
.about-strength-hdr {
    margin-bottom: 4em;
}

.about-strength-hdr h2 {
    margin-bottom: 1em !important;
}

.about-strength-hdr .about-strength-hdr-cnt {
    padding: 4.5em 0;
    background-repeat: no-repeat;
}

.about-strength-box:first-of-type .about-strength-hdr .about-strength-hdr-cnt {
    background-size: 97px;
    background-image: url(_img/about-en01.png);
    background-position: top right;
}

.about-strength-box:nth-of-type(2) .about-strength-hdr .about-strength-hdr-cnt {
    background-size: 118px;
    background-image: url(_img/about-en02.png);
    background-position: top left;
}

.about-strength-box:nth-of-type(3) .about-strength-hdr .about-strength-hdr-cnt {
    background-size: 118px;
    background-image: url(_img/about-en03.png);
    background-position: top right;
}

/* 企業情報 -------------------- */
.company-philosophy{
    align-items: stretch;
}

.company-philosophy div:first-of-type{
    font-size: 1.75em;
    font-weight: bold;
    color: var(--color-brand);
    border-bottom: 2px solid var(--color-brand);
    align-self: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.57em;
}

.company-philosophy div:last-of-type{
    padding-bottom: 1em;
    border-bottom: 2px solid var(--color-mgrey);
}

/* お問い合わせページ-------------------- */
.contact-numberbox .number {
    font-size: 2.25em;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
}

.contact-numberbox .number span {
    font-size: 0.4em;
    color: var(--color-wh);
    background-color: var(--color-brand);
    margin-right: 1em;
    padding: 0.1em 0.4em;
}

/* -----------------------------------------------------------------------
single
---------------------------------------------------------------------- */
/* 新着投稿（single-news.php）-------------------- */
/* サイドナビ */
.side-nav .latest-news {
    padding: 1em 1.5em;
    background-color: var(--color-lgrey);
    border-bottom: 1px solid var(--color-mgrey);
}

.side-nav .latest-news h4 {
    margin-bottom: 1em;
}

.side-nav .latest-news .news-list .news-item {
    display: flex;
    gap: 0.5em;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--color-mgrey);
}

.side-nav .latest-news:last-of-type,
.side-nav .latest-news .news-list .news-item:last-of-type {
    margin-bottom: 0;
    border-bottom: none;
}

.side-nav .latest-news .news-list .news-item:last-of-type {
    padding-bottom: 0;
}

.side-nav .latest-news .news-list .news-item a {
    display: block;
}

.side-nav .latest-news .news-list .news-item .postthumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.side-nav .latest-news .news-list .news-item .postthumb img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.side-nav .latest-news .news-list .news-item .postinfo {
    width: 100%;
    font-size: 0.75em;
}

/* 投稿のタイトルまわり */
.news-single .posthdr {
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid var(--color-mgrey);
}

.news-single .posthdr .postttl {
    margin-bottom: 0.3em;
}

/* -----------------------------------------------------------------------
archive,category
---------------------------------------------------------------------- */
/* 1投稿ごとのボックス-------------------- */
.arch .archbox {
    border-bottom: 1px solid var(--color-mgrey);
    padding: 1em 0;
}

.arch .archbox .postinfo {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1em;
    margin-bottom: 1em;
}

/* カテゴリラベル */
.arch .archbox .postcat {
    list-style: none;
    display: flex;
    gap: 8px;
}

.arch .archbox .postcat li a {
    text-decoration: none;
    font-size: 0.7em;
    line-height: 1;
    padding: 0.5em;
    color: var(--color-wh);
    background-color: var(--color-blue);
}

/* ページネーション-------------------- */
.archnav {
    margin-top: 2em;
}

.archnav .pagenation {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

.archnav .pagenation li a,
.archnav .pagenation .current {
    padding: 0.5em 1em;
}

.archnav .pagenation a {
    text-decoration: none;
}

.archnav .pagenation .current {
    background-color: var(--color-pblue);
}

/* 製品紹介ページ（category-product.php）-------------------- */
/* 上部コンテンツ */
.product-cat-cnt .product-toparea {
    margin-bottom: 5em !important;
}

/* メインコンテンツ */
.product-cat-cnt .product-mainarea {}

/* 製品紹介ページ　アコーディオン-------------------- */
.accordion {
    margin-bottom: 1em;
    padding: 2.5em;
    background-color: var(--color-lgrey);
}

/* 初期状態で閉じる */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* タイトル */
.accordion-title h3 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}

.accordion-title h3 {
    margin: 0 !important;
}

/* 右側のアイコン */
.accordion-title h3::after {
    content: '';
    display: inline-block;
    background-image: url(_img/icn-plus.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* 開いた時のアイコン変更 */
.accordion-title.active h3::after {
    background-image: url(_img/icn-minus.svg);
}

.accordion-content .wp-block-group__inner-container {
    margin-top: 2em;
}

.product-block {
    margin-bottom: 1em;
    padding: 2em;
    background-color: var(--color-wh);
}

.product-block hr {
    margin: 0 0 1em !important;
}

/* 製品紹介ページ　スマホ版メニュー-------------------- */
#sp-bottom-menu {
    display: none;
}

/* 新着情報一覧（category-news.php）-------------------- */
/* カテゴリのナビ */
.news-arch .cat-filter {
    display: flex;
    align-items: center;
    gap: 1em 2em;
    margin-bottom: 4em;
    padding: 2em;
    background-color: var(--color-lgrey);
}

.news-arch .cat-filter p {
    font-weight: 600;
    font-size: 1.2em;
}

.news-arch .cat-filter .cat-filter-btns ul {
    list-style: none;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.news-arch .cat-filter .cat-filter-btns ul li a {
    font-weight: 600;
    text-decoration: none;
    display: block;
    border: 1px solid var(--color-mgrey);
    background-color: var(--color-wh);
    padding: 0.5em 1em;
}

.news-arch .cat-filter .cat-filter-btns ul li.active a,
.news-arch .cat-filter .cat-filter-btns ul li a:hover {
    color: var(--color-wh);
    border: 1px solid var(--color-brand);
    background-color: var(--color-brand);
}

/* ボタンの表示順 */
.news-arch .cat-filter .cat-filter-btns ul li {
    order: 4;
}

.news-arch .cat-filter .cat-filter-btns ul li.news-all {
    order: 1;
}

.news-arch .cat-filter .cat-filter-btns ul li.news-news {
    order: 2;
}

.news-arch .cat-filter .cat-filter-btns ul li.news-product {
    order: 3;
}

/* 一覧ごとのボックス */
.news-arch .archbox {
    display: flex;
    gap: 2em;
}

.news-arch .archbox .postbody {
    width: 100%;
}

/* カテゴリラベル */
.news-arch .archbox .postcat li.cat-news-news a {
    background-color: var(--color-text);
}

.news-arch .archbox .postcat li.cat-news-product a {
    background-color: var(--color-brand);
}

.news-arch .archbox .postcat li.cat-news-event a {
    color: var(--color-brand);
    background-color: var(--color-wh);
    border: 1px solid var(--color-brand);
}

.news-arch .archbox .postcat li {
    order: 3;
}

.news-arch .archbox .postcat li.cat-news-news {
    order: 1;
}

/* サムネイル */
.news-arch .archbox .postthumb {
    width: 156px;
    height: auto;
}

.news-arch .archbox .postthumb a,
.news-arch .archbox .postthumb a img {
    display: block;
}

.news-arch .archbox .postthumb a img {
    border: 1px solid var(--color-mgrey);
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* -----------------------------------------------------------------------
Contact form7
---------------------------------------------------------------------- */
.cf7 {
    margin-top: 3em;
}

.cf7__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 2em;
}

.cf7__list.aligntop {
    align-items: start;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
    margin-top: 30px;
}

.cf7__list dt {
    width: 30%;
}

.cf7__list dd {
    width: 100%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
    margin-right: 15px;
    padding: 6px 14px;
    color: #fff;
    font-size: 12px;
    vertical-align: 1px;
}

.cf7__required {
    background-color: var(--color-brand);
}

.cf7__optional {
    background-color: var(--color-dgrey);
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
    width: calc(100% - 2em);
    padding: 1em 1em;
    background-color: var(--color-wh);
    border: 1px solid var(--color-dgrey);
    border-radius: 4px;
}

/* ドロップダウンメニュー */
.cf7__select {
    position: relative;
}

.cf7__select:before {
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 10;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid #000;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    pointer-events: none;
    content: '';
}

.cf7__select select {
    width: 100%;
    padding: 19px 20px;
    background: #F4F4F4;
    color: #a5a5a5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
    display: block;
    padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
    display: block;
    margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
    margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
    cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 1px solid #bcbcbc;
    vertical-align: -3px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
    border: 1px solid #000;
    background: #000;
}

input[type="checkbox"]:checked:before {
    position: absolute;
    top: 2px;
    left: 5px;
    transform: rotate(50deg);
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
}

/* ラジオボタン */
input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #000;
    content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
    color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
    color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
    color: #a5a5a5;
}

/* 送信ボタン */
input[type="submit"] {
    display: block;
    width: 260px;
    height: 60px;
    margin: 2em auto 0;
    background-color: var(--color-brand);
    color: #fff;
    font-size: 1em;
    border: none;
}

input[type="submit"]:hover {
    background-color: var(--color-blue);
}

.cf7 .blockbox-fill h5 {
    margin-bottom: 1em;
}

/* ajax-loader */
.wpcf7-spinner {
    vertical-align: middle;
}

/* reCAPTCHA消去 */
.grecaptcha-badge {
    visibility: hidden;
}

@media screen and (max-width: 600px) {
    .cf7__list {
        flex-direction: column;
    }

    .cf7__list dt {
        width: 100%;
    }

    .cf7__list dd:nth-of-type(n + 2) {
        margin-top: 0;
    }

    .cf7__list dd .wpcf7-checkbox,
    .cf7__list dd .wpcf7-radio {
        padding: 15px 0 0;
    }

    /* 送信ボタン */
    input[type="submit"] {
        width: 180px;
        height: 56px;
    }
}

@media screen and (max-width:1240px) {

.inner,
.post-wrap,
.subpage-cnt {
    margin: 0 1em;
}

}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
    /* ←←←消さないよう注意！ */

    body {
        font-size: 13px;
    }

    /* -----------------------------------------------------------------------
    layout
    ---------------------------------------------------------------------- */
    .inner {
        margin: 0 20px;
    }
	
	.brandcrumbs-wrap,
    .post-wrap,
    .subpage-cnt {
        margin: 0;
    }

    /* -----------------------------------------------------------------------
    header
    ---------------------------------------------------------------------- */
    /* ナビゲーションメニュー-------------------- */
    header .pcmenu {
        display: none;
        /* PCの時は非表示 */
    }

    header .spmenu {
        display: block;
        /* スマホの時は表示 */
    }

    /* -----------------------------------------------------------------------
    トップページ
    ---------------------------------------------------------------------- */
    /* スライダー共通-------------------- */
    .top-swiper-button.swiper-button-next,
    .top-swiper-button.swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    /* スライダーバナー-------------------- */
    .swiper-horizontal>.top-swiper-pagination.swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal {
        right: 18%;
    }

    .bnr-swiper .top-swiper-button.swiper-button-next {
        right: 20px;
    }

    .bnr-swiper .top-swiper-button.swiper-button-prev {
        left: 20px;
    }

    /* スライダーmv-------------------- */
    .top-mv .pc {
        display: none;
    }

    .top-mv .sp {
        display: block;
    }

    .top-mv:before {
        background-image: linear-gradient(0deg, #0F4C92, #0E1A5350 60%, #0E1A5300);
        z-index: 7;
    }

    .top-mv .mv-txt {
        bottom: 40px;
        left: 20px;
    }

    .top-mv .mv-txt .en {
        font-size: 4em;
    }

    /* トップページ私たちについて-------------------- */
    #top-about p {
        text-align: left;
    }

    #top-about p br {
        display: none;
    }

    /* トップページ私たちについて-------------------- */
    #top-strength .strength-box {
        width: 100%;
        flex-direction: column;
    }

    #top-strength .strength-ttl {
        width: 100%;
    }

    /* トップページ製品紹介-------------------- */
    #top-product .product-box {
        flex-direction: column;
        gap: 0;
    }

    #top-product .btn-product.pc {
        display: none;
    }

    #top-product .btn-product.sp {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    /* トップページ新着情報-------------------- */
    #top-news .news-tabs {
        flex-wrap: wrap;
        gap: 0.75em;
        justify-content: space-between;
    }

    #top-news .news-tabs label {
        width: calc(100% / 3 - 2em - 12px);
        border: 2px solid var(--color-grey);
        border-radius: 999px
    }

    #top-news .news-tabs label:first-of-type {
        width: 100%;
    }

    #tab-all:checked~.news-tabs label[for="tab-all"],
    #tab-news:checked~.news-tabs label[for="tab-news"],
    #tab-product:checked~.news-tabs label[for="tab-product"],
    #tab-event:checked~.news-tabs label[for="tab-event"] {
        color: var(--color-wh);
        background-color: var(--color-blue);
        border: 2px solid var(--color-blue);
    }

    /* トップページ採用情報-------------------- */
    #top-recruit .recruit-box {
        flex-direction: column;
    }

    #top-recruit .recruit-box .pict {
        height: 240px;
    }

    #top-recruit .recruit-box .cnt {
        width: calc(100% - 4em);
        padding: 2em 2em 2.5em;
    }

    /* トップページ企業情報・カタログリンク-------------------- */
    #top-linkbox {
        display: block;
    }

    /* -----------------------------------------------------------------------
    ftr-contact
    ---------------------------------------------------------------------- */
    .ftr-contact .ftr-contactbox {
        display: block;
    }

    .ftr-contact .ftr-contact-tel,
    .ftr-contact .ftr-contact-mail {
        width: 100%;
    }

    .ftr-contact .ftr-contact-tel {
        border-right: none;
        border-bottom: 1px solid var(--color-wh);
        padding-bottom: 2em;
        margin-bottom: 2em;
    }

    /* -----------------------------------------------------------------------
    footer
    ---------------------------------------------------------------------- */
    footer .ftr-top {
        display: block;
    }

    footer .ftr-top .name {
        padding: 1em 0;
    }

    footer .ftr-top .info {
        margin-bottom: 2em;
    }

    #ftr-menu li {
        width: calc(100% / 2 - 1.5em);
    }

    /* -----------------------------------------------------------------------
    subpage
    ---------------------------------------------------------------------- */
    /* サイドナビがある時-------------------- */
    .subpage-layout {
        flex-direction: column;
    }

    /* 製品紹介 投稿 */
    .subpage-cnt.product-single-cnt .post {
        order: 1;
    }

    .subpage-cnt.product-single-cnt .side-nav {
        order: 2;
    }

    /* サイドナビ-------------------- */
    .subpage-layout .side-nav {
        margin: 0 20px;
        max-width: calc(100% - 40px);
    }

    /* サイドバナー-------------------- */
    /* 製品紹介カテゴリでは非表示 */
    .product-single-cnt .side-banner,
    .product-cat-cnt .side-banner {
        display: none;
    }

    .about-strength-hdr .about-strength-hdr-cnt {
        padding: 0;
    }

    /* -----------------------------------------------------------------------
    page
    ---------------------------------------------------------------------- */

    .about-strength-index::before {
        font-size: 14vw;
    }

    /* 私達についてページ　アピカの強み　各コンテンツヘッダー */
    .about-strength-hdr h2 br:nth-of-type(n+2) {
        display: none;
    }

    .about-strength-box:nth-of-type(2) .about-strength-hdr .about-strength-hdr-cnt {
        background-position: top right;
    }

    /* -----------------------------------------------------------------------
    archive,category
    ---------------------------------------------------------------------- */
    /* 製品紹介ページ　アコーディオン-------------------- */
    .accordion {
        padding: 1em;
    }

    /* 製品紹介ページ　スマホ版メニュー-------------------- */
    #sp-bottom-menu {
        position: fixed;
		left: 0;
        bottom: 0;
        display: flex;
        opacity: 1;
        pointer-events: auto;
        transition: opacity .3s ease;
    }

    #sp-bottom-menu.hide {
        opacity: 0;
        pointer-events: none;
    }

    #sp-bottom-menu a,
    #sp-bottom-menu a img {
        display: block;
        width: 100%;
    }

    .category-product #back-to-top,
    .single-product #back-to-top {
        bottom: 6.5em;
    }

    /* 新着情報一覧（category-news.php）-------------------- */
    /* カテゴリのナビ */
    .news-arch .cat-filter {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */



.single-post .posthdr .postttl {
    border-left: 3px solid #0073aa;
    padding-left: 10px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    margin: 16px 0 20px;
}

/* ----------------------------------------------------
   CTAボタン（共通）
---------------------------------------------------- */
.cta-contact-wide-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  width: 100%;
  max-width: 480px;
  margin: 24px auto;

  background-color: #005a8c;
  color: #ffffff !important;

  padding: 20px 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;

  border-radius: 6px;
  text-decoration: none !important;

  white-space: nowrap;

  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.3s;
}

.cta-contact-wide-btn:hover {
  background-color: #004b75;
  transform: translateY(-2px);
}

.cta-arrow {
  font-size: 18px;
  transition: transform 0.3s;
}
.cta-contact-wide-btn:hover .cta-arrow {
  transform: translateX(4px);
}


/* ----------------------------------------------------
   スマホ（〜480px）
   ● width: 90% ←これで確実に収まる
   ● max-width を無効化
   ● フォントを少し小さめにしてバランス調整
---------------------------------------------------- */
@media (max-width: 480px) {
  .cta-contact-wide-btn {
    width: 90% !important;     /* ← はみ出し完全対策 */
    max-width: none !important;
    font-size: 16px;
    padding: 12px 10px;
    gap: 6px;
  }
}

/* ----------------------------------------------------
   小型スマホ（〜360px）
---------------------------------------------------- */
@media (max-width: 360px) {
  .cta-contact-wide-btn {
    font-size: 15px;
    padding: 10px 8px;
    gap: 4px;
  }
}

/* ----------------------------------------------------
ここまで変更不可
---------------------------------------------------- */


/* ===============================
   全体黒背景（投稿ごと共通で使用OK）
================================ */
.product-section {
    background: #000;
    color: #fff;
    margin: 0 auto;
    padding: 30px 0 0;
    max-width: 900px;
}
.product-section * {
    color: #fff;
    background: transparent;
}

/* ===============================
   HERO画像（隙間なし・全幅）
================================ */
.product-hero img {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

/* ===============================
   説明ブロック
================================ */
/* 一旦カット
.product-block {
    max-width: 760px;
    margin: 30px auto 40px;
    padding: 0 25px;
}
*/
.product-block .pb-img {
    width: 100%;
    margin-bottom: 15px;
}
/* 一旦カット
.product-block p {
    text-align: left;
    margin: 0 0 12px 15px;
    font-size: 15px;
    line-height: 1.7;
}
*/
/* ===============================
   使い方ステップ全体 (#555 バック)
================================ */
.product-steps {
    background: #555 !important;
    padding: 30px 30px;
    margin: 0 auto 40px;
}

/* 個々のステップ横並び */
.product-steps .step-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

/* ステップ画像 */
.product-steps .step-row img {
    width: 40%;
    max-width: 260px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 3px;
}

/* 番号丸 */
.product-steps .step-row .num {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fdd835;
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ステップテキスト */
.product-steps .step-row p {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

/* ===============================
   カーボディコンパウンドページ
================================ */
/* 外側カラー背景 + 余白 */
.feature-wrapper {
  background: #01b4d4;     /* ← 外側の色（お好みで変更可） */
  padding: 30px;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 0px;
}

/* 内側白背景ボックス */
.feature-inner {
  background: #ffffff;
  padding: 30px;
  border-radius: 0px;
}

/* 横並び行 */
.feature-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

/* アイコン画像 */
.feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* テキスト */
.feature-row p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  color: #333;
}

/* モバイル対応 */
@media (max-width: 480px) {
  .feature-row {
    flex-direction: column;
    text-align: center;
  }
  .feature-icon {
    margin-bottom: 10px;
  }
}

/* feature-wrapper の前後余白を強制ゼロにする */
.feature-wrapper {
    margin-top: 0 !important;
}

/* 直前の画像ブロックが勝手に余白を持つ場合に打ち消す */
.feature-wrapper img,
.wp-block-image img {
    margin-bottom: 0 !important;
}

/* WordPress のブロック間余白（blockGap）を打ち消す */
.wp-block-group.has-global-padding > .wp-block-group__inner-container {
    gap: 0 !important;
}

/* =============================
   マシンウォッシャー作業手順
============================= */
/* 見出し */
.mw-step-title {
  font-size: 20px;
  font-weight: 600;
  background: #1c5e6b;
  padding: 10px 15px;
  margin: 0;
	color: #ffffff;
	text-align: center;      /* ★ 中央配置 */
  border-radius: 10px 10px 0 0;      /* ★ 角丸 */
	margin-bottom: 0 !important;
}

/* 全体ボックス */
.mw-steps {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 0px;
	border: 1px solid #1c5e6b;
}

/* 各ステップ */
.mw-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* 最後のステップだけ margin-bottom を消す */
.mw-step-last {
  margin-bottom: 0;
}

/* 画像コンテナ */
.mw-step-imgwrap {
  position: relative;
  width: 40%;
  max-width: 220px;
}

/* 画像 */
.mw-step-img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* 番号バッジ */
.mw-step-num {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 28px;
  height: 28px;
  background: #fdd835;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* 説明文 */
.mw-step-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  padding-top: 4px;
  color: #000;
}

/* 見出し */
.mp-step-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  background: #ddd;
  padding: 10px 15px;
  margin: 40px 0 20px;
  color: #000;
  border-radius: 6px;
}

/* 3ステップ固まり */
.mp-steps {
  background: #f6f6f6;
  padding: 25px 20px;
  margin-bottom: 30px;
  border-radius: 6px;
}

.mp-steps.mp-gray { background: #ececec; }
.mp-steps.mp-blue { background: #dce7f9; }

/* 各ステップ */
.mp-step {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.mp-img-wrap {
  position: relative;
  width: 140px;
  flex-shrink: 0;
}

.mp-img-wrap img {
  width: 100%;
  border-radius: 4px;
}

.mp-num {
  position: absolute;
  top: 5px;
  left: 5px;
  background: #000;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.mp-text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* SP対応 */
@media (max-width: 600px) {
  .mp-step {
    flex-direction: column;
  }
  .mp-img-wrap { width: 100%; }
}

/* 3カラムレイアウト（画像が大きくなるので gap を広く） */
.mw-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  padding: 40px 30px;
  background: #ffffff;
  border: 1px solid #1c5e6b;
}

/* 各ステップ（中央寄せ） */
.mw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 内側幅を300pxに統一（画像もテキストもこの幅に揃う） */
.mw-step-inner {
  max-width: 300px !important;
  width: 100%;
}

/* 画像コンテナ */
.mw-step-imgwrap {
  width: 100%;
  margin: 0 auto 12px;
  position: relative;
}

/* 画像本体 */
.mw-step-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* STEP番号 */
.mw-step-num {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  background: #fdd835;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* 説明文 -- 画像と同じ幅に合わせて美しく揃える */
.mw-step-text {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 300px;    /* ★ 画像と統一 */
  color: #000;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .mw-steps {
    grid-template-columns: 1fr;
  }
  .mw-step-inner {
    max-width: 320px;
  }
}
/* 3カラムレイアウト */
.mw-steps.mw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 25px;
  background: #fff;
  padding: 40px 25px;
  border: 1px solid #1c5e6b;
}

/* ステップ全体 */
.mw-grid .mw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ←ここが重要：画像枠を大きくする */
.mw-grid .mw-step-imgwrap {
  width: 100%;
  max-width: 300px;   /* ★ 画像サイズを大きくできる値 */
  margin: 0 auto 12px;
  position: relative;
}

/* 画像本体も300px以内で最大化 */
.mw-grid .mw-step-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* テキストの幅も画像に揃える */
.mw-grid .mw-step-text {
  max-width: 300px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  color: #000;
}

/* SPは1カラム */
@media (max-width: 768px) {
  .mw-steps.mw-grid {
    grid-template-columns: 1fr;
  }
  .mw-grid .mw-step-imgwrap {
    max-width: 340px;
  }
}

/* =============================
   詳細ページ内商品紹介
============================= */

/* 全体ラップ */
.prod-list {
  max-width: 100%;
  margin: 30px auto;
	background: #f8f8f8;
	border: 2px solid #a40000;
	border-radius: 8px;
	padding: 15px;
}

/* 1行分（画像＋テキスト横並び） */
.prod-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 画像枠 */
.prod-img img {
  width: 200px;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* タイトル */
.prod-title {
  font-size: 18px;
  margin: 0 0 6px;
	border-bottom: 1px dashed #acadb6;
	padding: 10px;
}

/* 説明文 */
.prod-desc {
  margin: 0;
  line-height: 1.7;
  font-size: 15px;
}

/* 補足テキスト */
.prod-note {
  margin-top: 35px;
  padding: 15px;
  border-top: 2px dashed #999;
  font-size: 14px;
  line-height: 1.8;
}

/* 上下調整用（必要あれば使う） */
.mt-15 { margin-top: 15px; }


.prod-img {
  flex: 0 0 220px;   /* ← 画像エリアを常に220px確保 */
}

.prod-img img {
  width: 100%;
  height: auto;
}

/* =============================
   ドアモール検証（専用CSS）
   ※ 他コンテンツへ一切影響しない安全設計
============================= */

/* タイトル */
.dm-title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  background: #1c5e6b;
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin: 40px 0 25px;
}

/* セクション全体 */
.dm-wrap {
  max-width: 900px;
  margin: 0 auto 50px;
}

/* 小見出し（検証1など） */
.dm-heading {
  font-size: 18px;
  font-weight: bold;
  margin: 25px 0 15px;
  color: #000;
}

/* Before / After 2カラム */
.dm-compare {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

/* 各カラム（施工前・施工後） */
.dm-col {
  width: 50%;
  text-align: center;
}

/* ラベル */
.dm-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

/* 比較画像 */
.dm-col img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* 注意書き */
.dm-note {
  font-size: 14px;
  color: #333;
  margin: 8px 0;
}

/* 結果まとめ */
.dm-result {
  background: #f6f6f6;
  padding: 15px;
  border-left: 4px solid #1c5e6b;
  margin: 25px 0;
  line-height: 1.7;
  font-size: 15px;
}

/* 区切り線 */
.dm-line {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 40px 0;
}

/* =============================
   スマホ対応
============================= */
@media (max-width: 768px) {
  .dm-compare {
    flex-direction: column;
  }
  .dm-col {
    width: 100%;
  }
}


/* =============================
   ドアモール検証（モールポリッシュ用）
   ※ 他ページに影響しないよう dm- 始まりで統一
============================= */

/* 大見出し「ドアモール検証」 */
.dm-main-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;           /* ★ 中央寄せ */
  background: #ddd;
  padding: 10px 15px;
  margin: 40px auto 20px;
  color: #000;
  border-radius: 6px;
  max-width: 780px;
}

/* 全体ボックス */
.dm-wrap {
  max-width: 780px;             /* ★ 横幅を詰めて参考サイト寄せ */
  margin: 0 auto 40px;
  padding: 24px 20px 28px;
  border: 1px solid #ccc;       /* ★ 枠線 */
  border-radius: 6px;
  background: #f8f8f8;
  box-sizing: border-box;
}

/* 各検証ブロック */
.dm-case {
  padding-bottom: 24px;
}

/* 検証タイトル（中央寄せ） */
.dm-case-title {
  font-size: 16px;
  text-align: center;           /* ★ 中央寄せ */
  margin: 0 0 16px;
}

/* before / after の横並び */
.dm-case-photos {
  display: flex;
  gap: 24px;
  justify-content: center;
}

/* 画像＋ラベルの1セット */
.dm-photo {
  flex: 1;
  max-width: 320px;             /* ★ 画像が小さくなり過ぎないよう上限幅を確保 */
  text-align: center;
}

/* 実画像 */
.dm-photo-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* 「施工前」「施工後」ラベル */
.dm-photo-label {
  margin-top: 8px;
  font-size: 14px;
}

/* 検証ごとの区切り線 */
.dm-divider {
  border-top: 1px dashed #ccc;  /* ★ 区切り線 */
  margin: 10px 0 24px;
}

/* 注意書き */
.dm-note {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  margin: 8px 0 18px;
}

/* 最後の結果ボックス */
.dm-result {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid #bbb;
}

.dm-result-text {
  font-size: 14px;
  line-height: 1.7;
  margin: 6px 0 0;
  text-align: left;
}

/* スマホ対応（画像を縦積み） */
@media (max-width: 768px) {
  .dm-wrap {
    padding: 18px 12px 22px;
  }

  .dm-case-photos {
    flex-direction: column;
    gap: 16px;
  }

  .dm-photo {
    max-width: 100%;
  }
}

.dm-step-title {
  font-size: 20px;
  font-weight: 600;
  background: #1c5e6b;
  padding: 10px 15px;
  margin: 40px 0 0;
  color: #ffffff;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

.dm-steps {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 0;
  border: 1px solid #1c5e6b;
  max-width: 900px;
  margin: 0 auto 40px;
}

.dm-case {
  padding-bottom: 25px;
}

.dm-case-title {
  font-size: 20px;
  text-align: center;
  margin: 0 0 15px;
  font-weight: 600;
}

.dm-case-photos {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.dm-photo {
  flex: 1;
  max-width: 320px;
  text-align: center;
}
.dm-photo-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.dm-photo-label {
  margin-top: 6px;
  font-size: 20px;
}

.dm-step-title {
  font-size: 20px;
  font-weight: 600;
  background: #1c5e6b;
  padding: 10px 15px;
  margin: 40px 0 0;
  color: #ffffff;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

.dm-step-title {
  font-size: 20px;
  font-weight: 600;
  background: #1c5e6b;
  padding: 10px 15px;
  margin: 40px 0 0;
  color: #ffffff;
  text-align: center;
  border-radius: 10px 10px 0 0;
	margin-bottom: 0 !important;   /* ← 隙間の直接原因を消す */
  display: block !important;     /* ← WordPress が勝手にpをinline化するのを防ぐ */

}

.dm-step-title {
  font-size: 20px;
  font-weight: 600;
  background: #1c5e6b;
  padding: 10px 15px;
  margin: 40px 0 0;
  color: #ffffff;
  text-align: center;
  border-radius: 10px 10px 0 0;
}


/* ===========================================================
    Diamond Coat（ダイヤモンドコート）ページ専用 CSS
   =========================================================== */

/* ---------------------------------------------
  画像（h1直下のメイン画像）
--------------------------------------------- */
.dcoat-main-img {
  width: 100%;
  display: block;
  margin: 0 auto 30px;
}

/* ---------------------------------------------
  特徴4つのボックス（本家デザイン再現）
--------------------------------------------- */

/* 全体ラップ：幅 80% ／中央寄せ */
.dcoat-feature-wrap {
  width: 80%;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

/* 各ボックス */
.dcoat-feature-box {
  flex: 1;
  padding: 24px 0;
  border-radius: 6px;

  /* 本家っぽさ再現 */
  border: 2px solid #ffffff;            /* 白枠線 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);

  /* 中央寄せ（完全センター） */
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
}

/* 4色（本家スクショから拾った色味） */
.dcoat-fc-red {
  background: #8B1F13;
}
.dcoat-fc-yellow {
  background: #C39A00;
}
.dcoat-fc-green {
  background: #2F5A31;
}
.dcoat-fc-blue {
  background: #1C4C88;
}

/* ---------------------------------------------
  見出し帯（青帯）＝施工システムのところの再現
--------------------------------------------- */
.dcoat-title-blue {
  width: 100%;
  background: #1A4F8B;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 18px;
  margin: 40px 0 20px;
  border-radius: 4px;
}

/* ---------------------------------------------
  下地処理・仕上げ（赤帯） ※本家デザイン再現
--------------------------------------------- */
.dcoat-title-red {
  display: inline-block;
  background: #C50000;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 6px 14px;
  margin: 45px 0 15px;
  border-radius: 4px;
}

/* ---------------------------------------------
  コンパウンド紹介の白ボックス
--------------------------------------------- */
.dcoat-info-box {
  border: 1px solid #ccc;
  background: #fff;
  padding: 22px;
  border-radius: 6px;
  margin: 25px 0 40px;
}

/* ---------------------------------------------
  セット内容（白背景）＋ ピンク背景ボックス
--------------------------------------------- */

/* 白ボックス */
.dcoat-set-box-white {
  border: 1px solid #ccc;
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  margin-top: 25px;
}

/* ピンクボックス */
.dcoat-set-box-pink {
  border: 1px solid #f3b7b7;
  background: #fff5f5;
  padding: 20px;
  border-radius: 6px;
  margin-top: 25px;
}

/* セット内容の画像 */
.dcoat-set-img {
  width: 180px;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

/* ---------------------------------------------
  テキスト調整
--------------------------------------------- */
.dcoat-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.dcoat-text .red {
  color: #c50000;
  font-weight: bold;
}

/* ---------------------------------------------
  スマホ対応
--------------------------------------------- */
@media screen and (max-width: 768px) {

  .dcoat-feature-wrap {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .dcoat-feature-box {
    width: 48%;
    font-size: 16px;
    padding: 18px 0;
  }

  .dcoat-set-img {
    width: 140px;
  }
}

/************************************************************
 ダイヤモンドコートページ専用 CSS（完全版）
 他ページに影響なし
************************************************************/


/* ============================================
   ① 4つの特徴アイコン（本家と同じデザイン）
============================================ */

/* 外枠：全体を80%中央寄せ */
.dcoat-features {
  width: 80%;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* 各ブロック */
.dcoat-feature-item {
  width: 180px;
  height: 110px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* 色味は本家サイトを完全再現 */
.dcoat-feature-red { background: #8b1c1c; }
.dcoat-feature-yellow { background: #c39800; }
.dcoat-feature-green { background: #2f5f2f; }
.dcoat-feature-blue { background: #234b94; }

/* スマホ対応 */
@media (max-width: 768px) {
  .dcoat-features {
    width: 100%;
    gap: 15px;
  }
  .dcoat-feature-item {
    width: 45%;
    height: 90px;
    font-size: 15px;
  }
}


/* ============================================
   ② メイン画像下の2つの写真（prod-box03）
   本家の2カラムレイアウトを忠実に再現
============================================ */

.prod-box03 {
  width: 90%;
  margin: 50px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}

/* 左側：ボトル＋タイトル */
.prod-box03 .inner01 {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.prod-box03 .inner01 img {
  width: 180px;
  height: auto;
  display: block;
}

.prod-box03 .inner01 .n02 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

/* 右側：硬化サンプル */
.prod-box03 .inner02 {
  flex: 1 1 50%;
  text-align: center;
}

.prod-box03 .inner02 img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* SP対応 */
@media (max-width: 768px) {
  .prod-box03 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .prod-box03 .inner01,
  .prod-box03 .inner02 {
    width: 100%;
    max-width: 500px;
    text-align: center;
    flex-direction: column;
  }
  .prod-box03 .inner01 img {
    width: 60%;
    max-width: 240px;
  }
}


/* ============================================
   ③ 大見出し（施工システム）
============================================ */

.dcoat-title {
  font-size: 20px;
  font-weight: 700;
  background: #1c5e6b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  margin: 60px 0 30px;
}


/* ============================================
   ④ 下地処理／仕上げ ボックス（prod-box19）
   本家レイアウト再現
============================================ */

.prod-box19 {
  width: 90%;
  margin: 50px auto;
  padding: 20px 25px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 6px;
}

.prod-box19 .red {
  color: #c80000 !important;
}

.prod-box19 p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.prod-box19 .dashed01 {
  border-bottom: 2px dashed #c80000;
  padding-bottom: 8px;
  margin-bottom: 15px;
}


/* ============================================
   ⑤ 「施工セット」エリア（prod-box02）
============================================ */

.prod-box02 {
  width: 90%;
  margin: 50px auto;
  padding: 20px 25px;
  background: #fff;
  border: 2px solid #aaa;
  border-radius: 6px;
}

.prod-box02 .wrapper {
  margin-top: 15px;
}

.prod-box02 img {
  max-width: 220px;
  height: auto;
  display: block;
}

.prod-box02 .dashed02 {
  border-top: 2px dashed #bbb;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
}


/* ============================================
   ⑥ 各種 margin 補正
============================================ */

.mt-15 { margin-top: 15px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-45 { margin-top: 45px !important; }
.mb-45 { margin-bottom: 45px !important; }
.mb-30 { margin-bottom: 30px !important; }

/* ============================================
  ２カラム
============================================ */

/* 全体：中央寄せ＋幅調整 */
.dc-two-col {
  max-width: 820px;      /* お好みで 780〜850px でもOK */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;       /* SPで縦並びに */
  margin:40px 0;
}

/* 各カラム */
.dc-col {
  width: 45%;            /* PCの横幅 */
  text-align: center;
}

/* 画像サイズ */
.dc-col img {
  width: 60%;
  height: auto;
  border-radius: 6px;
}

/* テキスト */
.dc-caption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .dc-col {
    width: 100%;
  }
}


/* ============================
   セクションタイトル（共通デザイン）
============================= */
.section-title {
  font-size: 20px;
  font-weight: 600;
  background: #d4e4f1;
  padding: 14px 18px;
  margin: 40px 0 20px;
  color: #004a6f;
  text-align: left !important;
  border-radius: 4px solid #004a6f;
}

/* 赤強調（太字・濃く） */
.red-bold {
  color: #d40000;
  font-weight: 700;
}


/* =============================
   フェーズ（下地処理・仕上げ）共通
============================= */
.dcoat-phase {
  width: 100%;
  margin: 0 auto 40px;
  padding: 0 10px;
  color: #000;
}

/* 背景画像のタイトル帯 */
.dcoat-phase-title {
  width: 100%;
  padding: 28px 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-radius: 6px;
	padding-top: 17.14%;
}

/* 見出し（赤字の大タイトル） */
.phase-heading {
  font-size: 18px;
  margin: 0;
  text-align: left;
}

/* 破線下線（本家の dashed01 に寄せる） */
.phase-sub {
  margin: 12px 0 15px;
  padding-bottom: 6px;
  border-bottom: 2px dashed #999;
}

/* 赤太字（強調用） */
.red-bold {
  color: #d40000;
  font-weight: 700;
}

/* 段落揃え */
.dcoat-phase p {
  line-height: 1.8;
}

/* ----------------------------------------------------
   CTAボタン：赤バージョン（ダイヤモンドコート専用）
---------------------------------------------------- */
.cta-contact-wide-btn.cta-red {
  background-color: #b30000 !important;   /* 本家深赤系 */
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(179, 0, 0, 0.35); /* 赤系シャドウ */
  border: 1px solid #8a0000;  /* 参考サイト風の濃い赤ライン */
}

.cta-contact-wide-btn.cta-red:hover {
  background-color: #990000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(179, 0, 0, 0.45);
}

/* テキスト2行のバランス調整 */
.cta-contact-wide-btn .cta-text {
  display: inline-block;
  line-height: 1.4;
  text-align: left;
}

/* =======================================
   オンマウス時に白くならない完全固定版
======================================= */

/* リンク本体 */
.dcoat-banner-link {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
	margin:40px 0;
  	  box-shadow: 0 4px 10px rgba(179, 0, 0, 0.35); /* 赤系シャドウ */
  /* 背景色を固定（画像輝度の揺れを防止） */
  background: #fff; /* 黒背景で色変化抑制 ⇒ 透明部分がない画像なら何色でもOK */
}

/* 画像（色変化を完全に禁止） */
.dcoat-banner-img {
  width: 100%;
  height: auto;
  display: block;


  /* 色が変わる原因をすべて潰す */
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;

  /* hover時に絶対に変化しない */
  transition: none !important;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 右下の矢印 */
.dcoat-banner-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 28px;
  color: #fff;
  transition: transform 0.25s ease;
}

/* ===== hover：白くならない、画像は何も変えない ===== */
.dcoat-banner-link:hover {
  transform: translateY(-6px); /* 上に浮くだけ */
}

/* 矢印だけ軽く動く */
.dcoat-banner-link:hover .dcoat-banner-arrow {
  transform: translateX(6px);
}


/* =========================================
   業界別売上表（完全再現）
   prefix：ap-table-
========================================= */

/* ラッパー */
.ap-table-wrap {
  max-width: 900px;
  margin: 40px auto 0px auto;
}

/* テーブル全体 */
.ap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}

/* ヘッダー */
.ap-table thead th {
  background: #f5f5f5;
  padding: 12px 10px;
  border: 1px solid #ccc;
  text-align: center;
  font-weight: bold;
}

/* 通常セル */
.ap-table td {
  padding: 12px 10px;
  border: 1px solid #ccc;
  vertical-align: middle;
}

/* 左列は左寄せ */
.ap-table td:first-child {
  text-align: left;
}

/* 数値列は中央寄せ */
.ap-table td:nth-child(2),
.ap-table td:nth-child(3),
.ap-table td:nth-child(4) {
  text-align: center;
}

/* 1行目ハイライト（青背景） */
.ap-row-highlight td {
  background: #dbe8f4; /* 本家の薄い青 */
}

/* 矢印セル */
.ap-arrow {
  font-size: 18px;
  font-weight: bold;
}

/* 矢印向きごとの色は本家に合わせて黒 */
.ap-up,
.ap-down,
.ap-right {
  color: #000;
}

/* 参照文言 */
.ap-table-source {
  text-align: right;
  font-size: 13px;
  margin-top: 5px;
  color: #444;
}
