/*
 Theme Name: GeneratePress Child
 Template: generatepress
 Version: 1.0
*/

/* ====================================
   Google Fonts
===================================== */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800&family=Noto+Sans+JP:wght@500;700&display=swap');
/* ====================================
   基本フォント
===================================== */

/* 本文 */
body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
}

/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6,
.moving-band,
.moving-band *,
.moving-band-small,
.moving-band-small *,
.value-label,
.value-title,
.future-catch {
    font-family: "M PLUS Rounded 1c", sans-serif !important;
    font-weight: 800 !important;
}


/* ====================================
   おやきちゃんLP 背景
===================================== */

/* 一番外側：パターン画像 */
body {
    background-color: #ffffff;
    background-image: url("https://oyakichan.com/wp-content/uploads/2026/09/oyakichan_background1-2.png");
    background-repeat: repeat;
    background-size: 500px auto;
}

/* LPコンテンツ部分：薄いクリーム */
.page-id-9 .site-content {
    background-color: #F2EFD6;
    margin-top: -5px;
}

.page-id-9 .inside-article {
    background-color: #F2EFD6;
}

/* ====================================
   投稿ページ：本文エリア背景
==================================== */

body.single #primary {
    background-color: #fff !important;
}

/* 投稿ページ：FV下の隙間をなくす */
body.single .site-content {
    margin-top: -5px;
}

/* ====================================
   spハンバーガーメニュー非表示
===================================== */

.menu-toggle {
	display:none !important
}

/* ====================================
   共通ヘッダーFV
==================================== */

.oyaki-header-fv {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 !important;
}

.oyaki-header-fv img {
    display: block;
    width: 100%;
    height: auto;
}

/* ====================================
   FV PC・SP切り替え
==================================== */

.fv-pc {
    display: block;
}

.fv-sp {
    display: none;
}

/* FV：Instagramアイコン */
.oyaki-header-fv {
    position: relative;
}

.oyaki-header-fv .fv-instagram {
    position: absolute;
    right: 40px;
    bottom: -50px;
    width: 45px !important;
    margin: 0 !important;
    z-index: 10;
}

.oyaki-header-fv .fv-instagram img {
    display: block;
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .fv-pc {
        display: none;
    }

    .fv-sp {
        display: block;
    }
	
	/* SP：FV下のInstagramアイコン */
.fv-sp {
    position: relative;
}

.fv-sp .fv-instagram-sp {
    position: absolute;
    right: 30px;
    bottom: -45px;
    width: 40px !important;
    margin: 0 !important;
    z-index: 10;
}

.fv-sp .fv-instagram-sp img {
    display: block;
    width: 100% !important;
    height: auto !important;
}
	
	/* SP：おやきちゃんGIF共通サイズ */
	 .oyaki-gif {
        width: 60px !important;
    }

    .oyaki-gif img {
        width: 100% !important;
        height: auto !important;
    }
}


/* ====================================
   お知らせ見出し：中央揃え＋赤い下線
==================================== */

.news-title {
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1px;
}

.news-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #D94A38;

    transform: scaleX(0);
    transform-origin: left center;
    animation: news-underline 1.5s ease-out 0.5s forwards;
}

@keyframes news-underline {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* ====================================
   スクロールアニメーション
===================================== */

/* キャラとオレンジ帯を横並び */
.heading-row {
    gap: 0 !important;
    align-items: center !important;
}

/* おやきちゃんGIFを帯より手前に表示 */
.heading-row img {
    position: relative;
    z-index: 2;
}


/* ---------- オレンジ帯 ---------- */

.moving-band {
    position: relative;
    z-index: 1;
    display: block;

    padding: 8px 20px 8px 45px;

    flex: 1 1 auto;
    min-width: 0;
}

/* キャラの後ろへ潜り込ませる */
.heading-row .moving-band {
    margin-left: -30px;
    z-index: 1;
}

/* 最初は幅0 */
.moving-band::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #F27C3C;
    border-radius: 999px;
    transition: width 1.5s ease-out;
}

