@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
*/

/* SNOW MAKING 著者ページ：右サイドバー */
body.author #sidebar .widget{
  position:relative;
  overflow:hidden;
  margin:0 0 18px;
  padding:24px;
  border:1px solid #d8e9f0;
  border-radius:18px;
  background:linear-gradient(145deg,#ffffff 0%,#f5fbfd 100%);
  box-shadow:0 12px 30px rgba(8,45,70,.07);
}
body.author #sidebar .widget:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#082d46,#35b9df);
}
body.author #sidebar .widget h2,
body.author #sidebar .wp-block-search__label{
  display:block;
  margin:0 0 17px;
  padding:0 0 12px;
  border-bottom:1px solid #d6e8ef;
  color:#082d46;
  font-size:17px;
  font-weight:800;
  letter-spacing:.04em;
  background:transparent!important;
  box-shadow:none!important;
}
body.author #sidebar .widget h2:before,
body.author #sidebar .wp-block-search__label:before{
  content:"SNOW MAKING  /  ";
  color:#168eb8;
  font-size:9px;
  letter-spacing:.14em;
}
body.author #sidebar .widget ul{margin:0;padding:0;list-style:none}
body.author #sidebar .widget li{
  position:relative;
  margin:0;
  padding:11px 0 11px 17px;
  border-bottom:1px solid #e2edf2;
  line-height:1.65;
}
body.author #sidebar .widget li:last-child{border-bottom:0}
body.author #sidebar .widget li:before{
  content:"";
  position:absolute;
  left:1px;
  top:20px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#39bde5;
  box-shadow:0 0 0 4px rgba(57,189,229,.12);
}
body.author #sidebar .widget a{
  color:#17384d;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  transition:color .2s;
}
body.author #sidebar .widget a:hover{color:#0f91bd}
body.author #sidebar .wp-block-search__inside-wrapper{
  overflow:hidden;
  border:1px solid #cbdfe8;
  border-radius:12px;
  background:#fff;
  box-shadow:inset 0 1px 3px rgba(5,42,65,.04);
}
body.author #sidebar .wp-block-search__input{
  min-width:0;
  padding:11px 13px;
  border:0;
  background:transparent;
  color:#082d46;
}
body.author #sidebar .wp-block-search__input:focus{outline:2px solid rgba(57,189,229,.35);outline-offset:-2px}
body.author #sidebar .wp-block-search__button{
  margin:0;
  padding:0 17px;
  border:0;
  background:#082d46;
  color:#fff;
  font-size:12px;
  font-weight:800;
}
body.author #sidebar .wp-block-search__button:hover{background:#168eb8}
body.author #sidebar #block-4{display:none}
body.author #sidebar #block-5,
body.author #sidebar #block-6{padding-bottom:19px}
@media screen and (max-width:1023px){
  body.author #sidebar .widget{padding:21px;border-radius:16px}
}


