/* ========================================
   GiveNoTane 共通CSS
======================================== */


:root{
  --bg:#fffdf8;
  --surface:#ffffff;
  --text:#262626;
  --muted:#6d6d6d;
  --line:#e8e2d8;
  --accent:#6f8f6b;
  --accent-dark:#4f6f4d;
  --soft:#eef4eb;
  --max:1180px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.8;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  height:auto;
}

.container{
  width:min(calc(100% - 36px),var(--max));
  margin:0 auto;
}


/* ヘッダー */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,253,248,.95);
  border-bottom:1px solid rgba(0,0,0,.05);
}

.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  font-weight:800;
  font-size:1.3rem;
}

.brand small{
  display:block;
  font-size:.68rem;
  font-weight:500;
  color:var(--muted);
}

.nav{
  display:flex;
  gap:22px;
  align-items:center;
  font-size:.92rem;
}

.nav a:hover{
  opacity:.65;
}

.header-support-button{
  background:var(--accent);
  color:#fff !important;
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
}


/* ボタン */

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:34px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 24px;
  border-radius:999px;
  font-weight:700;
  border:1px solid var(--line);
  background:#fff;
}

.btn-primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}


/* 共通 */

.section{
  padding:90px 0;
}

.section-alt{
  background:#f7f3ea;
}

.section-head{
  max-width:760px;
  margin-bottom:40px;
}

.kicker{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.15em;
  color:var(--accent-dark);
  text-transform:uppercase;
}

.section h2{
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.2;
  margin:10px 0 16px;
}

.section-intro{
  color:var(--muted);
  font-size:1.02rem;
}


/* 固定ページ・記事 */

.entry-wrap{
  padding:70px 0 100px;
}

.entry{
  max-width:820px;
  margin:0 auto;
}

.entry h1{
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.2;
}

.entry-content h2{
  margin-top:2.2em;
}


/* 共通レスポンシブ */

@media(max-width:980px){

  .nav{
    display:none;
  }

}

@media(max-width:640px){

  .section{
    padding:68px 0;
  }

}


/* =========================
   Contact Form 7 共通
========================= */

.wpcf7{
  margin-top:30px;
}

.wpcf7 form{
  background:#fff;
  border:1px solid var(--line);
  padding:40px;
}

.wpcf7 p{
  margin:0 0 26px;
}

.wpcf7 label{
  display:block;
  font-weight:700;
  font-size:.95rem;
  color:var(--text);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea{
  width:100%;
  margin-top:8px;
  padding:14px 16px;
  border:1px solid #d8d3ca;
  background:#fffdf8;
  border-radius:6px;
  font:inherit;
  color:var(--text);
  transition:.2s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(111,143,107,.12);
}

.wpcf7 textarea{
  min-height:160px;
  resize:vertical;
}

.wpcf7-list-item{
  margin:0 16px 10px 0;
}

.wpcf7-list-item label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:500;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"]{
  accent-color:var(--accent);
}

.wpcf7 input[type="submit"]{
  appearance:none;
  border:0;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  font-size:1rem;
  padding:14px 28px;
  border-radius:999px;
  cursor:pointer;
  transition:.2s;
}

.wpcf7 input[type="submit"]:hover{
  background:var(--accent-dark);
  transform:translateY(-1px);
}

.wpcf7 .wpcf7-spinner{
  margin-left:12px;
}

.wpcf7-not-valid-tip{
  margin-top:6px;
  font-size:.85rem;
}

.wpcf7 form .wpcf7-response-output{
  margin:24px 0 0;
  padding:14px 16px;
  border-radius:8px;
}

.wpcf7 textarea[name="supporter-profile"]{
  min-height:90px;
  height:90px;
}

@media(max-width:640px){

  .wpcf7 form{
    padding:26px 20px;
  }

  .wpcf7-list-item{
    display:block;
    margin:0 0 10px;
  }

  .wpcf7 input[type="submit"]{
    width:100%;
  }

}


.supporter-rank-list{
  margin:35px 0;
  border-top:1px solid var(--line);
}

.supporter-rank-list > div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}

.supporter-rank-list span{
  font-weight:700;
}

.supporter-rank-list strong{
  color:var(--accent-dark);
}


/* ページ保存・共有 */

.save-page-box{
  margin:35px 0 50px;
  padding:28px 30px;
  background:#f7f3ea;
  border-left:4px solid var(--accent);
}

.save-page-title{
  margin:0 0 8px;
  font-size:1.1rem;
  font-weight:700;
}

.save-page-box p{
  margin-top:0;
}

.save-page-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}

.copy-page-url,
.line-page-url,
.share-page-url{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border:1px solid var(--accent);
  background:#fff;
  color:var(--accent-dark);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}

.copy-page-url:hover,
.line-page-url:hover,
.share-page-url:hover{
  background:var(--soft);
}

.copy-message{
  margin:14px 0 0;
  color:var(--accent-dark);
  font-weight:700;
  font-size:.9rem;
}

@media(max-width:640px){

  .save-page-box{
    padding:24px 20px;
  }

  .save-page-actions{
    display:grid;
  }

  .copy-page-url,
  .line-page-url,
  .share-page-url{
    width:100%;
  }

}

.page-eyecatch{
  margin:30px 0 50px;
}

.page-eyecatch img{
  width:100%;
  height:auto;
  display:block;
}


/* =========================
   TOP シェアボタン
========================= */

.share-section{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}

.share-section .kicker{
  display:block;
  margin:0 0 10px;
}

.share-section h2{
  margin:0 0 22px;
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.25;
}

.share-section > p{
  max-width:720px;
  margin:0 auto;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.9;
}

.share-section .share-message{
  margin-top:24px;
  color:var(--text);
  font-weight:700;
}

.share-section .share-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:nowrap;
  width:max-content;
  max-width:100%;
  margin:32px auto 0;
}

.share-section .share-btn{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:150px;
  height:50px;
  padding:0;
  margin:0;

  border:1px solid var(--accent);
  border-radius:999px;

  background:#fff;
  color:var(--accent-dark);

  font-family:inherit;
  font-size:.92rem;
  font-weight:700;
  line-height:1;

  text-decoration:none;
  cursor:pointer;
  box-sizing:border-box;

  transition:
    background .2s,
    color .2s,
    transform .2s;
}

.share-section .share-btn:hover{
  background:var(--accent-dark);
  border-color:var(--accent-dark);
  color:#fff;
  transform:translateY(-2px);
}


/* =========================
   スマホ
========================= */

@media(max-width:640px){

  .share-section{
    text-align:left;
  }

  .share-section > p{
    margin-left:0;
  }

  .share-section .share-links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    width:100%;
    max-width:360px;
    margin:30px auto 0;
  }

  .share-section .share-btn{
    width:100%;
    min-width:0;
    padding:0 12px;
    transform:none;
  }

  .share-section .share-btn:hover{
    transform:none;
  }

}


/* =========================
   支援ページ 設立支援案内
========================= */

.founding-support-guide{
  max-width:820px;
  margin:0 auto;
  text-align:center;
}

.founding-support-guide .kicker{
  display:block;
  margin-bottom:10px;
}

.founding-support-guide h2{
  margin:0 0 24px;
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.35;
}

.founding-support-guide p{
  max-width:720px;
  margin:0 auto 16px;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.9;
}

.founding-support-guide .actions{
  justify-content:center;
  margin-top:30px;
}

@media(max-width:640px){

  .founding-support-guide{
    text-align:left;
  }

  .founding-support-guide p{
    margin-left:0;
  }

  .founding-support-guide .actions{
    justify-content:flex-start;
  }

}