@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* --- Swipeメッセージ表示位置調整 --- */
.space-top {
	padding-top: 60px;
}
/* --- 右上フローティングログインボタン --- */
.gp-top-login-btn {
    position: absolute; /* 親要素に関係なく絶対配置 */
    top: 40px; /* 上から40pxの位置 */
    right: 50px; /* 右から50pxの位置 */
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.8); /* 少し透ける白背景 */
    color: #333;
    border: 1px solid #ccc;
    border-radius: 20px; /* 丸みを持たせる */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    z-index: 100; /* 一番手前に表示 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.gp-top-login-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* スマホ表示時の微調整 */
@media (max-width: 768px) {
    .gp-top-login-btn {
        top: 15px;
        right: 20px;
        padding: 6px 15px;
        font-size: 12px;
    }
}
/* --- LPトップのロゴ専用スタイル --- */
.gp-main-logo {
    display: block;
    margin: 0 auto 20px auto; /* 左右中央寄せ、下に20pxの余白 */
    max-width: 300px; /* PCでの最大幅（お好みで数値を変えてください） */
    width: 80%; /* スマホ画面では少し余裕を持たせて縮小 */
    height: auto;
    border-radius: 0 !important; /* heroエリアの角丸指定をリセット */
    box-shadow: none !important; /* heroエリアの影指定をリセット */
}
/* ==========================================
   Gripop LP 専用スタイル (ブルーベース × ポップ)
========================================== */
.gripop-lp-wrapper {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.8;
}
/* --- 1. ファーストビュー (ヒーローエリア) --- */
.gp-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); /* 爽やかなブルーのグラデーション */
    border-radius: 0 0 24px 24px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.1);
}
.gp-hero h1 {
    font-size: 28px;
    font-weight: bold;
    color: #0284c7;
    margin-bottom: 5px;
    border: none; /* Cocoonデフォルトの見出し装飾を消す */
    background: none;
    padding: 0;
}
.gp-hero .en-copy {
    font-size: 16px;
    color: #0369a1;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}
.gp-hero img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
/* --- 共通：CTAボタン (ポップなアクセントカラー) --- */
.gp-btn {
    display: inline-block;
    background: #f472b6; /* ドット絵のポップさを表すピンク */
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 6px 15px rgba(244, 114, 182, 0.4);
    transition: all 0.3s ease;
}
.gp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 114, 182, 0.6);
}
/* --- 2 & 4. コンテンツセクション (画像とテキストの横並び) --- */
.gp-section {
    display: flex;
    flex-wrap: wrap; /* スマホでは自動で縦並びになる魔法 */
    align-items: center;
    gap: 40px;
    padding: 40px 30px;
    margin-bottom: 50px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}
.gp-section .text-box { flex: 1; min-width: 300px; }
.gp-section .img-box { flex: 1; min-width: 300px; text-align: center; }
.gp-section .img-box img {
    border-radius: 16px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.gp-section h2 {
    border: none;
    background: none;
    padding: 0;
    font-size: 26px;
    color: #0284c7;
    margin-bottom: 15px;
}
/* --- 3. 遊び方 (3ステップ) --- */
.gp-steps-title {
    text-align: center;
    color: #0284c7;
    border: none;
    background: none;
    font-size: 24px;
    margin-bottom: 30px;
}
.gp-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}
.gp-step-card {
    flex: 1;
    min-width: 250px;
    background: #f8fafc;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border-top: 5px solid #38bdf8; /* 上部にブルーのアクセントライン */
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.gp-step-card h3 {
    border: none;
    background: none;
    padding: 0;
    font-size: 20px;
    color: #0369a1;
    margin-bottom: 15px;
}
/* --- 料金比較表エリア --- */
.gp-pricing-wrapper {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    padding: 0 15px;
}
.gp-pricing-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    border: none;
}
.gp-pricing-sub {
    color: #666;
    margin-bottom: 30px;
}

