/* 躍動感を出すためのアニメーション設定 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ふわふわと浮遊するアニメーション */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #1e293b;
    font-family: "Hiragino Mincho ProN", "MS PMincho", serif;
    -webkit-font-smoothing: antialiased;
}

.serif {
    font-family: 'Cormorant Garamond', serif;
}

.container {
    width: 960px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0px 10px 50px rgba(0,0,0,0.05);
}

/* セクション全体のフェードイン */
.animate {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
}

/* 画像コンテナ：浮遊アニメーションを適用 */
.img-float {
    animation: float 6s ease-in-out infinite;
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 50px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #0ea5e9;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

/* ナビゲーションメニューのスタイル（テーブル内用） */
.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: bold;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #0ea5e9;
}

.hero {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.9) 0%, rgba(224, 242, 254, 0.8) 100%), url('background.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 50px;
    text-align: left;
    overflow: hidden;
}

.hero h1 {
    font-size: 80px;
    color: #0f172a;
    margin: 0;
    line-height: 0.85;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: -3px;
}

.text-gradient {
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0ea5e9;
}

.content-section {
    padding: 100px 50px;
    overflow: hidden;
}

.section-title {
    font-size: 48px;
    color: #0f172a;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-bottom: 50px;
    border-left: 6px solid #0ea5e9;
    padding-left: 25px;
}

.left-col {
    float: left;
    width: 480px;
}

.right-col {
    float: right;
    width: 360px;
}

/* 画像コンテナの装飾 */
.img-container {
    overflow: hidden;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.15);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #f1f5f9;
}

.img-container:hover {
    transform: scale(1.05); /* 斜めの回転(rotate)を削除 */
    box-shadow: 0 40px 80px rgba(14, 165, 233, 0.25);
}

.img-rounded {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.img-container:hover .img-rounded {
    transform: scale(1.1);
}

.hobby-item {
    float: left;
    width: 205px; /* 860px / 4 = 215px. 205px + 10px margin = 215px */
    margin-right: 13px;
    background-color: #ffffff;
    padding: 40px 10px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.5s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.hobby-item:hover {
    background-color: #f0f9ff;
    border-color: #0ea5e9;
    transform: translateY(-15px) scale(1.05);
}

.fav-box {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 35px;
    margin-bottom: 20px;
    border-radius: 25px;
    transition: all 0.4s ease;
}
.fav-box:hover {
    border-left: 10px solid #0ea5e9;
    padding-left: 25px;
    background-color: #f8fafc;
    transform: translateX(10px);
}

.footer {
    background-color: #f8fafc;
    padding: 80px 60px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
}

.footer-sign {
  letter-spacing: 2px;
  font-weight: bold;
  text-align: right;
}

.back-button {
    display: inline-block;
    margin-bottom: 40px;
    text-decoration: none;
    color: #0ea5e9;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #0ea5e9;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.back-button:hover {
    background-color: #0ea5e9;
    color: #ffffff;
    transform: translateX(-5px);
}

.clearfix { clear: both; }

.img-rounded {
  width: 450px;
  height: 250px;
  object-fit: cover;
}

.img-rounded2 {
  width: 450px;
  height: 500px;
  object-fit: cover;
}

.img-container figcaption {
  display: block;
  margin: 8px 0 0 0;
  padding: 0;
  text-indent: 0;
  overflow: visible;
}

