@charset "UTF-8";
@charset "UTF-8";
@charset "UTF-8";
@charset "UTF-8";



html {-webkit-text-size-adjust: 100%;box-sizing: border-box;-moz-tab-size: 4;tab-size: 4;word-break: normal} *,:after,:before {background-repeat: no-repeat;box-sizing: inherit} :after,:before {text-decoration: inherit;vertical-align: inherit} * {margin: 0;padding: 0} hr {color: inherit;height: 0;overflow: visible} details,main {display: block} summary {display: list-item} small {font-size: 80%} [hidden] {display: none} abbr[title] {border-bottom: none;text-decoration: underline;text-decoration: underline dotted} a {background-color: transparent} a:active,a:hover {outline-width: 0} code,kbd,pre,samp {font-family: monospace, monospace} pre {font-size: 1em} b,strong {font-weight: bolder} sub,sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline} sub {bottom: -.25em} sup {top: -.5em} table {border-color: inherit;text-indent: 0} iframe {border-style: none} input {border-radius: 0} [type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button {height: auto} [type=search] {-webkit-appearance: textfield;appearance: textfield;outline-offset: -2px} [type=search]::-webkit-search-decoration {-webkit-appearance: none;appearance: none} textarea {overflow: auto;resize: vertical} button,input,optgroup,select,textarea {font: inherit} optgroup {font-weight: 700} button {overflow: visible} button,select {text-transform: none} [role=button],[type=button],[type=reset],[type=submit],button {cursor: pointer} [type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner {border-style: none;padding: 0} [type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring {outline: 1px dotted ButtonText} [type=reset],[type=submit],button,html [type=button] {-webkit-appearance: button;appearance: button} button,input,select,textarea {background-color: transparent;border-style: none} a:focus,button:focus,input:focus,select:focus,textarea:focus {outline-width: 0} select {-moz-appearance: none;-webkit-appearance: none;appearance: none} select::-ms-expand {display: none} select::-ms-value {color: currentColor} legend {border: 0;color: inherit;display: table;max-width: 100%;white-space: normal} ::-webkit-file-upload-button {-webkit-appearance: button;appearance: button;color: inherit;font: inherit} [disabled] {cursor: default} img {border-style: none} progress {vertical-align: baseline} [aria-busy=true] {cursor: progress} [aria-controls] {cursor: pointer} [aria-disabled=true] {cursor: default}


/* =================================================================
# 基本CSS
# ================================================================= */

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    color: #222;
    background-color: #fff;
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.catchphrase{
    font-family: "游明朝体", "Yu Mincho", serif; /* 游明朝体の指定 */
}

img{
    max-width:100%;
}


/* =================================================================
# カラー設定
# ================================================================= */
:root {
    --base-color: #f8f8f8;
    --main-color: #f9690e;
    --accent-color:#008ac8;
}

.main-bc{
    background-color:#f9690e;
}

.accent-bc{
    background-color:#008ac8;
}

/* =================================================================
# リンクの色
# ================================================================= */

a{
    transition: color 0.3s;
    color: #007bff;
    text-decoration: none; 
}

a:hover{
    text-decoration: underline;
}

/* =================================================================
#  デバイス別の基本フォントサイズ
# ================================================================= */

html {
    font-size: 16px;
}

@media (max-width: 1366px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    table th,table td {
        font-size: 15px;
    }

}

/* =================================================================
# 文字の大きさ
# ================================================================= */

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.125rem;
}

h5 {
    font-size: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.25rem;
    }
}

p{
    font-size: 1rem;
    margin:1rem 0;
    line-height:1.8;
}


/* =================================================================
# コンテンツ幅
# ================================================================= */

.main-w{
    max-width: 1200px;
    width: 100%;
    margin:0 auto;
    box-sizing: border-box;
}

.section-pa{
    padding:3rem 5%;
}

.post-pa{
    padding:0 3%; 
}

/* =================================================================
# 余白
# ================================================================= */

.ma10-t{
    margin-top:10px;
}

.ma20-t{
    margin-top:20px;
}

.ma30-t{
    margin-top:30px;
}

.ma10-l{
    margin-left:10px;
}

.ma20-l{
    margin-left:20px;
}

.ma30-l{
    margin-left:30px;
}

.ma10-r{
    margin-right:10px;
}

.ma20-r{
    margin-right:20px;
}

.ma30-r{
    margin-right:30px;
}

.ma10-b{
    margin-bottom:10px;
}

.ma20-b{
    margin-bottom:20px;
}

.ma30-b{
    margin-bottom:30px;
}

.pa0-r{
    padding-right:0;
}

.pa10-r{
    padding-right:10px;
}

.pa20-r{
    padding-right:20px;
}


/* =================================================================
# 配置
# ================================================================= */

.text-c{
    text-align:center;
}

.text-r{
    text-align:right;
}

.text-l{
    text-align:left;
}


/* =================================================================
# ヘッダー
# ================================================================= */

/* ヘッダー */
header {
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 6rem;
    background: #fff;
}

/* ヘッダー全体のスタイル */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    margin-left:2rem;
}

