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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap');

:root{
  --kdo-ink:#2b2230;
  --kdo-ink-soft:#5d4d5e;
  --kdo-cream:#fdf6f1;
  --kdo-cream-2:#faeae0;
  --kdo-milk:#ffffff;
  --kdo-coral:#ef7a6a;
  --kdo-berry:#c0577d;
  --kdo-shadow:0 14px 30px -20px rgba(189,90,100,.35);
}

.kdo-global-header,
.kdo-global-footer{
  font-family:"M PLUS Rounded 1c","Zen Maru Gothic",system-ui,sans-serif;
  color:var(--kdo-ink);
}

.kdo-global-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(253,246,241,.92);
  backdrop-filter:blur(14px) saturate(150%);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  border-bottom:1px solid rgba(192,87,125,.12);
}

.kdo-global-header__inner{
  max-width:1180px;
  margin:0 auto;
  min-height:68px;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.kdo-global-header__brand,
.kdo-global-footer__brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--kdo-ink);
  text-decoration:none;
  font-weight:900;
}

.kdo-global-header__logo,
.kdo-global-footer__logo{
  width:34px;
  height:34px;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--kdo-coral),var(--kdo-berry));
  color:#fff;
  box-shadow:0 10px 18px -12px rgba(192,87,125,.65);
  font-family:"Zen Maru Gothic",sans-serif;
  font-weight:900;
}

.kdo-global-header__name,
.kdo-global-footer__name{
  font-family:"Zen Maru Gothic",sans-serif;
  font-size:17px;
  letter-spacing:0;
}

.kdo-global-header__nav{
  display:flex;
  align-items:center;
  gap:6px;
}

.kdo-global-header__nav a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:40px;
  padding:0 12px;
  border-radius:12px;
  color:var(--kdo-ink-soft);
  text-decoration:none;
  font-size:14px;
  font-weight:800;
}

.kdo-global-header__nav a:hover,
.kdo-global-header__nav a:focus-visible{
  background:var(--kdo-milk);
  color:var(--kdo-berry);
  box-shadow:var(--kdo-shadow);
}

.kdo-global-header__menu-button{
  display:none;
  width:42px;
  height:42px;
  border:0;
  border-radius:12px;
  background:var(--kdo-milk);
  box-shadow:var(--kdo-shadow);
  padding:10px;
}

.kdo-global-header__menu-button span{
  display:block;
  width:100%;
  height:2px;
  margin:5px 0;
  border-radius:999px;
  background:var(--kdo-ink);
}

.kdo-mobile-menu{
  position:fixed;
  inset:0;
  z-index:1000;
  visibility:hidden;
  pointer-events:none;
}

.kdo-mobile-menu::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(43,34,48,.34);
  opacity:0;
  transition:opacity .2s ease;
}

.kdo-mobile-menu__panel{
  position:absolute;
  inset:0 0 0 auto;
  width:min(86vw,360px);
  background:var(--kdo-cream);
  box-shadow:-22px 0 46px -30px rgba(43,34,48,.45);
  transform:translateX(100%);
  transition:transform .24s ease;
  padding:24px;
}

.kdo-mobile-menu.is-open{
  visibility:visible;
  pointer-events:auto;
}

.kdo-mobile-menu.is-open::before{
  opacity:1;
}

.kdo-mobile-menu.is-open .kdo-mobile-menu__panel{
  transform:translateX(0);
}

.kdo-mobile-menu__close{
  width:42px;
  height:42px;
  border:0;
  border-radius:12px;
  background:#fff;
  color:var(--kdo-ink);
  box-shadow:var(--kdo-shadow);
  font-size:26px;
  line-height:1;
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.kdo-mobile-menu__nav{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-top:34px;
}

.kdo-mobile-menu__nav a{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:56px;
  padding:0 16px;
  border-radius:14px;
  background:#fff;
  color:var(--kdo-ink);
  text-decoration:none;
  font-size:18px;
  font-weight:900;
  box-shadow:var(--kdo-shadow);
}

.kdo-mobile-menu__nav a:hover,
.kdo-mobile-menu__nav a:focus-visible{
  color:var(--kdo-berry);
}

body.kdo-menu-open{
  overflow:hidden;
}

.kdo-global-footer{
  margin-top:42px;
  background:
    radial-gradient(420px 240px at 0% 0%, rgba(239,122,106,.22), transparent 60%),
    linear-gradient(135deg,var(--kdo-cream),var(--kdo-cream-2));
  border-top:1px solid rgba(192,87,125,.12);
}

.kdo-global-footer__inner{
  max-width:980px;
  margin:0 auto;
  padding:38px 20px 32px;
  text-align:center;
}

.kdo-global-footer__lead{
  max-width:560px;
  margin:16px auto 22px;
  color:var(--kdo-ink-soft);
  line-height:1.85;
}

.kdo-global-footer__nav{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 16px;
  margin:0 auto 22px;
}

.kdo-global-footer__nav a{
  color:var(--kdo-berry);
  text-decoration:none;
  font-weight:800;
}

.kdo-global-footer__copy{
  margin:0;
  color:rgba(43,34,48,.55);
  font-size:13px;
  font-weight:700;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  .kdo-global-header__inner{
    min-height:60px;
    padding:0 14px;
  }

  .kdo-global-header__nav{
    display:none;
  }

  .kdo-global-header__menu-button{
    display:block;
  }

  .kdo-global-header__name,
  .kdo-global-footer__name{
    font-size:16px;
  }
}

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