/*   基本レイアウトここから↓　　*/
@charset "UTF-8";

/***************
  common
****************/
html * {
  box-sizing: border-box;
}

body {
    background-color: #fefcf9;
    font-size: 14px;           /* 13pxより少し大きくすると読みやすいです */
    color: #4a433d;           /* 優しい焦げ茶色 */
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

a:link,
a:visited {
  color:#90BE59;
}

img.border {
  border: 1px solid #eee;
  border-radius: 3px;
}

a.gototop {
  background-color: #90BE59;
  bottom: 2%;
  color: #fff;
  display: none;
  font-size: 2rem;
  height: 3rem;
  line-height: 3.8rem;
  position: fixed;
  right: 2%;
  text-align: center;
  text-decoration: none;
  width: 3rem;
}

/***************
  header
****************/

/* headerContent */

header .headerContent {
  margin: 0 auto;
  padding: 10px 0;
  max-width: 1000px;
}

header .headerContent .logo img {
  width: 300px;
}

/* globalNavigation */


/* PC・スマホ共通：ナビゲーションの外枠 */
#overlay {
    width: 100%;
    padding: 10px 0;
}

/* メニューのリスト */
.globalNavigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    gap: 10px; /* メニュー間の隙間 */
}

/* リンクボタンのスタイル */
.globalNavigation ul li a {
    text-decoration: none;
    color: #5d4a3e; /* 優しい焦げ茶 */
    font-weight: bold;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 25px; /* 丸みのある形 */
    transition: all 0.3s ease; /* 滑らかに変化 */
    display: inline-block;
}

/* マウスを乗せた時の動き：ふわっと色が変わる */
.globalNavigation ul li a:hover {
    background-color: #ffe5d9; 
    color: #5d4a3e; 
    transform: translateY(-2px); /* 少しだけ浮く */
	transition: background-color 0.3s ease; /* ふわっと色が変わるように */
}

/* スマホ表示（画面幅が狭い時）の調整 */
@media (max-width: 768px) {
    .globalNavigation ul {
        justify-content: center; /* 中央寄せ */
        flex-wrap: wrap; /* 折り返し許可 */
        gap: 5px;
    }
    .globalNavigation ul li a {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}
/* 各セクションを中央に寄せる共通設定 */
#private, #facilities, #terms, #access, #contact {
    max-width: 1000px; /* ハウス紹介の幅と合わせる */
    margin: 80px auto;  /* 上下に余白を作り、左右中央に寄せる */
    padding: 0 20px;   /* スマホで見るときのために左右に余白を確保 */
}

/* セクションのタイトルも中央に */
#private h2, #facilities h2, #terms h2, #access h2, #contact h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #5d4a3e;
}

/* リード文がある場合はそれも中央に */
#private > p, #contact > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}
/* --- スマホメニューの重なり順とボタンの固定設定 --- */
.menu {
    position: relative;
    z-index: 100; /* 全体を他のコンテンツより手前に */
}

/* ハンバーガーボタン（三本線）自体の設定 */
#overlay-button {
    z-index: 120;   /* ボタンを最前面に */
    position: fixed; /* 画面の右上に固定 */
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* メニューが開いた時の背景 */
#overlay {
    z-index: 110;   /* ボタンのすぐ下に配置 */
    /* もしスマホで全画面を覆うタイプならここに追加設定を書きます */
}

/* チェックボックス本体は見えないように隠す */
#overlay-input {
    display: none;
}
/* ---------------------------------- */

/* 基本レイアウトここまで */
/*   基本レイアウトここまで　*/

/*   メイン画像  */
/* メイン画像を表示する外枠 */
.mainImage {
    width: 100%;
    height: 450px;     /* 高さを少し高くすると迫力が出ます（お好みで） */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

/* 1枚画像のスタイル */
.mainSingleImage {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠に合わせて綺麗に切り抜き */
    display: block;
}

/* 画像の上の文字 */
.mainTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-size: 24px;
    font-weight: bold;
    z-index: 5;
    text-align: center;
    width: 100%;
}

/*　ニュース、お知らせ　*/
.news-banner {
    max-width: 1000px;
    margin: 20px auto;
    padding: 15px 25px;
    background-color: #fff4e1; /* 注意を引く薄いオレンジ */
    border-left: 5px solid #ff9f43;
    border-radius: 5px;
    font-weight: bold;
}
.news-banner .label {
    background: #ff9f43;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 0.8rem;
}


/* ねこのしっぽについて */
#about {
    max-width: 800px;    /* 文章の幅を絞って読みやすくする */
    margin: 100px auto;  /* 上下にたっぷり余白をとり、左右中央に寄せる */
    padding: 0 20px;
    text-align: center;  
}

