@charset "UTF-8";

/* 基本設定 */
body {
    font-family: 'Zen Old Mincho', serif; /* 明朝体で和の雰囲気を出す */
    line-height: 2.0;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #fcfcfc; /* 真っ白すぎない優しい背景色 */
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}
a:hover {
    color: #9f8d78; /* 落ち着いたアースカラー */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ヘッダー */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.logo img {
    height: 50px; /* ロゴのサイズ調整 */
}

.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.site-header nav a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.site-header .instagram-link {
    position: relative;
    top: 3px; /* この数値を大きくするとさらに下がります */
}

/* メインビジュアル */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh; /* 画面の60%の高さ */
    overflow: hidden;
    background-color: #eee;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をトリミングして埋める */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

/* コンテンツセクション共通 */
.content-section {
    padding: 80px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* テキストと画像の配置 */
.text-col {
    flex: 1;
    min-width: 300px;
}

.image-col {
    flex: 1;
    min-width: 300px;
}

.image-col img {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 2px;
}

/* 逆配置（画像左、テキスト右）用 */
.reverse .container {
    flex-direction: row-reverse;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 0.15em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    display: inline-block;
}

p {
    margin-bottom: 20px;
    text-align: justify; /* 両端揃え */
}

/* お手入れセクション（シンプル版） */
.simple {
    background-color: #f4f4f4;
}

.simple .container {
    flex-direction: column;
    align-items: flex-start;
}

.care-list {
    list-style: none;
    padding: 0;
}

.care-list li {
    margin-bottom: 15px;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.care-list li::before {
    content: "・";
    margin-right: 0.5em;
    color: #888;
}

/* フッター */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.site-footer a {
    color: #bbb;
    margin: 0 15px;
    font-size: 0.8rem;
}

.footer-icon {
    position: relative;
    top: 4px; /* この数値を大きくするとさらに下がります */
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* style.css の末尾に追加してください */

/* ギャラリーセクション用レイアウト */
.gallery-container {
    display: flex;
    flex-direction: column; /* 縦並び（タイトル→写真）にする */
    align-items: center;
    width: 100%;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: #666;
}

/* 写真のグリッド配置 */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;       /* 折り返しを許可 */
    gap: 20px;             /* 写真同士の隙間 */
    width: 100%;
    justify-content: center;
}

.gallery-item {
    width: calc(50% - 10px); /* 横に2枚並べる計算（隙間分を引く） */
    overflow: hidden;        /* 拡大したときにはみ出さないように */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* 枠に合わせてトリミング */
    aspect-ratio: 1 / 1;     /* 正方形に固定（写真は縦長でも横長でも正方形になります） */
    transition: transform 0.5s ease, opacity 0.3s; /* アニメーション設定 */
}

/* マウスを乗せた時の動き */
.gallery-item:hover img {
    transform: scale(1.03);  /* 少しだけ拡大 */
    opacity: 0.9;            /* 少しだけ透明に */
}

/* スマホでは1枚ずつ大きく表示したい場合 */
@media (max-width: 768px) {
    .gallery-item {
        width: 100%; /* スマホでは横幅いっぱい */
    }
}

/* スマホ用調整 */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .container {
        flex-direction: column !important;
        gap: 40px;
    }
    .site-header {
        padding: 15px 20px;
    }
    .site-header nav ul {
        gap: 15px;
    }
}