.header-right {
    display: flex;
    align-items: center;
    height: 100%;
}

/* =================================================================
# ロゴ
# ================================================================= */

.logo a {
    text-decoration: none;
    color: #222;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.logo img {
    max-width: 280px;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 230px;
    }

    .logo a {
        font-size: 1.5rem;
    }
}

/* =================================================================
# ヘッダーナビゲーション
# ================================================================= */

.header-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    line-height: 2;
}

.header-nav > div { 
    width: 100%;
}

.header-nav > div > ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.header-nav > div > ul > li {
    margin-right: 10px;
    font-size: 14px;
}

.header-nav > div > ul > li > a {
    color: #222;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-nav > div > ul > li > a:hover {
    opacity: 0.7;
}

.header-nav > div:nth-of-type(1) ul li {
    font-weight: 700;
}

.header-nav > div:nth-of-type(2) ul li {
    position: relative;
    padding-right: 10px;
    margin-right: 10px;
}

.header-nav > div:nth-of-type(2) ul li:last-child {
    padding-right: 0;
}

.header-nav > div:nth-of-type(2) ul li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background-color: #ccc;
}

.header-nav > div:nth-of-type(2) ul li:last-child::after {
    display: none;
}

/* header-ctaのスタイル */
.header-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    text-align: center;
    color: #fff;
}

.header-cta a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: inherit;
    font-weight:bold;
}

.header-cta-tel {
    font-size: 1.5rem;
}

.header-cta-hours {
    font-size: 0.75rem;
}

.header-cta-tel i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* =================================================================
# ハンバーガーメニュー
# ================================================================= */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1100; /* モバイルメニューより上に表示 */
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 80%;
    max-width: 350px;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1rem 2rem 1rem;
}

