@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background-color: #f7f2e9;
  font-family: "Zen Maru Gothic", sans-serif;
}
a{
  text-decoration: none;
  color: black;
}

/***
 * SPレイアウト
 *************************/
 @media only screen and (max-width: 768px) and (min-width: 321px) {
  .sp_br{
    display:block;
  }
  .pc_br{
    display: none;
  }
  .sp_span{
    display: block;
    white-space: nowrap;
  }
}

/* 基本設定と変数 */
:root {
  --bg-beige: #f5f2e8;
  --header-gray: #a1a1a1;
  --menu-orange: #d16b32;
}

html {
  scroll-behavior: smooth;
}

/* ヘッダー全体 */
.site-header {
  margin: 0;
  background:  var(--bg-beige);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  height: 60px;;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60; /* ドロワー(50)より上に配置 */
}

.back{
  background-color: #1877F2;
}

/* ハンバーガーボタン (アニメーション)  */
.menu-toggle {
  display: flex;
  position: absolute;
  right: 1rem;
  background-color: #d9610b;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

/* 3本線のデザイン */
.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* アクティブ時 (バツ印) のアニメーション */
.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* オーバーレイ */
.overlay {
  position: fixed;
  inset: 0;
  background: black;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 45;
}
.overlay.active {
  opacity: 0.5;
  pointer-events: auto;
}

/* モバイルドロワー */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background: var(--bg-beige);
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 10px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  }
.drawer.active {
  transform: translateX(0);
}

.drawer-header {
    background: #f6dcb9;
    padding: 1rem;
    height: var(--header-height); /* ヘッダーの高さを合わせる */
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 500;
}

.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.drawer-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    color: black;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* SNSリンク */
.social-area {
    padding: 2rem;
    display: flex;
    gap: 1rem;
}
.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
.icon-x { background: black; font-style: italic; font-size: 1.1rem; }
.icon-line { background: #06C755; font-size: 10px; }
.icon-fb { background: #1877F2; font-size: 1.25rem; }

/* コンテンツセクション */
.container {
    width: 100%;
  }
section {
    background: white;
    padding: 50px 20px;
    scroll-margin-top: calc(var(--header-height) + 1rem);
    }
section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* メインビジュアル */
.main-visual{
  padding-top: 30px;
  background-color: #f6f2e9;
}
.visual-area{
  height: 360px;
  background-image: url(img/syugou.png);
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 20px;
}
.titleLogo_sp{
  display:block;
  margin: 0 auto;
  padding-top: 10px;
}
.titleLogo_pc {
  display:none;
}
.releaseArea{
  width: 280px;
  margin: 0 auto;
}
.releaseDate {
  text-align: center;
  font-size: 20px;
  color: #d9610b;
  border-bottom: none;
  position: relative;
  margin: 0 auto;
}
.releaseDate::before,
.releaseDate::after {
    position: absolute;
    top: 0.8rem;
    height: 1.8rem;
    content: '';
}

.releaseDate::before {
    border-left: solid 3px;
    left: 0;
    transform: rotate(-30deg);
    border-radius: 3px;
}

.releaseDate::after {
    border-right: solid 3px;
    right: 0;
    transform: rotate(30deg);
    border-radius: 3px;
}
.releaseDateSub {
  text-align: center;
  font-size: 25px;
  color: #605f5f;
  width: 270px;
  font-weight: 500;
  margin: 0 auto;
}
.yellowLine{
	position: relative;
  z-index: 10;
}
.yellowLine::before {
  display: block;
  content: "";
  width: 100%;
  margin: 0 auto;
  text-align: center;
  height: 5px;
  background-color: #ffc402;
  position: absolute;
  bottom: 3px;
  left: 0;
  border-radius: 20px;
  z-index: -1;
}


.dateStrong{
  font-size: 40px;
}
.date-accent-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--accent-color);
  font-weight: 700;
  color: #d9610b;
}

.date-accent-lines .symbol {
  font-size: 3rem;
  font-weight: 600;
  margin: 0 5px;
}