#about h2 {
    font-size: 2.2rem;
    color: #5d4a3e;      /* 濃い茶色 */
    line-height: 1.4;
    margin-bottom: 20px;
}

#about h3 {
    font-size: 1.3rem;
    color: #b58b6f;      /* アクセントの薄茶色 */
    margin-bottom: 40px;
}

#about p {
    text-align: left;    /* 文章は左揃えにして読みやすく */
    line-height: 2.0;    /* 行間を広げてゆったり感を出す */
    color: #555;
    font-size: 1rem;
    word-break: break-all; /* 折り返しを適切に */
}






/*  Galleryページここから  */
/* Galleryセクション全体の調整 */
#gallery {
    padding: 80px 0;
}

#gallery h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2rem;
    color: #5d4a3e; /* 猫っぽい茶色 */
}

/* リスト全体のスタイル */
#gallery-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

#gallery-box li {
    display: flex;
    align-items: center; /* 上下中央揃え */
    justify-content: space-between;
    margin-bottom: 100px; /* 項目間の大きな余白 */
    list-style: none;
}

/* 偶数番目（またはflex-reverseクラス）を左右反転 */
.flex-reverse {
    flex-direction: row-reverse;
}

/* 画像エリア */
.gallery-image {
    width: 55%; /* 写真を少し大きく */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.gallery-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px; /* 角を丸くして柔らかい印象に */
}

/* テキストエリア */
.gallery-text {
    width: 40%;
    padding: 20px;
}

.sub-title {
    display: block;
    font-size: 0.8rem;
    color: #b58b6f;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.gallery-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

/* タイトルの下の短い線（アクセント） */
.gallery-text h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #b58b6f;
    margin-top: 10px;
}

.gallery-text p {
    line-height: 1.8;
    color: #666;
    font-size: 0.95rem;
}

/* スマホ対応：縦に並べる */
@media (max-width: 768px) {
    #gallery-box li, .flex-reverse {
        flex-direction: column;
        margin-bottom: 60px;
    }
    .gallery-image, .gallery-text {
        width: 100%;
    }
    .gallery-image img {
        height: 250px;
    }
}






/*  Galleryページここまで  */



/* プライベートルーム 紹介（Flexboxで現代風に） */
.pic_field {
    display: flex;        /* 中の要素を横に並べる */
    justify-content: center; 
    gap: 20px;            
    margin-bottom: 40px; 
    flex-wrap: wrap;     
}

.pic_field figure {
    width: 290px;        
    margin: 0;            
}

.pic_field figure img {
    width: 100%;
    height: 200px;      
    object-fit: cover; 
    border-radius: 10px; 
}

/* キャプションの設定 */
.pic_field figure figcaption {
    text-align: center;
    padding-top: 10px;
    font-weight: bold;
    color: #5d4a3e;       /* 他の見出しに合わせて優しい茶色に */
}
/* --- 同居中（しろ・みけ・もも・とら）のスタイル：ここから --- */

/* 1. 親である figure の共通設定（文字を上に乗せる基準を作ります） */
.pic_field figure.occupied,
.pic_field figure.later,
.pic_field figure.starting-soon { /* ← starting-soon を追加 */
    position: relative !important;
    width: 290px !important;      /* 他のfigureと絶対に同じにする */
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. 画像のサイズ固定と、文字を見やすくするための加工（共通） */
.pic_field figure.occupied img,
.pic_field figure.starting-soon img { /* ← starting-soon を追加 */
    width: 290px !important;      /* 親の幅に合わせる */
    height: 200px !important;     /* 他の画像と高さを合わせる */
    object-fit: cover !important;
    filter: grayscale(50%) brightness(1.4) opacity(0.6); /* 画像を少し白っぽくして文字を目立たせる */
    border-radius: 10px;
}

/* 3. 上に乗せる文字の「見た目と位置」の共通設定 */
.pic_field figure.occupied::after,
.pic_field figure.later::after,
.pic_field figure.starting-soon::after { /* ← starting-soon を追加 */
    position: absolute;
    top: 100px;           /* 画像の高さ(200px)の半分（中央） */
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85); /* 白っぽい背景 */
    color: #5d4a3e;
    padding: 6px 16px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

/* 4. それぞれのお部屋に表示する「文字（中身）」の指定 */
/* しろ・みけ・もも（occupied） */
.pic_field figure.occupied::after {
    content: "ねこと人がまったり生活中";
}

/* みけ（later） */
.pic_field figure.later::after {
    content: "空いています！";
}

/* --- 入居中のスタイル：ここまで --- */
/* facilities */

.fac-container {
    display: flex;
    flex-wrap: wrap;       /* 幅が狭くなったら折り返す */
    gap: 30px;             /* グループ間の隙間 */
    justify-content: center;
    margin-top: 30px;
}

/* 2. 各グループ（白いボックス）の設定 */
.fac-group {
    flex: 1;               /* 均等に広がる */
    min-width: 320px;      /* これより狭くなると折り返す */
    background: #fff;      /* ボックスを白にする */
    border: 1px solid #eaddcf;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.fac-group h3 {
    text-align: center;
    color: #b58b6f;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #fdfaf5;
    padding-bottom: 10px;
}

/* 3. 中のリスト：ここも横に2並びにする（PC時） */
.fac-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;         /* グリッドレイアウトを採用 */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 自動で列を作る */
    gap: 15px;
}

