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

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

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

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

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


/* SAIMASTA_HOME_HEADER_FOOTER_HIDE_V1 */
body.home.page-id-14 #header-container,
body.home.page-id-14 #footer {
  display: none !important;
}
/* SAIMASTA_CUSTOM_HOME_V1 */
body.saimasta-home{margin:0!important;background:#f1eee7!important;color:#292723;font-family:"Helvetica Neue",Arial,sans-serif}
body.saimasta-home #header-container,body.saimasta-home #footer,body.saimasta-home .entry-title,body.saimasta-home .post-meta{display:none!important}
body.saimasta-home #content,body.saimasta-home .content,body.saimasta-home #main,body.saimasta-home .main,body.saimasta-home .entry-content,body.saimasta-home .article,body.saimasta-home .wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.sm-header,.sm-footer,.sm-main{box-sizing:border-box}
.sm-header{height:90px;padding:10px 4.2%;display:flex;align-items:center;justify-content:space-between;gap:25px;background:#f8f6f0;border-bottom:1px solid #d9d4ca}
.sm-logo img{display:block;width:155px;max-height:72px;object-fit:contain}
.sm-nav{display:flex;align-items:center;gap:clamp(20px,3.4vw,58px);margin-left:auto}
.sm-nav a,.sm-footer nav a{color:#37342f;text-decoration:none;font-size:10px;letter-spacing:.2em}
.sm-menu{width:42px;height:42px;border:1px solid #c9c2b7;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.sm-menu span{width:17px;height:1px;background:#35322e}
.sm-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);height:calc(100dvh - 185px);min-height:570px;max-height:1000px}
.sm-intro{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(35px,6vw,100px);background:#f1eee7;overflow:hidden}
.sm-eyebrow{font-size:9px;letter-spacing:.18em;color:#80786e;margin-bottom:clamp(34px,6vh,72px)}
.sm-intro h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,6.1vw,100px);line-height:1;font-weight:400;letter-spacing:.045em;margin:0;white-space:nowrap}
.sm-rule{width:68px;height:1px;background:#ad7958;margin:30px 0 23px}
.sm-intro p{font-family:Georgia,"Times New Roman",serif;font-size:clamp(17px,1.7vw,25px);line-height:1.7;color:#625b52;margin:0 0 30px}
.sm-view{display:inline-flex;align-items:center;gap:18px;padding:14px 20px;border:1px solid #9b8f80;color:#39352f;text-decoration:none;font-size:9px;letter-spacing:.19em}
.sm-view:hover{background:#39352f;color:white}
.sm-note{position:absolute;bottom:24px;left:clamp(35px,6vw,100px);color:#8b8378;font-size:8px;letter-spacing:.2em}
.sm-gallery{min-width:0;min-height:0;display:grid;grid-template-rows:29fr 39fr 32fr;gap:4px;background:#26231f;overflow:hidden}
.sm-panel{position:relative;display:block;min-height:0;overflow:hidden;color:white;text-decoration:none}
.sm-panel img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.sm-panel:hover img{transform:scale(1.045)}
.sm-panel span{position:absolute;inset:0;padding:20px clamp(20px,3vw,48px);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;background:linear-gradient(90deg,#0007,transparent 90%);text-shadow:0 1px 12px #0005}
.sm-panel small{font-size:9px;letter-spacing:.2em;margin-bottom:7px}
.sm-panel strong{font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,3vw,46px);font-weight:400;letter-spacing:.04em;line-height:1.05}
.sm-panel i{font-size:8px;letter-spacing:.2em;font-style:normal;margin-top:12px}
.sm-footer{min-height:95px;padding:18px 4.2%;display:flex;align-items:center;justify-content:space-between;gap:22px;background:#f8f6f0}
.sm-footer-brand{display:flex;flex-direction:column;gap:6px}
.sm-footer-brand strong{font-family:Georgia,serif;font-size:17px;font-weight:400;letter-spacing:.12em}
.sm-footer-brand span{font-family:Georgia,serif;color:#7d756a;font-size:12px}
.sm-footer nav{display:flex;flex-wrap:wrap;gap:20px}
.sm-footer nav a{font-size:9px;font-weight:600;padding:9px 11px;border:1px solid #d8d2c7;transition:background .2s,color .2s}.sm-footer nav a:hover,.sm-footer nav a:focus-visible{background:#37342f;color:#f8f6f0;border-color:#37342f}
.sm-copy{color:#80786e;font-size:8px;letter-spacing:.1em;white-space:nowrap}
@media(max-width:760px){
.sm-header{height:74px;padding:8px 18px}.sm-logo img{width:125px;max-height:58px}
.sm-nav{display:none;position:absolute;z-index:20;top:74px;left:0;right:0;padding:24px;background:#f8f6f0;flex-direction:column;align-items:flex-start;gap:22px}
.sm-nav.sm-nav-open{display:flex}.sm-main{height:auto;min-height:0;max-height:none;grid-template-columns:1fr}
.sm-intro{min-height:420px;padding:42px 28px 65px}.sm-eyebrow{margin-bottom:45px;font-size:8px}
.sm-intro h1{font-size:clamp(40px,10vw,70px)}.sm-note{left:28px;bottom:22px}
.sm-gallery{grid-template-rows:none;grid-auto-rows:minmax(230px,38vh)}.sm-panel strong{font-size:36px}
.sm-footer{padding:24px;align-items:flex-start;flex-direction:column;gap:18px}.sm-footer nav{gap:18px}
}

/* SAIMASTA_HOME_SIZE_FIX_V1 */
@media (min-width: 761px) {
  html:has(body.saimasta-home),
  body.saimasta-home {
    height: 100%;
    overflow: hidden !important;
  }
  body.saimasta-home .sm-main {
    height: calc(100dvh - 185px) !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: minmax(0, 1fr);
  }
  body.saimasta-home .sm-gallery {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    min-height: 0 !important;
  }
  body.saimasta-home .sm-panel {
    min-height: 0 !important;
  }
}

/* SAIMASTA_FASHION_CROP_FIX_V1 */
body.saimasta-home .sm-gallery .sm-panel:nth-child(2) img {
  object-position: 50% 42%;
}


/* Header click feedback - color only */
.sm-nav a{
  cursor:pointer;
  transition:color .15s ease,opacity .15s ease;
}
.sm-nav a:hover{color:#9b795d}
.sm-nav a:active{transform:none!important;opacity:.55;color:#9b795d}
.sm-nav a:focus-visible{outline:1px solid #9b795d;outline-offset:5px}
