@charset "UTF-8";
body, html {
        font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}

/* ==================================================
   フッター用スタイル (footer.htmlから移動)
   ================================================== */
.banner-link {
    margin-bottom: 1em;
    display: inline-block; /* リンクを行内ブロック要素に */
}

.banner-link img {
    border: solid 1px #000; /* borderの書き方を簡略化 */
    width: 300px;
    height: auto;
    transition: opacity 0.3s ease;
    margin-bottom: 1em;
}

.banner-link img:hover {
    opacity: 0.7;
}

footer table td {
    color: #000;
    text-decoration: none;
    font-weight: normal;
}

footer a {
    color: #000;
    text-decoration: none;
    font-weight: normal;
    border-bottom: none; /* デフォルトの下線を消す設定が必要かも */
}

footer a:hover {
    color: #444;
    text-decoration: underline;
}

/* ==================================================
   基本設定・パンくずリスト
   ================================================== */
.breadcrumb {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.breadcrumb li {
    display: inline;
    list-style: none;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}

.breadcrumb li:after {
    font-family: FontAwesome;
    content: '\f0da';
    padding: 0 3px;
    color: silver;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb li a {
    text-decoration: none;
    color: #888;
    border: none;
}

.breadcrumb li:first-child a:before {
    /* 家アイコン */
    font-family: FontAwesome;
    content: '\f015';
    font-weight: normal;
    font-size: 1.1em;
    color: silver;
    margin-right: 4px;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.clearboth {
    clear: both;
}


/* ==================================================
   タブ切り替え（オーナー・入居者ページ等）
   ================================================== */
.tabs {
    margin-top: 50px;
    padding-bottom: 40px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.tab_item {
    width: calc(100% / 3);
    height: 50px;
    border-bottom: 3px solid #5ab4bd;
    background-color: #d9d9d9;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tab_item:hover {
    opacity: 0.75;
}

/* ラジオボタンを非表示 */
input[name="tab_item"] {
    display: none;
}

/* コンテンツエリア */
.tab_content {
    display: none;
    padding: 40px 40px 0;
    clear: both;
    overflow: hidden;
}

/* 選択されたタブの表示制御 */
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
    display: block;
}

/* 選択されたタブの色変更 */
.tabs input:checked + .tab_item {
    background-color: #5ab4bd;
    color: #fff;
}


/* ==================================================
   見出し・装飾ライン
   ================================================== */
.title_line {
    border-bottom: solid 3px #A61D1F;
    position: relative;
    text-align: center;
    padding-bottom: 10px;
    width: 100%;
    margin: 30px auto;
    letter-spacing: .1em;
    font-size: 1.5em;
}

.title_line:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #0F2857;
    bottom: -3px;
    width: 50%;
    left: 0; /* 左寄せを明示 */
}


/* ==================================================
   サービスバナー（フッター上の3つのリンクなど）
   ================================================== */
.serviceBanners {
    width: 100%;
    position: relative;
    padding-top: 50px !important; /* 余白調整 */
    min-height: 350px;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.serviceBanners > div {
    min-width: 200px;
    max-width: 300px;
    flex: 1 1 200px;
    text-align: center;
}

.bnn_document,
.bnn_faq,
.bnn_flow {
    display: inline-block;
    width: 31%;
    margin-right: 3%;
    font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
    text-align: center;
    transition: all .3s;
    padding-bottom: 15px;
    margin-bottom: 30px;
    vertical-align: top;
}

.bnn_faq {
    margin-right: 0;
}

.bnn_document a,
.bnn_faq a,
.bnn_flow a {
    display: block;
    border: none;
}

.seviceImg {
    overflow: hidden;
    min-height: 200px;
}

.seviceImg img {
    opacity: 1;
    transition: transform 0.3s linear;
    width: 100%;
}

/* ホバーエフェクト */
.bnn_flow:hover,
.bnn_document:hover,
.bnn_faq:hover,
.active_bnn {
    box-shadow: 0px 0px 7px 1px #b1b1b1;
}

.bnn_flow:hover img,
.bnn_document:hover img,
.bnn_faq:hover img,
.active_bnn img {
    opacity: 1;
    transform: scale(1.1);
}

.bnn_flow span,
.bnn_document span,
.bnn_faq span {
    display: block;
    font-size: 24px; /* 少しサイズ調整 */
    font-weight: bold;
    margin-top: 10px;
}

@media screen and (max-width: 980px) {
    .bnn_document,
    .bnn_faq,
    .bnn_flow {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}


/* ==================================================
   フロー図・手順リスト
   ================================================== */
.flow_box {
    position: relative;
    padding: 30px 0;
    width: 90%;
    margin: 0 auto;
}

.flow_box h2 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    color: #A61D1F;
}

.flow_box h3 {
    border-bottom: #0F2857 solid 2px;
    margin-bottom: 0.7rem;
}

.size14 {
    font-size: 14px;
}

.flow_inner li {
    list-style: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
    border-bottom: #212931 solid 1px;
    margin: 10px auto;
    padding-bottom: 10px;
    position: relative;
}

.flow_inner img {
    width: 70px;
    display: inline-block;
    vertical-align: middle;
}

.flow_inner span {
    font-size: 18px;
    font-weight: bold;
    padding: 0 20px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.flow_inner li a {
    border-bottom: none;
    display: block;
    letter-spacing: .2em;
    transition: all .3s;
}

.inner_img img {
    width: 30px;
}


/* ==================================================
   電話番号・ダウンロードエリア
   ================================================== */
.phone__number {
    width: 50%;
    background-color: #ddd;
    margin: 0 auto;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.phone__number p {
    margin: 0;
}

.phone__number__tit {
    font-weight: bold;
    letter-spacing: 1px;
}

.phone__number__inner {
    font-weight: bold;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone__number__inner img {
    width: 30px;
    margin-right: 10px;
}

.phone__number__time {
    font-size: 14px;
}

.acrobat_dl_box {
    border: #ddd solid 1px;
    padding: 30px;
    margin-bottom: 100px;
    overflow: hidden; /* clearfix */
}

.acrobat_dl_box_txt {
    font-size: 14px;
    float: left;
    margin: 0;
}

.acrobat_dl_box_bnn {
    float: right;
    margin: 0;
    padding-top: 10px;
}

.acrobat_dl_box_bnn a {
    display: block;
    border: none;
    transition: all .3s;
}

.acrobat_dl_box_bnn a:hover {
    opacity: .7;
}


/* ==================================================
   アコーディオン（FAQなど）
   ================================================== */
.accordion {
    padding: 50px 0 0 0;
    font-feature-settings: "pkna" 1;
}

.displayNone {
    display: none;
}

.accordion li {
    border-bottom: 1px solid #ccc;
    padding: 10px;
    list-style: none;
}

.accordion a {
    display: block;
}

.contentWrap {
    margin: 10px;
    padding: 10px 30px;
    letter-spacing: .1em;
}

.switch {
    cursor: pointer;
    font-weight: bold;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    position: relative;
    transition: all .3s;
    letter-spacing: .1em;
    line-height: 1.5em;
}

.switch .tit_Q {
    font-size: 30px;
    padding-right: 10px;
    color: #0F2857;
    vertical-align: sub;
}

.tit_A {
    font-size: 30px;
    padding-right: 10px;
    color: #A61D1F;
    font-weight: bold;
    vertical-align: sub;
}

.switch:after {
    content: "\f054"; /* FontAwesome Chevron Right */
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.switch.open:after {
    transform: translateY(-50%) rotate(90deg);
}

.switch:hover {
    background: #eee;
}

/* スマホ対応 */
@media screen and (max-width: 639px) {
    .switch {
        line-height: 1.5em;
    }

    .contentWrap {
        line-height: 1.5em;
        padding: 0;
    }

    .phone__number {
        width: 100%;
    }

    #header .logo img {
        width: 100%;
    }

    .image.left {
        float: none;
        max-width: none;
        margin: 0 0 1rem 0;
    }

    .flow_box {
        width: 100%;
    }

    .flow_inner {
        padding: 0;
        font-size: 12.5px;
    }

    .flow_inner li {
        letter-spacing: 0;
    }
}

.title_line {
    /* ...既存のプロパティ... */
    font-size: 1.5em;
}

/* ==================================================
   新着情報 (News) - 2025/12/05 整理版
   ================================================== */
.news {
    margin-bottom: 4rem; /* 下の余白を広めに */
}

.news h2 {
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 0.5em;
    margin-bottom: 1.5em;
    text-transform: none; /* 大文字強制を解除 */
    font-family: "Source Sans Pro", Helvetica, sans-serif;
}

.news-list {
    width: 100%;
    margin-bottom: 2rem;
}

.news-item {
    display: flex;
    align-items: baseline; /* 日付とタイトルをベースラインで揃える */
    padding: 0.8em 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-date {
    width: 120px; /* 固定幅にして揃える */
    flex-shrink: 0; /* 縮まないようにする */
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-weight: 600;
    color: #171c61;
}

.news-title {
    flex-grow: 1;
    line-height: 1.6;
}

.news-title a {
    text-decoration: none;
    color: #212931;
    border-bottom: 1px dotted rgba(33, 41, 49, 0.5);
    transition: border-bottom-color 0.2s, color 0.2s;
}

.news-title a:hover {
    border-bottom-color: transparent;
    color: #171c61;
}

/* スマホ時のニュース表示調整 */
@media screen and (max-width: 639px) {
    .news-item {
        flex-direction: column;
        padding: 1em 0;
    }
    
    .news-date {
        margin-bottom: 0.5em;
    }
}

.news-link {
    text-align: right;
    margin-top: 1em;
}

/* ==================================================
   ニュース詳細ページ用
   ================================================== */
.close-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px 0;
}

/* 記事タイトルの調整 */
.post .major h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none; /* 大文字強制を解除 */
}

/* ==================================================
   各種書類ダウンロードリスト専用スタイル (.doc_list)
   ================================================== */

/* --- ヘッダー行（PC用） --- */
.doc_list_header {
    display: grid;
    /* [番号50px] [書類名(残り)] [ボタンエリア140px] */
    grid-template-columns: 10px 1fr 140px; 
    gap: 15px;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-bottom: 2px solid #0F2857; /* サイトのメインカラー(紺) */
    font-weight: bold;
    color: #0F2857;
    margin-bottom: 0;
    font-size: 0.9rem;
}
.doc_list_header .h-type {
    text-align: center; /* 「形式」の文字を中央寄せ */
}

/* --- リスト本体 --- */
.doc_list {
    padding: 0;
    margin: 0 0 30px 0;
}

.doc_list li {
    list-style: none;
    display: grid;
    /* ヘッダーと同じ比率 */
    grid-template-columns: 10px 1fr 140px;
    gap: 15px;
    align-items: center; /* 垂直方向中央揃え */
    padding: 15px 0 15px 0; /* 左右パディングを0に */
    border-bottom: 1px solid #ddd;
    margin: 0;
}

/* --- 各セルのスタイル --- */
/* 番号 */
.doc_num {
    font-weight: bold;
    color: #000;
    font-size: 0.9rem;
    white-space: nowrap;
        margin-left: 12px; /* 左側に余白追加 */
}

/* 書類名 */
.doc_name {
    line-height: 1.5;
    font-size: 1rem;
    margin-left: 14px; /* 左側に余白追加 */
}

/* ボタンエリア（右寄せ・横並び） */
.doc_btn_area {
    display: flex;
    justify-content: flex-end; /* 右詰め */
    gap: 16px; /* ボタン間隔はそのまま */
}

/* --- ダウンロードボタン共通設定 --- */

.doc_btn_area a {
    display: inline-block;
    width: 60px;       /* 幅を統一・拡大 */
    padding: 8px 0;   /* 高さを統一・拡大 */
    text-align: center;
    border-radius: 4px;
    color: #000 !important; /* 黒文字 */
    font-size: 1rem;   /* 文字サイズ統一 */
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #000; /* 黒枠追加 */
    transition: opacity 0.3s, color 0.3s;
    letter-spacing: 0.08em; /* 文字間隔を追加 */
}

.doc_btn_area a:hover {
    opacity: 0.8;
    color: #000 !important; /* ホバー時も黒文字 */
}

/* PDFボタン色 (赤) */
.doc_btn_area a.pdf-dl {
    background-color: #ffe4e1; /* 薄ピンク */
    color: #000 !important; /* 黒文字 */
    border: 1px solid #000; /* 黒枠 */
}
/* Excelボタン色 (緑) */
.doc_btn_area a.xls-dl {
    background-color: #e6ffe4; /* 薄緑 */
    color: #000 !important; /* 黒文字 */
    border: 1px solid #000; /* 黒枠 */
}


/* ==================================================
   スマホ対応 (768px以下)
   ================================================== */
@media screen and (max-width: 768px) {
    /* ヘッダーは非表示 */
    .doc_list_header {
        display: none;
    }

    .doc_list li {
        /* 2行レイアウトに変更 */
        grid-template-columns: 1fr auto; /* 左:番号と名前 / 右:ボタン */
        grid-template-areas: 
            "area_num  area_btn"
            "area_name area_name";
        gap: 5px 0;
        padding: 15px 10px;
    }

    .doc_num {
        grid-area: area_num;
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 5px;
    }
    
    .doc_name {
        grid-area: area_name;
        font-weight: bold;
    }

    .doc_btn_area {
        grid-area: area_btn;
        justify-content: flex-end; /* 右寄せ */
    }
    
    /* スマホ用にボタンを少し小さく */
    .doc_btn_area a {
        width: 50px;
        padding: 4px 0;
        font-size: 0.75rem;
    }
}

/* セクション見出し（h3）に画面幅いっぱいの下線 */
h3[id^="section"] {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 0px;
}
h3[id^="section"]:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%; /* 表示欄だけに下線 */
    height: 2px;
    background: #0F2857;
    z-index: 0;
}