/* SNOW MAKING トップ：執筆者カード */
.page-id-22 .snow-home-utility>.wp-block-column{display:flex}
.page-id-22 .sm-home-authors{
  position:relative;
  overflow:hidden;
  width:100%;
  min-height:100%;
  padding:30px 32px;
  border-radius:14px;
  background:linear-gradient(135deg,#082d46 0%,#0d4868 70%,#126d8d 100%);
  color:#fff;
  box-shadow:0 16px 34px rgba(7,42,65,.12);
}
.page-id-22 .sm-home-authors:before{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-135px;
  width:300px;
  height:300px;
  border:1px solid rgba(111,216,244,.18);
  border-radius:50%;
  box-shadow:0 0 0 38px rgba(111,216,244,.045),0 0 0 76px rgba(111,216,244,.025);
}
.page-id-22 .sm-home-authors>*{position:relative;z-index:1}
.page-id-22 .sm-home-authors__eyebrow{
  margin:0 0 5px;
  color:#76dff7;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
}
.page-id-22 .sm-home-authors h2{
  margin:0 0 8px;
  padding:0;
  background:transparent!important;
  color:#fff!important;
  font-size:23px;
  line-height:1.4;
}
.page-id-22 .sm-home-authors__lead{
  margin:0 0 17px;
  color:#e0f3f8;
  font-size:13px;
  line-height:1.75;
}
.page-id-22 .sm-home-authors__list{display:grid;gap:9px}
.page-id-22 .sm-home-author{
  display:grid;
  grid-template-columns:48px 1fr 24px;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:rgba(255,255,255,.07);
  color:#fff!important;
  text-decoration:none;
  transition:transform .2s,background .2s,border-color .2s;
}
.page-id-22 .sm-home-author:hover{
  transform:translateY(-2px);
  border-color:rgba(118,223,247,.55);
  background:rgba(255,255,255,.12);
}
.page-id-22 .sm-home-author img{
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.36);
  border-radius:12px;
  object-fit:cover;
}
.page-id-22 .sm-home-author__text{display:flex;min-width:0;flex-direction:column}
.page-id-22 .sm-home-author__text strong{
  overflow:hidden;
  color:#fff;
  font-size:14px;
  line-height:1.45;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.page-id-22 .sm-home-author__text small{
  margin-top:2px;
  color:#a9dfe9;
  font-size:9px;
  font-weight:700;
  letter-spacing:.06em;
}
.page-id-22 .sm-home-author__arrow{
  color:#6fd8f4;
  font-size:18px;
  transition:transform .2s;
}
.page-id-22 .sm-home-author:hover .sm-home-author__arrow{transform:translateX(3px)}
.page-id-22 .sm-home-authors__note{
  margin:14px 0 0;
  color:#addfea;
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
}

/* トップ：情報掲載・取材相談の正式窓口 */
.page-id-22 .snow-home-submit-cta{
  position:relative;
  overflow:hidden;
  margin-right:auto!important;
  margin-left:auto!important;
  border:1px solid rgba(103,211,240,.23);
  border-radius:22px;
  background:linear-gradient(120deg,#061f3d 0%,#0a3958 62%,#0f6787 100%)!important;
  box-shadow:0 20px 45px rgba(6,31,61,.16);
}
.page-id-22 .snow-home-submit-cta:before{
  content:"PRESS & CONTACT";
  display:block;
  margin:0 auto 12px;
  color:#72d8f4;
  font-size:11px;
  font-weight:800;
  letter-spacing:.2em;
  text-align:center;
}
.page-id-22 .snow-home-submit-cta:after{
  content:"";
  position:absolute;
  right:-120px;
  top:-180px;
  width:400px;
  height:400px;
  border:1px solid rgba(111,216,244,.15);
  border-radius:50%;
  box-shadow:0 0 0 50px rgba(111,216,244,.03),0 0 0 100px rgba(111,216,244,.02);
}
.page-id-22 .snow-home-submit-cta>*{position:relative;z-index:1}
.page-id-22 .snow-home-submit-cta h2{
  margin:0 0 14px!important;
  padding:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:28px;
  line-height:1.4;
}
.page-id-22 .snow-home-submit-cta>p{
  max-width:720px;
  margin:0 auto 24px;
  color:#dceef4!important;
  font-size:15px;
  line-height:1.9;
}
.page-id-22 .snow-home-submit-cta .wp-block-button__link{
  min-width:220px;
  padding:13px 22px;
  border-radius:999px!important;
  font-size:14px;
  font-weight:800;
  transition:transform .2s,box-shadow .2s;
}
.page-id-22 .snow-home-submit-cta .wp-block-button__link:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
@media screen and (max-width:834px){
  .page-id-22 .snow-home-utility>.wp-block-column{display:block}
  .page-id-22 .sm-home-authors{padding:25px 23px}
  .page-id-22 .snow-home-submit-cta{border-radius:18px}
  .page-id-22 .snow-home-submit-cta h2{font-size:24px}
}
@media screen and (max-width:480px){
  .page-id-22 .sm-home-authors h2{font-size:21px}
  .page-id-22 .sm-home-author{grid-template-columns:44px 1fr 20px;padding:9px 10px}
  .page-id-22 .sm-home-author img{width:44px;height:44px}
  .page-id-22 .snow-home-submit-cta{padding:36px 18px!important}
  .page-id-22 .snow-home-submit-cta h2{font-size:22px}
  .page-id-22 .snow-home-submit-cta>p{font-size:13px}
  .page-id-22 .snow-home-submit-cta .wp-block-buttons{gap:10px}
  .page-id-22 .snow-home-submit-cta .wp-block-button,
  .page-id-22 .snow-home-submit-cta .wp-block-button__link{width:100%}
}


/* SNOW MAKING アクセスメーター：カテゴリー・執筆者一覧 */
body.category .admin-pv,
body.author .admin-pv{
  display:flex!important;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 11px;
  width:max-content;
  max-width:100%;
  margin:13px 0 8px;
  padding:7px 12px;
  border:1px solid #d4e9f1;
  border-radius:999px;
  background:linear-gradient(90deg,#f4fbfd 0%,#edf8fb 100%);
  color:#173d54;
  box-shadow:0 5px 14px rgba(7,54,81,.05);
  font-variant-numeric:tabular-nums;
}
body.category .admin-pv-by,
body.author .admin-pv-by{display:none!important}
body.category .admin-pv>.fa,
body.author .admin-pv>.fa{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:21px;
  height:21px;
  border-radius:50%;
  background:#0b5274;
  color:#74dcf5;
  font-size:10px;
}
body.category .admin-pv .today-pv,
body.category .admin-pv .week-pv,
body.category .admin-pv .month-pv,
body.category .admin-pv .all-pv,
body.author .admin-pv .today-pv,
body.author .admin-pv .week-pv,
body.author .admin-pv .month-pv,
body.author .admin-pv .all-pv{
  display:inline-flex!important;
  align-items:baseline;
  gap:3px;
  margin:0;
  color:#183c52;
  line-height:1;
}
body.category .today-pv-label,
body.category .week-pv-label,
body.category .month-pv-label,
body.category .all-pv-label,
body.author .today-pv-label,
body.author .week-pv-label,
body.author .month-pv-label,
body.author .all-pv-label{
  color:#43829c;
  font-size:0;
  font-weight:800;
  letter-spacing:.08em;
}
body.category .today-pv-label:after,
body.author .today-pv-label:after{content:"TODAY";font-size:8px}
body.category .week-pv-label:after,
body.author .week-pv-label:after{content:"WEEK";font-size:8px}
body.category .month-pv-label:after,
body.author .month-pv-label:after{content:"MONTH";font-size:8px}
body.category .all-pv-label:after,
body.author .all-pv-label:after{content:"TOTAL";font-size:8px}
body.category .today-pv-count,
body.category .week-pv-count,
body.category .month-pv-count,
body.category .all-pv-count,
body.author .today-pv-count,
body.author .week-pv-count,
body.author .month-pv-count,
body.author .all-pv-count{
  color:#082d46;
  font-size:12px;
  font-weight:900;
}
@media screen and (max-width:600px){
  body.category .admin-pv,
  body.author .admin-pv{
    gap:6px 9px;
    width:auto;
    padding:7px 10px;
    border-radius:11px;
  }
}


/* カテゴリー固有の非表示指定より優先してアクセスメーターを表示 */
html body.archive.category #list .entry-card .admin-pv{
  display:flex!important;
}

/* アクセスバー：WEEK / MONTH / TOTAL の3項目を表示 */
html body .admin-pv .today-pv,
html body.archive #list .entry-card .admin-pv .today-pv,
html body.author .admin-pv .today-pv{display:none!important}


/* SNOW MAKING: directional desktop header */
@media (min-width: 1024px) {
  #header-container { transition: transform .22s ease; }
  #header-container.sm-scroll-hidden { transform: translateY(calc(-100% - 40px)); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  #header-container { transition: none; }
}

/* Resort map navigation: folded map icon */
#menu-item-1314 > a::before,#menu-item-1315 > a::before{content:"";display:inline-block;width:24px;height:20px;flex:0 0 24px;background-color:#7dd3fc;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205l6-2%206%202%206-2v16l-6%202-6-2-6%202zM9%203v16M15%205v16%22%2F%3E%3C%2Fsvg%3E") center/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205l6-2%206%202%206-2v16l-6%202-6-2-6%202zM9%203v16M15%205v16%22%2F%3E%3C%2Fsvg%3E") center/20px 20px no-repeat;vertical-align:middle;}
#menu-item-1315 > a::before{margin-right:8px;}