/* テーブルのレスポンシブ対応（スマホで横スクロール） */
.gp-table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* テーブル本体のデザイン */
.gp-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    white-space: nowrap; /* 文字の意図しない改行を防ぐ */
}
.gp-pricing-table th, 
.gp-pricing-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
}
.gp-pricing-table th {
    font-size: 20px;
    color: #fff;
}
.gp-pricing-table .feature-name {
    text-align: left;
    font-weight: bold;
    color: #444;
    background: #fafafa;
}
.gp-pricing-table .small-text {
    font-size: 12px;
    color: #888;
    font-weight: normal;
}

/* プランごとのヘッダー色 */
.gp-pricing-table th:first-child {
    background: #fafafa;
    color: #333;
    border-top-left-radius: 12px;
}
.gp-pricing-table th.plan-free {
    background: #a8dadc; /* 爽やかなブルーグリーン */
}
.gp-pricing-table th.plan-premium {
    background: #ffb703; /* 目立つイエロー・オレンジ系 */
    border-top-right-radius: 12px;
}
.gp-pricing-table th span {
    font-size: 18px;
    font-weight: normal;
}
/* プレミアム列のハイライト */
.gp-pricing-table .premium-highlight {
    background: #fffcf2; /* ほんのり暖かい背景色 */
    color: #e85d04;
}
/* --- CTAボタンエリア（位置調整＆色指定の完全版） --- */
.gp-pricing-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px; /* 上部の余白 */
}
/* プレミアムボタンのオレンジグラデーション（復活！） */
.gp-btn-premium {
    background: linear-gradient(135deg, #ffb703, #fb8500) !important;
}
.gp-btn-premium:hover {
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.4);
    transform: translateY(-2px);
}
/* 画面幅が768px以下（スマホ）の時の位置調整 */
@media (max-width: 768px) {
    .gp-pricing-cta {
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 中央に配置 */
        gap: 3px; /* 縦の隙間 */
    }
    .gp-pricing-cta .gp-btn {
        display: block;
        width: 100%;
        max-width: 320px; /* ボタンの最大幅 */
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}
.gp-scroll-hint {
    display: none; /* PCでは基本非表示 */
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-top: -80px; /* テーブルに少し近づける */
    margin-bottom: 25px; /* ボタンとの余白 */
    animation: bounceHorizontal 2s infinite; /* 軽く動かして気づかせる */
}
.gp-scroll-hint span {
    display: inline-block;
    margin-left: 5px;
}
/* 画面幅が768px以下（スマホ・小さめタブレット）の時だけ表示 */
@media (max-width: 768px) {
    .gp-scroll-hint {
        display: block; 
    }
}
/* オマケ：矢印を少しだけ左右に揺らすアニメーション */
@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}
/* --- 既存会員用ログインリンク --- */
.gp-pricing-cta {
    margin-bottom: 0 !important; /* ボタンエリアの下余白を強制リセット */
}
.gp-login-hint {
    text-align: center;
    margin-top: -30px;
    font-size: 18px;
    color: #333;
	position: relative;
}
.gp-login-hint a {
    color: #0077b6; /* リンクらしい青色（お好みで変更OK） */
    text-decoration: underline;
    font-weight: bold;
}
.gp-login-hint a:hover {
    color: #023e8a;
}
/* --- マイページ（ダッシュボード）のスタイル --- */
.gp-mypage-wrapper {
    max-width: 600px;
    margin: 40px auto;
    font-family: sans-serif;
}
.gp-mypage-title {
    text-align: center;
    border: none;
    margin-bottom: 30px;
    font-size: 24px;
}
/* 情報カード */
.gp-info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.gp-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gp-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}
.gp-info-list li:last-child {
    border-bottom: none;
}
.info-label {
    color: #666;
    font-weight: bold;
}
.info-value {
    color: #333;
}
/* アクションカード（アップグレード / 解約） */
.gp-action-card {
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
}
.gp-card-free {
    background: #fffcf2;
    border: 2px solid #ffb703;
}
.gp-card-premium {
    background: #f0fdf4;
    border: 2px solid #4ade80;
}
.gp-action-card h3 {
    margin-top: 0;
    border: none;
    font-size: 20px;
}
/* フッターリンク群 */
.gp-mypage-footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
 /*   gap: 1px; */
    margin-top: 20px;
}
.gp-text-link {
    color: #0077b6;
    text-decoration: underline;
}
.link-logout {
    color: #e63946; /* ログアウトは少し赤っぽくして注意を引く */
}
#btn-clear {
	background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid #000;
	border-radius: 6px;       
}
#btn-clear:hover{
	background-color: #f8f8f8;
    color: red;       
}
#btn-send {
	background-color: rgba(224,242,254,1);
    color: #333;
    border: 1px solid #000;
	border-radius: 6px;       
}
#btn-send:hover{
	background-color: #fff;
    color: blue;
}
/************************************
** Simple membership セクション
************************************/
/*--------------------------------
swpm 登録フォーム　姓名非表示
---------------------------------*/
#swpm-registration-form .swpm-firstname-row,
#swpm-registration-form .swpm-lastname-row {
	display:none;
}
/*--------------------------------
swpm プロフィールページ メール項目編集不可
---------------------------------*/
#swpm-profile-form .swpm-email-row input{
	pointer-events: none;
	background: #F2F2F2;
	color: #999; /* 文字色も暗くして「触れない感」を出す */
    user-select: none; /* テキストの選択も防ぐ（スマホでの誤操作防止） */
}
/*--------------------------------
swpm プロフィールページ項目非表示
---------------------------------*/
#swpm-profile-form .swpm-firstname-row,
#swpm-profile-form .swpm-lastname-row,
#swpm-profile-form .swpm-phone-row,
#swpm-profile-form .swpm-street-row,
#swpm-profile-form .swpm-city-row,
#swpm-profile-form .swpm-state-row,
#swpm-profile-form .swpm-zipcode-row,
#swpm-profile-form .swpm-country-row,
#swpm-profile-form .swpm-company-row {
	display:none;
}
/* SWPMデフォルトの決済ボタンスタイルを上書きしてGripop風ボタンにする */
/* --- SWPM決済ボタン専用：LPと同じオレンジグラデーション --- */
/* 1. 外側のボタン本体（ここが綺麗なオレンジの枠になります） */
.gp-premium-payment-btn-wrap button,
.gp-premium-payment-btn-wrap input[type="submit"] {
    background-image: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%) !important;
    background-color: #ff5e62 !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    border-radius: 30px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important; /* 中央揃えを強力にするため flex を使用 */
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important; /* 内側の要素がはみ出すのを防ぐ */
}
/* ▼▼ 今回追加する超重要コード：内部に自動生成される青い部分を透明にする ▼▼ */
.gp-premium-payment-btn-wrap button span,
.gp-premium-payment-btn-wrap input[type="submit"] span {
    background: transparent !important; /* 青い背景を透明に */
    background-image: none !important; /* 青いグラデーションを消す */
    box-shadow: none !important; /* 余計な影を消す */
    text-shadow: none !important; /* 文字の影を消す */
    color: #ffffff !important; /* 文字色は白！ */
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 0 !important; /* 余計な余白を消して外側に合わせる */
    border: none !important;
}
/* 3. マウスを乗せたとき（ホバー時）のスタイル */
.gp-premium-payment-btn-wrap button:hover,
.gp-premium-payment-btn-wrap input[type="submit"]:hover {
    background-image: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15) !important;
}
/* --- Premium解約ボタンのデザイン（テキストリンク風） --- */
.gp-cancel-btn-wrap {
    text-align: center;
    margin-top: 20px;
}
/* aタグではなく、出力されるbuttonやinputをターゲットにする */
.gp-cancel-btn-wrap button,
.gp-cancel-btn-wrap input[type="submit"] {
    background: transparent !important; /* 背景を透明に */
    color: #888888 !important; /* 控えめなグレー */
    font-size: 14px !important;
    text-decoration: underline !important; /* 下線をつけてリンクっぽく */
    border: none !important; /* 枠線を消す */
    padding: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important; /* ボタンの影を消す */
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important; /* スマホの標準ボタンデザインをリセット */
    appearance: none !important;
}