/* 画面に入ったら伸びる */
.moving-band.is-visible::before {
    width: 100%;
}




/* ---------- 朱色の下線 ---------- */

.moving-underline {
	 font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1px;
}

.moving-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #D94A38;
    transition: width 2s ease-out;
}

.moving-underline.is-visible::after {
    width: 100%;
}

/* 守り子：2行目を上に詰める */
.mamorigo-subtitle {
    margin-top: -10px;
}



/* ---------- お問い合わせ前の薄オレンジ帯 ---------- */

.moving-band-small {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: fit-content;
    padding: 12px 20px;
}

.moving-band-small::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #FFCC80;
    border-radius: 999px;
    transition: width 2s ease-out;
}

.moving-band-small.is-visible::before {
    width: 100%;
}

/* 薄オレンジ帯もキャラの後ろへ潜らせる */
.heading-row .moving-band-small {
    margin-left: -30px;
    padding-left: 45px;
}

/* ====================================
   SP：オレンジ帯・薄オレンジ帯見出しサイズ
==================================== */
@media (max-width: 768px) {

     .moving-band,
    .moving-band-small {
        font-size: 16px;
    }
}

/* ========================================
   お知らせ
======================================== */

/* 1記事のカード */
.oyaki-news .news-card {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    border-radius: 14px;
    padding: 20px;
}

/* B：上部のオレンジライン */
.oyaki-news .news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #F27C3C;
}

