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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* =========================================
   Cocoon標準メニュー停止
========================================= */

#navi,
.mobile-menu-buttons,
#sidebar {
    display: none !important;
}


/* =========================================
   メイン幅調整
========================================= */

#main {

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;

    float: none !important;
}


/* =========================================
   ヘッダー
========================================= */

#header {

    position: fixed !important;

    top: 0;
    left: 0;

    width: 100%;

    background: transparent !important;

    z-index: 9999;

    border: none !important;
    box-shadow: none !important;
}

.header-in {

    padding: 12px 20px !important;

    background: transparent !important;
}


/* =========================================
   ハンバーガーボタン
========================================= */

.custom-menu-trigger {

    position: fixed;

    top: 24px;
    right: 24px;

    width: 30px;
    height: 22px;

    padding: 0;

    border: none;
    background: transparent;

    cursor: pointer;

    z-index: 10010;
}

.custom-menu-trigger span {

    position: absolute;

    left: 0;

    width: 100%;
    height: 2px;

    background: #243843;

    transition: .35s ease;
}

.custom-menu-trigger span:nth-child(1) {
    top: 0;
}

.custom-menu-trigger span:nth-child(2) {
    top: 10px;
}

.custom-menu-trigger span:nth-child(3) {
    bottom: 0;
}


/* =========================================
   開いた時
========================================= */

.custom-menu-trigger.is-active span {

    background: #ffffff;
}

.custom-menu-trigger.is-active span:nth-child(1) {

    transform: translateY(10px) rotate(45deg);
}

.custom-menu-trigger.is-active span:nth-child(2) {

    opacity: 0;
}

.custom-menu-trigger.is-active span:nth-child(3) {

    transform: translateY(-10px) rotate(-45deg);
}


/* =========================================
   フルスクリーンメニュー
========================================= */
/* =========================================
   フルスクリーンメニュー
========================================= */

.custom-full-menu {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;

    background-color: rgba(36, 56, 67, 0.7) !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding-top: 22vh;

    z-index: 10000;

    opacity: 0;
    visibility: hidden;

    /* ← 超重要 */
    pointer-events: none;

    transition:
      opacity .4s ease,
      visibility .4s ease;

    /* iPhone Safari対策 */
    transform: translateZ(0);
}


/* =========================================
   開いた時
========================================= */

.custom-full-menu.is-open {

    opacity: 1;

    visibility: visible;

    /* ← 開いた時だけ触れる */
    pointer-events: auto;
}

/* =========================================
   メニュー本体
========================================= */

.custom-menu-content {

    width: 100%;

    text-align: center;
}


/* リスト */

.custom-menu-content ul {

    list-style: none;

    margin: 0;
    padding: 0;
}


/* 各項目 */

.custom-menu-content li {

    margin: 30px 0;
}


/* =========================================
   メニュー文字
========================================= */

.custom-menu-content a {

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 1.1rem;
    font-weight: 700;

    /* 高級感 */
    letter-spacing: .22em;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    transition: opacity .3s ease;
}


/* ホバー */

.custom-menu-content a:hover {

    opacity: .7;
}


/* =========================================
   アイコン
========================================= */

.custom-menu-content a::before {

    content: "";

    width: 20px;
    height: 20px;

    margin-right: 12px;

    background-image: url("https://irenka.jp/wp-content/uploads/2026/01/img_9766-e1769503412590.png");

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* =========================================
   メニュー中スクロール禁止
========================================= */

body.menu-open {

    overflow: hidden;
}


/* =========================================
   スマホ微調整
========================================= */

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

    .custom-full-menu {

        padding-top: 20vh;
    }

    .custom-menu-content li {

        margin: 26px 0;
    }

    .custom-menu-content a {

        font-size: 1rem;

        letter-spacing: .18em;
    }
}
/* --------------------------------------------------
 * サイト全体の基本フォント設定
 * -------------------------------------------------- */
body {
    font-family: 'Jost', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: 0.07em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------
 * 部分的に明朝体にするための設定
 * -------------------------------------------------- */
.mincho, .font-mincho {
    font-family: 'Shippori Mincho', serif !important;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* 共通 */
body {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}


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

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

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