/* マウスを乗せたとき（ホバー時） */
.gp-cancel-btn-wrap button:hover,
.gp-cancel-btn-wrap input[type="submit"]:hover {
    color: #ff5e62 !important; /* 少し警告色（赤系）にして目立たせる */
    text-decoration: none !important; /* 下線を消す */
    background: transparent !important;
}
/************************************
** Contact form 7 セクション
************************************/
/*「必須」文字デザイン*/
.required {
	font-size: .8em;
	padding: 5px;
	background: #F57500;
	color: #fff;
	border-radius: 3px;
	margin-right: 5px;
}
/*「任意」文字デザイン*/
.optional {
	font-size: .8em;
	padding: 5px;
	background: #000080;
	color: #fff;
	border-radius: 3px;
	margin-right: 5px;
}
/*チェックボックスデザイン*/
.checkbox-cf7 {
	background: orange;
	color: #000;
	margin: 1em;
	padding:4px 2px 2px;
	border-radius: 5px;
}
.checkbox-cf7 input[type=checkbox] {
	transform: scale(1.4);
	margin-right: 4px;
}
/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 8px 15px;
	margin-right: 10px;
	margin-top: 10px;
	border: 1px solid #d0d5d8;
	border-radius: 3px;
	background-color: #eff1f5;
	color:black;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}
