/* =========================================================
   HOME
   ========================================================= */

/* フロントページのデフォルトタイトルを非表示 */
body.page-id-11 .wp-block-post-title,
body.page-id-11 .entry-title,
body.page-id-11 main > h1:first-child{
  display: none !important;
}

/* WordPressの既定 constrained 幅を解除 */
body.page-id-11 .wp-block-post-content.is-layout-constrained{
  max-width: none !important;
}

body.page-id-11 .wp-block-post-content.is-layout-constrained > *{
  max-width: none !important;
}

body.page-id-11 .entry-content.wp-block-post-content{
  width: 100%;
}

/* =========================================================
   HOME OUTER WRAP
   ========================================================= */

.toe-home-wrap{
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  display: grid;
  gap: calc(var(--space-6) + 4px);
}

.toe-home{
  width: 100%;
  display: grid;
  gap: var(--space-6);
}

.toe-home-wrap,
.toe-home-wrap > *,
.toe-home,
.toe-home > *{
  max-width: 100%;
  box-sizing: border-box;
}

/* 共通 */
.toe-kicker{
  margin: 0 0 8px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a805d;
}

.toe-section-title{
  margin: 0 0 var(--space-2);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.2;
}

.toe-section-lead{
  margin: 0;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 48em;
}

/* =========================================================
   HERO
   ========================================================= */