/* お知らせ：アイキャッチを同じ大きさ・中央表示 */
.oyaki-news .news-image {
    display: block !important;
    width: 100% !important;
    height: 230px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* お知らせタイトル */
.oyaki-news .news-title-link,
.oyaki-news .news-title-link a {
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    color: #333333 !important;
    text-decoration: none !important;
    line-height: 1.5;
}

/* ホバー */
.oyaki-news .news-title-link a:hover {
    color: #F27C3C !important;
}

/* C：日付をオレンジのラベルに */
.oyaki-news .news-date {
    display: inline-block;
    width: fit-content;
    background-color: #F27C3C;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 12px;
    border-radius: 999px;
    margin-top: 8px;
}

/* SP */
@media (max-width: 768px) {

    .oyaki-news .news-card {
        padding: 16px;
        border-radius: 12px;
    }

    .oyaki-news .news-date {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ====================================
   プロフィール
===================================== */

/* プロフィール説明文 */
.profile-description {
    background-color: #FBE8C0;
    padding: 20px 24px;
    border-radius: 16px;
    margin-top: 30px;
}

/* 表＋画像 */
.profile-grid {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

/* 表側Container */
.profile-table {
    display: flex;
    justify-content: center;
}

/* 画像側Container */
.profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 表：左側 */
.profile-table table td:first-child {
    background-color: #F27C3C;
    color: #FFFFFF;
    font-weight: 700;
}

/* 表：右側 */
.profile-table table td:last-child {
    background-color: #F7D6BB;
    color: #333333;
}

/* 表全体 */
.profile-table table {
    width: 100%;
    max-width: 440px;
    border-collapse: collapse;
}

.profile-table table td {
    border: 1px solid #FFFFFF;
    padding: 10px 35px;
}

/* 表＋画像を囲う明るいクリーム背景 */
.content-box {
    background-color: #FFFEF1;
    padding: 24px 40px;
    border-radius: 16px;
}


/* ====================================
   SP：プロフィール
===================================== */

@media (max-width: 768px) {

    .content-box {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .profile-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 12px;
    }

    /* おやきちゃんを上 */
    .profile-image {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 8px;
    }

    .profile-image img {
        width: 80%;
        max-width: 350px;
        height: auto;
    }

    /* 表を下 */
    .profile-table {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .profile-table figure.wp-block-table {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.profile-table table {
    width: 100%;
}

    .profile-table table td {
        padding: 10px 12px;
    }

    .profile-description {
        padding: 18px 16px;
        border-radius: 14px;
        margin-top: 20px;
    }
	
	/* SP：プロフィール表の列幅調整 */
.profile-table table td:first-child {
  width: 40%;
        font-size: 14px;
}

.profile-table table td:last-child {
    width: 60%;
	
}
	
}


/* ====================================
   守り子テキスト背景
===================================== */

.mamorigo-description {
    background-color: #F6CE94;
    padding: 20px 24px;
    border-radius: 16px;
}

/* SP：守り子サブタイトルの文字サイズ */
@media (max-width: 768px) {
    .mamorigo-subtitle-sp {
        font-size: 17px !important;
    }
}

/* ====================================
   始まりの物語
===================================== */

/* 文章ボックス */
.story-text {
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
    background-color: #FBE8C0;
    padding: 24px 28px;
    border-radius: 16px;
}

/* 画像2枚：PCでは縦並び */
.story-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* 2枚を少し斜め＋左右にずらす */
.story-images > *:first-child {
    transform: translateX(-35px) rotate(6deg);
}

.story-images > *:last-child {
    transform: translate(50px, 20px) rotate(-6deg);
}
/* ====================================
   SP：始まりの物語
===================================== */

@media (max-width: 768px) {

    .story-text {
        max-width: none;
        padding: 18px 16px;
        border-radius: 12px;
    }

    /* 画像2枚を横並び */
    .story-images {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .story-images > * {
        width: auto;
        max-width: 45%;
    }

    .story-images img {
        width: auto;
        max-width: 100%;
        height: clamp(150px, 40vw, 200px);
        object-fit: contain;
    }
	
	/* SP：始まりの物語 画像位置調整 */
.story-images > *:first-child {
    transform: translateX(-10px) translateY(15px) rotate(6deg);
}

.story-images > *:last-child {
    transform: translate(10px, 8px) rotate(-6deg);
}
}


/* ====================================
   大切にすること
===================================== */

/* 「文化」＋「長野の魅力を届ける」など */
.value-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    margin-bottom: 16px;
}

/* オレンジライン */
.value-title-row::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 0;
    bottom: 2px;
    height: 4px;
    background-color: #F27C3C;
    z-index: 0;
}

/* 「文化」などのラベル */
.value-label {
    position: relative;
    z-index: 1;

    background-color: #FFFEF1;
    padding: 4px 8px;
    border-radius: 14px;

   font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    color: #A46E62;

    margin: 0;
    flex-shrink: 0;
}

/* 「長野の魅力を届ける」など */
.value-title {
    position: relative;
    z-index: 1;
   font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    margin: 0;
}

/* 大切にすること：黒文字だけ中央揃え */
.value-title {
    flex: 1;
    text-align: center;
}

/* ====================================
  SP:大切にすること
===================================== */

@media (max-width: 768px) {

    .value-title-row {
        gap: 10px;
        margin-bottom: 12px;
    }

    .value-title-row::after {
        left: 6px;
        right: 0;
        bottom: 4px;
        height: 3px;
    }

    .value-label {
    padding: 5px 9px;
    border-radius: 12px;
    font-size: 16px;
}

    .value-title {
    font-size: 18px;
    text-align: center;
    white-space: nowrap;
}
}


/* ====================================
   「長野といえば、おやきちゃん」
   ＋ 夢セクション
===================================== */

/* 文字＋画像を入れているGrid */
.dream-grid {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;

    padding-top: 20px !important;
    padding-bottom: 20px !important;

   background-color: transparent !important;

background-image:
  radial-gradient(
    ellipse 85% 70% at 55% 50%,
   rgba(255,205,120,.50) 0%,
rgba(255,215,145,.40) 35%,
rgba(255,225,170,.27) 60%,
rgba(255,230,185,.12) 78%,
    rgba(255,230,185,0) 100%
  );
}
/* 文字側Container */
.dream-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 画像側Container */
.dream-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 「長野といえば、おやきちゃん」 */
.future-catch {
    color: #F26B3A;
    font-size: 48px;
    line-height: 1.4;
    margin: 0;

    /* 白フチ */
    -webkit-text-stroke: 5px #FFFFFF;
    paint-order: stroke fill;

    /* 外側のブラウンフチ */
    filter:
        drop-shadow(2px 0 0 #B77A68)
        drop-shadow(-2px 0 0 #B77A68)
        drop-shadow(0 2px 0 #B77A68)
        drop-shadow(0 -2px 0 #B77A68);
}

/* PC */
@media (min-width: 769px) {
    .future-catch {
        white-space: nowrap;
    }
}

/* SP */
@media (max-width: 768px) {
    .dream-grid {
        max-width: 100%;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .future-catch {
        font-size: clamp(28px, 8vw, 34px);
        -webkit-text-stroke: 3px #FFFFFF;
        white-space: normal;
    }
	
	.dream-image img {
    width: auto !important;
    max-width: 240px !important;
    height: auto !important;
}
	
	/* SP：「長野と言えば、おやきちゃん」と画像の間を詰める */
    .future-catch-sp {
        margin-bottom: -25px !important;
    }
}

/* ====================================
   「長野と言えば、おやきちゃん」
   PC・SP表示切り替え
==================================== */

/* PCではSP用を非表示 */
.future-catch-sp {
    display: none !important;
}

/* SP */
@media (max-width: 768px) {

    .future-catch-pc {
        display: none !important;
    }

    .future-catch-sp {
        display: block !important;
    }
}

/* ====================================
   SP：生みの親 写真
===================================== */

@media (max-width: 768px) {

    .parent-photo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .parent-photo img {
        display: block;
        width: 75% !important;
        max-width: 330px !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ====================================
   JUNK FOOD OPERA：SPのみ縦並び
==================================== */
@media (max-width: 768px) {

    .junk-link-row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        text-align: center;
    }
}

/* ====================================
   SP：問い合わせフォーム
   左イラスト15%・ボタン70%・右イラスト15%
==================================== */
/* ライセンス案内：PCのみ文字を大きく */
@media (min-width: 769px) {
    .license-text {
        font-size: 18px;
        line-height: 1.8;
    }
}

/* お問い合わせボタン：アイコン＋文字を中央 */
.contact-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
}

@media (max-width: 768px) {

    /* 左右イラスト */
    .contact-side-image {
        flex: 0 0 15% !important;
        width: 15% !important;
        max-width: 15% !important;
    }

    .contact-side-image img {
        display: block;
        width: 100% !important;
        height: auto !important;
    }

    /* 中央：問い合わせボタン部分 */
    .contact-button-wrapper {
        display: flex !important;
        justify-content: center !important;
        flex: 0 0 70% !important;
        width: 70% !important;
        max-width: 70% !important;
    }

    /* ボタン本体 */
    .contact-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        white-space: nowrap;
    }
}

/* ====================================
   旧GeneratePressヘッダー非表示
==================================== */

#masthead.site-header {
    display: none !important;
}

/* ====================================
   おやきちゃん フッター
===================================== */

/* フッター全体をオレンジ */
.site-info {
    background-color: #F98A4B;
}

/* ロゴが入っているフッター部分もオレンジ */
.site-footer {
    background-color: #F98A4B;
}

/* ロゴ画像 */
.site-footer img {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin-top: 28px;
}

/* スマホ */
@media (max-width: 768px) {
    .site-footer img {
        width: 200px;
        margin-top: 20px;
    }
}

/* ====================================
   グッズ購入 追従ボタン
===================================== */

.goods-floating {
    position: fixed !important;
    right: 20px;
    top: 80%;
    transform: translateY(-50%);
    z-index: 9999;

    width: 150px;
}

/* 画像 */
.goods-floating img {
    display: block;
    width: 100% !important;
    height: auto !important;
}

/* スマホ */
@media (max-width: 768px) {

    .goods-floating {
        top: auto;
        right: 12px;
        bottom: 90px;
        transform: none;

        width: 100px;
    }
}

/* ====================================
   投稿ページ
===================================== */
/* 投稿詳細：投稿者名を非表示 */
.single-post .byline {
    display: none;
}

