/*
Theme Name: 一六会 Premium
Description: 一六会公式ホームページ。高級ゴルフクラブ風デザイン。
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: ichirokukai-premium
*/

:root{--green:#174c3c;--dark:#14352c;--gold:#c7a45e;--paper:#f6f7f2;--muted:#64756b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--dark);font:18px/1.8 "Yu Gothic","Meiryo",sans-serif}a{color:inherit}header{background:#fff;border-bottom:1px solid #e2e7df}nav{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px}.brand{text-decoration:none;font-size:25px;font-weight:bold;letter-spacing:.08em}.brand small{display:block;font-size:11px;letter-spacing:.16em;color:var(--muted)}.links{display:flex;gap:24px;flex-wrap:wrap;font-size:16px}.links a{text-decoration:none}.links a:hover{text-decoration:underline}.wrap{max-width:1160px;margin:auto;padding:0 24px}.hero{position:relative;overflow:hidden;background:#174c3c;color:#fff;min-height:440px}.landscape{position:absolute;inset:0;width:100%;height:100%;opacity:.55}.hero .wrap{position:relative;padding-top:68px;padding-bottom:72px}.eyebrow{font-size:13px;letter-spacing:.2em;font-weight:bold}.hero h1{font-size:clamp(36px,5vw,58px);line-height:1.45;margin:20px 0}.hero p{max-width:600px;color:#e2ebe2}.button{display:inline-block;padding:12px 24px;border-radius:6px;text-decoration:none;background:var(--green);color:#fff;font-weight:bold;border:1px solid var(--green)}.button.light{background:#fff;color:var(--green);border-color:#fff}.button.outline{background:transparent;color:var(--green)}a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:5px}.section{padding:54px 0}.section h2{font-size:29px;margin:5px 0 25px;line-height:1.5}.section-label{color:var(--muted);font-size:12px;letter-spacing:.2em}.next{background:#fff;border:1px solid #dce4da;border-top:5px solid var(--green);border-radius:10px;padding:34px;display:grid;grid-template-columns:1.4fr 1fr;gap:36px;box-shadow:0 12px 35px #15392b08}.badge{display:inline-block;background:#e7efe5;color:var(--green);font-size:13px;font-weight:bold;border-radius:30px;padding:3px 14px}.next h3{font-size:30px;line-height:1.5;margin:16px 0 12px}.date{font-size:29px;font-weight:bold}.date span{font-size:18px}.next p{margin:8px 0}.details{border-left:1px solid #dce4da;padding-left:30px}dl{margin:8px 0 24px}dl div{display:grid;grid-template-columns:90px 1fr;border-bottom:1px solid #e6ebe3;padding:9px 0;font-size:16px}dt{color:var(--muted)}dd{margin:0}.notice{font-size:14px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid #dce4da;border-radius:9px;padding:26px}.card .number{color:var(--gold);font-size:13px;letter-spacing:.15em}.card h3{font-size:23px;margin:12px 0}.card p{font-size:16px;color:var(--muted)}.card a{font-weight:bold;font-size:16px;text-underline-offset:5px}.news{background:#fff;border:1px solid #dce4da;border-radius:9px;padding:8px 26px}.news-item{padding:20px 0;border-bottom:1px solid #e6ebe3;display:grid;grid-template-columns:130px 1fr;gap:15px}.news-item:last-child{border:0}.news time{color:var(--muted);font-size:15px}.news p{margin:0}.about{background:#e9eee5}.about .wrap{display:grid;grid-template-columns:1fr 1.5fr;gap:40px}.about p{margin-top:0}.resources{display:grid;grid-template-columns:1fr 1fr;gap:20px}details{border:1px solid #dce4da;border-radius:8px;background:white;padding:20px 24px;margin-bottom:14px}summary{font-weight:bold;cursor:pointer}details p{font-size:16px;color:var(--muted)}footer{background:var(--dark);color:#dce7dc;padding:32px 0;font-size:14px}footer strong{font-size:20px}.prototype{background:#fff7df;color:#665126;padding:10px 24px;text-align:center;font-size:13px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}@media(max-width:760px){body{font-size:17px}nav{align-items:flex-start;flex-direction:column;gap:14px}.links{gap:10px 20px;font-size:15px}.hero{min-height:390px}.hero .wrap{padding-top:42px;padding-bottom:48px}.hero h1{font-size:36px}.section{padding:34px 0}.next,.grid,.about .wrap,.resources{grid-template-columns:1fr}.next{padding:24px;gap:20px}.next h3{font-size:25px}.details{border-left:0;border-top:1px solid #dce4da;padding:18px 0 0}.news-item{grid-template-columns:1fr;gap:5px}.date{font-size:27px}.wrap{padding:0 20px}.about .wrap{gap:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.filters{display:flex;gap:18px;flex-wrap:wrap;padding:22px;background:#e9eee5;border-radius:8px;margin:20px 0}.filters label{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:bold}.filters input,.filters select{font:inherit;color:var(--dark);border:1px solid #a7b7a9;border-radius:5px;background:white;padding:10px;max-width:100%}.filters input{width:360px}.archive-list{display:grid;gap:18px}.archive-card{background:white;border:1px solid #dce4da;border-radius:9px;padding:28px}.archive-card h3{font-size:24px;margin:12px 0}.archive-meta{font-size:16px;color:var(--muted)}.podium{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.podium span{padding:8px 15px;border-radius:5px;background:#f2f4ee;font-size:16px}.archive-card[hidden]{display:none}#archive-empty{padding:20px;background:white;border-radius:8px}.result-count{font-size:14px;color:var(--muted)}@media(max-width:760px){.archive-card{padding:22px}.filters label{width:100%}.filters input{width:100%}.archive-card .button{width:100%;text-align:center}}
.hero{background:#174c3c url(landscape.svg) center/cover no-repeat}.hero .wrap{z-index:1}.hero h1{color:white}.wp-block-group.wrap{margin-left:auto;margin-right:auto}.wp-block-buttons{display:flex;gap:12px;flex-wrap:wrap}.wp-block-button{background:transparent;border:0;padding:0}.wp-block-button__link{display:inline-block;padding:12px 24px;border-radius:6px;background:var(--green);color:white;border:1px solid var(--green);text-decoration:none;font-weight:bold}.wp-block-button.light .wp-block-button__link{background:white;color:var(--green);border-color:white}.wp-block-button.outline .wp-block-button__link{background:transparent;color:var(--green)}.wp-block-table{margin:8px 0 24px}.wp-block-table table{width:100%;border-collapse:collapse;font-size:16px}.wp-block-table td{padding:9px 0;border:0;border-bottom:1px solid #e6ebe3;vertical-align:top}.wp-block-table td:first-child{width:100px;padding-right:12px;color:var(--muted)}.next .badge{width:fit-content}.next .date{margin:12px 0}.podium p{margin:0;padding:8px 15px;background:#f2f4ee;border-radius:5px;font-size:16px}.section h2{color:var(--green)}.plain-page{max-width:900px;padding:45px 24px;margin:auto;background:#fff}.plain-page h1{font-size:32px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;z-index:99999;background:white;padding:12px}.member-status{background:#e9eee5;font-size:13px;padding:8px 24px;text-align:center}.member-status a{margin-left:16px}.editor-styles-wrapper{background:var(--paper);color:var(--dark)}

/* ===== ICHIROKUKAI PREMIUM DESIGN ===== */
:root {
  --green: #173f32;
  --dark: #102e25;
  --gold: #c4a15a;
  --paper: #f8f7f2;
  --muted: #65746b;
}

body {
  background: var(--paper);
  color: var(--dark);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

header {
  background: #ffffff;
  border-bottom: 1px solid #e8e4d9;
}

.brand {
  color: var(--green);
  font-weight: 700;
  letter-spacing: .1em;
}

.links a {
  color: var(--dark);
  transition: color .2s ease;
}

.links a:hover {
  color: var(--gold);
}

.hero {
  background-color: var(--green);
  min-height: 520px;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
}

.section h2 {
  color: var(--green);
  letter-spacing: .06em;
}

.card, .next, .archive-card {
  border: 1px solid #e7e3d8;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(16,46,37,.05);
}

.button, .wp-block-button__link {
  background: var(--green);
  color: white;
  border-radius: 6px;
}

.button:hover, .wp-block-button__link:hover {
  background: #245b47;
  color: white;
}

footer {
  background: var(--dark);
  color: #f8f7f2;
  border-top: 4px solid var(--gold);
}

@media(max-width:760px) {
  .hero { min-height: 390px; }
  .hero h1 { font-size: 34px; }
}

/* ===== PREMIUM GOLF PHOTO HERO ===== */

.hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(10, 39, 30, 0.88) 0%,
      rgba(10, 39, 30, 0.65) 42%,
      rgba(10, 39, 30, 0.12) 100%
    ),
    url("https://ichirokukai.jp/wp-content/uploads/2026/10/20260621_223551419_iOS.jpg");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 560px;
}

.hero .landscape {
  display: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0,0,0,.25);
}

