@charset "utf-8";
/*===============================================
 ARブログ 共通
===============================================*/
/*body {font-family: initial;}*/
body.blog-template-default {color: #111;}
ib {display: inline-block;}
img {width: 100%; height: auto; vertical-align: middle;}
a:hover {text-decoration: none;}

.bread-crumb ul {list-style-type: none;}

.desktop {display: block;}
.smartphone {display: none;}

html {scroll-behavior: auto;}
main h2, main h3 {scroll-margin-top: 80px;}

.blog-content p {font-size: 16px;}

.has-fixed-layout th, .has-fixed-layout td {font-size: 15px;}

@media screen and (max-width: 768px) {
	.desktop {display: none;}
	.smartphone {display: block;}
}

/*===============================================
 グローバルナビゲーション
===============================================*/
#site-header {position: relative; width: 100%; height: 70px; background-color: rgba(51, 51, 51, 1.0); box-shadow: none; z-index: 999; transition: all 0.4s ease;}

/* スクロール後の固定ヘッダー */
#site-header.fixed-header {position: fixed; top: 0; left: 0; background-color: rgba(51, 51, 51, 0.9); box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px; animation: fadeInHeader 0.5s ease forwards;}

/* フェードインアニメーション */
@keyframes fadeInHeader {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-inner {position: relative; width: 100%; height: 70px; max-width: 1280px; margin: 0 auto;}
.site-logo {position: absolute; top: 50%; left: 15px; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%);}
.site-logo a img {max-width: 120px;}
.global-nav {float: right;}

/* --- PC用 --- */
.pc-nav {display: block;}
.sp-menu-btn, .sp-nav {display: none;}
.pc-nav .global-menu {display: flex; gap: 30px; list-style: none; margin: 0; padding: 0;}
.pc-nav .global-menu li a {display: block; font-size: 16px; font-weight: 500; color: #fff; padding: 0 15px; transition: color 0.3s ease; position: relative; line-height: 70px;}
.pc-nav .global-menu li ul li a {line-height: normal; padding: 8px 15px; display: block; color: #fff; font-size: 14px; text-decoration: none;}
.pc-nav .global-menu li ul li a:hover {background-color: rgba(123, 127, 129, 0.95);}
.pc-nav .global-menu li ul li a span {font-size: 12px;}
#site-header.scrolled .pc-nav .global-menu li a {color: #333;}
.pc-nav li ul {right: auto;}
.pc-nav li:last-child > ul {left: auto; right: 0;}

/* サブメニュー初期状態は非表示 */
.pc-nav ul ul {display: none; position: absolute; top: 100%; left: 0; background-color: rgba(51, 51, 51, 0.95); padding: 0; min-width: 200px; border-radius: 0 0 6px 6px; z-index: 9999; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 8px 10px rgba(0, 0, 0, 0.15); animation: fadeInSubMenu 0.25s ease forwards;}

/* ホバー時にサブメニュー表示 */
.pc-nav li:hover > ul {display: block;}

/* 親メニューのデザイン */
.pc-nav > ul > li {position: relative; display: inline-block;}

/* サブメニューアイテム */
.pc-nav ul ul li {display: block; padding: 0;}
.pc-nav ul ul li a {display: block; padding: 10px 15px; font-size: 14px; color: #fff; text-decoration: none; line-height: normal; transition: all 0.3s ease;}
.pc-nav ul ul li a:hover {background-color: rgba(255, 255, 255, 0.08); padding-left: 20px; color: #fff;}

/* フェードイン＋下からスライドイン */
@keyframes fadeInSubMenu {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   孫メニュー（第3階層）
   =========================== */
.pc-nav ul ul ul {
    display: none;
    position: absolute;
    top: 0; /* 子メニューの上端を基準にする */
    left: 100%; /* デフォルトは右側展開 */
    background-color: rgba(51, 51, 51, 0.95);
    padding: 0;
    min-width: 200px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25),
                0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: fadeInSubMenu 0.25s ease forwards;
}

.pc-nav > ul > li:nth-last-child(-n+2) ul ul ul {
    left: auto;
    right: 100%;
    border-radius: 6px 0 0 6px;
}

@media screen and (max-width: 1000px) {
    .pc-nav ul ul ul {
        left: auto !important;
        right: 100% !important;
        border-radius: 6px 0 0 6px;
    }
}

/* =====================================
   孫メニューの位置を子メニューの中央揃えにする
   ===================================== */
.pc-nav ul ul li {position: relative;}
.pc-nav ul ul ul {top: 0; transform: translateY(0);}
.pc-nav ul ul li:hover > ul {display: block;}

/* --- SP用 --- */
#sp-nav {position: fixed; top: 0; right: 0; width: 70%; height: 100vh; background-color: rgba(51, 51, 51, 0.95); padding-top: 50px; box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2); z-index: 1020; display: none; opacity: 0; transform: translateX(100%); pointer-events: none; transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);}
#sp-nav.active {display: block; transform: translateX(0); opacity: 1; pointer-events: auto;}

/* 背景のぼかし用オーバーレイ */
#menu-overlay {position: fixed; top: 0; left: 0; width: 100%; height: 100%; backdrop-filter: blur(5px); background-color: rgba(0, 0, 0, 0.3); opacity: 0; visibility: hidden; transition: opacity 0.55s ease, visibility 0.55s ease; z-index: 998; /* メニューより下、コンテンツより上 */}

/* メニューが開いたときにオーバーレイを表示 */
#menu-overlay.active {opacity: 1; visibility: visible;}

.sp-menu {list-style: none; margin: 0; padding: 20px;}
.sp-menu li {text-align: left;}
.sp-menu li a {display: block; padding: 5px 0; font-size: 14px; font-weight: 500; color: #fff; text-decoration: none;}

#sp-nav .sub-menu {display: none; list-style-type: none; padding-left: 15px; background-color: rgba(51, 51, 51, 0.05);}

/* 矢印アイコン（開閉用） */
#sp-nav li.menu-item-has-children {position: relative;}
#sp-nav li.menu-item-has-children > .submenu-toggle {position: absolute; right: 15px; top: 5px; width: 8px; height: 8px; display: inline-block; cursor: pointer; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform 0.3s ease;}

/* 開いた時は矢印を下向きに */
#sp-nav li.open > .submenu-toggle {transform: rotate(-135deg);}

/* サブメニュー＆孫メニューの初期非表示 */
#sp-nav ul ul {
    display: none;
    padding-left: 15px;
    background-color: #f9f9f9;
}

/* 孫メニューも同じ見た目で統一 */
#sp-nav ul ul ul {
    background-color: #f0f0f0;
}

/* --- ハンバーガーボタン --- */
.sp-menu-btn {display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 22px; cursor: pointer; position: absolute; right: 20px; top: 25px; z-index: 1001;}
.sp-menu-btn span {display: block; height: 2px; background: #fff; border-radius: 3px; transition: all 0.3s ease;}

/* 開閉時の全体フェード */
body.sp-menu-open {overflow: hidden;}
.sp-menu-btn {transition: transform 0.3s ease;}
.sp-menu-btn.active {transform: rotate(90deg); top: 26px; right: 16px;}


/* 開閉時のバツアイコン */
.sp-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.sp-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.sp-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* SP時に表示 */
@media screen and (max-width: 768px) {
    .pc-nav { display: none; }
    .sp-menu-btn { display: flex; }
	#sp-nav ul ul {
        display: none; /* 初期は非表示 */
        padding-left: 15px; /* 子メニューのインデント */
        background-color: #f9f9f9;
    }

    #sp-nav li.open > ul {
        display: block; /* openクラスが付与されたときだけ表示 */
    }

    /* 孫メニュー */
    #sp-nav ul ul ul {
        padding-left: 15px;
        background-color: #f0f0f0;
    }
    .pc-nav {display: none;}
	.sp-menu-btn {display: block; position: absolute; right: 20px; top: 20px; width: 30px; height: 22px; cursor: pointer; z-index: 1021;}
    .sp-menu-btn span {margin: 7px 0; transition: 0.3s;}
    /*.sp-nav {display: none; position: fixed; top: 0; right: 0; width: 70%; height: 100%; background: #fff; box-shadow: -2px 0 5px rgba(0,0,0,0.2); padding: 20px; z-index: 1000;}*/
    .sp-nav.open {display: block;}
}


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


/*===============================================
 single-blog.php ブログ記事コンテンツ
===============================================*/
.blog-header {margin: 0 0 10px; padding: 0;}
.blog-header h1.blog-title {font-size: 28px; margin: 0; height: auto; line-height: 1.2;}
.blog-header p.blog-subtitle {font-size: 20px; margin: 5px 0 0;}

.blog-content h2 {position: relative; z-index: 1; font-family: initial; font-size: 24px; margin: 60px 0 20px; line-height: 1.4; background-color: #231815; color: #fff; padding: 0.5em 1em; overflow: hidden;}
.blog-content h2::after {content: ''; position: absolute; bottom: -30px; right: -120px; background-color: #e60012; opacity: 0.3; transform: rotate(-65deg); width: 200px; height: 100px; z-index: 0;}
.blog-content h3 {font-size: 20px; font-weight: 600; margin: 40px 0 20px; line-height: 1.4; position: relative; padding-bottom: 0.25em; border-bottom: 3px solid #666;}
.blog-content h3::after {content: ''; background-color: #e60012; width: 3em; height: 3px; position: absolute; bottom: -3px; left: 0; z-index: 1;}
.blog-content p {margin: 0 0 10px; line-height: 1.8; letter-spacing: 0.06em;}
.blog-content a {color: #0088cc; transition: color 0.3s;}
.blog-content a:hover {color: #ff6e00;}

.blog-content .wp-block-list {list-style-type: none; padding: 20px 20px 20px 36px; border-top: 1px solid #d2d2d7; border-bottom: 1px solid #d2d2d7;}
.blog-content .wp-block-list li {position: relative; line-height: 1.8; margin-bottom: 10px; font-size: 16px; letter-spacing: 0.06em;}
.blog-content .wp-block-list li:last-child {margin-bottom: 0;}
.blog-content .wp-block-list li:before {content: ''; position: absolute; top: 4px; left: -24px; width: 18px; height: 18px; background: url('https://www.allright.co.jp//wp/wp-content/themes/ar-original/images/blog/li-dot.webp') no-repeat center center; background-size: contain;}


@media screen and (max-width: 768px) {
	.blog-header h1.blog-title {font-size: 22px;}
	.blog-header p.blog-subtitle {font-size: 13px;}
	.blog-content h2 {margin: 40px 0 20px; font-size: 20px;}
	.blog-content h2::after {bottom: -34vw; right: -34vw; width: 30vw; height: 50vw;}
	.blog-content h3 {margin: 30px 0 20px; font-size: 18px;}
	.blog-content .wp-block-list {padding: 15px 15px 15px 24px;}
}

@media screen and (max-width: 460px) {
	.blog-content h2::after {bottom: -24vw; right: -33vw;}
}

/* =========================
   パンくず
========================= */
.breadcrumb-wrap {padding: 15px; border-bottom: solid 1px #ddd;}
.breadcrumb {list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; font-size: 14px;}
.breadcrumb li {display: flex; align-items: center; text-align: left; position: relative; padding-right: 16px;}
.breadcrumb li a {text-decoration: none; color: #333; transition: color 0.2s;}
.breadcrumb li a:hover {
    color: #005177;
}
.breadcrumb li:not(:last-child)::after {content: ">"; position: absolute; top: 50%; right: 0; color: #999; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%);}
.breadcrumb li i {font-size: 16px; color: #111;}

@media screen and (max-width: 768px) {
	.breadcrumb {flex-wrap: wrap;}
	.breadcrumb li {font-size: 10px; flex-wrap: wrap; gap: 2px; line-height: 1.2;}
	.breadcrumb li i {font-size: 12px;}
}

/* =========================
   ベースレイアウト
========================= */
.ar-container {width: 100%; max-width: 1280px; margin: 0 auto;}
.blog-body {display: flex; gap: 20px; margin-top: 25px; width: 100%;}


@media screen and (max-width: 768px) {
	.blog-body {margin-top: 15px;}
}

/* ============================
   左カラム
============================ */
#main-content {flex: 1; min-width: 0; padding: 0 15px;}
.featured-image {width: 100%; max-width: 100%; margin: 0 auto; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; background-color: #cacaca; aspect-ratio: 3.2 / 2;}
.featured-image img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
.blog-content {margin: 30px 0 40px; text-align: left;}

@media screen and (max-width: 768px) {
	/*.featured-image {height: 260px;}*/
}

/* ============================
   関連記事（8件グリッド）
============================ */
.related-posts {margin-top: 40px;}
.related-posts .section-title {font-family: initial; font-size: 15px; font-weight: 500; background-color: #d9d9d9; margin: 0; padding: 10px; text-align: left;}
.related-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin: 25px 0; padding: 0 15px;}
.related-item {text-align: center; transition: transform 0.3s ease;}
.related-item:hover {transform: translateY(-4px);}

.related-thumb {width: 100%; max-width: 180px; height: 120px; margin: 0 auto; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; background-color: #f8f8f8;}
.related-item.connection-list .related-thumb {max-width: 220px; height: 160px;}

/* サムネイル画像を中央に配置・縦横比維持 */
.related-thumb img {max-width: 100%; width: auto; height: 100%; display: block; position: relative; object-fit: cover; transition: transform 0.3s ease;}

/* ホバー時の拡大エフェクト */
.related-item:hover .related-thumb img {transform: scale(1.05);}
.related-title {margin-top: 8px; font-size: 13px; line-height: 1.4; text-align: left; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;}

/* サムネイルがない場合 */
.related-thumb img[src$="no-image.webp"] {object-fit: contain; background-color: #f5f5f5;}

@media screen and (max-width: 768px) {
    .related-grid {grid-template-columns: 1fr;}
	.related-thumb {max-width: 300px; height: 168px;}
	.related-item.connection-list .related-thumb {max-width: 300px; height: 168px;}
	.related-title {width: 100%; max-width: 300px; margin: 8px auto 10px;}
	.related-item a {text-decoration: none;}
}

@media screen and (max-width: 460px) {
	.related-thumb {height: 32.6087vw;}
	.related-item.connection-list .related-thumb {height: 32.6087vw;}
	.related-title {font-size: 15px;}
}

/* ============================
   右カラム
============================ */
#sidebar {
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
	padding: 0 15px 0 40px;
}

@media (max-width: 1148px) {
	#sidebar {width: 31.3588vw; padding: 0 15px 0 3.4843vw;}
}

@media (max-width: 768px) {
    .blog-body {flex-direction: column;}
    #sidebar {width: 100%; order: 2; padding: 0;}
    #main-content {order: 1;}
    .related-grid {grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 480px) {
	.related-grid {padding: 0;}
}

/* ============================
   サイト検索機能
============================ */
.search-blog {}
form.search-form {line-height: 1; position: relative; padding: 0 !important; text-align: left;}
form.search-form label {width: calc(100% - 36px) !important; padding: 0; vertical-align: middle; margin: 0; line-height: 1; display: inline-block;}
input[type="search" i] {background: #fff; background-image: none !important; color: #333; padding: 0 12px; margin: 0; outline: 0 !important; font-size: 14px !important; height: 36px; min-height: 0; line-height: 1; border-radius: 0; border: 1px solid #ccc !important; font-family: arial; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: none; -webkit-border-radius: 0; border-right: 0 !important;}
form.search-form button {position: absolute; top: 0; right: 0; border: 0; box-shadow: none !important; opacity: 1; padding: 0 !important; margin: 0; line-height: 0; outline: 0; vertical-align: middle; width: 36px; height: 36px; cursor: pointer;}
span.is-search-icon {position: absolute; top: 0; right: 0; text-align: center; display: inline-block !important; color: #666; background: #ededed; box-shadow: none !important; outline: 0; margin: 0; font-size: 14px !important; border: 1px solid #ccc; border-radius: 0; line-height: 3.4; width: 36px; height: 36px; text-transform: capitalize; vertical-align: middle; -webkit-transition: background-color .1s 
ease-in-out; -moz-transition: background-color .1s ease-in-out; -o-transition: background-color .1s ease-in-out; transition: background-color .1s ease-in-out; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
.is-search-icon svg {width: 22px; display: inline;}

.search-result-list {margin: 25px 0;}
.search-result-list p {font-size: 16px;}
.search-result-item {margin: 25px 0 0; padding: 0 0 10px; border-bottom: solid 1px #bbb;}
h2.search-result-title {margin: 0; font-size: 20px; text-align: left; font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}
h2.search-result-title a {transition: color 0.2s ease;}
h2.search-result-title a:hover {color: #ed6d35;}
p.search-result-snippet {font-size: 16px; text-align: left; margin: 5px 0 0;}
p.search-result-snippet mark {background-color: #fff352;}

.search-keyword-head {margin: 0 0 25px; padding: 8px 12px; background: #f5f5f5;}
.search-keyword-head p {font-size: 18px;}
.search-keyword-head strong {}

.sp-nav .search-blog {margin: 20px 20px 0;}

@media (max-width: 768px) {
	h2.search-result-title {font-size: 18px;}
	h2.search-result-title a {text-decoration: none;}
	.search-keyword-head p {font-size: 16px;}
}

/* ============================
   ピックアップ記事（画像＋タイトル重ね）
============================ */
.highlight-post {
	box-sizing: border-box;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.highlight-post a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

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

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

.highlight-post .title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 768px) {
	.highlight-post {padding: 0 15px;}
}

/* ============================
   新着記事
============================ */
.new-posts {display: flex; flex-direction: column; gap: 12px;}
.new-posts h3 {font-size: 15px; font-weight: 500; background-color: #d9d9d9; margin: 0; padding: 10px; text-align: left;}
.new-posts ul {list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px;}
.new-posts li {display: flex; align-items: center;}
.new-posts li a {display: block; text-decoration: none; overflow: hidden; text-overflow: ellipsis; text-align: left;}
.new-posts li a img {width: 45px; height: 45px; object-fit: cover; flex-shrink: 0; padding: 0 12px 0 0; float: left; opacity: 1; transition: opacity 0.3s ease;}
.new-posts li a h4 {margin: 0; font-size: 12px; color: #111; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; max-height: 1.4em; word-break: break-word; transition: color 0.3s;}
.new-posts li a p {margin: 0; font-size: 10px; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; max-height: calc(1.4em * 2); word-break: break-word; transition: color 0.3s;}
.new-posts li a:hover img {opacity: 0.8;}
.new-posts li a:hover h4 {color: #0088cc; text-decoration: underline;}
.new-posts li a:hover p {color: #0088cc;}

@media (max-width: 768px) {
	.new-posts ul {padding: 0 15px;}
	.new-posts li a {max-width: 100%;}
}

/* ============================
   おすすめ記事（固定表示）
============================ */
.recommended-posts {}
.recommended-posts h3 {font-size: 15px; font-weight: 500; background-color: #d9d9d9; margin: 0; padding: 10px; text-align: left;}
.recommended-posts ul {display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 0; padding: 0; list-style-type: none;}
.recommended-posts ul li {position: relative; display: block; width: 48%; z-index: 0;}
.recommended-posts ul li a {display: block; text-decoration: none;}
.img-expansion {overflow: hidden; width: 100%; height: auto; display: flex; position: relative; z-index: 2; background: #fff; border: 1px solid #ddd;}
.img-expansion img {transition: transform 0.4s ease; backface-visibility: hidden;}
.know-item-sorting {position: absolute; z-index: 2; top: 5px; right: 5px; padding: 2px 10px; border-radius: 8px;}
.know-item-sorting p {color: #fff; font-size: 10px; font-weight: 400; margin: 0;}
.know-item-hover {background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,1)); position: absolute; z-index: 3; bottom: 0; left: 0; width: 100%; height: 50%; overflow: hidden;}
.know-item-hover .title-area {position: absolute; bottom: 0; left: 50%; text-align: center; width: 100%; transform: translateX(-50%); -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%);}
.know-item-hover .title-area h4 {font-size: 10px; font-weight: 400; color: #fff; margin: 0; padding: 0 3px 3px; line-height: 1.2;}

.light-blue {background-color: #005497;}
.tangerine {background-color: #ff4500;}
.pale-green {background-color: #006400;}

.recommended-posts li a:hover .img-expansion img {transform: scale(1.2, 1.2);}

@media (max-width: 768px) {
	.recommended-posts ul {padding: 0 15px;}
}


/* ============================
   オールライトのサービス
============================ */
.service-banners {}
.service-banners h3 {font-size: 15px; font-weight: 500; background-color: #d9d9d9; margin: 0; padding: 10px; text-align: left;}
.service-banners-wrap {}
.service-banners-wrap ul {list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; justify-content: center;}
.service-banners-wrap ul li {}
.service-banners-wrap ul li a {display: block; background-color: #cdcdcd;}
.service-banners-wrap ul li a img {max-width: 100px; transition: transform 0.3s ease;}
.service-banners-wrap ul li a img:hover {transform: rotate(-4deg);}

@media (max-width: 768px) {
	.service-banners-wrap {padding: 0 15px;}
}

@media (max-width: 460px) {
	.service-banners-wrap ul li a img {max-width: 20.5vw;}
}

/* ============================
   目次
============================ */
#floating-toc {position: sticky; top: 90px;}

@media screen and (max-width: 768px) {
	#floating-toc {display: none;}
}

/* ============================
   PC版：目次（初期は通常表示）
============================ */
.table-of-contents {
	width: 100%; /* サイドバーと揃える */
    max-width: 100%;
    background-color: #f6f6f6;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
	border-radius: 8px;
    margin-bottom: 25px;
}

.table-of-contents h3 {
    margin: 0 0 10px;
    font-size: 15px;
	 font-weight: 500;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

/* UL本体 */
.toc-list {list-style: none; padding-left: 0; margin: 0; text-align: left; box-sizing: border-box;}
.toc-list li {margin: 5px 0; text-indent: -1em; padding-left: 1em;}
.toc-list li a {color: #333; text-decoration: none; transition: color 0.2s ease;}
.toc-list li a:hover {color: #0073aa;}

/* h3項目はインデント＋装飾なし */
.toc-list .h3-item {list-style: none; padding-left: 18px; margin-top: 3px; font-size: 13px; text-indent: inherit;}

/* aタグ共通 */
.table-of-contents .toc-list li a {color: #111; text-decoration: none;}
.table-of-contents .toc-list li a:hover {color: #0078d7; text-decoration: underline;}

/* ============================
   PC版：スクロール時のフローティング固定
============================ */
.table-of-contents.fixed {
    position: fixed;
    top: 80px;
    right: calc((100% - 950px) / 2 - 220px);
    width: 208px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================
   SP専用：目次ポップアップ
============================ */
#toc-popup {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

/* 表示時のみflexに切り替え */
#toc-popup.execution {
    display: flex;
}

.toc-popup-content {
    background: #f6f6f6;
    padding: 24px 20px;
    width: 92%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    position: relative;
	box-sizing: border-box;
    animation: popup-fade 0.25s ease;
}

/* フェードインアニメーション */
@keyframes popup-fade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.toc-popup-content h3 {
    margin: 0 0 12px;
    font-size: 18px;
	color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

#toc-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 28px;
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

#toc-close:hover {
    color: #000;
}

/* 目次リスト */
.toc-popup-list {list-style: none; padding-left: 0; margin: 0; text-align: left;}
.toc-popup-list li {margin-bottom: 10px; line-height: 1.6;font-size: 15px;}

/* h3用インデント */
.toc-popup-list li.h3-item {padding-left: 20px; font-size: 14px; color: #666;}

/* 番号スタイル */
.toc-popup-list .toc-num {margin-right: 6px;}

/* リンク */
.toc-popup-list li a {
    text-decoration: none;
    color: #111;
    display: inline-block;
    word-break: break-word;
    transition: color 0.2s ease;
}
.toc-popup-list li a:hover {
    color: #23438a;
}


/* ===========================
   SP用 右下固定ボタン
=========================== */
#toc-icon {position: fixed; bottom: 150px; right: 15px; border: solid 1px #bbb; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); cursor: pointer; display: none; /* PCは非表示 */ z-index: 990;}
#toc-icon img {width: 52px; height: 52px; border-radius: 8px;}

@media screen and (max-width: 768px) {
    #toc-icon {
        display: block;
    }
}


/*===============================================
 ARブログ一覧・カテゴリ一覧共通 ================
===============================================*/
.blog-archive-container, .blog-category-container {max-width: 980px; margin: 0 auto; padding: 20px;}

@media screen and (max-width: 480px){
	.blog-archive-container, .blog-category-container {padding: 15px;}
}

/* ===== ページヘッダー ===== */
.page-header {text-align: center; margin: 50px 0 20px;}
.page-header h1 {font-size: 28px; margin: 0; height: auto;}
.page-header .sub-title {font-size: 14px; color: #777; margin: 1em 0;}

/* ===== メイン画像 ===== */
.blog-main-image {max-width: 100%; margin: 0 auto; overflow: hidden;}
.blog-main-image img {display: block; height: 300px; object-fit: cover;}
.blog-main-image.oyakudachi {position: relative;}
.blog-main-image.oyakudachi .oya-text {position: absolute; top: 50%; left: 0; width: 100%; background: rgba(0, 0, 0, 0.6); padding: 20px 0; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%);}
.oya-text h2 {font-size: 42px; text-align: center; margin: 0; color: #fff;}

.blog-main-image.kategori {position: relative;}
.blog-main-image.kategori .kate-text {position: absolute; top: 50%; left: 0; width: 100%; padding: 20px 0; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%);}
.kate-text h2 {font-size: 42px; text-align: center; margin: 0; color: #fff;}
.kate-text h4 {font-size: 24px; font-weight: 500; line-height: 1.3; text-align: center; margin: 20px 0 0; color: #fff; font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;}


@media screen and (max-width: 768px){
	.oya-text h2 {font-size: 5.46875vw;}
	.kate-text h2 {font-size: 5.46875vw;}
	.kate-text h4 {font-size: 3.125vw;}
}

@media screen and (max-width: 598px){
	.blog-main-image img {height: 50.1672vw;}
}

@media screen and (max-width: 480px){
	.kate-text h4 {line-height: 1.6;}
}

/* ===== 固定テキスト ===== */
.blog-description {text-align: center; margin: 40px 0 80px;}
.blog-description h3 {text-align: center; font-size: 20px; font-weight: 600; color: #333;}
.blog-description h3 span {position: relative; display: inline-block;}
.blog-description h3 span:before {content: ''; position: absolute; top: 50%; left: -40px; width: 20px; height: 2px; background-color: #333; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%);}
.blog-description h3 span:after {content: ''; position: absolute; top: 50%; right: -40px; width: 20px; height: 2px; background-color: #333; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%);}
.blog-description h4 {font-size: 16px; font-weight: 400; color: #333;}

@media screen and (max-width: 768px){
	.blog-description h3 {font-size: 18px;}
}

@media screen and (max-width: 480px){
	.blog-description h3 {font-size: 4.4vw;}
}

/* ===== ブログカード一覧 ===== */
.blog-archive-list {display: flex; flex-wrap: wrap; justify-content: center; margin: 10px 0 0;}

/* ===== 各記事カード ===== */
.blog-card {-ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}
.knowlege-wrap .blog-card {-ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%;}
.blog-card-inner {margin: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; border-radius: 6px;}
.blog-card a {text-decoration: none; color: #333; display: block;}

@media screen and (max-width: 768px){
	.knowlege-wrap .blog-card {-ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}
}

@media screen and (max-width: 480px){
	.knowlege-wrap .blog-card {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}
	.blog-card-inner {margin: 5px;}
}

/* ===== サムネイル ===== */
.blog-card .thumb {width: 100%; max-width: 100%; aspect-ratio: 3 / 2; overflow: hidden; display: flex; justify-content: center; align-items: center;}
.blog-card .thumb img {width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.3s ease;}
.blog-card .thumb:hover img {transform: scale(1.15);}
.knowlege-wrap .blog-card .thumb {border-radius: 6px 6px 0 0;}

@media screen and (max-width: 480px){
	.knowlege-wrap .blog-card .thumb {border-radius: 6px 0 0 6px; width: 89px; height: 89px; float: left;}
}

/* ===== コンテンツ部分 ===== */
.card-content {display: flex; align-items: center; margin: 20px 0 30px; min-width: 0; gap: 6px; text-align: left;}
.blog-card-inner .card-content {margin: 0 0 20px; padding: 20px; flex-wrap: wrap; gap: 0;}

@media screen and (max-width: 480px){
	.blog-card-inner .card-content {margin: 0 0 10px; padding: 10px;}
}

/* カテゴリボタン */
.blog-card .category-btn {display: inline-block; color: #fff; font-size: 12px; font-weight: bold; padding: 3px 15px; border-radius: 24px; white-space: nowrap; flex-shrink: 0;}
.blogcate-cms .category-btn {background-color: #2e75b6;}
.blogcate-seo .category-btn {background-color: #b6612e;}
.blogcate-support .category-btn {background-color: #e56c00;}
.blogcate-webdesign .category-btn {background-color: #174b92;}
.blogcate-webpage .category-btn {background-color: #128029;}
.blogcate-landingpage .category-btn {background-color: #80980e;}
.blogcate-casestudy .category-btn {background-color: #820e8c;}
.blogcate-uncategorized .category-btn {background-color: #606060;}

/* タイトル2行制限 */
.blog-card .title {font-size: 14px; font-weight: 500; color: #333; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; font-family: initial; padding: 0 5px;}
.blog-card .blog-card-inner .title {display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; line-height: 1.5; min-height: 63px; max-height: calc(1.5em * 3); white-space: initial; margin: 10px 0 5px;}

@media screen and (max-width: 480px){
	.blog-card .blog-card-inner .title {-webkit-line-clamp: 5; max-height: calc(1.5em * 5); margin: 5px 0 0; min-height: initial;}
}

/* 関連記事 */



@media screen and (max-width: 768px){
	.blog-description {margin: 20px 0 40px;}
	.blog-description h4 {font-size: 14px;}
	.card-content {flex-direction: column; align-items: flex-start; margin: 12px 0 20px; padding: 0 10px;}
    .card-content .category-btn {flex-shrink: 0; display: inline-block; margin-bottom: 2px;}
    .card-content .title {display: block; width: 100%; margin: 0; padding: 0;}
}

@media screen and (max-width: 480px){
	.blog-description h4 {font-size: 3.2vw;}
	.card-content {gap: 2px; padding: 0 10px 0 0;}
	.card-content .category-btn {font-size: 11px; margin: 0; padding: 1px 15px;}
	.card-content .title {font-size: 15px;}
}

/*===============================================
 ARブログ グローバル
===============================================*/
#gro_box.arblog-footer {background-size: cover;}
.arblog-footer .pc .w1000 {width: 100%; max-width: 1000px;}
.arblog-footer .pc .w1000 .footer_title span {font-size: 12px; margin-left: 5px;}
.blogfooter-space {}


@media screen and (max-width: 1000px){
	.arblog-footer .gro_left {width: 33vw; margin: 7vw 0 0 4vw;}
	.arblog-footer .pc a .footer_title {padding: 1.5vw 0;}
	.arblog-footer .gro_logo {width: 16vw; height: 20vw; margin: 0 4vw;}
	.arblog-footer .gro_right {width: 33vw; margin: 7vw 4vw 0 0;}
	.arblog-footer .pc .w1000 .footer_title span {font-size: 1.2vw; margin-left: 0.5vw;}
}

@media screen and (max-width: 768px){
	.arblog-footer .sp .gro_logo {width: 100%; margin: 0;}
	.arblog-footer .sp .gro_logo a img {max-width: 110px;}
	.blogfooter-space {margin-bottom: 140px;}
}

@media screen and (max-width: 528px){
	.blogfooter-space {margin-bottom: 26.5vw;}
}

@media screen and (max-width: 480px){
	.arblog-footer .sp.footer_gro a {font-size: 3vw;}
	.arblog-footer .sp a .footer_company {margin: 0 auto 2.08vw;}
	.arblog-footer .sp a .footer_toiawase {margin: 0 auto 2.08vw;}
}

/*===============================================
 ARブログ フッター
===============================================*/
/****** #footer_box フッターメイン ******/
.ar-blog-footerbox {}
.ar-blog-footerbox .footer_inbox {width: 100%; max-width: 980px;}

.ar-blog-footerbox .footer_text04 {width: 100%; max-width: 980px;}

/****** #footer-blog-fixed 固定フッター ******/
#footer-blog-fixed {position: relative; height: 40px;}
.footer-blog-fixed-container {position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; background-color: #141414; text-align: center; z-index: 12;}
.footer-blog-fixed-container ul {display: flex; width: 100%; list-style-type: none; margin: 0; padding: 0;}
.footer-blog-fixed-container ul li {flex: 1; height: 60px; color: #fff; font-size: 12px; font-weight: 600; border-right: solid 1px #202020;}
.footer-blog-fixed-container ul li:last-child {border: none;}
.footer-blog-fixed-container ul li a {color: #fff; text-decoration: none; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%;}
.fbf-menu-left {background-color: #e60012; display: flex; justify-content: center; align-items: center;}

#footer-slide-panel {position: fixed; bottom: 60px; left: 0; width: 100%; background: #fff; border-top: 1px solid #ccc; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); z-index: 9; transition: transform 0.2s ease, opacity 0.2s ease; transform: translateY(100%); opacity: 0; pointer-events: none;}
#footer-slide-panel.active {transform: translateY(0); opacity: 1; pointer-events: auto;}
#footer-slide-panel .panel-inner {padding: 20px;}
#footer-slide-panel .panel-close {font-size: 20px; cursor: pointer; position: absolute; top: 0; right: 0; color: #fff; width: 100%; text-align: right; padding: 5px 10px;}
#footer-slide-panel .panel-content {font-size: 13px;}
#panel-title {margin: 0; background-color: #141414; font-weight: 600; color: #fff; padding: 10px;}
.category-list, .recommend-list {margin: 0; padding: 0; list-style-type: none;}
.category-list li, .recommend-list li {text-align: left; border-bottom: dotted 1px #d7d7d7;}
.category-list li:last-child, .recommend-list li:last-child {border: none;}
.category-list li a, .recommend-list li a {color: #333; text-decoration: none;}

.category-list li {padding: 10px 0;}

.recommend-list li {padding: 5px 0;}
.recommend-list li a {display: flex; gap: 10px; align-items: center;}
.recommend-list li a img {max-width: 80px;}
.recommend-list li a p {}
.recommend-list li a p span {display: inline-block;}




/****** リキャプチャ位置 ******/
@media screen and (max-width: 768px){
	.grecaptcha-badge {bottom: 74px!important;}
}


/****** #footer_AR 著作権 ******/
.ar-blog-copyright {}
.ar-blog-copyright .w1000 {width: 100%; max-width: 1000px;}
.ar-blog-copyright .pc .fleft a img {max-width: 185px;}

.ar-blog-copyright .footer_spwaku .button_maru img {vertical-align: initial;}


@media screen and (max-width: 768px){
	.col-12-footer.ar-blotop {padding-bottom: 20px;}
	.col-12-footer.ar-blobottom {padding: 20px 0 30px; background-color: #333;}
	.ar-blobottom .ar-blobot-logo a img.btn {max-width: 185px;}
}

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