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

/* --- Google Fonts (Zen Kaku Gothic New) を読み込む --- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}

/*フロント固定ページのシェアボタンを非表示*/
.home.page .sns-share{
  display: none;
}

/*フロント固定ページのフォローボタンを非表示*/
.home.page .sns-follow{
  display: none;
}

/*フロント固定ページの投稿日を非表示*/
.home.page .post-date{
  display: none;
}

/*フロント固定ページの更新日を非表示*/
.home.page .post-update{
  display: none;
}

/*フロント固定ページの投稿者名を非表示*/
.home.page .author-info{
  display: none;
}

/************************************
** ■見出しカスタマイズ（h1-6）
************************************/
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{ /*見出し初期化*/
  padding: 0;
  margin: 0;
  color:#000;
  font-size: medium;
  border-collapse: separate;
  border-spacing: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  line-height: normal;
  position:relative;
  background: none;
  font-family: "Zen Kaku Gothic New", serif;
}

.article h1{ /*見出し１（タイトル）カスタマイズ*/
  font-size: 22px; /*フォントサイズ*/
  letter-spacing: 1px; /*文字間隔*/
  margin: -8px -8px 20px -8px;
  padding: 9px 10px 9px 10px;
  }

.article h2{ /*見出し２カスタマイズ*/
  font-size: 30px; /*フォントサイズ*/
  letter-spacing: 2px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 10px 7px 10px 10px;
  line-height: 27px; /*高さ*/
}

.article h3{ /*見出し３カスタマイズ*/
  font-size: 18px; /*フォントサイズ*/
  letter-spacing: 2px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 9px 7px 9px 10px;
  line-height: 25px; /*高さ*/
}

.article h4{ /*見出し４カスタマイズ*/
  font-size: 16px; /*フォントサイズ*/
  letter-spacing: 2px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 8px 7px 8px 10px;
  line-height: 23px; /*高さ*/
}

.article h5{ /*見出し５カスタマイズ*/
  font-size: 16px; /*フォントサイズ*/
  letter-spacing: 2px; /*文字間隔*/
  margin: 35px 20px 20px 20px;
  padding: 5px 5px 5px 5px;
  line-height: 27px; /*高さ*/
}

.article h6{ /*見出し６カスタマイズ*/
  font-size: 16px; /*フォントサイズ*/
  letter-spacing: 2px; /*文字間隔*/
  margin: 35px 0px 20px 0px;
  padding: 8px 16px 8px 25px;
  line-height: 25px; /*高さ*/
  position: relative;
}

p{
  font-family: "Zen Kaku Gothic New", serif;
}

