@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
body {
    font-size: 15px; /* 16px → 15px */
    line-height: 1.75; /* 1.8 → 1.75 */
}

main {
  padding-top: 0px;
}

/* ベースフォントサイズ */
table, th, td, li, p
,div.mbbackr10,div.su-note-inner
,div.su-box-content {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
}
span {
    font-size: 1.2rem !important;
}

div.su-heading-inner {
  display: block !important;
}
div.su-button-center > a > span > b {
  font-size: 1.7rem !important;
}
@media (max-width: 768px) {
    table, th, td, li, p, span, b, strong
    ,div.mbbackr10
    ,div.su-note-inner
    ,div.su-box-conten {
        font-size: 1,1rem !important;
    }
    /* 特定の要素を除外 */
    span.menu-caption {
      font-size: 0.7rem !important;
    }
    div.su-button-center > a > span > b {
      font-size: 1.5rem !important;
    }
}

/* aタグ */
a {
    color: #0098fe;
    text-decoration: none;
    transition: color 0.15s ease;
    border-bottom: 1px solid transparent;
}
a:hover {
    color: #0077cc;
    border-bottom-color: rgba(0, 119, 204, 0.5);
}
a:visited {
    color: #7c3aed;
}
a:active {
    color: #005fa3;
}


/* ▼固定ページ タイトル非表示 */
article header {
    display: none;
}

/* ▼メニュー関係 */
#header-container
, ul.menu-top {
  background-color: #ffffff !important;
}
.header-container-in.hlt-top-menu {
    width: 90%;
}
#navi .navi-in>ul>li>a {
    padding: 0 0.5em;
}
:root {
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
/* 検索ボタン */
div.item-label:has(.fa-search),
li.menu-button > a:has(.fa-search) {
    padding: 0.1rem 0.3rem;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    color: #ffffff !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
div.item-label:has(.fa-search):hover,
li.menu-button > a:has(.fa-search):hover {
    background: linear-gradient(135deg, #ff6666 0%, #ff0000 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15);
}
/* 配送ボタン */
div.item-label:has(.fa-truck),
li.menu-button > a:has(.fa-truck) {
    padding: 0.1rem 0.3rem;
    background: linear-gradient(135deg, #34d058 0%, #28a745 100%);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    color: #ffffff !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
div.item-label:has(.fa-truck):hover,
li.menu-button > a:has(.fa-truck):hover {
    background: linear-gradient(135deg, #4ade80 0%, #34d058 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15);
}



/* ▼モバイルスライドインメニュー */
#navi-menu-content {
    background: linear-gradient(
        165deg,
        #1a1a1a 0%,
        #0a0a0a 100%
    );
    color: #ffffff;  
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#navi-menu-content .sub-menu a,#navi-menu-content .menu-drawer a {
    color: #ffffff !important;
    font-size: 1rem;
}
.fa-times:before {
    color: #fff;
}
li.menuli-margin-top {
	margin-top: 1rem;
}
span.fa {
	color: #333;
}


/* ▼Contact Form 7 */
div.wpcf7-form {
  padding: 0px;
}

/* フォーム全体 */
form.wpcf7-form {
    background: linear-gradient(135deg, #ffd700 0%, #FDC734 100%);
    border-radius: 1rem;
    padding: clamp(1rem, 3vw, 2rem); /* レスポンシブ対応 */
}

/* 白い背景エリア */
form.wpcf7-form div.bgw {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    margin: clamp(0.5rem, 2vw, 1rem);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

/* 送信ボタン */
form.wpcf7-form input.wpcf7-submit {
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
    border: none;
    border-radius: 0.5rem;
    color: #1a1a1a;
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.4rem); /* レスポンシブ */
    padding: 0.875rem 2rem;
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 1.5rem auto 0;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

form.wpcf7-form input.wpcf7-submit:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ff9800 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15);
    color: #dc143c;
}

form.wpcf7-form input.wpcf7-submit:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #e5c100 0%, #e68900 100%);
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

/* モバイル対応（メディアクエリ不要に） */

/* 入力フィールド */
form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="email"],
form.wpcf7-form input[type="url"],
form.wpcf7-form input[type="tel"],
form.wpcf7-form textarea {
    background-color: #fff;
    color: #1a1a1a;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

form.wpcf7-form input[type="text"]:focus,
form.wpcf7-form input[type="email"]:focus,
form.wpcf7-form input[type="url"]:focus,
form.wpcf7-form input[type="tel"]:focus,
form.wpcf7-form textarea:focus {
    outline: none;
    border-color: #FDC734;
    box-shadow: 0 0 0 3px rgba(253, 199, 52, 0.1);
}

/* チェックボックス */
form.wpcf7-form input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #FDC734; /* モダンブラウザ対応 */
}

/* ファイル選択 */
form.wpcf7-form input[type="file"] {
    padding: 0.5rem;
    border: 1px dashed #d1d5db;
    border-radius: 0.5rem;
    width: 100%;
    cursor: pointer;
    background-color: #f9fafb;
    transition: border-color 0.15s ease;
}

form.wpcf7-form input[type="file"]:hover {
    border-color: #FDC734;
    background-color: #fffbeb;
}

/* セレクトボックス */
form.wpcf7-form select.wpcf7-form-control {
    background-color: #fff;
    color: #1a1a1a;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

form.wpcf7-form select.wpcf7-form-control:focus {
    outline: none;
    border-color: #FDC734;
    box-shadow: 0 0 0 3px rgba(253, 199, 52, 0.1);
}

/* 必須マーク */
form.wpcf7-form span.redtip {
    color: #dc2626;
    font-weight: 600;
    margin-right: 0.25rem;
}

/* エラーメッセージ */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    color: #92400e;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #d1fae5;
    border: 1px solid #34d399;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    color: #065f46;
}

/* タブレット・PC */
@media screen and (min-width: 768px) {
    form.wpcf7-form input.wpcf7-submit {
        width: auto;
        min-width: 300px;
    }
}


/* ▼レビュー口コミお客様の声 */
.arrow_box {
	position: relative;
	background: #f0f0f0;
	border: 4px solid #f0f0f0;
}
.arrow_box:after, .arrow_box:before {
	bottom: 90%;
	left: 2%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.arrow_box:after {
	border-color: rgba(240, 240, 240, 0);
	border-bottom-color: #f0f0f0;
	border-width: 10px;
	margin-left: -10px;
}
.arrow_box:before {
	border-color: rgba(240, 240, 240, 0);
	border-bottom-color: #f0f0f0;
	border-width: 16px;
	margin-left: -16px;
}

/* ▼目次 */
div.toc {
	border: 2px solid #333333 !important;
	border-radius: 5px;
	padding: 30px;
	position: relative;
	width: 100%;
}
div.toc::before {
	background-color: #ffffff;
	color: #333333;
	content: "INDEX";
	font-weight: bold;
	left: 30px;
	padding: 3px 10px;
	position: absolute;
	top: -15px;
}
#toc_container.no_bullets li, #toc_container.no_bullets ul, #toc_container.no_bullets ul li, .toc_widget_list.no_bullets, .toc_widget_list.no_bullets li {
    padding-left: 10px;
    padding-bottom: 5px;
}


/* ▼パンくずリスト */
#pankz {
    background: linear-gradient(to right, #f0f9ff 0%, #fff 100%);
    padding: 12px 20px;
    margin: 0 0 30px 0;
    border-radius: 8px;
    border-left: 4px solid #0098fe;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 2px 4px rgba(0, 152, 254, 0.1);
}

#pankz a {
    color: #0098fe;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
    padding: 3px 8px;
    border-radius: 6px;
}

#pankz a:hover {
    color: #fff;
    background: #0098fe;
}
#pankz a:hover > h1 > strong {
    color: #fff;
}
#pankz a:visited {
    color: #7c3aed;
}