.fac-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
}

.fac-icon {
    width: 40px;
    height: 40px;
    background-color: #ffe5d9;
    color: #b58b6f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* facilities ここまで */

<!-- お部屋の状況（費用と条件の紹介） -->   
<section id="terms">
    <h2>ルームシェアでかかるお金（だいたい）</h2>
    
    <div class="terms-content-box">
        <div class="terms-text-block">
            <h3>毎月の出し合い（目安）</h3>
            <p class="price-highlight">
                おうちの維持費（目安）：<strong>月額 40,000円</strong><br>
                みんなの生活費：<strong>月額 15,000円</strong>
            </p>
            <p class="price-detail">
                ※「みんなの生活費」には、水道光熱費・Wi-Fi利用料・トイレットペーパーや洗剤、基本調味料などの共同で使う消耗品代が含まれています。<br>
                ※敷地内の駐車場をご利用の際は、月額2,000円をみんなでシェアします。
            </p>
        </div>

        <div class="terms-text-block">
            <h3>お部屋のシェアについて</h3>
            <p>
                おうちの2階には、みんながそれぞれプライベートな時間を過ごせるお部屋が4室（すべて6帖・収納スペース付き）あります。<br>
                同居するメンバーの間では、親しみを込めてそれぞれのスペースを<strong>「しろ」「みけ」「もも」「とら」</strong>という可愛い愛称で呼んでいます。<br>
                現在は<strong>2つのスペースで新しい同居メンバーを募集中</strong>です（他はねこと人がまったり生活中♪）。どのお部屋になっても毎月の負担金は一律ですので、みんなで相談しながら心地よくシェアしましょう！
            </p>
        </div>

        <div class="terms-text-block">
            <h3>新生活のスタートと猫ちゃんの条件</h3>
            <p class="terms-note">
                新しく一緒に暮らしをスタートする際に、別途「初期の準備金」として2万円をいただきます。<br><br>
                <strong>【猫ちゃんの同居条件】</strong><br>
                ・完全室内飼育であること / 指定のワクチンの接種（証明書の提示）<br>
                ・避妊、去勢手術済みであること
            </p>
        </div>
    </div>
</section>  
<!-- お部屋の状況 おわり。 -->

/* --- ルームシェアの費用と条件（旧お部屋の状況） --- */
.terms-content-box {
    max-width: 650px;             /* 横幅が広がりすぎないように制限 */
    margin: 40px auto 0 auto;     /* 「auto」で左右の余白を均等にして中央に配置 */
    background-color: #fff;
    border: 2px solid #eaddcf;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;             /* ボックスの中の文章は左揃えで読みやすく */
}

.terms-text-block {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.terms-text-block:last-child {
    margin-bottom: 0;
    border-top: 1px dashed #eaddcf;
    padding-top: 25px;
}

.terms-text-block h3 {
    color: #5d4a3e;
    font-size: 1.2rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 14px;
    font-weight: bold;
}

/* 小見出しの横に可愛いアクセント */
.terms-text-block h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #eaddcf;
    border-radius: 2px;
}

.price-highlight {
    background-color: #fdfaf5;
    border-radius: 8px;
    padding: 15px 20px;
    color: #5d4a3e;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.price-highlight strong {
    font-size: 1.3rem;
    color: #b58968; /* アクセントになるあたたかい茶色 */
}

.price-detail {
    font-size: 0.9rem;
    color: #888;
    padding-left: 5px;
}

.terms-note {
    font-size: 0.95rem;
    text-align: left;
}


/* --- こんな方にぴったりの場所です（追加修正） --- */
#ideal-tenant {
    padding: 60px 20px;          /* 上下の余白をとり、左右に少しだけ隙間を作る */
    text-align: center;          /* 見出し（h2）などを中央揃えにする最重要コード */
}