h1, h2, h3, h4, h5, h6 {
    white-space: normal; /* 改行を有効にする */
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.wp-block-columns.reverse-on-mobile {
        display: flex;
        flex-direction: column-reverse !important;
      }
}

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

    body {
        background-color: #fff;
		font-family: 'Zen Kaku Gothic New', sans-serif !important;
    }

    .heading {
        line-height: 3rem;
    }

    .first-view-back,
    .second-contents-back,
    .third-contents-back {
        width: 100vw;
        position: relative;
    }

    .first-view-image1 {
        width: 100vw;
        display: block;
    }

    .first-view-image2 {
        position: absolute;
        width: 18vw;
        top: 58%;
        left: 58vw;
    }

    .first-view-image3 {
        width: 73vw;
        position: absolute;
        top: 33%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .second-contents-image1 {
        width: 60vw;
        display: block;
        position: relative;
        left: 49%;
        transform: translateX(-50%);
    }

    .second-contents-image2 {
        width: 8%;
        position: absolute;
        top: 60%;
        left: 49.5%;
        transform: translate(-50%, -50%);
    }

    .third-contents-image1 {
        width: 50vw;
        display: block;
        position: relative;
        left: 49%;
        transform: translateX(-50%);
    }

    .third-contents-image2 {
        width: 6%;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

	h2.wp-block-heading.heading.pc-image{
        padding-top: 10rem;
    }

	.twin-image{
        height: 500px;
        padding-left: 10%;
    }

    .last-contents-back {
        width: 100vw;
        position: relative;
        background-color: #C3B3A3;
        padding: 100px 0;
    }

    .last-contents-image1 {
        width: 50vw;
        display: block;
        position: relative;
        left: 49%;
        transform: translateX(-50%);
        padding-bottom: 50px;
    }

    .last-contents-image2 {
        width: 6%;
        position: absolute;
        top: 42%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .button-link {
        width: 20vw;
        text-decoration: none;
    }

    .buy-button {
        background-color: #000;
        color: #fff;
        padding: 1vw 5vw;
        width: 20vw;
        text-align: center;
        margin: 0 auto;
        border-radius: 50px;

        /* --- ↓ここから追記 --- */

        /* 1. ガタつき防止のため、最初から透明な枠線を持たせる */
        border: 1px solid transparent;

        /* 2. 「緩やかに」変化させるための設定（0.3秒かけて変化） */
        transition: all 0.3s ease;

        /* カーソルを指の形にする（お好みで） */
        cursor: pointer;
    }

    /* ホバーした時のスタイルを定義 */
    .buy-button:hover {
        background-color: #fff;
        /* 背景を白に */
        color: #000;
        /* 文字を黒に */
        border: 1px solid #000;
        /* 黒い枠線を表示 */
    }

    @media screen and (max-width: 768px) {

        .pc-image,
        .pc-br {
            display: none;
        }

        .sp-image,
        .br-sp {
            display: block;
        }

        .main-text {
            font-size: 1.1rem;
            margin-top: 10vw;
        }

        .first-view-image2 {
            position: absolute;
            width: 100vw;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .first-view-image3 {
            position: absolute;
            width: 36%;
            top: 17%;
            left: 50%;
            transform: translateX(-50%);
        }

        .second-contents-image1 {
            width: 80vw;
            display: block;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
        }

        .heading {
            font-size: 2.0rem !important;
            line-height: 2.5rem;
            padding-top: 4rem !important;
            padding-left: 0 !important;
            margin-bottom: 1rem !important;
            text-align: center;
            margin-top: 0 !important;
            margin-left: 0 !important;
        }

        .heading-2 {
			line-height: 3rem;
            padding-top: 0 !important;
            font-size: 2.0rem !important;
            line-height: 2.5rem;
            padding-left: 0 !important;
            margin-bottom: 1rem !important;
            text-align: center;
			margin-top: 0 !important;
            margin-left: 0 !important;
        }
		

        .sub-text {
            padding-left: 0 !important;
            text-align: center;
            margin-bottom: 4rem !important;
        }

        .third-contents-image1 {
            width: 80vw !important;
            display: block;
            position: relative;
            left: 50% !important;
            transform: translateX(-50%);
            margin-bottom: 30px;
        }

        .sp-spacer {
            height: 30px !important;
        }
		
		.sp-spacer-zero{
            height: 0 !important;
        }

        .buy-button {
            width: 80vw !important;
            margin: 0 auto !important;
        }

        /* レイアウト全体を包む大枠 */
        .product-layout-container {
            display: flex;
            /* Flexboxを有効にする */
            flex-direction: column;
            /* 子要素（行）を縦に並べる */
            align-items: center;
            /* 子要素（行）を中央揃えにする */
            gap: 20px;
            /* 各「行」の間のスペース */
            padding-bottom: 30px;
            /* 上下の余白 */
        }

        .product-row-top img,
        .product-row-bottom img {
            width: 150px;
        }

        /* 上段の行 */
        .product-row-top {
            display: flex;
            justify-content: center;
            /* 中の1枚のカードを中央に配置 */
        }

        /* 下段の行 */
        .product-row-bottom {
            display: flex;
            justify-content: center;
            /* 2枚のカードをグループとして中央に配置 */
            gap: 20px;
            /* 2枚のカードの間のスペース */
        }
		
		        .product-row-2{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
		
		        .product-row-2 img {
            width: 150px;
        }
		
		.product-row-2.sp-image{
			    display: flex;
    			flex-direction: row;
    			justify-content: center;
				margin-bottom:30px;
		}
		
		.last-contents-image1 {
            width: 80vw !important;
            left: 50% !important;
        }


    }

    @media screen and (min-width: 769px) {

        .pc-image,
        .pc-br {
            display: block;
        }

        .sp-image,
        .br-sp {
            display: none;
        }
    }