/* v1.2.0: SWELL固定ページのコンテンツ幅を解除し、専用ページをフルブリード表示 */
body.pp-conf-active .l-content,
body.pp-conf-active .l-mainContent,
body.pp-conf-active .l-mainContent__inner,
body.pp-conf-active .post_content,
body.pp-conf-active #main_content,
body.pp-conf-active #primary {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.pp-conf-active .l-container,
body.pp-conf-active .l-article,
body.pp-conf-active .c-pageTitle,
body.pp-conf-active .p-breadcrumb {
  max-width: none !important;
}
body.pp-conf-active .c-pageTitle { display: none !important; }

.ppcx{--navy:#102634;--deep:#07131b;--paper:#f7f3ea;--gold:#d0a24c;--gold2:#f0d7a0;--white:#fffdfa;--line:rgba(255,255,255,.16);width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow:hidden;background:var(--paper);color:#171717;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif}.ppcx,.ppcx *,.ppcx *:before,.ppcx *:after{box-sizing:border-box}.ppcx a{text-decoration:none;color:inherit}.ppcx-shell{width:min(1240px,calc(100% - 40px));margin:auto}.ppcx-section{padding:clamp(72px,8vw,120px) 0}.ppcx-dark{color:#fff;background:linear-gradient(135deg,#081117,#102634)}.ppcx-kicker{display:flex;align-items:center;gap:14px;margin:0 0 18px;color:var(--gold);font:700 12px/1.4 Georgia,serif;letter-spacing:.16em}.ppcx-kicker:before{content:"";width:48px;height:1px;background:currentColor}.ppcx .ppcx-heading,.ppcx .ppcx-case-copy h2{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:inherit!important;font-size:clamp(34px,4.5vw,64px)!important;line-height:1.18!important;font-weight:900!important;text-align:left!important}.ppcx .ppcx-heading:before,.ppcx .ppcx-heading:after,.ppcx .ppcx-case-copy h2:before,.ppcx .ppcx-case-copy h2:after{content:none!important;display:none!important}.ppcx-heading span{color:var(--gold)!important}.ppcx-lead{margin:24px 0 0;max-width:760px;font-size:clamp(16px,1.4vw,19px);line-height:2}.ppcx-hero{color:#fff;background:#07131b}.ppcx-hero-grid{display:grid;grid-template-columns:minmax(0,.46fr) minmax(0,.54fr);width:100%;min-height:680px}.ppcx-hero-content{align-self:center;min-width:0;max-width:760px;padding-top:72px;padding-bottom:72px;padding-left:max(36px,calc((100vw - 1320px)/2));padding-right:clamp(28px,3.2vw,52px)}.ppcx .ppcx-hero-title{margin:0!important;padding:0!important;border:0!important;background:none!important;color:#fff!important;font-size:clamp(44px,4.15vw,68px)!important;line-height:1.13!important;font-weight:900!important;letter-spacing:-.025em!important;word-break:keep-all!important;overflow-wrap:normal!important}.ppcx-hero-title span{display:block;white-space:nowrap}.ppcx-hero-title .is-gold{color:var(--gold2)!important}.ppcx-hero-copy{margin:28px 0 0;max-width:700px;color:rgba(255,255,255,.82);font-size:clamp(16px,1.4vw,20px);line-height:1.9}.ppcx-hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:32px}.ppcx-hero-proof div{padding:16px;border:1px solid var(--line);background:rgba(255,255,255,.06)}.ppcx-hero-proof small,.ppcx-hero-proof strong{display:block}.ppcx-hero-proof small{color:rgba(255,255,255,.64);font-size:11px}.ppcx-hero-proof strong{margin-top:6px;color:var(--gold2);font-size:18px}.ppcx-hero-photo,.ppcx-food-photo,.ppcx-case-photo{display:grid;place-items:center;background:linear-gradient(135deg,#564b3b,#111),var(--ppcx-image);background-image:var(--ppcx-image,linear-gradient(135deg,#564b3b,#111));background-size:cover;background-position:center;color:rgba(255,255,255,.65);font-weight:800;letter-spacing:.12em;text-align:center}.ppcx-hero-photo{min-width:0;min-height:680px}.ppcx-button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.ppcx-button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:58px;padding:15px 20px;border:1px solid rgba(255,255,255,.22);color:#fff;background:rgba(255,255,255,.06);font-weight:900}.ppcx-button.is-primary{color:#17130d;background:linear-gradient(135deg,var(--gold),var(--gold2))}.ppcx-local-nav{position:sticky;top:0;z-index:20;background:rgba(7,19,27,.97);border-bottom:1px solid var(--line)}.ppcx-local-nav>div{width:min(1240px,calc(100% - 28px));margin:auto;display:flex;overflow:auto}.ppcx-local-nav a{flex:0 0 auto;padding:17px;color:rgba(255,255,255,.78);font-size:12px;font-weight:800}.ppcx-intro-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(40px,6vw,88px)}.ppcx-challenges{display:grid;gap:14px}.ppcx-challenges article{padding:22px;border:1px solid #ddd5c8;background:#fff;box-shadow:0 16px 42px rgba(40,30,18,.07)}.ppcx-challenges strong{font-size:17px}.ppcx-challenges p{margin:8px 0 0;color:#655f56;line-height:1.8}.ppcx-timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:50px}.ppcx-timeline article{padding:24px 18px;border:1px solid var(--line);background:rgba(255,255,255,.06)}.ppcx-timeline time{color:var(--gold2);font:700 16px Georgia,serif}.ppcx .ppcx-timeline h3,.ppcx .ppcx-service-card h3,.ppcx .ppcx-food-copy h3{margin:12px 0 0!important;padding:0!important;border:0!important;background:none!important;color:inherit!important}.ppcx-timeline p{color:rgba(255,255,255,.72);font-size:12px;line-height:1.8}.ppcx-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:48px}.ppcx-service-card{position:relative;min-height:500px;display:grid;align-content:end;overflow:hidden;background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.92)),var(--ppcx-image,linear-gradient(135deg,#655b49,#161616));background-size:cover;background-position:center}.ppcx-service-card>div{padding:28px;position:relative;color:#fff}.ppcx-service-card>div>span{color:var(--gold);font:700 12px Georgia,serif;letter-spacing:.12em}.ppcx-service-card h3{font-size:clamp(24px,2vw,32px)!important}.ppcx-service-card p{color:rgba(255,255,255,.78);line-height:1.8}.ppcx-food-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:48px}.ppcx-food-grid>article{display:grid;grid-template-columns:.78fr 1fr;min-height:300px;background:#fff;border:1px solid #ddd5c8}.ppcx-food-photo{min-height:260px}.ppcx-food-copy{padding:28px}.ppcx-food-copy small{color:#9b6e24;font:700 12px Georgia,serif;letter-spacing:.12em}.ppcx-food-copy h3{color:var(--navy)!important;font-size:24px!important}.ppcx-food-copy p{color:#655f56;line-height:1.85}.ppcx-diet-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:46px}.ppcx-diet-grid article{padding:26px;border:1px solid var(--line);background:rgba(255,255,255,.06)}.ppcx-diet-grid strong{color:var(--gold2);font-size:20px}.ppcx-diet-grid p{color:rgba(255,255,255,.74);line-height:1.85}.ppcx-case{display:grid;grid-template-columns:1.08fr .92fr;color:#fff;background:#0d171e}.ppcx-case-photo{min-height:620px}.ppcx-case-copy{align-self:center;padding:clamp(44px,5vw,76px)}.ppcx-case-copy p{color:rgba(255,255,255,.8);line-height:1.9}.ppcx-case-copy dl{display:grid;gap:10px}.ppcx-case-copy dl div{padding:14px;border:1px solid var(--line);background:rgba(255,255,255,.05)}.ppcx-case-copy dt{color:var(--gold2);font-size:11px;font-weight:800}.ppcx-case-copy dd{margin:5px 0 0}.ppcx-form-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(36px,6vw,80px)}.ppcx-form-points{margin:28px 0 0;padding-left:1.2em;line-height:2}.ppcx-form-card{padding:clamp(24px,4vw,44px);background:#fff;box-shadow:0 24px 70px rgba(30,20,10,.12)}.ppcx-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.ppcx-form-grid label{display:grid;gap:7px;font-size:13px;font-weight:800}.ppcx-form-grid label span{color:#a13b2f;font-size:11px}.ppcx-form-grid .is-wide{grid-column:1/-1}.ppcx input,.ppcx select,.ppcx textarea{width:100%;padding:13px;border:1px solid #d7cec0;background:#fff;font:inherit}.ppcx-submit{width:100%;margin-top:20px;padding:18px;border:0;background:linear-gradient(135deg,var(--gold),var(--gold2));font-size:16px;font-weight:900;cursor:pointer}.ppcx-notice{margin-bottom:18px;padding:14px}.ppcx-notice.is-success{background:#e8f5ea;color:#265c31}.ppcx-notice.is-error{background:#fff0ed;color:#923729}.ppcx-hp{position:absolute!important;left:-9999px!important}
@media(max-width:1050px){.ppcx{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}.ppcx-hero-grid,.ppcx-intro-grid,.ppcx-case,.ppcx-form-layout{grid-template-columns:1fr}.ppcx-hero-content{padding:80px 28px 56px}.ppcx-hero-photo{min-height:420px}.ppcx-timeline{grid-template-columns:repeat(3,1fr)}.ppcx-service-grid{grid-template-columns:1fr 1fr}.ppcx-diet-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){body.pp-conf-active{overflow-x:hidden}.ppcx-shell{width:calc(100% - 28px)}.ppcx-section{padding:64px 0}.ppcx .ppcx-hero-title{font-size:clamp(34px,10.4vw,52px)!important;line-height:1.16!important}.ppcx-hero-proof,.ppcx-timeline,.ppcx-service-grid,.ppcx-food-grid,.ppcx-diet-grid,.ppcx-form-grid{grid-template-columns:1fr}.ppcx-food-grid>article{grid-template-columns:1fr}.ppcx-form-grid .is-wide{grid-column:auto}.ppcx-service-card{min-height:420px}.ppcx-case-photo{min-height:320px}.ppcx-heading{font-size:clamp(30px,9vw,44px)!important}}


/* v1.2.0 layout refinements */
.ppcx-hero-photo:not(.is-placeholder)>span,
.ppcx-food-photo:not(.is-placeholder)>span,
.ppcx-case-photo:not(.is-placeholder)>span{display:none!important}
.ppcx-hero-photo.is-placeholder,
.ppcx-food-photo.is-placeholder,
.ppcx-case-photo.is-placeholder{color:rgba(255,255,255,.62)}
.ppcx-intro-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.ppcx .ppcx-intro-heading{font-size:clamp(42px,3.55vw,58px)!important;line-height:1.2!important;letter-spacing:-.025em!important}
.ppcx-intro-heading>span{display:block}
.ppcx-intro-heading .is-dark{color:#171717!important;white-space:nowrap}
.ppcx-intro-heading .is-gold{color:var(--gold)!important;white-space:nowrap}
.ppcx-food-grid .ppcx-food-photo{color:transparent}
@media(max-width:1350px) and (min-width:1051px){
  .ppcx .ppcx-hero-title{font-size:clamp(42px,4vw,60px)!important}
  .ppcx-hero-content{padding-left:clamp(32px,4vw,60px)}
  .ppcx .ppcx-intro-heading{font-size:clamp(38px,3.4vw,50px)!important}
}
@media(max-width:1050px){
  .ppcx-hero-title span{white-space:normal}
  .ppcx-intro-heading .is-dark,.ppcx-intro-heading .is-gold{white-space:normal}
  .ppcx-hero-content{max-width:none}
}
@media(max-width:700px){
  .ppcx .ppcx-hero-title{font-size:clamp(36px,9.7vw,50px)!important;line-height:1.17!important}
  .ppcx-hero-title span{white-space:normal}
  .ppcx .ppcx-intro-heading{font-size:clamp(32px,8.7vw,43px)!important}
}

/* v1.2.1: SWELLヘッダー直下の余白を完全に解除 */
body.pp-conf-active #content,
body.pp-conf-active .l-content,
body.pp-conf-active .l-mainContent,
body.pp-conf-active .l-mainContent__inner,
body.pp-conf-active .l-article,
body.pp-conf-active .post_content,
body.pp-conf-active #main_content,
body.pp-conf-active #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.pp-conf-active .c-pageTitle,
body.pp-conf-active .p-breadcrumb,
body.pp-conf-active .l-breadcrumb,
body.pp-conf-active .c-breadcrumb {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.pp-conf-active main.ppcx {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.pp-conf-active .ppcx-hero {
  margin-top: 0 !important;
}

/* =========================================================
   v1.3.0 — SWELL外枠完全解除・HERO再設計
   このCSSは専用テンプレートでのみ読み込まれます。
========================================================= */
html,
body.pp-conf-active {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

body.pp-conf-active #body_wrap,
body.pp-conf-active #content,
body.pp-conf-active #content.l-content,
body.pp-conf-active #content.l-container,
body.pp-conf-active .l-content,
body.pp-conf-active .l-container,
body.pp-conf-active .l-mainContent,
body.pp-conf-active .l-mainContent__inner,
body.pp-conf-active .l-article,
body.pp-conf-active .post_content,
body.pp-conf-active #main_content,
body.pp-conf-active #primary {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.pp-conf-active .l-header,
body.pp-conf-active #header {
  margin-bottom: 0 !important;
}

body.pp-conf-active .l-header + #content,
body.pp-conf-active .l-header + .l-content,
body.pp-conf-active .l-header + main,
body.pp-conf-active #header + #content,
body.pp-conf-active #header + main,
body.pp-conf-active #content > main.ppcx,
body.pp-conf-active main#primary.ppcx {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.pp-conf-active .p-breadcrumb,
body.pp-conf-active .l-breadcrumb,
body.pp-conf-active .c-breadcrumb,
body.pp-conf-active .c-pageTitle,
body.pp-conf-active .p-articleHead,
body.pp-conf-active .post_content > .c-pageTitle:first-child {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.pp-conf-active main#primary.ppcx,
body.pp-conf-active .ppcx {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
}

@supports (width: 100dvw) {
  body.pp-conf-active main#primary.ppcx,
  body.pp-conf-active .ppcx {
    width: 100dvw !important;
  }
}

/* HERO: 文字を主役にしつつ、画像との比率を均衡させる */
.ppcx-hero,
body.pp-conf-active .ppcx-hero {
  min-height: 600px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ppcx-hero-grid {
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr) !important;
  min-height: 600px !important;
}

.ppcx-hero-content {
  width: 100% !important;
  max-width: 820px !important;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  padding-left: max(44px, calc((100vw - 1440px) / 2)) !important;
  padding-right: clamp(34px, 4vw, 70px) !important;
}

.ppcx .ppcx-hero-title {
  max-width: 760px !important;
  font-size: clamp(42px, 3.55vw, 58px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.035em !important;
}

.ppcx-hero-title > span,
.ppcx-hero-title-line {
  display: block !important;
  width: max-content;
  max-width: 100%;
  white-space: nowrap !important;
}

.ppcx-hero-title-last {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: .18em;
  width: max-content;
  max-width: 100%;
  white-space: nowrap !important;
}

.ppcx-hero-title-last > span {
  display: inline !important;
}

.ppcx-hero-copy {
  max-width: 660px !important;
  margin-top: 24px !important;
  font-size: clamp(15px, 1.16vw, 18px) !important;
  line-height: 1.85 !important;
}

.ppcx-hero-proof {
  max-width: 690px;
  margin-top: 26px !important;
}

.ppcx-hero-proof div {
  min-width: 0;
  padding: 13px 14px !important;
}

.ppcx-hero-proof strong {
  font-size: 16px !important;
}

.ppcx-hero-photo {
  min-height: 600px !important;
  background-position: center center !important;
}

/* セクション見出しを、画面幅に対して過大にしない */
.ppcx .ppcx-heading,
.ppcx .ppcx-case-copy h2 {
  font-size: clamp(32px, 3.3vw, 54px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}

.ppcx .ppcx-intro-heading {
  font-size: clamp(38px, 3.05vw, 52px) !important;
  line-height: 1.2 !important;
}

.ppcx-intro-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
  gap: clamp(42px, 5vw, 76px) !important;
}

/* 1365px以下では少し小さくして、意図しない改行を防止 */
@media (max-width: 1365px) and (min-width: 1051px) {
  .ppcx-hero-grid {
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr) !important;
  }

  .ppcx-hero-content {
    padding-left: clamp(34px, 4vw, 58px) !important;
    padding-right: clamp(28px, 3.2vw, 48px) !important;
  }

  .ppcx .ppcx-hero-title {
    font-size: clamp(40px, 3.65vw, 52px) !important;
  }

  .ppcx .ppcx-intro-heading {
    font-size: clamp(36px, 3.1vw, 46px) !important;
  }
}

/* タブレット: HEROを縦積みにし、文字と画像を独立させる */
@media (max-width: 1050px) {
  .ppcx-hero,
  body.pp-conf-active .ppcx-hero,
  .ppcx-hero-grid {
    min-height: 0 !important;
  }

  .ppcx-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .ppcx-hero-content {
    max-width: none !important;
    padding: 68px clamp(24px, 6vw, 58px) 54px !important;
  }

  .ppcx .ppcx-hero-title {
    max-width: 720px !important;
    font-size: clamp(42px, 7vw, 60px) !important;
  }

  .ppcx-hero-photo {
    min-height: clamp(320px, 58vw, 520px) !important;
  }

  .ppcx-intro-grid {
    grid-template-columns: 1fr !important;
  }
}

/* スマホ: 最終行のみ2行へ分割し、文字の横切れを防止 */
@media (max-width: 700px) {
  .ppcx-hero-content {
    padding: 52px 22px 42px !important;
  }

  .ppcx .ppcx-hero-title {
    max-width: 100% !important;
    font-size: clamp(34px, 10.1vw, 45px) !important;
    line-height: 1.15 !important;
    letter-spacing: -.04em !important;
  }

  .ppcx-hero-title > span,
  .ppcx-hero-title-line {
    width: auto;
    white-space: normal !important;
  }

  .ppcx-hero-title-last {
    display: block !important;
    width: auto;
    white-space: normal !important;
  }

  .ppcx-hero-title-last > span {
    display: block !important;
  }

  .ppcx-hero-copy {
    margin-top: 20px !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .ppcx-hero-proof {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .ppcx-hero-proof div:last-child {
    grid-column: 1 / -1;
  }

  .ppcx-hero-photo {
    min-height: 280px !important;
  }

  .ppcx .ppcx-heading,
  .ppcx .ppcx-case-copy h2 {
    font-size: clamp(29px, 8.6vw, 40px) !important;
  }

  .ppcx .ppcx-intro-heading {
    font-size: clamp(30px, 8.8vw, 40px) !important;
  }

  .ppcx-intro-heading .is-dark,
  .ppcx-intro-heading .is-gold {
    white-space: normal !important;
  }
}