.hero p {
  color: #f5f5f0;
}

@media (max-width: 760px) {
  .hero {
    min-height: 440px;
    background-position: 58% center;
  }
}

/* ===== PREMIUM HEADER & BUTTON REFINEMENT ===== */

header nav {
  max-width: 1280px;
  margin: auto;
  padding: 22px 32px;
}

.brand {
  font-size: 27px;
  color: #173f32;
  white-space: nowrap;
}

.brand small {
  font-size: 11px;
  letter-spacing: .18em;
}

.links {
  gap: 12px 26px;
}

.links a {
  font-size: 15px;
  font-weight: 600;
}

.hero .wrap {
  padding-top: 85px;
  padding-bottom: 90px;
}

.hero .wp-block-button__link,
.hero .button {
  border-bottom: 4px solid #c4a15a;
  padding: 14px 28px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.hero .wp-block-button__link:hover,
.hero .button:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  header nav {
    padding: 20px 24px;
    flex-wrap: wrap;
  }

  .links {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero .wrap {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* ===== PREMIUM CONTENT CARDS ===== */

.next,
.card,
.news,
.archive-card {
  background: #ffffff;
  border: 1px solid #e5e2d8;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(16,46,37,.06);
}

.next {
  border-top: 5px solid var(--gold);
  padding: 38px;
  gap: 40px;
}

.next h3 {
  color: var(--green);
  font-size: clamp(24px, 3vw, 32px);
}

.next .date {
  color: var(--green);
}

.card,
.archive-card {
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}

@media (hover: hover) {
  .card:hover,
  .archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(16,46,37,.12);
  }
}

.card .number,
.section-label {
  color: #947337;
  font-weight: 700;
  letter-spacing: .16em;
}

.card h3,
.archive-card h3 {
  color: var(--green);
}

.news {
  padding: 10px 30px;
}

.news-item {
  border-bottom: 1px solid #e9e6dd;
}

.news time {
  color: #65746b;
}

.badge {
  background: #edf2e9;
  color: var(--green);
  border: 1px solid #dce6d8;
}

@media (max-width: 760px) {
  .next,
  .card,
  .archive-card {
    padding: 24px;
  }

  .news {
    padding: 8px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .archive-card {
    transition: none;
  }
}

/* Premium: desktop hero */
.hero {
  background-image:
    linear-gradient(180deg,rgba(8,35,28,.25) 0%,rgba(8,35,28,0) 65%),
    linear-gradient(90deg,rgba(8,35,28,.35) 0%,rgba(8,35,28,.08) 55%,transparent 85%),
    url("https://ichirokukai.jp/wp-content/uploads/2026/10/20260621_223551419_iOS-1.jpg");
  background-position: center;
  background-size: cover;
}
.hero .landscape { display: none; }
.hero h1 { text-shadow: 0 3px 12px rgba(0,0,0,.65); }
.hero p, .hero .eyebrow { text-shadow: 0 2px 6px rgba(0,0,0,.7); }
.hero .eyebrow { font-size:16px;letter-spacing:.12em;font-weight:700; }

@media (max-width:760px) {
  nav .links {
    display:flex;flex-wrap:nowrap;overflow-x:auto;width:100%;
    gap:20px;padding-bottom:8px;white-space:nowrap;scrollbar-width:thin;
  }
  nav .links a { flex-shrink:0; }
  .hero {
    background-image:
      linear-gradient(90deg,rgba(8,35,28,.48),rgba(8,35,28,.12)),
      url("https://ichirokukai.jp/wp-content/uploads/2026/10/ichirokukai_premium_mobile1.png");
    background-size:cover;
    background-position:center bottom;
    background-repeat:no-repeat;
  }
  .hero h1 {
    font-size:clamp(25px,7vw,30px);
    line-height:1.6;
    letter-spacing:-.03em;
  }
}

@media (max-width:600px) {
  .hero { background-position:center 85%; }
  .hero .wp-block-button__link,.hero .button {
    font-size:15px;padding:12px 16px;white-space:nowrap;max-width:100%;
  }
  .hero p { font-size:14px;line-height:1.8;letter-spacing:0; }
  .next { padding:20px; }
  .next h3 {
    font-size:18px;line-height:1.6;
    overflow-wrap:normal;word-break:normal;
  }
  .next .date { font-size:20px;line-height:1.6; }
  .next .date span { font-size:15px; }
  .next .wp-block-button__link,.next .button {
    font-size:14px;padding:12px 10px;
    white-space:nowrap;max-width:100%;text-align:center;
  }
  .next .wp-block-buttons {
    display:flex;flex-direction:column;align-items:stretch;
  }
  .next .wp-block-button { width:100%; }
  .next .wp-block-button__link {
    display:block;width:100%;white-space:nowrap;
  }
  .next .wp-block-table table { font-size:14px; }
  .next .wp-block-table td:first-child {
    width:85px;min-width:85px;padding-right:8px;
  }
  .next .wp-block-table td {
    overflow-wrap:normal;word-break:normal;
  }
}

/* Premium: mobile rules readability */
@media (max-width:600px) {
  .wp-block-table {
    font-size:14px;
    line-height:1.7;
  }
  .wp-block-table td,
  .wp-block-table th {
    padding:8px 6px;
    vertical-align:top;
  }
}

/* ICHIROKUKAI RESPONSIVE V1.1.0 */

html, body { max-width:100%; }
body { overflow-x:clip; }
img, video, iframe { max-width:100%; }
img { height:auto; }

.ichiro-front-page {
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  background:transparent;
}
.ichiro-front-page > .wp-block-group {
  width:100%;
}
.ichiro-front-page .wrap {
  width:100%;
  max-width:1160px;
  margin-left:auto;
  margin-right:auto;
}
.ichiro-front-page .hero .wrap {
  max-width:1160px;
}
.plain-page {
  width:calc(100% - 32px);
  max-width:960px;
  margin:32px auto;
  padding:36px clamp(18px,4vw,48px);
  border-radius:12px;
}
.plain-page h1 {
  line-height:1.4;
  overflow-wrap:anywhere;
}
.ichiro-menu-toggle { display:none; }
.wp-block-button__link, .button {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.5;
  white-space:normal;
}
.wp-block-table {
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.wp-block-table table { width:100%; }
input, select, textarea, button {
  max-width:100%;
}
:where(.ichiro-front-page,.plain-page) a {
  overflow-wrap:anywhere;
}

@media (max-width:760px) {
  header nav {
    display:flex;
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    padding:12px 18px;
  }
  .brand { font-size:21px; }
  .brand small { font-size:10px; }
  .ichiro-menu-toggle {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-left:auto;
    padding:10px 14px;
    min-height:44px;
    background:#173f32;
    color:#fff;
    border:0;
    border-radius:7px;
    font:inherit;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
  }
  header nav .links {
    display:none;
    width:100%;
    flex-direction:column;
    gap:0;
    overflow:visible;
    white-space:normal;
    padding:0;
  }
  header nav .links.is-open { display:flex; }
  header nav .links a {
    display:block;
    padding:12px 8px;
    min-height:44px;
    border-bottom:1px solid #e3e8e1;
    font-size:16px;
  }
  .member-status {
    padding:10px 18px;
    line-height:1.8;
    overflow-wrap:anywhere;
  }
  .ichiro-front-page .wrap { padding-left:18px; padding-right:18px; }
  .hero .wrap { padding-top:42px; padding-bottom:48px; }
  .hero { min-height:360px; }
  .section { padding:30px 0; }
  .section h2 { font-size:25px; }
  .next, .grid, .resources, .about .wrap {
    grid-template-columns:minmax(0,1fr);
  }
  .next { padding:20px; gap:16px; }
  .next h3 { font-size:clamp(19px,5vw,25px); }
  .next .date { font-size:clamp(20px,5vw,27px); }
  .next .wp-block-button__link,
  .next .button {
    width:100%;
    min-height:48px;
    padding:12px 14px;
    white-space:normal;
    font-size:16px;
  }
  .plain-page {
    width:calc(100% - 20px);
    padding:24px 16px;
    margin:12px auto;
  }
  .plain-page h1 { font-size:26px; }
  .wp-block-table table { font-size:15px; }
  .news-item { grid-template-columns:minmax(0,1fr); }
  .card { padding:20px; }
  form input:not([type="checkbox"]):not([type="radio"]),
  form select, form textarea { max-width:100%; }
}
@media (max-width:400px) {
  .hero h1 { font-size:clamp(24px,7vw,29px); }
  .brand { font-size:19px; }
  .next { padding:16px; }
}


/* ICHIROKUKAI TOP V1.2 */
.ichiro-front-page .hero {
  min-height:clamp(440px,50vw,650px);
  display:flex;
  align-items:center;
}
.ichiro-front-page .hero .wrap {
  padding-top:70px;
  padding-bottom:75px;
}
.ichiro-front-page .hero h1 {
  font-size:clamp(36px,5vw,62px);
  line-height:1.35;
  max-width:800px;
}
.ichiro-front-page .hero p {
  max-width:680px;
}
.ichiro-intro {
  max-width:640px;
  font-size:clamp(16px,1.8vw,20px);
  line-height:1.9;
  color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,.7);
}
.ichiro-hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}
.ichiro-hero-actions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:13px 25px;
  background:#fff;
  color:#173f32;
  border-radius:7px;
  text-decoration:none;
  font-weight:700;
}
.ichiro-notice-section {
  padding:50px 0;
  background:#fff;
}
.ichiro-notice-section h2 {
  color:#173f32;
  font-size:29px;
}
.ichiro-notice-list {
  display:grid;
  gap:14px;
}
.ichiro-notice-item {
  border:1px solid #e2e7df;
  border-left:5px solid #c4a15a;
  border-radius:8px;
  padding:20px 24px;
  background:#fafbf8;
}
.ichiro-notice-item time {
  color:#65746b;
  font-size:14px;
}
.ichiro-notice-item h3 {
  margin:6px 0;
  font-size:20px;
  line-height:1.5;
}
.ichiro-notice-item p {
  margin:6px 0 0;
  font-size:16px;
}
@media(max-width:760px) {
  .ichiro-front-page .hero {
    min-height:520px;
  }
  .ichiro-front-page .hero .wrap {
    padding-top:45px;
    padding-bottom:45px;
  }
  .ichiro-front-page .hero h1 {
    font-size:clamp(30px,8vw,42px);
  }
  .ichiro-hero-actions {
    flex-direction:column;
  }
  .ichiro-hero-actions a {
    width:100%;
  }
  .ichiro-notice-section {
    padding:30px 0;
  }
  .ichiro-notice-item {
    padding:17px;
  }
}
