@charset "utf-8";

/* ▼▼▼ 見出しのデザイン（SEO構造変更に伴い統一） ▼▼▼ */
.f_page {
    font-size: 22px;
    font-weight: bold;
    color: #888;
    border-bottom: 3px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    text-align: center;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ▼▼▼ SEOテキストエリアのデザイン（修正：中央揃え） ▼▼▼ */
.seo-intro-text {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

/* ▼▼▼ カテゴリメニュー（8個のボタン）用デザイン ▼▼▼ */
.works_pager {
    width: 100%;
    margin-bottom: 50px;
}
.works_pager ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
}
.works_pager li {
    width: 24%;
    margin-bottom: 5px;
    box-sizing: border-box;
}
.works_pager li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 35px;
    background: #f8f8f8;
    color: #888;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 12px;
    font-weight: normal;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.works_pager li a:hover,
.works_pager li a.active {
    background: #006400;
    color: #fff;
    border-color: #006400;
    opacity: 1;
}

/* ▼▼▼ 「作品紹介トップへ戻る」ボタンの調整 ▼▼▼ */
.window_back {
    display: flex;
    justify-content: center;
    margin: 60px 0 20px;
    clear: both;
    width: 100%;
}
.window_back a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 35px;
    background: #f8f8f8;
    color: #888;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 12px;
    font-weight: normal;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: nowrap;
}
.window_back a:hover {
    background: #006400;
    color: #fff;
    border-color: #006400;
    opacity: 1;
}

/* ▼▼▼ お問い合わせ誘導エリア（CTA）共通デザイン ▼▼▼ */
.common-cta-area {
    background-color: #f5f5f5;
    padding: 50px 0;
    text-align: center;
    border-top: 5px solid #006400;
    width: 100%;
    margin-top: 60px;
}
.common-cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.common-cta-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}
.common-cta-text {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
}
.common-cta-btn {
    display: inline-block;
    background-color: #cc0000;
    color: #fff !important;
    padding: 20px 60px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.common-cta-btn:hover {
    background-color: #aa0000;
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 1;
}
.common-cta-note {
    font-size: 13px;
    margin-top: 15px;
    color: #666;
}

/* ▼▼▼ スマホ表示時の調整 ▼▼▼ */
@media (max-width: 768px) {
    .f_page { font-size: 20px; margin-bottom: 30px; }
    .works_pager li { width: 49%; margin-bottom: 10px; }
    .works_pager li a { font-size: 13px; height: 45px; }
    .common-cta-btn { padding: 15px 30px; width: 90%; box-sizing: border-box; }
    .common-cta-text { font-size: 15px; }
    .seo-intro-text { font-size: 14px; padding: 0 10px; }
    .window_back a { width: 60%; height: 45px; }
}

/* =========================================
   ▼▼▼ ヘッダー・電話ボタン周り CSS ▼▼▼
   ========================================= */

.breadcrumb-tel-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: 5px;
    border-bottom: none;
    padding-bottom: 10px;
}
#pankuzu { margin: 0 !important; padding: 0; }

.head-tel-btn a {
    display: inline-flex;
    align-items: center;
    background-color: #8fc31f;
    color: #fff !important;
    text-decoration: none;
    padding: 5px 22px 5px 18px; 
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    line-height: 1.2;
}
.head-tel-btn a:hover {
    background-color: #7aad13;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
@keyframes phone-ring {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}
.head-tel-btn a:hover .tel-icon-svg {
    animation: phone-ring 0.4s ease-in-out;
}
.tel-text-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
}
.tel-label {
    font-size: 10px;
    font-weight: normal;
    opacity: 0.95;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.tel-number {
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0.05em;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.tel-icon-svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s;
}
.head-tel-btn .tel-icon-svg {
    fill: #fff;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.tel-popup-trigger { margin-bottom: 30px; }
.tel-popup-trigger a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}
.tel-popup-trigger .tel-icon-svg {
    fill: #8fc31f;
    width: 28px;
    height: 28px;
    margin-right: 12px;
}
.tel-popup-trigger a:hover {
    opacity: 0.7;
    transform: scale(1.05);
}
.tel-popup-trigger a:hover .tel-icon-svg {
    animation: phone-ring 0.4s ease-in-out;
}

.zoom-anim-dialog {
    background: white;
    padding: 30px;
    text-align: center;
    max-width: 300px;
    margin: 40px auto;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.zoom-anim-dialog h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #006400;
}
.zoom-anim-dialog img {
    margin: 15px 0;
    border: 1px solid #ccc;
}
.sp-call-btn { display: none; }

@media (max-width: 768px) {
    .breadcrumb-tel-wrap { padding: 0 5px 10px; }
    .head-tel-btn { margin-top: 10px; margin-left: auto; }
    .tel-popup-trigger a { font-size: 22px; }
    .tel-popup-trigger .tel-icon-svg { width: 22px; height: 22px; }
    .sp-call-btn {
        display: block;
        margin-top: 20px;
        background: #cc0000;
        color: white !important;
        padding: 12px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
    }
}

/* =========================================
   ▼▼▼ スライダー内テキストの出し分け設定 ▼▼▼
   ========================================= */
@media (min-width: 768px) {
    .sp-slide .sp_title {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .hide-small-screen {
        display: none !important;
    }
}
/* スライド内のリンク対策 */
.sp-slide > a[href="#"],
.sp-slide > a[href=""] {
    cursor: default !important;
    pointer-events: none;
    text-decoration: none;
}