@charset "utf-8";



/* 1000px 中央寄せ */
body #mainContent .wrap-1000 {
    max-width: 1000px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* セクション間隔 */
section, .sustainable-mv-section {
    margin-bottom: 90px !important;
}

/* ==========================================================================
   2. メインビジュアル & ゴールド一体化エリア
   ========================================================================== */
.sustainable-mv-section {
    width: 100% !important;
    /* 指示書のゴールドグラデーション */
    /*background: linear-gradient(to right, #a78300, #695200) !important;*/
    padding-bottom: 0 !important;
    position: relative !important;
}

/* メイン画像エリア：z-indexで白囲みの下、メニューの下に設定 */
.mv-relative {
    position: relative !important;
    width: 100% !important;
    line-height: 0 !important;
    z-index: 10 !important;
    padding: 0 10px 10px 10px;
}

.mv-relative img {
    max-width: 98% !important;
    height: auto !important;
    display: block !important;
    margin:auto;
}

/* 白囲み (画像の中央に絶対配置) */
.white-copy-box {
    position: absolute !important;
    top: 56% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #ffffff !important;
    padding: 40px 25px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
    text-align: center !important;
    width: 470px !important;
    z-index: 20 !important;
}
.white-copy-box .sub1 { 
	font-size: 50pt !important; color: #b89429 !important; display: block; margin-bottom: 10px; 
	top: -43px;
    position: relative;
}
.white-copy-box .sub { font-size: 19pt !important; color: #735400 !important; display: block; margin-bottom: 10px; letter-spacing: 0.12em;}
.white-copy-box .main { font-size: 20pt !important; color: #735400 !important; line-height: 1.2; margin: 0; letter-spacing: 0.12em;}
.white-copy-box .en { font-size: 14px !important; color: #735400 !important; margin-top: 5px; letter-spacing: 0.12em;}
.white-copy-box .detai { font-size: 11pt !important; color: #666666!important; margin-top: 10px;line-height: 1.2; width:70%;margin:auto;}

/* ==========================================================================
   3. ゴールドメニュー (2段配置を強制)
   ========================================================================== */
.gold-nav-section {
    width: 100% !important;
    background: transparent !important;
    padding: 60px 0 40px !important;
    position: relative !important;
    z-index: 30 !important;

}

/* ★指示書通り一列に並べず、2段にするための幅制限 */
.promise-flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; /* 折り返し許可 */
    justify-content: center !important;
    align-items: center !important;
    gap: 55px 5px !important; /* 上下30px、左右80pxの間隔 */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    /* 1000px内で3項目並んだら折れるように幅を制限 */
    max-width: 960px !important;
}

.promise-flex li {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.promise-flex a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

/* 数字SVGサイズ */
.menu-num {
    height: 145px !important;
    width: auto !important;
    margin-right: 15px !important;
}

/* メニュー巨大テキスト：38pt */
.menu-txt {
    font-size: 38pt !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

/* ==========================================================================
   4. コンテンツセクション
   ========================================================================== */
.content-grey-section {
    /*background-color: #efefef !important;
    padding: 90px 0 !important;*/
}

.title-30pt { font-size: 20pt !important; color: #735400 !important; margin-bottom: 15px;letter-spacing: 0.3em; font-weight: 400;}
.title-30pt2 { font-size: 23px !important; color: #735400 !important; margin-bottom: 30px;text-align:center; }
.title-30pt3 { font-size: 20pt !important; color: #735400!important; margin-bottom: 18px;text-align:center; letter-spacing: 0.3em;  font-weight: 400;}

.lead-serif3{font-size: 16pt; line-height: 1.3; text-align: center;margin-bottom:90px; color:#705424!important;letter-spacing: 0.2em;}
.lead-serif4{font-size: 10.8pt; line-height: 1.3; text-align:left; margin-bottom:90px;letter-spacing: 0.1em;}




.lineleft{border-left:1px solid;color:#b89429;padding-left:40px;}
.hinsitu{text-align: center;    border: 1px solid #b89429;    padding: 25px 0;}

.flex-container {
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
    margin-top: 30px;
}

.body-18pt { font-size: 18pt !important; line-height: 26pt !important; color: #000000 !important; }

.img-box-border {
    border: 1pt solid #b89429 !important;
    flex-shrink: 0;
    width: 45% !important;
}

.img-box-border img { width: 100% !important; display: block; }




#mainContent.article {
    float: none !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: block !important;
}

/* --- 2. 1000px幅の各パーツ（パンくず、コンテンツ、フッター）を中央へ --- */
.wrap, .wrap-1000 {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1000px !important;
}

/* --- 3. 横並びの要素（メニューやバナー）を「左詰め」から「中央揃え」に強制変更 --- */
/* これを入れないと、float解除によって要素が縦に並んでしまいます */
#breadCrumb ul,
.promise-flex,
#fNav > ul,
#mansion ul {
    display: flex !important;
    justify-content: center !important; /* 中央に集める */
    float: none !important;
    padding: 0 !important;
    list-style: none !important;
}

/* フッターバナーの幅維持 */
#mansion ul li { width: 33.33% !important; }
/* フッターナビの間隔 */
#fNav > ul > li { margin: 0 15px !important; }

/* --- 4. コピーライトの中央寄せ --- */
#copyright {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    float: none !important;
    padding: 40px 0 !important;
}
#copyright .ci { float: none !important; margin-bottom: 10px !important; }




/* ==========================================================================
   2. 右側の余白・横スクロールを強制除去（★最重要）
   ========================================================================== */
/* 画面幅を超えるものをすべて切り捨て、横揺れを止めます */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 親要素の幅制限（780pxなど）を解除して中央に置く */
#sustainable #mainContent.article {
    float: none !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    display: block !important;
}

/* 1000pxのコンテンツを中央に固定 */
#sustainable .wrap-1000 {
    width: 1000px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
}

/* ==========================================================================
   3. 巨大な固定幅（1920px）の強制修正
   ========================================================================== */
/* HTMLに直接書かれた width: 1920px を画面幅（100%）に上書きします */
div[style*="width:1920px"], 
div[style*="width: 1920px"] {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    margin: 0 auto !important;
}

/* ==========================================================================
   4. メインビジュアル
   ========================================================================== */
.sustainable-mv-section {
    width: 100% !important;
    background: linear-gradient(to right, #e2d8c9, #e2d8c9) !important;
    margin-bottom: 90px !important;
}

.mv-relative {
    position: relative !important;
    width: 100% !important;
    text-align: center !important;
}

.mv-relative img {
    max-width: 100% !important;
    height: auto !important;
}

/* 白囲みコピー */
.white-copy-box {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #fff !important;
    width: 470px !important;
    z-index: 20 !important;
}

/* ==========================================================================
   メインビジュアルの高さ固定（左右カット設定）
   ========================================================================== */

.mv-relative {
    position: relative !important;
    width: 100% !important;
    /* ここで高さを確保しないと中身が0pxになり画像が消えます */
    height: 600px !important; 
    overflow: hidden !important;
    background-color: #f0f0f0; /* 保険用の背景色 */
}

.mv-bg-area {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url("../img/ansin_image01.jpg") !important;
    background-size: cover !important;     /* 天地を維持して左右をカット */
    background-position: center !important;  /* 常に中央を基準にする */
    z-index: 1 !important;
    display: block !important;
}

/* 白囲みコピーの位置調整 */
.white-copy-box {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    width: 470px !important;
    max-width: 90% !important;
}

/* SP版の設定 */
@media screen and (max-width: 767px) {
    .mv-relative {
        height: 450px !important; /* SP版での高さ */
    }
    .mv-bg-area {
        background-image: url("../img/ansin_image_sp01.jpg") !important;
    }
}

/* ==========================================================================
   スマートフォン（767px以下）専用の調整
   ========================================================================== */
@media screen and (max-width: 767px) {
    /* 1. スマホ版の高さを調整（キャプチャに合わせて適切な高さに） */
    .mv-relative {
        height: 500px !important; /* 天地の高さを少し抑える場合はここを調整 */
    }

    /* 2. 背景画像をスマホ専用に切り替え */
    .mv-bg-area {
        background-image: url("../img/ansin_image_sp01.jpg") !important;
        background-size: cover !important;
        background-position: center !important;
    }

    /* 3. 白枠のサイズを調整（キャプチャより少しコンパクトに） */
    .white-copy-box {
        width: 70% !important;     /* 画面幅の85%に制限 */
        padding: 30px 0px !important; /* 内側の余白を少し減らす */
        top: 115% !important;       /* はみ出し */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    /* 4. 白枠内のテキストサイズ調整（はみ出し防止） */
    .white-copy-box .sub1 {
        font-size: 35pt !important; /* 数字を少し小さく */
        top: -30px !important;      /* 位置を微調整 */
    }
    .white-copy-box .main {
        font-size: 16pt !important; /* タイトルサイズ調整 */
        line-height: 1.4 !important;
    }
    .white-copy-box .en {
        font-size: 14px !important;
    }
    .white-copy-box .detai {
        font-size: 10pt !important;
        width: 90% !important;     /* 説明文の幅を広げて行数を抑える */
        line-height: 1.5 !important;
        margin-top:15px;
    }
}

/* ==========================================================================
   メインビジュアル：左右対称のゴールド額縁を強制する設定（最新修正版）
   ========================================================================== */

/* 親要素：背景にゴールドを設定 */
.mv-relative {
    height: 600px !important; 
    background: linear-gradient(to right, #a78300, #695200) !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
}

/* 画像エリア：四方から15pxずつ引っ張ることで、ズレなく枠を出します */
.mv-bg-area {
    position: absolute !important;
    top: 15px !important;
    bottom: 15px !important;
    left: 15px !important;
    right: 15px !important;
    
    width: auto !important;  /* 100%指定をやめて自動計算に任せる */
    height: auto !important;
    
    background-image: url("../img/ansin_image01.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 1 !important;
    display: block !important;
}

/* スマホ版の調整 */
@media screen and (max-width: 767px) {
    .mv-relative {
        height: 500px !important;
    }
    .mv-bg-area {
        top: 10px !important;
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        background-image: url("../img/ansin_image_sp01.jpg") !important;
    }
}

/* ==========================================================================
   ページ全体の右ズレを強制リセット
   ========================================================================== */
/* 1. ページ全体のコンテナが右に寄るのを防ぐ */
#sustainable #container, 
#sustainable .page {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important; /* 横揺れ防止 */
}

/* 2. メインコンテンツの左寄せ設定を完全に上書き */
#sustainable #mainContent.article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    float: none !important;
}

/* 3. メインビジュアルの絶対位置をブラウザの左端に固定 */
.mv-relative {
    left: 0 !important;
    margin-left: 0 !important;
    width: 100vw !important; /* 画面幅いっぱいに強制 */
    position: relative !important;
}

/* 4. 額縁の右端を出すための最終調整 */
.mv-bg-area {
    right: 15px !important; /* 右側からの距離を改めて強制 */
    left: 15px !important;
}

/* ==========================================================================
   【最終解決】親セクションの幅固定を破壊して100%にする
   ========================================================================== */
/* 画像を包んでいる一番外側のセクションを画面幅いっぱいに強制解放します */
/* #sustainable .sustainable-mv-section {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative !important;
    left: 0 !important;
}*/

/* その中にある画像エリアの右端15pxを死守します */
#sustainable .mv-relative {
    width: 100% !important;
    left: 0 !important;
    margin: 0 !important;
}

#sustainable .mv-bg-area {
    right: 15px !important; /* 右の額縁15pxを強制 */
    left: 15px !important;  /* 左の額縁15pxを強制 */
}

#sustainable .sustainable-mv-section,
#sustainable .separator-section {
    width: 100% !important;
    position: relative !important;
    /*left: 48% !important;
    margin-left: -50vw !important;*/
}

/* 親のコンテナを画面幅いっぱいまで広げる */
#sustainable .mv-relative {
    width: 100% !important; /* 画面の横幅100% */
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    margin-left: -50vw !important; /* 中央寄せのテクニックで画面端まで広げる */
    
}
@media screen and (max-width: 767px) {
/* 親のコンテナを画面幅いっぱいまで広げる */
#sustainable .mv-relative {
    width: 100% !important; /* 画面の横幅100% */
    position: relative !important;
    left: 44% !important;
    right: auto !important;
    margin-left: -51vw !important; /* 中央寄せのテクニックで画面端まで広げる */
    
}
.lead-serif3{font-size: 17px; line-height: 1.3; text-align: center;margin-bottom:90px; color:#705424!important;letter-spacing: 0.1em;text-align:left;}

}

/* 額縁（ゴールドの枠）の設定 */
#sustainable .mv-bg-area {
    position: absolute !important;
    top: 10px !important;
    bottom: 10px !important;
    left: 0px !important;
    right: 0px !important; /* これで画面右端から15pxの位置まで届くようになります */
    width: auto !important;
    z-index: 1 !important;
}


.slide .child .ib > div .textBox {
    padding-left: 240px!important;
}

@media screen and (max-width: 767px) {
.slide .child .ib > div .textBox {
    padding-left: 0px!important;
}

#pcb{display:none;}
#spb{display:block;}
}
@media screen and (min-width: 768px) {
#spb{display:none;}
#pcb{display:block;}
}


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

    /*  メインイメージ自体の高さを縮める（天地を短く） */
    #sustainable .mv-relative {
        height: 400px !important; 
        overflow: visible !important; /* ボックスをはみ出させるため */
    }
p.rig{display:block;width:95%;}
.rigi{width:85%;}

  
}

@media screen and (min-width: 768px) {
.wrap{padding:0!important;}
p.rig{display:inline-block;width:70%;margin-bottom:1%;}
.rigi{width:20%;}
}

/* ==========================================================================
   ドロップダウン & MV下ナビ共通：画像切り替え ＆ 暗くなるのを防ぐ設定
   ========================================================================== */

/* 1. マウスオーバーや現在地（current）で画像が暗くなる・透過するのを強制無効化 */
.dropDown a:hover img,
.dropDown li.current img,
.promise-flex a:hover img,
.promise-flex li.current img {
    opacity: 1 !important;
    filter: brightness(100%) !important;
    filter: none !important;
}

/* 親要素の背景色変更による暗化を防ぐ */
.dropDown a:hover,
.dropDown a:hover .image,
.promise-flex a:hover {
    background: transparent !important;
}

/* 2. 画像をぴったり2枚重ねるためのレイアウト設定 */
.dropDown .image,
.promise-flex a {
    position: relative;
    display: inline-block; /* 元のナビの並びを壊さないようインラインブロック化 */
}

/* ホバー用（金枠）画像の初期状態：透明にして重ねる */
.dropDown .image .hover-img,
.promise-flex a .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* 通常画像と全く同じサイズに固定 */
    height: 100%; /* 通常画像と全く同じサイズに固定 */
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}

/* 通常画像の初期状態 */
.dropDown .image .default-img,
.promise-flex a .default-img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

/* 3. 【切り替え処理】マウスオーバー時 ＆ 現在のページ（current）時 */
/* 通常画像を消す（透明にする） */
.dropDown a:hover .image .default-img,
.dropDown li.current .image .default-img,
.promise-flex a:hover .default-img,
.promise-flex li.current .default-img {
    opacity: 0 !important;
}

/* ホバー用（金枠）画像を表示する */
.dropDown a:hover .image .hover-img,
.dropDown li.current .image .hover-img,
.promise-flex a:hover .hover-img,
.promise-flex li.current .hover-img {
    opacity: 1 !important;
}

@media screen and (max-width: 767px) {
    /* title-30pt クラス内の font-size をSP時だけ上書き */
    .title-30pt {
        font-size: 16pt !important; /* お好みのサイズ（例: 16pt や 1.2rem など）に調整してください */
    }
}

@media screen and (max-width: 767px) {
    /* title-30pt3 クラス内の font-size をSP時だけ上書き */
    .title-30pt3 {
        font-size: 17pt !important; /* お好みのサイズ（例: 16pt や 1.2rem など）に調整してください */
    }
}
@media screen and (min-width: 1025px) {
    #gHeader .wrap {
        padding-top: 0!important;
        padding-bottom: 0!important;
        transition: padding 0.3s ease-in-out !important;
        height: auto !important;
    }
}
	
	@media (min-width: 768px) {
  .br-sp {
    display: none; /* PCでは改行しない */
  }
}
	
	
body,
input,
textarea,
select,
button {
    font-family:
        "Yu Mincho",
        "YuMincho",
        "游明朝",
        "游明朝体",
        serif !important;
}
	
	/* 画像を囲む親要素に枠線と、はみ出し防止を指定 */
.creave-wl-bg {
    overflow: hidden;
    border: 1px solid #a78300;
    box-sizing: border-box;
}

/* ホバー時に「画像だけ」を拡大 */
.creave-wl-bg img {
    width: 100%;
    transition: transform 0.6s ease;
    display: block; /* 不要な余白防止 */
}

.creave-with-laurel-link:hover .creave-wl-bg img {
    transform: scale(1.1);
}
	
	/* 通常時の画像に opacity のアニメーション設定を追加 */
.creave-wl-bg img {
    width: 100%;
    transition: opacity 0.5s ease, transform 0.6s ease !important; /* ← opacity の変化を追加 */
    display: block;
}

/* 1. リンク全体のホバー時の透明度変化を無効化（枠線は固定） */
.creave-with-laurel-link:hover {
    opacity: 1 !important;
}

/* 2. ホバー時に「中の画像だけ」をなめらかに薄くする */
.creave-with-laurel-link:hover .creave-wl-bg img {
    opacity: 0.7; /* 薄さの指定 */
    transform: scale(1.1); /* 拡大処理 */
}
	
	/* スマホ（767px以下）表示の時のみ左右に20pxのパディングをつける */
@media screen and (max-width: 767px) {
    .sp-padding-20 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}
	

