@charset "utf-8";

/* 基本スタイルとリセット */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    background-color: #fff9f9;
    color: #333;
    line-height: 1.6;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #ff98ba;
    text-decoration: underline;
}

/* 中央配置コンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ヘッダー */
.header {
  z-index: 1;
  width: 100%;
  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; /* 【修正】項目間の余白をgapで指定 */
  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;
}
.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%;
}


/* メインビジュアル */
.main-visual {
    position: relative;
    background-image: url(assets/images/main1.jpg);
    background-size: cover;
    background-position:top ;
    color: rgb(28, 27, 27);
}
.main-visual .container {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
}
.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.main-visual-content {
    position: relative;
    z-index: 1;
}

.main-visual h1 {
    font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
    font-size: 2.8rem;
    color: #333;
    margin: 110px 40px 0px 0px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(251, 248, 248, 0.921);
}

.cta-buttons .btn {
  display: inline-block;
  margin: 1.3rem 0.2rem;
  padding: 0.6rem 4.3rem;
  background: #f26ba0;
  color: #fff;
  border-radius: 6px;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.cta-buttons .btn:hover {
  background: #e14b82;
}

.cta-buttons1 .btn {
  display: inline-block;
  margin: 0.5rem 0.3rem;
  padding: 0.6rem 1rem;
  background: #fff;
  color: #f26ba0;
  border: 1px solid #f26ba0;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.3s;
}

/* 導入文・フォーム */
.intro-text {
    text-align: center;
}
.object {
  width: auto;
  border: 1px solid #f26ba0;
  border-radius: 4px;
  margin: 20px 150px;
  padding: 25px 30px;
}
.object_02 a{
  color: #f26ba0;
  font-size:large;
  font-weight: 600;
}

/* 共通セクションスタイル */
section {
    padding: 30px 0;
    border-bottom: 1px solid #f8d6e4;
}
section:last-of-type {
    border-bottom: none;
}

h2 {
    font-size: 1.8rem;
    color: #f26ba0;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #f26ba0;
    display: inline-block;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: none;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.section-images{
  text-align: right;
  margin: -100px 110px -110px 0px;
}

/* h2最新号の文字飾り”New” */
.fancy-title {
  position: relative;
  font-weight: bold;
  text-align: left;
  display: inline-block;
}

.fancy-title span {
  position: relative;
  z-index: 2;
  color: #f26ba0;
  font-size: 1.8rem;
  border-bottom: 2px solid #f26ba0;
  padding-bottom: 5px;
}

/* 背景の透かし英字 */
.fancy-title::before {
  content: attr(data-en);
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 5rem;
  color: rgba(119, 188, 255, 0.15);
  font-family: serif;
  font-style: italic;
  transform: rotate(-5deg);
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}
/* h2最新号の文字飾り”New”ここまで */


/* 最新号セクション */
.latest-issue-content {
    border: 1px solid #f8d6e4;
    border-radius: 12px;
    margin: 30px 20px;
    padding: 30px;
    background-color: #fcf6fa;
}
.latest-issue-header {
    margin-bottom: 30px;
}
.latest-issue-header h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.4rem;
}
.latest-issue-header .special-feature {
    margin: 0;
    font-weight: bold;
    font-size: 1.3rem;
}
.latest-issue-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 5px;
}
.issue-column.issue-illustration,
.issue-column.issue-image {
    flex-basis: 30%;
}
.issue-column.issue-summary {
    flex-basis: 45%;
    text-align: left;
}
.issue-summary ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9rem;
}
.issue-summary ul li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 8px;
}
.issue-summary ul li::before {
    content: '・';
    position: absolute;
    left: 0;
}
.issue-column img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.issue-actions {
    display: flex;
    gap: 20px;
}

/* 共通ボタン */
.button {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 12px;
    border-radius: 25px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}
.button:hover {
    opacity: 0.85;
    text-decoration: none;
    transform: translateY(-2px);
}
.button-video {
    background-color: #f26ba0;
    width: 25%;
}
.button-read {
    background-color: #e54242;
    width: 25%;
}
.button-pdf {
    background-color: #e54242;
    margin-top: 15px;
    max-width: 50%;
}