#pankz span {
    color: #0098fe;
    margin: 0 8px;
}

#pankz h1 {
    display: inline !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0098fe !important;
    margin: 0;
    padding: 0 !important;
}

@media (max-width: 768px) {
    #pankz {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* ▼見出し */

/* H1見出し - ページタイトル */
.article h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 1rem;
    border-bottom: 4px solid #0098fe; /* 3px → 4px に */
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* H2見出し - グラデーション背景 */
.article h2,
.entry-content h2 {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #0098fe 0%, #00c6ff 100%);
    padding: 15px 20px 15px 25px;
    border-radius: 8px;
    font-weight: 700;
    margin: 40px 0 25px;
    box-shadow: 0 3px 10px rgba(0, 152, 254, 0.2);
}

.article h2::before,
.entry-content h2::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 60%;
    background: #fff;
    border-radius: 3px;
}

/* H3見出し - 左アクセント＋下線 */
.article h3,
.entry-content h3 {
    position: relative;
    color: #0098fe;
    padding: 10px 10px 10px 20px;
    border-left: 5px solid #0098fe;
    border-bottom: 2px solid #e3f5ff;
    margin: 35px 0 20px;
    font-weight: 700;
    background: linear-gradient(to right, #f0f9ff 0%, transparent 100%);
    border-radius: 0 4px 0 0;
}

.article h3::after,
.entry-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #0098fe;
    border-radius: 0 2px 2px 0;
}

/* H4見出し - シンプルドット */
.article h4,
.entry-content h4 {
    position: relative;
    color: #333;
    padding: 8px 0 8px 25px;
    margin: 30px 0 15px;
    font-weight: 700;
    border-top: none;
    border-bottom: none;
}

.article h4::before,
.entry-content h4::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #333333;
    font-size: 14px;
}

/* H5見出し - シンプルアンダーライン */
.article h5,
.entry-content h5 {
    color: #555;
    padding: 5px 0 8px;
    margin: 25px 0 12px;
    font-weight: 700;
    border-bottom: 2px solid #0098fe;
    display: inline-block;
    border-radius: 0; /* 追加：角を削除して統一感 */
}

