@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*パンくずリストを消す*/
#breadcrumb {
 display: none;
}

/* 固定ページタイトル中央寄せ */
.c-pageTitle,
.c-pageTitle__inner {
	float: none!important;
	text-align: center;
}

/*中身が少なくてもフッターを最下部に固定する*/
/* サイト全体を Flexbox にし、縦に並べる */
#body_wrap {
    display: flex;
    flex-direction: column;
    min-height: 100dvh; /* 画面いっぱいの高さを確保 */
	align-items: stretch;
}
/* ヘッダーとフッターに挟まれたメインコンテンツを最大まで伸ばす */
#content {
    flex: 1 0 auto;
	width: 100%;
}
/* フッターが縮まないように固定 */
#footer {
    flex-shrink: 0;
}


/* ==========================================
  トップページ背景画像の設定（PC・スマホ）
========================================== */
.front-page .l-content {
    min-height: 100vh; /* 画面の高さ分は最低限確保する */
    display: flex;
    flex-direction: column;
}

.home, .front-page {
    /* PC用の横長画像 */
    background-image: url("http://asakawaense.com/wp-content/uploads/2026/05/dev-6861-11111111.jpg") !important;
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}
/* スマホ・タブレット版の調整（画面幅959px以下） */
@media screen and (max-width: 959px) {
    .home, .front-page {
        background-image: url("http://asakawaense.com/wp-content/uploads/2026/05/dev-6861-2.jpg") !important
        /* スマホでの背景固定は表示崩れの原因になるため解除 */
        background-attachment: scroll !important;
        /* 画像の見せたい位置（左右）を微調整したい場合はここを変更 */
        background-position: center center !important;
    }
}
/* 背景を見せるために各エリアを透明化*/
.home .l-main,
.home .l-container,
.home .p-article,
.home .l-header,
.home .l-footer,
.home .p-copyright {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important; /* コンテンツの影を消す */
}
