/* =====================
   ベース
===================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.7;
  font-size: 1.1rem;
  color: #333;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

a {
  transition: .3s all ease;
  text-decoration: none;
}

/* =====================
   ヘッダー（style.cssから）
===================== */
.header {
  background: #5b2a78;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 16px;
  line-height: 1.4;
}

.logo span {
  font-size: 24px;
  display: block;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
  transition: .2s;
}

.nav a:hover {
  opacity: 1;
  border-bottom: 1px solid #caa24c;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  transition: .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  background: #5b2a78;
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}

.mobile-menu.open { max-height: 400px; }

.mobile-menu a {
  display: block;
  color: #fff;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 15px;
}

/* =====================
   コンテナ
===================== */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

/* =====================
   ヒーロー
===================== */
.site-blocks-cover {
  background: url("../../img/sougentop.png") center/cover no-repeat;
  position: relative;
  padding: 100px 20px;
  display: flex;
  align-items: center;
}

.site-blocks-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.site-blocks-cover .container {
  position: relative;
}

.site-blocks-cover h1 {
  color: #fff;
  font-size: 42px;
  font-weight: normal;
  letter-spacing: 4px;
  line-height: 1.6;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

@media (max-width: 768px) {
  .site-blocks-cover h1 {
    font-size: 1.5rem;
    margin-top: 30px;
  }
}

/* =====================
   週別ボックス
===================== */
.box_style_tape1 {
  position: relative;
  padding: 55px 20px 15px 20px;
  margin: 4.5em auto;
  width: 100%;
  background-color: #fff;
  border: 3px solid #111;
  border-radius: 15px;
}

.box_style_tape1 h2 {
  width: 50%;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  color: #fff;
  font-size: 1.3em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-align: center;
  background-color: #5b2a78;
  border-radius: 50px;
}

@media (max-width: 640px) {
  .box_style_tape1 {
    margin: 28px 10px 50px;
  }
  .box_style_tape1 h2 {
    width: 90%;
    font-size: 1.2em;
  }
}

/* =====================
   血液型コンテンツ
===================== */
.container_fortune {
  margin-top: 1rem;
  padding: 10px;
  width: 100%;
}

.container_fortune h3 {
  color: #5b2a78;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 0.5em;
  border-left: 3px solid #caa24c;
  padding-left: 10px;
}

.container_fortune p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  padding: 10px 0;
}

/* =====================
   フェードインアニメーション
===================== */
.fade-in-bottom {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1s ease, transform 2s ease;
}

.fade-in-bottom.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   ページトップ
===================== */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #5b2a78;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: .3s;
  z-index: 999;
}

#page-top:hover {
  transform: translateY(-4px);
  background: #7b3a98;
}

/* =====================
   スマホ対応
===================== */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
}