/* H6見出し - 最小限デザイン */
.article h6,
.entry-content h6 {
    color: #666;
    padding: 5px 0 5px 12px;
    margin: 20px 0 10px;
    font-weight: 700;
    border-left: 3px solid #0098fe;
    border-radius: 0 2px 2px 0; /* 追加：右側に丸み */
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article h1 {
        font-size: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .article h2,
    .entry-content h2 {
        padding: 12px 15px 12px 25px;
        font-size: 1.25em;
    }
    
    .article h3,
    .entry-content h3 {
        padding: 8px 8px 8px 25px;
        font-size: 1.25em;
    }
    
    .article h4,
    .entry-content h4 {
        padding: 6px 0 6px 30px;
        font-size: 1.2rem;
    }
}

#kensaku_title::before {
    content: none;
}
#kensaku_title {
    padding: 0 0 0.75rem 0 !important;
    position: relative;
}

#kensaku_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0098fe 0%, rgba(0, 152, 254, 0.3) 70%, transparent 100%);
    border-radius: 2px;
}



/* ▼その他 */
div.mbbackr10 {
    background: #fff;
    padding: clamp(1.5rem, 5%, 3rem);
    border-radius: 12px;
    border: 2px solid #0098fe;
    box-shadow: 0 4px 16px rgba(0, 152, 254, 0.15);
    margin: 20px 0;
}
form div.mbbackr10 {
  border: 2px solid #dddddd;
}
input.wpcf7-submit {
    padding: 20px 30px;
}

#footer a:not(.sns-button) {
    text-decoration: none;
}
#footer-in li {
   font-size: 1rem;
}
section {
    width: auto !important;
}


/* ▼youtube-report */
#youtube-report {
  max-width: 1040px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-family: "Noto Sans JP", sans-serif;
}

/* ▼ figureやキャプションなど他スタイルは維持 */
#youtube-report figure {
  margin: 0 0 1rem;
  text-align: center;
}

#youtube-report figcaption {
  font-size: 0.9rem;
  color: #6b7280;
}

#youtube-report p {
  line-height: 1.8;
  margin-bottom: 1em;
}

#youtube-report a {
  color: #0ea5e9;
  text-decoration: none;
}

#youtube-report .cta-buttons {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

#youtube-report .btn-line,
#youtube-report .btn-form {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
}

#youtube-report .btn-line {
  background: #06c755;
  color: #fff;
}

#youtube-report .btn-form {
  background: #0ea5e9;
  color: #fff;
}

/* ▼ #youtube-report 内の YouTube Shorts 用 */
#youtube-report .video-container.short-916 {
  max-width: 400px;          /* 縦動画の幅。PC表示時 */
  margin: 30px auto;         /* 中央寄せ */
}

#youtube-report .video-container.short-916 .video {
  position: relative;
  padding-bottom: 177.78%;   /* ← 正しい9:16比率 */
  margin-top: 0 !important;  /* Cocoonの余白を無効化 */
  height: 0;
  overflow: hidden;
}

#youtube-report .video-container.short-916 .video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ▼ モバイルは幅いっぱい */
@media (max-width: 480px) {
  #youtube-report .video-container.short-916 {
    max-width: 100%;
  }
  #youtube-report .video-container.short-916 .video iframe {
    border-radius: 0;
  }
}




/* ▼クーポン見出し（v_kakakuテーブルの直前のh4） */

/* 有効なクーポン（entry-title1） - 明るい暖色 */
h4.entry-title1:has(+ .v_kakaku) {
  position: relative;
  color: #d84315;
  background: linear-gradient(to right, #fff3e0 0%, transparent 100%);
  padding: 10px 10px 10px 28px;
  border-left: 5px solid #ff6f00;
  border-bottom: 2px solid #ffe0b2;
  border-top: none;
  margin: 30px 0 15px;
  font-weight: 700;
  border-radius: 0 4px 0 0;
}

h4.entry-title1:has(+ .v_kakaku)::before {
  content: '🏷️';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
}

h4.entry-title1:has(+ .v_kakaku)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #ff6f00;
  border-radius: 0 2px 2px 0;
}

/* 無効なクーポン（entry-title2） - 地味なグレー */
h4.entry-title2:has(+ .v_kakaku) {
  position: relative;
  color: #757575;
  background: linear-gradient(to right, #f5f5f5 0%, transparent 100%);
  padding: 10px 10px 10px 28px;
  border-left: 5px solid #bdbdbd;
  border-bottom: 2px solid #e0e0e0;
  border-top: none;
  margin: 30px 0 15px;
  font-weight: 700;
  border-radius: 0 4px 0 0;
}

h4.entry-title2:has(+ .v_kakaku)::before {
  content: '🏷️';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.5;
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
}

h4.entry-title2:has(+ .v_kakaku)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #bdbdbd;
  border-radius: 0 2px 2px 0;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}