/* 「送信する」ボタン */
#cf7-btn {
	display: block;
	padding: 15px;
	width: 400px;
	border:solid 2px #00BA7B;
	background: #00BA7B;
	color: white;
	font-size: 18px;
	font-weight: 300;
	border-radius: 2px;
	margin: 15px auto 0
}
#cf7-btn:hover {
	background: white;
	font-weight:600;
	color: #00BA7B;
	border:solid 2px #00BA7B;
}
/*入力内容不備*/
.wpcf7 form.invalid .wpcf7-response-output{
    color: #dc3232;
	font-weight: 900;
	border: 1.5px solid #dc3232;
	border-radius: 2px;
	margin: 1.5em 0;
	padding: 0.5em 1em;
	text-align: center;
}
/*送信成功*/
.wpcf7 form.sent .wpcf7-response-output {
background:#d5edda;
color:#185626;
border:1px solid #c4e5cc;
padding:10px
}
/*送信失敗*/
.wpcf7 form.failed .wpcf7-response-output {
background:#f7d7da;
color:#711d26;
border:1px solid #f4c6cb;
padding:10px
}
/*スパムなどで送信ブロックされた場合*/
.wpcf7 form.spam .wpcf7-response-output {
background:#fff2cf;
color:#846314;
border:1px solid #feedbd;
padding:10px
}
/************************************
** 一般セクション
************************************/
.center {
  text-align: center;
}
/* --- カスタム404ページ --- */
.gp-404-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh; /* 画面の高さの60%程度を確保して中央配置 */
    /* ↓ここがポイント：白の半透明グラデーションを画像に重ねて「透過して薄く」見せています */
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('/wp-content/uploads/media/gripop_firstview.webp');
    background-size: cover; /* 画面（枠）いっぱいに広げる */
    background-position: center; /* 画像を中央に合わせる */
    background-repeat: no-repeat; /* 繰り返しなし */
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px; /* Cocoonのコンテンツエリアに馴染むように少し角丸に */
}
.gp-404-title {
    font-size: 60px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    border: none; /* Cocoonの見出し装飾をリセット */
}
.gp-404-message {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}
/* トップページへのリンク */
.gp-404-home-link {
    display: inline-block;
    font-size: 18px; /* 16px以上の指定 */
    color: #0033cc; /* 背景に負けない濃い目の青色 */
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}
.gp-404-home-link:hover {
    opacity: 0.7;
    text-decoration: none;
}
/* スマホ用レスポンシブ対応 */
@media (max-width: 768px) {
    .gp-404-wrapper {
        min-height: 50vh;
    }
    .gp-404-title {
        font-size: 40px; /* スマホでは少し小さく */
    }
    .gp-404-message {
        font-size: 16px;
    }
    .gp-404-home-link {
        font-size: 16px;
    }
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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