.mobile-nav-menu > div {
    width: 100%;
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-nav-menu ul li {
    font-size: 16px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.mobile-nav-menu ul li a {
    display: block; /* リンクをブロック要素に */
    width: 100%; /* リンクをliの幅全体に広げる */
    color: #222;
    text-decoration: none;
    padding: .75rem 1.5rem .75rem 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu ul li a:hover {
    color: #007bff;
}

.mobile-nav-menu ul li:after {
    content: "\f054";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.header-cta-m {
    text-align: center;
    margin: 0 1rem 1rem 1rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 12px;
    background-color: inherit; /* ボタンの背景色を親の背景色に継承 */
}

.header-cta-m.main-bc {
    background-color: var(--main-color); /* 電話ボタンの背景色 */
}

.header-cta-m.accent-bc {
    background-color: var(--accent-color); /* メールボタンの背景色 */
}

.header-cta-m a {
    display: block; /* a要素をブロック表示に変更 */
    color: #fff;
    text-decoration: none; /* リンクの下線を消す */
}

.header-cta-m i {
    margin-right: 6px; /* アイコンとテキストの間の余白 */
}

.mobile-cta-tel {
    font-size: 1.5rem;
}

.mobile-cta-tel i {
    font-size: 1.25rem;
}

.mobile-cta-hours {
    display: block;
    font-size: 12px;
}

/* ハンバーガーメニューのアニメーション */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* スマホサイズで表示 */
@media (max-width: 768px) {
    .header-right {
        display: none;
    }
    .hamburger-menu {
        display: flex;
        margin-right: 1rem;
    }
}

/* =================================================================
# キービジュアル
# ================================================================= */

/* キービジュアルのスタイル */
.key-visual {
    position: relative;
    width: 100%; /* 画面横幅いっぱい */
    height: 600px; /* 高さを700pxに固定 */
    overflow: hidden; /* 画像のオーバーフローを隠す */
}

/* キービジュアル内の画像 */
.key-visual-img {
    width: 100%; /* 画像の横幅を画面幅いっぱいに */
    height: 100%; /* 画像の高さをキービジュアルの高さにフィット */
    object-fit: cover; /* 画像の縦横比を保ちながら、全体にフィットさせる */
    object-position: center; /* 画像の中央部分を表示 */
}

/* キャッチフレーズのスタイル */
.key-visual .catchphrase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 中央に配置 */
    color: #fff;
    text-align: center;
    max-width: 1200px;
    width: 100%; /* 幅を100%にして中央揃えを正しく機能させる */
    box-sizing: border-box; /* パディングやボーダーを含めて幅を計算 */
    word-wrap: break-word; /* 長い単語の折り返しを許可 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 文字に影をつけて見やすく */
}

.catchphrase-sub{
    display: block;
    font-size: 2.5rem;
}

.catchphrase-main{
    font-size: 4rem;
}

/* =================================================================
# 2列で表示するリスト
# ================================================================= */

.list01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin-top:2rem;
}

.list01-item {
    position: relative;
    display: flex;
    width: 48%;
    margin-bottom: 2rem;
    background: #fff;
    border: 1px solid #f7f7f7;
    box-sizing: border-box;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.list01-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.list01-img {
    margin-right: 1rem;
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.list01-text {
    display: flex;
    flex-direction: column;
}

.list01-title {
    margin: 0;
    font-size: 1.125rem;
}

.list01-description {
    margin: 4px 0 0 0;
    font-size: 14px;
    line-height: 1.3;
    color:#666;
}

/* マウスオーバー時に<li>全体の色を変更 */
.list01-item:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* =================================================================
# ボタン
# ================================================================= */

/* ボタン01　大きいボタン */
.btn01 {
    display: inline-block;
    background: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 8rem;
    text-decoration: none;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影を追加 */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; /* スムーズな変化を追加 */
}

.btn01 i {
    position: absolute;
    right: 1rem; /* アイコンをボタンの右端に配置 */
    top: 50%;
    transform: translateY(-50%); /* 縦中央に配置 */
}

.btn01:hover {
    background: #fff;
    color: var(--main-color);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* マウスオーバー時の影を強調 */
    text-decoration: none;
}

/* =================================================================
# トップページの会社案内
# ================================================================= */

.guidance-links{
    margin-top:2rem;
}

.guidance-links ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    width: 100%;
    gap: .5rem;
    margin: 0 auto;
}

.guidance-links li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: space-between;
    min-height: 250px;
}

.guidance-links a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    width: 100%;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guidance-links h3 {
    margin: 10px 0 4px 0;
    font-size: 1rem;
    text-align: left;
}

.guidance-links p {
    font-size: 0.85rem;
    color: #666;
    text-align: left;
    padding-right: 5%;
    margin-top: 0;
}

.guidance-links a img {
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.guidance-links a:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

@media (max-width: 1024px) {
    .guidance-links ul{  
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =================================================================
# 2カラムレイアウト
# ================================================================= */

.post {
    display: flex;
    max-width: 1200px; /* コンテナの最大幅を指定 */
    margin: 0 auto; /* 中央寄せ */
    padding-bottom:3rem;
}

.main-content {
    flex: 1; /* メインコンテンツがサイドバーよりも広くなるように設定 */
    box-sizing: border-box; /* パディングを含めて幅を計算 */
    margin-right: 40px; 
    max-width: calc(100% - 340px);
    padding-bottom: 3rem;
    min-height: 500px;
}

.sidebar {
    width: 300px; /* サイドバーの固定幅を指定 */
    box-sizing: border-box; /* パディングを含めて幅を計算 */
}

/* =================================================================
# パンくずリスト
# ================================================================= */

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    margin: 0 auto;
    max-width:1200px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:after {
    content: '>';
    margin: 0 5px;
    color: #666;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb li:last-child {
    color: #333;
}

@media (max-width: 1024px) {
    .breadcrumb {
        overflow: auto;
        word-break: keep-all;
        white-space: nowrap;
    }

    .breadcrumb ol {
        flex-wrap: nowrap;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none;
    }
}

/* =================================================================
# サイドバー
# ================================================================= */

.sidebar h2,.sidebar h3{
    padding: .75rem ;
    text-align: center;
    font-size:14px;
    background: var(--base-color);
}

.sidebar ul{
    list-style: none; 
}

.sidebar ul li {
    border-bottom:1px solid #eee;
}

.sidebar ul li a{
    display: block;
    color: #222;
    text-decoration: none;
    position: relative;
    font-size:14px;
    padding:20px 28px 20px 4px
}

.sidebar ul li a:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* 縦方向の中央揃え */
    border: solid #ccc; /* 矢印の色を指定 */
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transform: translateY(-50%) rotate(-45deg); /* 右向きの矢印を作成 */
    margin-right:12px;
}

.sidebar ul li a:hover{
    color:var(--main-color);
}

.sidebar ul li a:hover:after {
    border-color: var(--main-color); /* マウスオーバー時の矢印の色を赤に変更 */
}

.sidebar .widget{
    margin-bottom:3rem;
}

/* =================================================================
# ページネーション
# ================================================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 0 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #3C8AFF;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover,
.pagination span.current {
    background-color: #3C8AFF;
    color: #fff;
    border-color: #3C8AFF;
}

.pagination span.dots {
    border: none;
    background: none;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}

/* =================================================================
# 関連記事
# ================================================================= */

.relation-title {
    font-size: 1.25rem;
    border-bottom: 3px solid #222;
    padding-bottom: 0.75rem;
    margin: 48px 0 28px 0;
}

.related-posts ul {
    list-style: none;
    margin-top: -16px;
}

.related-posts ul li {
    padding: 0;
}

.related-posts ul li a {
    display: block; /* <li>全体にリンクを適用 */
    padding: 1rem 0;
    text-decoration: none;
    color: #222;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 1px solid #eee;
}

.related-posts ul li a:hover {
    background-color: #f2f2f2; /* 薄いグレー */
    color: #333;
}

.related-posts time {
    margin-right: 0.5rem;
    padding-right: 0.5rem;
    border-right: 1px solid #eee;
    color: #666;
}

.related-posts p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .related-posts time {
        display: block;
        border-right: none;
        margin-bottom:4px;
    }
}

/* =================================================================
# コンタクトフォーム7
# ================================================================= */

/* フォーム全体のスタイル */
.wpcf7-form {
    max-width: 90%;
    margin: 0 auto;
    font-size: 14px;
}

/* フォームフィールドのスタイル */
.wpcf7-form p {
    margin-bottom: 20px;
    font-size: 14px;
}

/* ラベルのスタイル */
.wpcf7-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

/* 入力フィールドのスタイル */
.wpcf7-form .wpcf7-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fafdff;
    margin-top: 5px;
}

/* テキストエリアのスタイル */
.wpcf7-form .wpcf7-textarea {
    resize: vertical;
}

/* 送信ボタンのスタイル */
.wpcf7-form .wpcf7-submit {
    background-color: #224C9A;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

/* ボタンのホバー時のスタイル */
.wpcf7-form .wpcf7-submit:hover {
    background-color: #1b3a7a;
}

/* エラーメッセージのスタイル */
.wpcf7-response-output {
    margin-top: 10px;
    font-size: 14px;
    color: #d9534f;
}

/* フォーカス時のスタイル */
.wpcf7-form .wpcf7-form-control:focus {
    border-color: #224C9A;
    outline: none;
    box-shadow: 0 0 5px rgba(34, 76, 154, 0.5);
}

/* チェックボックスの背景とボーダーを消す */
.wpcf7-form .wpcf7-checkbox {
    background-color: transparent;
    /* 背景を透明に */
    border: none;
    /* ボーダーを削除 */
    padding: 0;
    /* パディングをリセット */
}

.wpcf7-list-item {
    margin: 0 1rem 0 0 !important;
}

.wpcf7-form p.query-type {
    margin-bottom: 30px;
    /* 例: 下に10pxのスペースを追加 */
}

.wpcf7-list-item.first {
    margin-top: 8px !important;
}

/* モバイル用のスタイル */
@media (max-width: 1024px) {
    .wpcf7-form {
        max-width: 100%;
    }

    .wpcf7-checkbox .wpcf7-list-item {
        display: block;
        margin-bottom: 10px;
    }

    .wpcf7-list-item.first {
        margin-top: 12px !important;
    }
}


/* =================================================================
# 実績
# ================================================================= */

.achievements {
    position: relative; /* relativeを追加 */
    z-index: 2; /* 実績部分を前面に表示 */
    margin-top: -130px; /* キービジュアルに重なるように上に移動 */
    padding-top: 50px; /* 上の余白を追加 */
}

.key-visual {
    position: relative;
    z-index: 1; /* キービジュアルを背景側に設定 */
}

.achievements-list {
    list-style-type: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列に設定 */
    gap: 20px; /* 要素間の隙間を設定 */
    width: 1200px;
    justify-content: center;
}

.achievements-list li {
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.label {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background: #222;
    border-radius: 16px;
    padding: 0.2rem 0;
}

.number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.number {
    font-size: 3rem;
    font-weight: bold;
    color:var(--main-color)
}

.unit {
    font-size: 1.5rem;
    margin-left: 5px;
    font-weight: bold;
}

.small-text {
    display: block;
    font-size: 12px;
    text-align: center;
    font-weight: 400;
}


/* =================================================================
# トップページの見出し
# ================================================================= */

.home-title {
    line-height:1.1;
    font-size:1.25rem;
}

.home-title span{
    display:block;
    font-size:2.5rem;
}

/* =================================================================
# 新着物件
# ================================================================= */

.property {
    background: var(--base-color);
}

.property-title {
    display: flex;
    align-items: center; /* 縦中央揃え */
    justify-content: center; /* 横方向中央揃え */
    font-size: 1.5rem; /* 必要に応じて文字サイズを調整 */
    text-align: center; /* テキストのセンタリング（フレックスアイテム内） */
    margin-bottom:3rem;
}

.property-title img {
    margin-right: 10px; /* 画像と文字の間に適度な余白を追加 */
    vertical-align: middle;
    width: 24px;
    height: auto;
}

.property-title:before, .property-title:after {
    border-top: 1px solid;
    content: "";
    width: 100px;
}

.property-title:before {
    margin-right: 1em;
}

.property-title:after {
    margin-left: 1em;
}


/* 物件リスト */
.property-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列レイアウト */
    gap: 1.5rem; /* アイテム間の間隔 */
    list-style: none;
    margin-top: 2rem;
}

.property-item {
    box-sizing: border-box;
    transition: box-shadow 0.5s ease;
    box-shadow: 3px 3px 6px rgba(12, 13, 13, .05);
    overflow: hidden;
    position: relative;
    background: #fff;
}

.property-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ホバー時に影を強調 */
}

.property-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 物件リストの画像 */
.property-img {
    position: relative;
    width: 100%;
    height: 180px; /* 画像の高さを固定 */
    overflow: hidden; /* 画像が枠からはみ出さないようにする */
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 縦横比を保持して、枠に合わせる */
    transition: transform 0.5s ease; /* ズームアニメーションの設定 */
    transform-origin: center center; /* 中心からズーム */
}

.property-item:hover .property-img img {
    transform: scale(1.1);
}

/* 物件リストの情報 */
.property-info {
    padding: 1rem;
}

.property-name {
    font-size: 1rem;
}

.property-price {
    font-size: 1.25rem;
    color: var(--main-color);
    font-weight: 700;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    margin: 8px 0;
}

.property-size {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.property-address, .property-station {
    font-size: 14px;
    color: #555;
    display: block;
}

.property-info i {
    color:var(--accent-color);
}

.property-btn {
    display: flex;
    justify-content: center;
    margin-top:2rem;
}


/* =================================================================
# お知らせ
# ================================================================= */

.news{
    background: var(--base-color);
    padding:3rem 5%;
}

.news-inner{
    width:1200px;
    margin:0 auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:1px solid #eee;
    padding:1.5rem;
}

.news-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.news-header a {
    font-size: 0.875rem;
    color:#222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-header a:hover {
    color: var(--accent-color);
}

.news-contents{
    padding:1.5rem;
}

/* ニュースリスト */
.post-list {
    list-style: none;
}

.post-list li {
    padding: .75rem 0;
    display: flex;
    align-items: center;
}

/* 最初のリストアイテムの上側のパディングをゼロに */
.post-list li:first-child {
    padding-top: 0;
}

/* 最後のリストアイテムの下側のパディングをゼロに */
.post-list li:last-child {
    padding-bottom: 0;
}

.post-list a {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.post-list li:hover p{
    text-decoration: underline;
}

.newentry-date {
    color: #666;
    margin-right: 1rem;
    white-space: nowrap;
}

.post-list-tag {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.25rem 0.5rem 0.35rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-right: 1rem;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.post-list p {
    font-size: 1rem;
    color:#222;
    margin: 0;
    flex-grow: 1;
}

/* =================================================================
# フリースペース
# ================================================================= */

.free{
    line-height:1.8;
}

/* =================================================================
# フッター
# ================================================================= */

.footer {
    background-color: var(--base-color);
    border-top:3px solid #222 ;
    padding:3rem 5%;
}

.footer-contents {
    display: flex;
    justify-content: space-between; /* 左右のスペースを調整 */
    align-items: start;
}

.footer-left {
    flex: 0 0 40%;
}

.footer-right {
    flex: 0 0 60%;
}

.footer-title{
    font-size:1.25rem;
    margin-bottom:8px;
}

.footer-info{
    font-size:14px;
    line-height:1.5;
}

/* フッターCTA */
.footer-cta{
    background:#fff;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    border-radius: 4px;
}

.footer-cta-title{
    font-size:14px;
    text-align:center;
    margin-bottom:1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-buttons a {
    flex: 1;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
}

.tel-btn{
    color:#222;
    font-size:1.75rem;
}

.tel-btn span{
    display: block;
    font-size:13px;
}

.tel-btn i{
    font-size:1.5rem;
    margin-right:4px;
}

.mail-btn {
    background: var(--accent-color);
    color: #fff;
    font-size: 1.125rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mail-btn i{
    margin-top:3px;
    margin-right:8px;
}

.mail-btn:hover {
    background: #fff;
    color: var(--accent-color);
}

/* フッターナビ */

.footer-nav{
    padding:3rem 2% 0rem 2%;
}

.footer-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width:1200px;
    margin:0 auto;
}

.footer-column {
    flex: 1;
    min-width: 25%;
}

.footer-column h2,.footer-column h3{
    font-size:14px;
    padding-bottom:8px;
    border-bottom:1px solid #999;
    margin-bottom:8px;
    color:#222;
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
    line-height:1.8;
    margin-bottom: 20px;
}

.footer-column ul li{
    font-size:14px;
    font-weight: 400;
}

.copyright{
    text-align: center;
    font-size:12px;
    padding:12px;
    background: #222;
    color:#fff;
}

/* =================================================================
# コンテンツページのHタグのデザイン
# ================================================================= */

.post-title{
    border-top:4px solid var(--main-color);
    border-bottom:1px solid #ccc;
    padding:1.5rem 0;
    font-size:1.5rem;
}

.main-content-wrap h2{
    padding: 1rem;
    background: var(--base-color);
    margin: 3rem 0 1.5rem 0;
    border-left: 5px solid var(--main-color);
}

.main-content-wrap h3 {
    position: relative;
    padding-bottom: 1rem;
    margin: 2rem 0 1.25rem 0;
}

.main-content-wrap h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px; /* ボーダーの厚さに相当する高さ */
    background: linear-gradient(to right, #f2f5f8, #eee); /* グラデーションの色を指定 */
}

.main-content-wrap h4,.main-content-wrap h5{
    margin:1.25rem 0;
}

/* =================================================================
# コンテンツページの装飾
# ================================================================= */

/* リスト */

.main-content-wrap ul,.main-content-wrap ol{
    padding-left:24px;
    margin:20px 0;
    line-height: 2;
}

 /* テーブル */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
    text-align: center;
}

/* 引用 */

blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #ccc;
    margin: 20px 0;
    padding: 24px 20px;
    font-style: italic;
    color: #555;
    position: relative;
}

blockquote::before {
    content: "“";
    font-size: 4em;
    color: #ccc;
    position: absolute;
    left: 10px;
    top: -10px;
}

blockquote::after {
    content: "”";
    font-size: 4em;
    color: #ccc;
    position: absolute;
    right: 10px;
    bottom: -30px;
}

/* =================================================================
# 物件情報トップページ
# ================================================================= */

.cat-title{
    background-color:var(--main-color);
    padding:1rem;
    color:#fff;
    font-size:1.125rem;
}

.property-cat-link h2{
    border-bottom:2px solid var(--main-color);
    padding-bottom:4px;
    font-size:1rem;
    margin:1.5rem 0 1rem 0;
}

.property-cat-link h3{
    font-size:1rem;
    margin:16px 0 8px 0;
    font-weight: 400;
}

.property-cat-link h2 a,.property-cat-link h3 a{
    color:#222;
    font-weight: 700;
}

.cat-subtitle{
    border-left: 3px solid var(--main-color);
    background: #f7f7f7;
    padding:.75rem;
    font-size:1.125rem;
    margin:2rem 0 1rem 0;
}

.property-cat-list{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    line-height:2;
}

.property-cat-list li a{
    font-weight: 500;
}

.property-cat-list li {
    padding: 0 12px;
    position: relative;
    font-weight: 400;
}

.property-cat-list li::after {
    content: '';
    position: absolute;
    top: 50%; /* アイテムの中央に配置 */
    right: 0;
    transform: translateY(-50%); /* 縦線を中央に寄せる */
    width: 2px;
    height: 40%; /* 縦線の長さを短く */
    background-color: #ccc;
}

.property-cat-list li:last-child::after {
    content: none;
}

.property-cat-list li:first-child{
    padding-left:0;
}


/* =================================================================
# 物件詳細ページ
# ================================================================= */

.property-detail{
    border-top: 8px solid var(--main-color);
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 4px;
    padding:1rem;
    margin-top:2rem;
}

.property-detail h2{
    font-size:1.125rem;
    border-bottom:2px dotted #ccc;
    padding-bottom:1rem;
}

.property-table{
    border: 1px solid #ccc;
    font-size:14px;
}

.property-table th{
    width:25%;
    padding:8px;
    font-weight: 500;
}

.property-table td{
    background: #fff;
    padding: 8px;
}

.property-cta{
    background: #FFFFEF;
    padding: 1rem 1rem 1.5rem 1rem;
}

.property-slide{
    margin:20px 0 40px 0;
}

.property-summary {
    font-size:14px;
    font-weight: 500;
}

.property-money{
    font-size:1.5rem;
    color:var(--main-color);
    font-weight: 700;
}

.property-summary-year span,.property-summary-access span{
    background:#eee;
    font-size:13px;
    padding:3px 6px;
    border-radius: 4px;
    margin-right:4px;
}

.property-summary-year,.property-summary-access{
    display: inline-block;
    margin-top:12px;
}

.property-summary-access{
    margin-left:4px;
}

.property-list-relation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
    list-style: none;
}

.property-list-relation li.property-item{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ホバー時に影を強調 */
}

/* Swiperのスタイル調整 */

.swiper {
    position: relative; 
    width: 100%;
    margin: 0 auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
}

/* ページネーションのスタイル */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #333;
    margin: 0 5px;
    opacity: 1;
}

/* ナビゲーションボタン */
.swiper-button-prev, .swiper-button-next {
    color: #333;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}


.swiper-pagination{
    position: static !important; 
}

/* 必要であれば、bottom の代わりに正しい位置を設定 */
.swiper-horizontal>.swiper-pagination-bullets {
    bottom: 10px !important; /* ページネーションをスライダーの下に配置 */
    top: auto !important; /* デフォルトで top が設定されている場合を無効化 */
}

/* ナビゲーションボタンのサイズを上書き */
.swiper-button-next, .swiper-button-prev {
    width: 40px !important; /* カスタムサイズに上書き */
    height: 40px !important; /* カスタムサイズに上書き */
}

/* ナビゲーションボタン内のアイコンサイズを上書き */
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px !important; /* 適切なアイコンサイズに上書き */
    color: #fff !important;
    font-weight: 700 !important;
}

.single-property .breadcrumb{
        padding: 0;
        margin-bottom:8px;
}

.breadcrumb-pa{
    padding:1rem 0 0.75rem 0;
}

/* =================================================================
# 投稿ページ（single.php）
# ================================================================= */

.post-meta{
    font-size:14px;
}

.tag-link a{
    color:#fff;
    background:var(--accent-color);
    text-decoration: none;
    text-align: center;
    padding:3px 6px;
    font-size:13px;
    border-radius: 4px;
    margin-right:6px;
    border:1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.tag-link a:hover{
    color:var(--accent-color);
    background:#fff;
    border:1px solid var(--accent-color);
}

/* =================================================================
# アーカイブページ（archive / tag）
# ================================================================= */

.cat-tag {
    background-color: var(--accent-color);
    color: #fff;
    padding: 3px 8px 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    text-align: center;
    margin-right:4px;
}


/* =================================================================
# お知らせ一覧
# ================================================================= */

.archive-list {
    list-style: none;
}

.archive-item {
    border: 1px solid #ccc; /* グレーの枠線 */
    border-radius: 4px;
    margin-bottom: 1rem;
    background-color: #fff; /* 背景を白に設定 */
    transition: background-color 0.3s ease;
}

.archive-item a {
    text-decoration: none;
    color: #222; /* リンク色を通常のテキスト色に設定 */
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.archive-item:hover {
    background-color: #f7f7f7; /* ホバー時に背景色を変更 */
}

.archive-meta time{
    color:#666;
}

.archive-item .tag {
    display: inline-block;
}

.archive-item-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 1rem 0 .75rem 0;
    color: #222;
}

.archive-excerpt {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.news-categories .current-cat a{
    background:var(--main-color);
    color:#fff;
}

/* =================================================================
# お知らせ一覧のカテゴリリスト
# ================================================================= */

.news-categories ul {
    list-style: none;

    display: flex;
    flex-wrap: wrap;
}

.news-categories li {
    margin-right: 12px;
}

.news-categories a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 0.875rem;
    background-color: #f2f2f2;
    color: #222;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.news-categories a:hover {
    background-color: var(--main-color);
    color: #fff;
}


/* =================================================================
# パソコン（1366px）
# ================================================================= */
@media (max-width: 1366px) {

    header {
        height: 5rem;
    }

    .header-left {
        margin-left: 1rem;
    }

    .logo img {
        max-width: 220px;
    }

    .header-nav > div > ul > li {
        font-size: 13px;
    }
    
    .header-cta {
        padding: 0 .75rem;
    }

    .header-cta-tel {
        font-size: 1.25rem;
    }

    .header-cta-tel i {
        font-size: 1.125rem;
    }

    .catchphrase-main{
        font-size: 3rem;
    }

    .number {
        font-size: 2.5rem;
    }

    .section-pa,.news,.footer {
        padding: 3rem 6%;
    }

    .news-inner{
        max-width: 100%;
    }

    .footer-nav{
        padding: 3rem 0 0 0;
    }
    .footer-list{
        max-width: 100%;
    }

    .post-pa{
        padding: 0 6%;
    }

    .property-info{
        padding: 1rem .75rem;
    }

    .property-address, .property-station{
        font-size: 13px;
    }

    .property-img {
        height: 150px;
    }

}

/* =================================================================
# タブレット（1024px）
# ================================================================= */

@media (max-width: 1024px) {

    .section-pa, .news, .footer{
        padding: 3rem 4%;
    }

    .post-pa{
        padding: 0 4%;
    }

    .achievements{
        padding: 50px 10px 0 10px;
    }

    .achievements-list {
        width: 100%;
    }

    .achievements-list li{
        padding: 10px 20px;
    }

    .number {
        font-size: 2rem;
    }

    .list01-title{
        font-size: 1rem;
    }

    .property-list{
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .footer-contents{
        display:block;
    }

    .footer-cta{
        margin-top:20px;
    }

    .post{
        display:block;
    }

    .main-content {
        margin-right: 0;
        max-width: 100%;
    }

    .sidebar{
        width: 100%;
    }
}

/* =================================================================
# スマホ（768px）
# ================================================================= */

@media (max-width: 768px) {

    .section-pa, .news {
        padding: 3rem 3%;
    }

    .footer{
        padding: 2rem 3%;      
    }

    .post-pa {
        padding: 0 3%;
    }

    .catchphrase-sub {
        font-size: 1.75rem;
    }

    .catchphrase-main {
        font-size: 1.75rem;
    }

    .key-visual {
        height: 300px;
    }

    .key-visual .catchphrase {
        padding: 1rem;
    }

    .achievements {
        margin-top: 20px;
        padding-top: 0px;
    }

    .achievements-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .achievements-list li{
        padding: 10px 15px;
    }

    .home-title {
        font-size: 1.125rem;
    }

    .list01 {
        display: block;
    }

    .list01-item{
        width:100%;
        margin-bottom: 1rem;
    }

    .property-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-price{
        font-size: 1.125rem;
    }

    .property-size {
        font-size: 13px;
    }

    .home-title span{
        font-size:2rem;
    }

    .property-title:before, .property-title:after {
        width: 50px;
    }

    .property-detail{
        border-top: 3px solid var(--main-color);
        border-left: none; 
        border-right: none;
        border-bottom: none;
        border-radius: 0;
        padding: 1rem 0 0 0;
    }

    .post-list a{
        display:block;
    }

    .post-list p{
        margin-top: 12px;
    }

    .post-list li:last-child{
        border: none;
        padding-bottom: 0;
    }

    .newentry-date{
        margin-right: 4px;
    }

    .post-list li {
        padding: 1rem 0 ;
        border-bottom: 1px dashed #ccc;
    }

    .footer-cta-title{
        margin-bottom: 1rem;
    }

    .cta-buttons{
        display: block;
        text-align: center;
    }

    .tel-btn{
        font-size: 2rem;
    }

    .tel-btn i {
        font-size: 1.75rem;
    }

    .mail-btn{
        padding: 1rem;
        margin-top:1rem;
    }

    .footer-column{
        min-width:100%;
    }

    .footer-column ul {
        list-style: none; /* リストマーカーを削除 */
        display: flex; /* 横並びにする */
        flex-wrap: wrap;
    }
    
    .footer-column ul li {
        position: relative; /* after要素のための設定 */
        padding-right: 12px;
        margin-right: 8px;
    }
    
    .footer-column ul li:not(:last-child)::after {
        content: "|"; /* 縦棒を挿入 */
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        display: inline-block;
        color: #333; /* 縦棒の色 */
    }

    .property-list-relation{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-summary-year,.property-summary-access{
        display: block;
        margin-top:12px;
    }
    
    .property-summary-access{
        margin-left:0;
    }

    .property-table th,.property-table td{
        font-size:12px;
    }

    .property-table td {
        min-width: 90px;
    }

    .footer-column {
        padding-right: 0;
    }

    .post-title{
        padding: 1.25rem 0;
        font-size: 1.25rem;
    }

}