.toe-hero{
  background: linear-gradient(to bottom, #fffdf8 0%, #fcf8f0 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 52px);
  width: 100%;
  overflow: hidden;
}

.toe-hero__eyebrow{
  margin: 0 0 var(--space-2);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a805d;
}

.toe-hero__title{
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.toe-hero__title-sub{
  display: block;
  margin-top: .35em;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  color: var(--text-muted);
}

.toe-hero__lead{
  margin-top: var(--space-5);
  max-width: 46em;
}

.toe-hero__line{
  margin: 0 0 10px;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  color: #4f463c;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(16px);
  animation: toeFadeUp .8s ease forwards;
}

.toe-hero__line:nth-child(1){ animation-delay: .05s; }
.toe-hero__line:nth-child(2){ animation-delay: .18s; }
.toe-hero__line:nth-child(3){ animation-delay: .31s; }
.toe-hero__line:nth-child(4){ animation-delay: .44s; }

@keyframes toeFadeUp{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.toe-hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
  align-items: stretch;
}

.toe-hero__cta > *{
  min-width: 0;
}

.toe-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #dccdb8;
  transition: .2s ease;
  box-sizing: border-box;
  max-width: 100%;
}

.toe-btn--primary{
  background: #b7791f;
  border-color: #b7791f;
  color: #fff;
}

.toe-btn--primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.toe-btn--soft{
  background: #fffdfa;
  color: #3f362b;
}

.toe-btn--soft:hover{
  border-color: #b7791f;
  color: #b7791f;
}

/* =========================================================
   START
   ========================================================= */

.toe-start{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  gap: var(--space-4);
  width: 100%;
}

.toe-start-card{
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  background: #fffdfa;
  border: 1px solid #eadfce;
  border-radius: 22px;
  padding: 24px;
  transition: .2s ease;
  width: 100%;
  box-sizing: border-box;
}

.toe-start-card:hover{
  transform: translateY(-2px);
  border-color: #c89a54;
}

.toe-start-card__icon{
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  border-radius: 20px;
  background: #f7f1e7;
}

.toe-start-card__title{
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.toe-start-card__desc{
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.85;
}

.toe-start-card__link{
  color: #b7791f;
  font-weight: 700;
}

/* =========================================================
   TOOLS
   ========================================================= */

.toe-tools{
  display: grid;
  gap: var(--space-4);
  width: 100%;
}

.toe-feature__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.toe-tool-card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fffdfa;
  border: 1px solid #eadfce;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  transition: .2s ease;
  width: 100%;
  box-sizing: border-box;
}

.toe-tool-card:hover{
  transform: translateY(-2px);
  border-color: #c89a54;
}

.toe-tool-card__icon{
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f7f1e7;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.toe-tool-card__title{
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.toe-tool-card__desc{
  margin: 0 0 10px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: .95rem;
}

.toe-tool-card__link{
  color: #b7791f;
  font-weight: 700;
  font-size: .95rem;
}

/* =========================================================
   PILLARS / PATHS
   ========================================================= */

.toe-pillars{
  display: grid;
  gap: var(--space-6);
  width: 100%;
}

.toe-pillar{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 28px);
  width: 100%;
  box-sizing: border-box;
}

.toe-pillar__head{
  margin-bottom: var(--space-4);
}

.toe-pillar__title{
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
}

.toe-pillar__lead{
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.toe-link-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.toe-link-card{
  display: block;
  padding: 14px 16px;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: #fffdfa;
  text-decoration: none;
  color: inherit;
  line-height: 1.7;
  transition: .2s ease;
  width: 100%;
  box-sizing: border-box;
}

.toe-link-card:hover{
  border-color: #c89a54;
  color: #9a6a1d;
  transform: translateY(-1px);
}

/* =========================================================
   FRESH
   ========================================================= */

.toe-fresh{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 28px);
  width: 100%;
  box-sizing: border-box;
}

.toe-fresh__head{
  margin-bottom: var(--space-4);
}

.toe-fresh__list{
  display: grid;
  gap: var(--space-3);
}

.toe-fresh-card{
  display: block;
  padding: 16px 18px;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: #fffdfa;
  text-decoration: none;
  color: inherit;
  line-height: 1.7;
  transition: .2s ease;
  width: 100%;
  box-sizing: border-box;
}

.toe-fresh-card:hover{
  border-color: #c89a54;
  color: #9a6a1d;
  transform: translateY(-1px);
}

/* =========================================================
   FEATURE GRID RESPONSIVE
   ========================================================= */

@media (max-width: 980px){
  .toe-feature__grid{
    grid-template-columns: 1fr 1fr;
  }

  .toe-link-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px){
  .toe-feature__grid{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PC LAYOUT
   ========================================================= */

@media (min-width: 1024px){

  .toe-home--hero,
  .toe-home--start,
  .toe-home--tools,
  .toe-home--fresh,
  .toe-home--paths{
    grid-template-columns: 1fr;
  }

  .toe-feature__grid{
    gap: calc(var(--space-4) * 1.2);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 860px){
  .toe-hero__cta{
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .toe-btn{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .toe-start-card{
    grid-template-columns: 1fr;
  }

  .toe-start-card__icon{
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
}

/* =========================================================
   HOME SHELL
   左: 本文 / 右: sticky tools
   ========================================================= */

.toe-home-shell{
  display: block;
}

.toe-home-main{
  min-width: 0;
}

.toe-home-side{
  min-width: 0;
}

/* sticky tools */
.toe-sticky-tools{
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fffdfa;
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.toe-sticky-tools__title{
  margin: 0 0 12px;
  font-size: .95rem;
  font-weight: 700;
  color: #6d5b43;
}

.toe-sticky-tools__item{
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px 10px;
  border-radius: 14px;
  transition: .2s ease;
}

.toe-sticky-tools__item:hover{
  background: #f8f1e6;
}

.toe-sticky-tools__item + .toe-sticky-tools__item{
  margin-top: 6px;
}

.toe-sticky-tools__item strong{
  display: block;
  font-size: .98rem;
  line-height: 1.45;
}

.toe-sticky-tools__item span{
  display: block;
  margin-top: 4px;
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.toe-sticky-tools__item.is-featured strong{
  color: #b7791f;
}

/* =========================================================
   PC: 右カラムを確保
   ========================================================= */

@media (min-width: 1100px){
  .toe-home-shell{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
  }

  .toe-home-side{
    position: relative;
  }

  .toe-sticky-tools{
    position: sticky;
    top: 96px;
  }
}

/* =========================================================
   Tablet以下では右カラムを消す
   ========================================================= */

@media (max-width: 1099px){
  .toe-home-side{
    display: none;
  }
}

/* ========================================
   Section spacing / divider
   ======================================== */

.toe-home{
  position: relative;
}

.toe-home + .toe-home{
  margin-top: 28px;
  padding-top: 42px;
}

.toe-home + .toe-home::before{
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #d9cdbd 18%,
    #d9cdbd 82%,
    transparent 100%
  );
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: .9;
}