@charset "utf-8";
/* 冒頭でimport */
@import url('https://fonts.googleapis.com/css?family=Raleway:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:400,700&display=swap&subset=japanese');
/* フォントを指定したいところで */

logo img{
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover; /* 画像のトリミング */
}

logotohome img{
    border-radius: 70%;
    width: 70px;
    height: 70px;
    object-fit: cover; /* 画像のトリミング */
}



/* =========================================
   Museum / Gallery Style Base
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&family=Playfair+Display:wght@400&display=swap');

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif;
    background: #f9f9f7;  /* 美術館の白壁 */
    color: #222;
    text-align: center;
    min-height: 100vh;
}

/* =========================================
   Logo — 最小限のミュージアムロゴ
========================================= */
logotohome {
    display: block;
    padding-top: 30px;
}

logotohome img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px; /* 洗練された展示の印象 */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s ease;
}

logotohome img:hover {
    transform: scale(1.03);
}

/* =========================================
   Title — ギャラリーの案内板
========================================= */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6em;
    font-weight: 400;
    margin-top: 25px;
    margin-bottom: 8px;
    color: #111;
    letter-spacing: 2px;
}

h2 {
    font-weight: 300;
    font-size: 1.15em;
    margin-bottom: 70px;
    color: #777;
}

/* =========================================
   Artwork Gallery Layout
========================================= */
.portfolio-buttons {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 120px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 60px;  /* 上下と左右に大きな余白 */
}

@media (max-width: 900px) {
    .portfolio-buttons {
        grid-template-columns: 1fr;
        gap: 70px;
    }
}

/* =========================================
   Individual Artwork
========================================= */
.portfolio-buttons a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 絵画（作品）を展示するような枠 */
.portfolio-buttons img {
    width: 100%;
    height: 260px;
    object-fit: cover;

    background: white;
    padding: 12px;                   /* 絵画用の額縁のような余白 */
    border: 1px solid #ddd;          /* 額縁の薄い枠 */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ホバー：展示物に近づいたときの感覚 */
.portfolio-buttons a:hover img {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

/* キャプション（作品タイトル） */
.portfolio-buttons span {
    margin-top: 18px;
    font-size: 0.95em;
    color: #555;
    letter-spacing: 0.3px;
    font-weight: 300;
}
.image-1 {
    margin-bottom: 15px;
  }