.welcome-box {
    max-width: 650px;            /* 費用ボックスと横幅を揃えてすっきり美しく */
    margin: 40px auto 0 auto;    /* 「auto」の力でボックス自体を画面の真ん中に配置 */
    background-color: #fff;
    border: 2px solid #eaddcf;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;            /* ボックスの中の文章は左揃えで読みやすく */
}

.welcome-intro {
    font-size: 1.05rem;
    color: #5d4a3e;
    line-height: 1.8;
    margin-bottom: 25px;
    border-bottom: 1px dashed #eaddcf;
    padding-bottom: 20px;
}

.welcome-list {
    list-style: none;            /* 標準の黒丸を消す */
    padding: 0;
    margin: 0 0 25px 0;
}

.welcome-list li {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;          /* 肉球の分だけ左に隙間をあける */
}

.welcome-list li:last-child {
    margin-bottom: 0;
}


/* ★CSSで自動的に「🐈」を先頭につけます */
.welcome-list li::before {
    content: "🐈";               /* 肉球から猫ちゃんマークに変更 */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    /* 絵文字なのでcolor（色）の設定は消去して、そのままの可愛さを活かします */
}

.welcome-message {
    font-size: 1rem;
    color: #5d4a3e;
    line-height: 1.8;
    background-color: #fdfaf5;   /* 薄い背景を敷いてアクセントに */
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    text-align: center;          /* 最後の締めメッセージを中央揃えに */
}

/* --- お顔合わせ・相談についての補足文 --- */
.welcome-match-info {
    background-color: #fcfaf7;
    border-left: 3px solid #eaddcf;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}
.welcome-match-info strong {
    color: #5d4a3e;
}

/*   アクセスここから　↓↓↓　　　　*/
.access {
    display: flex;
    flex-wrap: wrap;       /* 折り返しを許可する */
    justify-content: flex-start; /* 左詰めに並べる */
    gap: 30px 4%;          /* 縦の隙間30px、横の隙間4% */
    margin-bottom: 20px;
}

.access figure {
    width: 48%;            /* 2枚並び（48%×2 + 隙間4% = 100%） */
    margin: 0;
    text-align: center;    /* 文字を中央に */
}

.access img {
    width: 100%;
    height: 180px;         /* 高さを揃えるときれいです（お好みで調整） */
    object-fit: cover;     /* 写真を枠いっぱいに切り抜いて表示 */
    border-radius: 5px;    /* 角を少し丸くすると優しい印象に */
}

.access figcaption {
    margin-top: 8px;
    font-size: 0.9em;
    line-height: 1.4;
}

/*   アクセスここまで　おわり。　　　*/

/* --- お問い合わせ・おうちの見学 --- */
#contact {
    padding: 60px 20px;          /* 上下の余白をとり、左右に少しだけ隙間を作る */
    text-align: center;          /* セクション内の文字や見出しをすべて中央揃えにする最重要コード */
    max-width: 750px;            /* 他の白いボックス（費用やこんな方どうぞ）と横幅の印象を揃える */
    margin: 0 auto;              /* 画面の真ん中に配置 */
}

#contact h2 {
    color: #5d4a3e;              /* 他の見出しと同じ温かい茶色に */
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#contact p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

#contact ul {
    list-style: none;            /* 標準の黒丸を消す */
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 550px;            /* 注意書きが広がりすぎないように制限 */
    text-align: left;            /* 箇条書きの文章自体は左揃えにして読みやすく */
}

#contact ul li {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

/* 注意書きの先頭に可愛い米印（※）を自動でつける場合 */
#contact ul li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
    color: #b58968;
}

/* Googleフォームを囲むボックス */
.form-container {
    width: 100%;
    margin-top: 30px;
    background-color: #fff;
    border: 2px solid #eaddcf;
    border-radius: 12px;
    overflow: hidden;            /* フォームの角を丸める */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- フッターのデザイン --- */
footer {
    background-color: #fdfaf5; /* 全体の背景より少しだけ濃いベージュ */
    border-top: 1px solid #eaddcf;
    padding: 60px 20px 30px;
    text-align: center;
    margin-top: 50px;
}

.footer-logo {
    font-weight: bold;
    font-size: 1.1rem;
    color: #5d4a3e;
    margin-bottom: 25px;
}

/* インスタリンクのスタイル */
.insta_img_link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #b58b6f; /* 茶色系の文字色 */
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #eaddcf;
    border-radius: 30px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.insta_img_link:hover {
    background-color: #ffe5d9;
    border-color: #ffe5d9;
}

.insta_img_link .insta_icon {
    width: 24px !important; /* !importantは「絶対このサイズ！」という強い命令です */
    height: auto;
    margin-right: 10px;
    display: inline-block; /* 念のため追加 */
}

.copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #aaa;
}