.date-accent-lines .content {
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.date-accent-lines .num {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
}


/* 絵本アニメーション */
       .stage {
        display: flex;
        align-items: center; /* デフォルトは中央揃え */
        justify-content: center;
        gap: 8px;
        max-width: 1000px;
        width: 100%;
        padding: 20px 0;
    }

    /* 中央の固定画像 */
    .main-image-box {
        flex: 2.5;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 左右のキャラクター共通ラッパー */
    .character-box {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    /* 2コマアニメーション本体 */
    .wobble-step {
        display: inline-block;
        animation: move-step 0.9s steps(1) infinite;
    }

    @keyframes move-step {
        0% { transform: rotate(-10deg) translateY(0); }
        50% { transform: rotate(10deg) translateY(-5px); }
        100% { transform: rotate(-10deg) translateY(0); }
    }

    /* --- 個別の高さ・サイズ設定 --- */

    /* 左のキャラクターの設定 */
    .left-config {
        align-self: flex-start; /* 上側に配置 */
        margin-top: 20px;
    }
    .left-config .character-img {
        width: 120px; /* 左キャラのサイズ */
        height: auto;
    }

    /* 右のキャラクターの設定 */
    .right-config {
        align-self: flex-end; /* 下側に配置 */
        margin-bottom: 20px;
    }
    .right-config .character-img {
        width: 180px; /* 右キャラのサイズ */
        height: auto;
    }

    /* 右側のキャラのタイミングをずらす */
    .delay {
        animation-delay: -0.4s;
    }

    .character-img {
        display: block;
    }

.index {
  display: flex;
  padding: 0px;
  margin: 0 auto;
  text-align: center;
  gap: 15px;
  justify-content: center;
}
.indexImg{
  width: 100%;
}
.index-pc {
 display: none;
}

.content1{
  background-color: #f6f2e9;
}
.content2{
  background-image: url(img/p0113_l\ 1.png);
}
.content2Title {
  text-align: center;
  border-bottom: none;
  color: #d9610b;
}
.content2Text{
  text-align: center;
  padding: 10px 0;
  line-height: 32px;
  color: #605f5f;
}
.content2Img {
  text-align: center;
  margin: 0 auto;
  padding: 22px 0;
  width: 80%;
}
.content2Point {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 15px;
  color: #605f5f;
}
.content2Text_point{
  font-weight: 500;
}
.point-Word_sp{
  display: block;
}
.point-Word_pc{
  display: none;
}

/* --- スライダー外枠（はみ出しを隠す） --- */
.loop-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  padding: 40px 0;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

/* --- スクロールする中身 --- */
.loop-slider__content {
  display: flex;
  width: fit-content;
  animation: infinite-scroll 30s linear infinite;  /* 常に動き続ける設定 */
}

/* --- 画像アイテムのスタイル --- */
.loop-slider__item {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  margin: 0 20px;
}

.loop-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --- 左右のグラデーションマスク（自然な消え方） --- */
.loop-slider::before,
.loop-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  z-index: 2;
  pointer-events: none;
}

.loop-slider::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9, transparent);
}

.loop-slider::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9, transparent);
}

/* --- アニメーション定義 --- */
@keyframes infinite-scroll {
  0% {
      transform: translateX(-50%);
  }
  100% {
      transform: translateX(0%);
  }
}