/* バックナンバー */
.back-numbers-section h2 { /*【修正】クラス名を指定して詳細度を上げる*/
    text-align: left;
}
.back-number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.back-number-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  height: 100%;
  min-height: 320px;
  position: relative;
}
.button-pdf {
  margin-top: auto;
  max-width: 50%;
  align-self: flex-start;
}

.back-number-item h3 {
    margin-top: 0;
    color: #f26ba0;
}
.back-number-item .other-content {
    font-size: 0.9rem;
    color: #666;
}
.other-content a{
  color: #e54242;
}

.memo{
  margin-top: 30px;
  color: #333;
}
.memo a{
 color: #a40c6c;
}

/* フッター */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #fff;
    background-color: #f26ba0;
    margin-top: 30px;
}

/***追従するトップへ戻るボタン***/
#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;
}
/***トップへ戻るボタンここまで***/


/* ===================================
   レスポンシブ対応
   =================================== */

/* PC用の設定 (768px以上) */
@media (min-width: 768px) {
    .main-visual h1 {
        font-size: 3.5rem;
    }
    .back-number-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

}

/* スマートフォン用の設定 (767px以下) */
@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 20px;
    }

    /* ヘッダー */
    .header .container {
        padding: 15px;
        flex-wrap: wrap; /*【追加】画面が狭いときに折り返すように*/
    }
    .header-logo {
        font-size: 15px;
        margin-right: 0; /*【修正】固定マージンを削除*/
    }
    .gnav-list {
        gap: 15px; /*【修正】スマホでのメニュー間隔を調整*/
    }
    .gnav-item a {
        font-size: 10px;
    }
    .gnav-item a:after {
        display: none;
    }

    /* 最新号セクションの3カラムレイアウトを縦積みに変更 */
    .latest-issue-body {
        flex-direction: column;
        align-items: center;
    }
    
    /* 最新号セクションのボタンも縦積みに変更 */
    .issue-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .issue-actions .button {
        width: 80%; /*【修正】ボタン幅を再指定*/
    }
    .button-video, .button-read {
        width: 80%; /*【修正】スマホではボタン幅を統一*/
    }

    /* Newのスマホ向け調整 */
    .fancy-title span {
        font-size: 1.4rem;
        padding-bottom: 3px;
    }

    .fancy-title::before {
        top: 15px;
        font-size: 3.5rem;
        transform: rotate(-3deg);
    }
    
    .back-number-grid {
        grid-template-columns: 1fr;
    }

    /* メルマガ説明文スマホ表示 */
    .object {
        margin: 20px auto;
        padding: 20px;
        text-align:justify;
        width: 100%;
        box-sizing: border-box;
        max-width: 500px;
    }

    .section-images{
        display: none;
    }

    .gsc-input {
    font-size: 16px;
    padding: 8px 12px !important; /* ← 適切なサイズの余白に修正 */
}
}


/* ===================================
   プロフィールページとアンカーリンク用のスタイル
   =================================== */
/*【修正】2つあった.profile-listの指定を1つに統合 */
.profile-list {
  margin-top: 60px;
  text-align: left;
  scroll-behavior: smooth;
  padding-bottom: 70vh; /* 【修正】%ではなくvhに */
}

.profile-item {
  background-color: #ffffff;
  border: 1px solid #f8d6e4;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.profile-item:last-child {
  margin-bottom: 0;
}

.profile-item p {
  margin: 0;
}

.profile-item p:first-of-type {
    margin-bottom: 10px;
}

.profile-item p strong {
  font-size: 1.2em;
  color: #333;
}

/* ===================================
   Googleカスタム検索用のスタイル
   =================================== */
.gsc-control-cse {
  padding: 1em;
  border: none !important;
  background-color: transparent !important;
}
.gcse-search {
  max-width: 500px;    /* 検索窓の最大幅（お好みで調整してください） */
  margin: 30px auto 0; /* 上に30pxの余白を取り、左右中央揃え */
  color: #fc8db9;
}
.gsc-search-button-v2 {
  padding: 10px 20px !important;
  border: 1px solid #f26ba0 !important;
  background-color: #f26ba0 !important;
}
.gsc-input-box {
  border: 1px solid #dfe1e5 !important;
  background: #fff !important;
}
.gsc-input-box:hover {
  border-color: #f4d4e1 !important;
  box-shadow: 0 1px 6px rgba(245, 164, 197, 0.5) !important;
}
.gsc-input {
    font-size: 16px;
    padding: 0px 700px;
}