@charset "utf-8";

/* 基本スタイルとリセット */
body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff9f9;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    color: #7e7e7e;;
    text-decoration: none;
}

a:hover {
    color: #ff98ba;
    text-decoration: underline;
}

/* 中央配置コンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}
/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  line-height: 1.2;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.header-logo a {
  color: #554236;
}
.header-logo a:hover {
  color: #ddcd77;
}

.gnav-list {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  gap: 40px;
  width: 100%;
}

.gnav-item a {
  position: relative;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #ff6699;
  font-family: "expo-serif-pro" , serif;
}
/* 新しい日本語用セレクタを追加 */
.jp-font a {
  font-family: "Meiryo", sans-serif;
}

.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #ff98ba;
}

.gnav-item a:hover:after {
  width: 100%;
}

/* 固定ヘッダー用の調整（特定のページのみ） */
.page-with-fixed-header main {
    padding-top: 95px;
}

/* ===================================
   ブログページ
   =================================== */

/* メインビジュアル */
.blog-mv {
    background-image: url(assets/images/main.jpg);
    background-size:  cover; /* 自動 */
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    padding: 120px 0;  /* 上下の余白調整（お好みで） */
    position: relative;
    text-align: center; /* ←中央寄せにしたい場合。左寄せなら left に変更 */
}
.blog-mv h1 {
    color: #333;
    font-size: 2.5rem;
    color: #333;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
    margin: 0;
}
.blog-mv-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left; /* ←左寄せにする場合はここを left */
}
h1{
    margin: 50px 80px;
    color: #f26ba0;
    font-size: 1.6rem;
}
/* h1最新号の文字飾り” */
.container h1 {
  position: relative;
  font-weight: bold;
  text-align: left;
  display: inline-block;
}

h1  {
  position: relative;
  z-index: 2;
  color: #f26ba0;
  font-size: 1.8rem;
  padding-bottom: 5px;
}

.blog-mv-inner h1 {
    color: #333; /* またはご希望の色 */
    font-size: 2.5rem; /* 必要に応じて調整 */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
    margin: 0;           /* ← 最重要！他のh1のmarginを打ち消す */
    padding-top: 0;      /* ← 必要に応じて、h1自身の内側の余白を調整 */
    text-align: left;    /* 左寄せにしたい場合 */
}



/* 共通セクションタイトル */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #f26ba0;
    border-bottom: 2px solid #f26ba0;
    display: inline-block;
}
.section-title-s {
    text-align: center;
    font-size: 1.5rem;
    color: #666;
    border-bottom: none;
    margin-top: 50px;
}
.object {
  border: 1px solid #f26ba0;
  border-radius: 4px;
  margin: 20px auto;
  padding: 25px 30px;
  max-width: 800px;
}

/* コンセプト */
.concept-section {
    padding: 50px 0;
    background-color: #fcf6fa;
}
.concept-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.concept-side-title {
    writing-mode: vertical-rl;
    font-size: 1.5rem;
    color: #f26ba0;
    letter-spacing: .2em;
    padding-right: 20px;
    border-right: 2px solid #f26ba0;
    height: 275px;
}
.concept-content {
    flex: 2;
}
.concept-content h2 {
    font-size: 1.6rem;
    margin-top: 0;
    border-bottom: none;
    text-align: left;
    display: block;
}
.concept-content p {
    color: #666;
    line-height: 1.8;
}
.read-more-link {
    display: inline-block;
    margin-top: 20px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
}
.read-more-link::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}
.read-more-link:hover::after {
    transform: translateX(5px);
}
.concept-image {
    flex: 1;
}
.concept-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* ウィークリーブログ */
h4 {
  padding: 0.5em;
  color: #7e7e7e;
  background: #fff;
  border-left: solid 5px #f26ba0;
}

.weekly-blog-main {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}
.weekly-blog-image {
    flex-basis: 35%;
}
.weekly-blog-image img {
    width: 100%;
    border-radius: 8px;
}
.weekly-blog-text {
    flex-basis: 65%;
}
.weekly-blog-text h4 {
    margin-top: 0;
}
.weekly-blog-text p {
    color: #666;
}
.arrow-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: #f26ba0;
    text-decoration: underline;
}

.weekly-blog-archive h4 { /*【修正】h3→h4*/
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
    border-left: none;
    background: none;
}
.weekly-blog-archive ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 10px;
}
.weekly-blog-archive li a {
    display: block;
    padding: 15px;
    background: white;
    border: 1px solid #f8d6e4;
    border-radius: 5px;
    text-decoration: none;
    color: #7e7e7e;
    transition: background-color 0.3s;
}
.weekly-blog-archive li a:hover {
    background-color: #fff0f5;
}