span.marker {
  background: linear-gradient(transparent 80%, #ffc402 80%);
}

.content4{
  background-image: url(img/p0113_l\ 1.png);
}
.indexTitle{
  margin: 0 auto;
}
.baseText {
  padding: 20px 0;
  color: #605f5f;
  text-align: justify;
}
.newsArea {
  background-color: #fff;
  padding: 15px;
  border: solid 1px #d9610b;
  border-radius: 10px;
}
 /* スクロールエリア */
 .scroll-area {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 12px;
  /* Firefox用スクロールバー設定 */
  scrollbar-width: thin;
  scrollbar-color: #ffc402 transparent;
}

/* Chrome, Safari用スクロールバー設定 */
.scroll-area::-webkit-scrollbar {
  width: 12px;
}

.scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-area::-webkit-scrollbar-thumb {
  background-color: #ffc402;
  border-radius: 12px;
  /* 【重要】透明なボーダーを付けて、背景色の描画範囲を制限する */
  border: 3px solid transparent; 
  background-clip: content-box; 
}

.ribbon1 {
  display: inline-block;
  position: relative;
  height: 30px;/*リボンの高さ*/
  line-height: 30px;/*リボンの高さ*/
  text-align: center;
  width: 100%;
  font-size: 18px;/*文字の大きさ*/
  font-weight: 500;
  background: #f7ddba;/*塗りつぶし色*/
  color: #d9610b;/*文字色*/
  box-sizing: border-box;
}

.ribbon1:before, .ribbon1:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon1:before {
  top: 0;
  left: 0;
  border-width: 15px 0px 15px 10px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.ribbon1:after {
  top: 0;
  right: 0;
  border-width: 15px 10px 15px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.newsMain {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}
.newsDate{
  color: #d9610b;
  font-weight: 500;
}
.newsContent {
  border-left: solid 1.4px #d9610b;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
}
.newsDetail {
  text-align: right;
  padding: 10px 10px 0 0;
  color: #d9610b;
  font-weight: 500;
}
.detailText{
  padding-right: 15px;
  position: relative;
}
.detailText::before {
  content: "";
  position: absolute;
  right: 0px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  border-left: 2px solid #d9610b;
  border-bottom: 2px solid #d9610b;
  transform: rotate(-135deg);
  box-sizing: content-box;
  transition: 0.6s cubic-bezier;
}

.profile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #605f5f;
  padding: 20px 0 0 0;
}
.profileTitle {
  display: flex;
  flex-direction: column;
}

.text1{
  padding: 20px 0;
  text-align: justify;
  color: #605f5f;
  font-size: 15px;
}

/* パーツの共通スタイル */
.author-box {
  grid-area: author;
  padding: 10px;
}
.author-label { margin-bottom: 4px; }
.author-name { font-size: 30px; font-weight: 600; margin: 0; line-height: 30px;}
.author-reading {
  font-size: 16px;
  font-weight: 400;
}
.photo-box {
  grid-area: photo;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.comment-box {
  grid-area: comment;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}
/* --------------------------------------------------
   SP版レイアウト (モバイルファースト)
-------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 120px;
  grid-template-areas:
     "author  photo"
     "comment comment";
}


.messageArea {
  background-image: url(img/p0113_l\ 2.png);
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
}
.messageText {
  padding: 15px 0 0 0;
}
.messageText p{
  padding-bottom: 10px;
}
.ribbon2:after{
    border-color: transparent #fcf3e6 transparent transparent;
}
.ribbon2::before{
  border-color: transparent transparent transparent #fcf3e6;
}

.footerArea{
  width: 100%;
}
.sharePoint{
  color: #d9610b;
  padding: 0 0 40px;
}
.shareArea {
  background-color: #f7f2e9;
  padding-top: 60px;
  padding-bottom: 60px;
}
.shareText {
  width: 224px;
  margin: 0 auto;
}
.share {
  text-align: center;
  font-size: 20px;
  color: #d9610b;
  border-bottom: none;
  position: relative;
  margin: 0 auto;
  font-weight: 500;
}
.share::before, .share::after {
  position: absolute;
  top: 5px;
  height: 23px;
  content: '';
}
.share::before {
  border-left: solid 1.5px;
  left: 10px;
  transform: rotate(-30deg);
  border-radius: 3px;
}

.share::after {
  border-right: solid 1.5px;
  right: 10px;
  transform: rotate(30deg);
  border-radius: 3px;
}

.shareIconArea {
  padding: 15px;
  border: solid 1px #d9610b;
  border-radius: 10px;
  background-color: #fff;
}
.iconArea{
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin: 0 auto;
  padding: 12px 0;
  align-items: center;
  text-decoration: none;
}

.iconArea img{
  width: 40px;
  height: 40px;
}
.footerLogo {
  width: 197px;
  margin: 0 auto;
  padding: 60px 0 0 0;
}
.copyright{
  height: 46px;
  background: #605f5f;
  color: #fff;
  text-align: center;
  line-height: 46px;
  font-size: 12px;
}



/***
 * PCレイアウト
 *************************/

 @media only screen and (min-width: 768px) {
  .sp_br{
    display:none;
  }
  .pc_br{
    display: block;
  }
  section {
    padding: 80px 25px;
  }
  .main-visual {
    margin: 0 auto;
    height: 842px;
    padding-top: 74px;
  }
  .visual-area {
    height: inherit;
    background-size: contain;
  }
  .container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
  .titleLogo_sp {
    display:none;
  }
  .titleLogo_pc {
    display:block;
    width: 830px;
    margin: 0 auto;
    padding: 60px 0 0;
  }
  .dateArea {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .releaseDateSub {
    font-size: 2.5em;
    width: auto;
    margin: inherit;
  }
  .date-accent-lines .num {
    font-size: 5.5rem;
  }
  .date-accent-lines .content {
    font-size: 2.5rem;
  }
  .date-accent-lines .symbol {
    font-size: 4.5em;
  }
  .character-img {
    width: 300px;
  }
  .main-image-box {
    flex: 1.5;
  }
  .content2Img {
    margin: inherit;
    width: 278px;
  }
  .content2ImgArea {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .content2Point {
    font-size: 23px;
    font-weight: 700;
  }
  .point-Word_sp{
    display: none;
  }
  .point-Word_pc{
    display: block;
    text-align: left;
  }
  .first-line{
    padding-right: 10px;
  }
  .second-line {
    margin: 0 0 0 20px;
    padding-left: 10px;
  }
  .stage {
    max-width: 950px;
    margin: 0 auto;
  }
  .left-config .character-img {
    width: 180px;
  }
  .loop-slider {
    padding: 80px 0;
  }
  .loop-slider__content {
    gap: 30px;
  }
  .loop-slider__item {
    width: 170px;
    height: 170px;
  }
  .indexTitle {
    width: 40%;
    padding: 0 0 40px 0;
  }
  .newsArea {
    width: 950px;
    margin: 0 auto;
  }
  .newsContent {
    flex-direction: inherit;
  }
  .newsDetail {
    padding: 0 10px 0px 20px;
  }
  .baseText {
    width: 950px;
    margin: 0 auto;
  }
  .card {
    width: 950px;
    margin: 0 auto;
    padding: 0 0 20px;
  }
  .index{
    display: none;
  }
  .author-box {
    padding: 10px 0;
  }
  .author-reading {
    font-size: 21px;
  }
  .comment-box {
    width: 680px;
  }
  .card-grid {
    grid-template-columns: 1fr 240px;/* 写真(photo)を1行目と2行目の両方に配置して縦にまたがせる */
    grid-template-areas:
       "author  photo"
      "comment photo";
    align-items: start;
  }
  .photo-box {
    /* align-self: start; にすると、
    写真が「作者＋コメント」の全高に対して引き伸ばされず、
    上端（作者と同じ高さ）に固定されます。
    */
    align-self: start;
    width: 100%;
  }
  .messageArea {
    display: flex;
    width: 950px;
    margin: 0 auto;
    justify-content: space-around;
    align-items: center;
  }
  .ribbon2 {
    height: 94px;
    line-height: 94px;
    width: 348px;
  }
  .ribbon2:before {
    border-width: 47px 0px 47px 20px;
  }
  .ribbon2:after {
    border-width: 47px 20px 47px 0px;
  }
  .shareIconArea {
    padding: 15px;
    border: solid 1px #d9610b;
    border-radius: 10px;
    background-color: #fff;
    width: 950px;
    margin: 0 auto;
  }
  .index-pc {
    display: flex;
    padding: 0px;
    margin: 0 auto;
    text-align: center;
    gap: 15px;
    justify-content: center;
    width: 950px;
  }
  .indexImg{
    width: 259px;
    margin: 0 auto;
  }
  .drawer {
    width: 32%;
    height: 480px;
  }
  .footerLogo {
    width: 236px;
  }


}



@media (min-width: 1536px) {
  .container {
      max-width: 100%;
  }
}
@media (min-width: 1280px) {
  .container {
      max-width: 100%;
  }
}
@media (min-width: 1024px) {
  .container {
      max-width: 100%;
  }
}