/* スマートフォン表示では、画像を上下に積む */
@media (max-width: 768px) {
    .content-block,
    .content-block.is-reversed {
        flex-direction: column; /* 縦並びに変更 */
    }
}

/* X (旧Twitter) へのリンク */
.sns_x {
    /* ブロック全体を右寄せにする */
    width: fit-content; /* 内容に合わせて幅を自動調整 */
    margin-left: auto;  /* 左側の余白を自動で最大にし、右に寄せる */
    margin-right: 0;
    margin-top: 50px;

    /* 中の要素（アイコンとテキスト）を縦に並べて中央揃え */
    display: flex;
    flex-direction: column; /* 要素を縦に並べる */
    align-items: center;    /* 中央揃え */
    gap: 2px;               /* アイコンとテキストの間の隙間 */
}
.snsx {
    margin: 0;
    font-size: 0.7rem;
    color: #666;
}

/* フッター */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #fff;
    background-color: #f26ba0;
    margin-top: 70px;
}

/* トップへ戻るボタン */
#page-top {
    position: fixed;
    right: 5px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #f26ba0;
    padding: 0 0 0 35px;
    border-top: solid 1px;
    z-index: 1000;
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

/* ===================================
   レスポンシブ対応
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
     .header .container {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }
    .concept-container, .weekly-blog-main {
        flex-direction: column;
    }
    .concept-side-title {
        writing-mode: horizontal-tb;
        border-right: none;
        border-bottom: 2px solid #f26ba0;
        padding: 0 0 10px 0;
        margin-bottom: 30px;
        height: auto;
    }
    .weekly-blog-archive ul {
        /* スマホ表示では1カラムに設定 */
        grid-template-columns: 1fr;
    }
          .blog-mv {
    padding: 80px 0;
    background-size: cover; /* スマホは cover の方が自然な場合もある */
  }

  .blog-mv h1 {
    font-size: 1.8rem;
    text-align: left;
  }

  .blog-mv-inner {
    text-align: center;
    padding: 0 10px;
  }

    /* ...他のスマホ用スタイル... */
    .article-container figure {
        width: 100%;
    }
     /* ▼▼▼ 余白を追記 ▼▼▼ */
    .blog-mv-inner,
    .object,
    .weekly-blog-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

/* スマホ用ヘッダーメニュー縦並び */
    .gnav-list {
    flex-direction: column; /* 縦並び */
    gap: 10px;
  }
  .gnav-item {
    text-align: center;
  }

  .blog-mv {
    margin-top: 229px;
}

    /* ▲▲▲ 追記ここまで ▲▲▲ */
}


/* =========================
   Q&Aページ専用スタイル
   ========================= */
#searchBox {
  width: 100%;
  padding: 8px;
  margin: 20px 0;
}

.qa-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.qa-question {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px;
  font-weight: bold;
  background: #ffffff;
  border: 1px solid #f8d6e4;
  border-radius: 5px;
  text-decoration: none;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease; /* ホバー効果を滑らかにする */
}

.qa-question:hover {
    background-color: #fcf6fa; /* 背景色を変更 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}


/* Q&Aの回答部分のベーススタイル */
.qa-answer {
  display: none;
  padding: 10px;
  background: #fff;
  color: #7e7e7e; /* 回答全体の基本色はQの文字色に合わせる */
  font-size: 1rem; /* ← ここで基本のフォントサイズを明示的に設定します */
  line-height: 1.6; /* bodyから継承されるが、念のため明示的に設定 */
  font-weight: normal; /* 回答全体のフォントを通常に */
}

/* Answer内で表示する「質問内容」のスタイル */
.qa-full-question-text {
  color: #f26ba0;
  font-weight: normal; /* ← 太字を解除 */
  margin-bottom: 10px;
  font-size: 0.85rem;
  /* font-sizeは.qa-answerから継承されるので、ここでは指定不要 */
}

/* QとAの間の区切り（1行空き）のスタイル */
.qa-separator {
  height: 20px;
  margin: 10px 0;
}

/* Answer内で表示する「回答内容」のスタイル */
.qa-answer-text {
  color: #666;
  font-weight: normal; /* ← 太字を解除 */
  font-size: 0.85rem;
  /* font-sizeは.qa-answerから継承されるので、ここでは指定不要 */
  line-height: 1.8;
}

/* 既存のqa-questionの文字色をグレー系に戻す */
.qa-question {
  color: #7e7e7e;
  /* font-size: 1rem; */ /* もしQuestionボタンのフォントサイズも明示的に制御したい場合は追加 */
  font-weight: bold; /* Questionは太字で維持 */
  /* その他の既存スタイル */
}

.qa-answer.open {
  display: block;
}

.qa-image {
  width: 35%; /* 新しいサイズに設定 */
  height: auto;
  display: block;
  margin: 20px auto;
}

