/*
Theme Name: SAMURAI BLUE
Theme URI: https://samuraiblue2026-guide.com/
Author: NoV.
Description: サッカー初心者向けW杯情報サイト用オリジナルテーマ
Version: 1.0
Text Domain: samuraiblue
*/

body {
    background-color: #003b8f;
    color: white;
}

h1 {
    text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ffffff;
  padding: 10px;
}

.hero {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hotspot {
  position: absolute;
  display: block;
  z-index: 9999;
  cursor: pointer;
  background: transparent;
}

/* 5つのメニュー位置 */
.btn01 { left: 4%;  top: 42%; width: 16%; height: 15%; }
.btn02 { left: 23%; top: 42%; width: 16%; height: 15%; }
.btn03 { left: 42%; top: 42%; width: 16%; height: 15%; }
.btn04 { left: 61%; top: 42%; width: 16%; height: 15%; }
.btn05 { left: 80%; top: 42%; width: 16%; height: 15%; }

/* お問い合わせボタン */
.contact{
  position:absolute;
  left:28%;
  top:93%;
  width:44%;
  height:4%;
  z-index:20;

  background: transparent;
}

.content-image {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.group-card {
  scroll-margin-top: 90px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.group-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.group-nav {
  padding: 50px 20px;
  text-align: center;
}

.group-nav h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 30px;
}

.group-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.group-link {
  display: block;
  padding: 18px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255,255,255,0.12);

  border: 1px solid rgba(255,255,255,0.2);

  transition: all .3s ease;
}

.group-link:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.2);
}

.japan-group {
  background: linear-gradient(
    135deg,
    #0057b8,
    #0078ff
  );

  border: 2px solid #ffffff;

  box-shadow:
    0 0 15px rgba(255,255,255,.5);
}

.japan-group:hover {
  transform: translateY(-5px) scale(1.03);
}

.group-standings {
  padding: 60px 20px;
  background: #003f8f;
  color: #fff;
}

.group-standings h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
}

.standings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.group-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.group-card.highlight {
  border: 2px solid #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.group-card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 8px;
}

.group-card ol {
  list-style-position: inside;
  padding: 0;
  margin: 0;
}

.group-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
}

.group-card li:last-child {
  border-bottom: none;
}

.group-card span {
  white-space: nowrap;
  font-weight: 700;
  color: #ffeb3b;
}

@media (max-width: 600px) {
  .group-standings {
    padding: 40px 14px;
  }

  .group-standings h2 {
    font-size: 1.6rem;
  }

  .group-card {
    padding: 16px;
  }

  .group-card li {
    font-size: 0.95rem;
  }
}

.knockout-section {
  padding: 60px 20px;
  background: #002b6f;
  color: #fff;
}

.knockout-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.knockout-note {
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.85;
}

.knockout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.knockout-round {
  background: rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px;
}

.knockout-round h3 {
  text-align: center;
  margin-bottom: 16px;
}

.match-card {
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  text-align: center;
  font-weight: 700;
}

.match-card span {
  display: block;
  margin: 8px 0;
  color: #ffeb3b;
}

.japan-route {
  border: 2px solid #fff;
  box-shadow: 0 0 16px rgba(255,255,255,0.4);
}

.empty {
  opacity: 0.7;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin: 0 12px;
}

footer a:hover {
  color: #ffd700;
}

footer {
  text-align: center;
  padding: 20px 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-link {
  color: #ffd700;
  font-weight: bold;
  text-decoration: underline;
}

.contact-mail {
  margin: 15px 0;
}
.contact-page a,
.contact-page a:visited {
  color: #ffd700;
  font-weight: bold;
  text-decoration: underline;
}

.contact-page a:hover {
  color: #ffffff;
}

.table-note {
  margin: 20px 0 40px;
  font-size: 0.9rem;
  color: #d9e8ff;
  text-align: right;
  line-height: 1.6;
}

.group-table td:nth-child(2) {
  white-space: nowrap;
  min-width: 120px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.group-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

/* 日本グループ */

.japan-group{
    border:3px solid #00c8ff;
    box-shadow:0 0 25px rgba(0,180,255,.45);
}

/* 日本代表 */

.japan-row{
    background:#0057b8;
    color:#fff;
    font-weight:bold;
}

.japan-row td{
    color:#fff;
}

/* 3位チーム順位の補足 */
.third-place-ranking span {
  display: block;
  font-size: 0.8em;
  opacity: 0.75;
  margin-top: 4px;
}

/* ノックアウトステージ */
.knockout-section {
  margin: 48px 0;
  padding: 24px 16px;
  background: rgba(0, 60, 150, 0.35);
  border-radius: 20px;
}

.knockout-section h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.knockout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.match-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 16px;
  color: #fff;
}

.match-no {
  font-weight: bold;
  color: #9ee8ff;
  margin-bottom: 6px;
}

.match-date {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 10px;
}

.match-teams {
  font-size: 1.1rem;
  font-weight: bold;
}

.japan-match {
  border: 2px solid #00c8ff;
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.55);
  background: rgba(0, 90, 200, 0.45);
}

@media screen and (max-width: 768px) {
  .knockout-grid {
    grid-template-columns: 1fr;
  }

  .knockout-section {
    padding: 20px 12px;
  }

  .knockout-section h2 {
    font-size: 1.5rem;
  }
}

.knockout-results,
.round16 {
    margin: 40px 0;
}

.match-result,
.match-card {
    background: #0f4ea8;
    color: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-left: 5px solid #39b6ff;
}

.match-result span,
.match-card span {
    display: block;
    line-height: 1.6;
}

@media screen and (max-width:768px){

.match-result,
.match-card{
    font-size:0.95rem;
    padding:12px;
}

}

.match-card {
  margin-bottom: 15px;
  padding: 18px;
  border-radius: 14px;
}

.match-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.match-card br + * {
  font-size: 0.9rem;
  opacity: 0.9;
}

blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 5px solid #005bbb;
  background: #f5f9ff;
  color: #333 !important;
  font-style: italic;
  line-height: 1.8;
}

blockquote * {
  color: #333 !important;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.9rem;
  color: #666;
}

blockquote {
  color: #333 !important;
}

blockquote * {
  color: #333 !important;
}

.round-results {
  margin: 40px 0;
}

.result-card {
  background: #1f57a8;
  color: #fff;
  border-left: 8px solid #4fc3ff;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.6;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

@media screen and (max-width: 768px) {
  .result-card {
    font-size: 1rem;
    padding: 14px 16px;
  }
}

.match-card {
    background: #1f57a8;
    border-left: 8px solid #4fc3ff;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

.match-date {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: normal;
}

h2 {
    color: #fff;
    font-size: 2rem;
    margin: 40px 0 25px;
}

.news-item {
    margin-bottom: 60px;
    padding-bottom: 20px;
}

.news-item h2 {
    margin-bottom: 15px;
}

.news-item p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.knockout-section {
  margin: 40px 0;
}

.knockout-section h2 {
  margin: 45px 0 25px;
  color: #fff;
  font-size: 2rem;
  line-height: 1.5;
}

.result-card,
.semifinal-card {
  background-color: #1f57a8;
  color: #fff;
  border-left: 8px solid #4fc3ff;
  border-radius: 14px;
  margin: 18px 0;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.result-card {
  font-size: 1.3rem;
  font-weight: bold;
}

.score {
  display: inline-block;
  margin: 0 8px;
  font-size: 1.35rem;
}

.semifinal-heading {
  margin-top: 60px !important;
}

.match-teams {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.6;
}

.versus {
  display: inline-block;
  margin: 0 10px;
  color: #ffd54f;
}

.match-date {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .knockout-section h2 {
    font-size: 1.6rem;
  }

  .result-card {
    font-size: 1.05rem;
    padding: 16px 12px;
  }

  .score {
    margin: 0 4px;
    font-size: 1.1rem;
  }

  .match-teams {
    font-size: 1.2rem;
  }

  .match-date {
    font-size: 0.95rem;
  }
}

.knockout-results {
    margin: 60px 0;
}

.knockout-results h2 {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    margin: 60px 0 30px;
}

.match-card {
    background: #2f5ea8;
    color: #fff;
    padding: 20px;
    margin: 20px 0;
    border-left: 10px solid #4fc3f7;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0,0,0,.25);
}

.schedule-card {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    color: #fff;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,.2);
}

.schedule-card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.schedule-card p {
    margin: 0;
    font-size: 1.2rem;
}

.final {
    border: 3px solid #ffd700;
    background: linear-gradient(135deg, #1d4fa3, #356dc8);
}

.third-place-section {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.third-place-title {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 1.8rem;
  text-align: center;
}

.third-place-card {
  padding: 24px;
  background-color: #ffffff;
  color: #222222;
  border: 3px solid #d4af37;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.match-status {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 18px;
  background-color: #003b8f;
  color: #ffffff;
  border-radius: 20px;
  font-weight: bold;
}

.third-place-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.third-place-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-flag {
  font-size: 2.6rem;
  line-height: 1;
}

.team-name {
  font-size: 1.15rem;
  font-weight: bold;
}

.third-place-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 2.5rem;
  font-weight: bold;
  white-space: nowrap;
}

.winner-score {
  color: #d4af37;
}

.score-hyphen {
  color: #777777;
  font-size: 1.8rem;
}

.third-place-result {
  margin: 24px 0 18px;
  line-height: 1.8;
}

.third-place-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #005bbb;
  color: #ffffff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease,
              transform 0.3s ease;
}

.third-place-link:hover {
  background-color: #003b8f;
  transform: translateY(-2px);
}

@media screen and (max-width: 600px) {
  .third-place-card {
    padding: 20px 12px;
  }

  .third-place-title {
    font-size: 1.45rem;
  }

  .third-place-match {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .team-flag {
    font-size: 2rem;
  }

  .team-name {
    font-size: 0.9rem;
  }

  .third-place-score {
    gap: 6px;
    font-size: 2rem;
  }

  .score-hyphen {
    font-size: 1.4rem;
  }

  .third-place-result {
    font-size: 0.95rem;
  }

  .third-place-link {
    width: 100%;
    box-sizing: border-box;
  }
}

/* トップ画像内メニュー */
@media screen and (max-width: 600px) {
  .wp-block-buttons.hero-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
  }

  .wp-block-buttons.hero-nav > .wp-block-button {
    width: 100% !important;
    margin: 0 !important;
  }

  .wp-block-buttons.hero-nav .wp-block-button__link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}



.final-result {
  max-width: 960px;
  margin: 40px auto;
  padding: 24px;
  background-color: #ffffff;
  color: #222222;
  border-radius: 16px;
  box-sizing: border-box;
}

.final-result__heading {
  margin-bottom: 28px;
  text-align: center;
}

.final-result__label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  background-color: #003b8f;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 999px;
}

.final-result__heading h2 {
  margin: 0 0 16px;
  color: #003b8f;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.4;
}

.final-result__lead {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.9;
}

.score-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background-color: #f5f9ff;
  border: 2px solid #005bbb;
  border-radius: 14px;
}

.score-board__team {
  text-align: center;
}

.score-board__flag {
  display: block;
  margin-bottom: 6px;
  font-size: 3rem;
}

.score-board__country {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: bold;
}

.score-board__status {
  display: inline-block;
  padding: 4px 12px;
  background-color: #e5e7eb;
  color: #333333;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 999px;
}

.score-board__status--winner {
  background-color: #ffd700;
  color: #332800;
}

.score-board__result {
  min-width: 170px;
  text-align: center;
}

.score-board__score {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #003b8f;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  font-weight: bold;
}

.score-board__separator {
  color: #555555;
}

.score-board__note {
  margin: 8px 0 0;
  color: #666666;
  font-size: 0.85rem;
}

.final-summary {
  margin-bottom: 28px;
}

.final-summary h3 {
  padding-left: 12px;
  color: #003b8f;
  border-left: 5px solid #005bbb;
}

.final-summary p {
  line-height: 1.9;
}

.award-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  background-color: #fff9dc;
  border: 2px solid #d6ad00;
  border-radius: 14px;
}

.award-card__icon {
  flex-shrink: 0;
  font-size: 2.8rem;
}

.award-card__label {
  margin: 0 0 4px;
  color: #735c00;
  font-weight: bold;
}

.award-card__name {
  margin: 0 0 10px;
  color: #003b8f;
  font-size: 1.6rem;
}

.award-card__text {
  margin: 0;
  line-height: 1.8;
}

.editor-award {
  margin-bottom: 28px;
  padding: 22px;
  background-color: #f5f9ff;
  border-left: 6px solid #005bbb;
  border-radius: 8px;
}

.editor-award__label {
  margin: 0 0 6px;
  color: #005bbb;
  font-size: 0.9rem;
  font-weight: bold;
}

.editor-award h3 {
  margin: 0 0 10px;
  color: #003b8f;
}

.editor-award p {
  line-height: 1.8;
}

.final-message {
  padding: 24px;
  background-color: #003b8f;
  color: #ffffff;
  text-align: center;
  border-radius: 14px;
}

.final-message p {
  margin: 0 0 12px;
  line-height: 1.8;
}

.final-message p:last-child {
  margin-bottom: 0;
}

.final-message__thanks {
  font-size: 1.15rem;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .final-result {
    margin: 20px 12px;
    padding: 18px;
  }

  .score-board {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 14px;
  }

  .score-board__result {
    order: -1;
    min-width: 0;
  }

  .award-card {
    flex-direction: column;
  }

  .award-card__icon {
    align-self: center;
  }
}

.contact a {
    color: #ffd700;
    font-weight: bold;
}

.contact a:hover {
    color: #ffffff;
}

.contact-button {
    display: inline-block;
    background-color: #ffd700;
    color: #003b8f;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contact-button:hover {
    background-color: #ffffff;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

blockquote {
    margin: 24px 0;
    padding: 20px;
}

main {
    padding: 0 20px;
}

p {
    margin-bottom: 1.2em;
}

blockquote {
    padding: 16px 24px;
}

.beginner-note {
    background: rgba(255,255,255,0.08);
    border-left: 4px solid #ffd54a;
    padding: 12px 16px;
    border-radius: 6px;
}

/* Coverボタンを透明風に */
.wp-block-button__link {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    border-radius: 9999px;
}

.wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.wp-block-button__link:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-2px);
    transition: .2s;
}

.wp-block-cover {
    position: relative;
}
.
.top-menu-buttons .wp-block-button__link {
  font-size: 12px !important;
  padding: 10px 18px !important;
}

.top-menu-buttons {
    position: absolute;
    top: 18px;
    right: 20px;

    left: auto;
    transform: none;

    width: fit-content;
    z-index: 10;
}

.top-hero-cover {
  position: relative !important;
}

.top-hero-cover .wp-block-cover__inner-container {
  position: static !important;
}

.top-hero-cover .top-menu-buttons {
  position: absolute !important;
  top: 18px !important;
  right: 20px !important;
  left: auto !important;
  transform: none !important;

  display: flex !important;
  width: fit-content !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;

  margin: 0 !important;
  z-index: 10 !important;
}

.top-menu-buttons{
    width:fit-content !important;
}

.beginner-title {
    text-align: center;
    margin-bottom: 30px;
}

.soccer-basic {
    max-width: 650px;
    margin: 30px auto;
    padding: 24px;
    text-align: center;
    background: #f5f9ff;
    border-radius: 12px;
}

.soccer-basic h3 {
    margin-top: 0;
}

.soccer-flow p {
    margin: 12px 0;
    font-size: 1.1rem;
}

.soccer-flow span {
    display: block;
    margin: 8px 0;
    font-size: 1.4rem;
}

.soccer-point {
    margin-top: 20px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}

.soccer-basic {
    max-width: 650px;
    margin: 30px auto;
    padding: 24px;
    text-align: center;
    background: #f5f9ff;
    color: #222;
    border-radius: 12px;
}

.soccer-basic h3 {
    margin-top: 0;
    color: #003b8f;
}

.soccer-flow p {
    margin: 12px 0;
    font-size: 1.1rem;
    color: #222;
}

.soccer-flow span {
    display: block;
    margin: 8px 0;
    font-size: 1.4rem;
    color: #003b8f;
}

.soccer-point {
    margin-top: 20px;
    padding: 12px;
    background: #fff;
    color: #222;
    border-radius: 8px;
}

.match-time {
  max-width: 650px;
  margin: 30px auto;
  padding: 24px;
  text-align: center;
  background: #f5f9ff;
  color: #222;
  border-radius: 12px;
}

.match-time h3 {
  margin-top: 0;
  color: #003b8f;
}

.match-time-flow p {
  margin: 12px 0;
  color: #222;
  font-size: 1.1rem;
}

.match-time-flow span {
  display: block;
  margin: 8px 0;
  color: #003b8f;
  font-size: 1.4rem;
}

.match-time-point {
  margin-top: 20px;
  padding: 12px;
  background: #fff;
  color: #222;
  border-radius: 8px;
}

.points-guide {
  max-width: 650px;
  margin: 30px auto;
  padding: 24px;
  text-align: center;
  background: #f5f9ff;
  color: #222;
  border-radius: 12px;
}

.points-guide h3 {
  margin-top: 0;
  color: #003b8f;
}

.points-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.point-card {
  flex: 1 1 140px;
  max-width: 180px;
  padding: 18px 12px;
  background: #fff;
  border-radius: 10px;
}

.point-card strong,
.point-card span {
  display: block;
}

.point-card span {
  margin-top: 8px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #003b8f;
}

.points-note {
  margin-top: 20px;
}

.goal-difference {
  max-width: 650px;
  margin: 30px auto;
  padding: 24px;
  text-align: center;
  background: #f5f9ff;
  color: #222;
  border-radius: 12px;
}

.goal-difference h3 {
  margin-top: 0;
  color: #003b8f;
}

.goal-example {
  margin: 20px 0;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}

.goal-score {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 1.2rem;
}

.goal-equal {
  margin: 12px 0;
  color: #003b8f;
  font-size: 1.4rem;
}

.goal-result {
  font-size: 1.2rem;
}

.goal-result strong {
  color: #003b8f;
  font-size: 1.5rem;
}

.goal-point {
  margin-top: 20px;
}

.offside-guide {
  max-width: 650px;
  margin: 30px auto;
  padding: 24px;
  text-align: center;
  background: #f5f9ff;
  color: #222;
  border-radius: 12px;
}

.offside-guide h3 {
  margin-top: 0;
  color: #003b8f;
}

.offside-field {
  position: relative;
  height: 260px;
  margin: 20px 0;
  background: #e8f5e9;
  border: 3px solid #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* 相手ゴール */
.goal {
  position: absolute;
  top: 95px;
  right: 12px;
  font-size: 1.6rem;
}

.goal small {
  display: block;
  font-size: 0.7rem;
}

/* 守備ラインを表す目安 */
.offside-line {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 150px;
  border-left: 3px dashed #003b8f;
}

/* 選手共通 */
.attacker,
.defender {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2rem;
}

.attacker span,
.defender span {
  font-size: 0.8rem;
}

/* 守備側 */
.defender-1 {
  top: 70px;
  right: 165px;
}

/* オフサイド位置の攻撃選手 */
.attacker-offside {
  top: 165px;
  right: 85px;
}

.attacker-offside strong {
  margin-top: 4px;
  font-size: 0.7rem;
}

/* パスを出す味方 */
.passer {
  top: 165px;
  left: 70px;
}

/* ボール */
.ball {
  position: absolute;
  top: 145px;
  left: 125px;
  font-size: 1.5rem;
}

/* パス方向 */
.pass-arrow {
  position: absolute;
  top: 150px;
  left: 155px;
  font-size: 1.3rem;
  color: #003b8f;
}

.offside-point {
  margin-top: 20px;
  padding: 12px;
  background: #fff;
  color: #222;
  border-radius: 8px;
}

.offside-note {
  margin-top: 10px;
  font-size: 0.85rem;
}

.var-guide {
  max-width: 650px;
  margin: 30px auto;
  padding: 24px;
  text-align: center;
  background: #f5f9ff;
  color: #222;
  border-radius: 12px;
}

.var-guide h3 {
  margin-top: 0;
  color: #003b8f;
}

.var-flow {
  margin-top: 20px;
}

.var-step {
  max-width: 420px;
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  color: #222;
  border-radius: 10px;
}

.var-step small {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
}

.var-flow > span {
  display: block;
  margin: 7px 0;
  color: #003b8f;
  font-size: 1.4rem;
  font-weight: bold;
}

.var-result strong {
  color: #003b8f;
}

.var-point {
  margin-top: 20px;
  padding: 12px;
  background: #fff;
  color: #222;
  border-radius: 8px;
}

.mini-guide-img {
  display: block;
  width: 90%;
  max-width: 900px;
  height: auto;
  margin: 30px auto;
  border-radius: 12px;
}

.football-groups {
  margin: 40px 0;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0 40px;
}

.group-card {
  background: #ffffff;
  color: #222;
  border-radius: 12px;
  padding: 20px;
}

.group-card h4 {
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #005bbb;
  color: #003b8f;
}

.group-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-card li {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

.group-card li:last-child {
  border-bottom: none;
}

/* 日本を少し強調 */
.group-card li.japan {
  background: #eef5ff;
  color: #003b8f;
  font-weight: bold;
  border-left: 5px solid #005bbb;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .group-grid {
    grid-template-columns: 1fr;
  }
}

.japan-schedule {
  margin: 40px 0;
}

.schedule-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 40px;
}

.schedule-card {
  background: #ffffff;
  color: #222;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #005bbb;
}

.schedule-card .date {
  font-weight: bold;
  color: #003b8f;
  margin-bottom: 10px;
}

.schedule-card .match {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.schedule-card .stadium {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 768px) {
  .schedule-list {
    grid-template-columns: 1fr;
  }
}

.knockout-schedule {
  margin: 40px 0;
}

.knockout-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 40px;
}

.knockout-card {
  background: #ffffff;
  color: #222;
  padding: 20px;
  border-radius: 12px;
  border-top: 5px solid #005bbb;
  text-align: center;
}

.knockout-card .round {
  font-size: 1.15rem;
  font-weight: bold;
  color: #003b8f;
  margin-bottom: 10px;
}

.knockout-card .date {
  font-weight: bold;
  margin-bottom: 10px;
}

.knockout-card .stadium {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 768px) {
  .knockout-list {
    grid-template-columns: 1fr;
  }
}

.player-menu {
    display: grid;
}

.u21-roster-img,
.nadeshiko-roster-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 20px auto;
}

.u21-roster-img {
  /* U-21専用 */
}

.nadeshiko-roster-img {
  /* なでしこ専用 */
}

@media (max-width: 768px) {
  .u21-roster-img,
  .nadeshiko-roster-img {
    width: 100%;
  }
}

.home-guide {
  padding: 60px 20px;
}

.home-guide-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  color: #222;
  border-radius: 16px;
  text-align: center;
}

.home-guide-card h2 {
  color: #00479d;
  margin-bottom: 20px;
}

.home-guide-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #00479d;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

.home-national {
  padding: 60px 20px;
  text-align: center;
}

.home-national > h2 {
  margin-bottom: 15px;
  color: #fff;
}

.home-national-lead {
  margin-bottom: 35px;
  color: #fff;
}

.home-national-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.home-national-card {
  padding: 35px 25px;
  background: #fff;
  color: #222;
  border-radius: 16px;
}

.home-national-card h3 {
  color: #00479d;
}

.home-national-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #00479d;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .home-national-grid {
    grid-template-columns: 1fr;
  }
}

.home-tournament {
  padding: 60px 20px;
}

.home-tournament-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 45px 35px;
  background: #fff;
  color: #222;
  border-radius: 16px;
  text-align: center;
}

.home-tournament-card h2 {
  margin-bottom: 20px;
  color: #00479d;
}

.home-tournament-copy {
  font-weight: bold;
  font-size: 1.1rem;
}

.home-tournament-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #00479d;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

.home-broadcast {
  padding: 60px 20px;
}

.home-broadcast-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 45px 35px;
  background: #fff;
  color: #222;
  border-radius: 16px;
  text-align: center;
}

.home-broadcast-card h2 {
  margin-bottom: 20px;
  color: #00479d;
}

.home-broadcast-copy {
  font-size: 1.1rem;
  font-weight: bold;
}

.home-broadcast-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #00479d;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .wp-block-buttons.hero-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100%;
  }

  .wp-block-buttons.hero-nav > .wp-block-button {
    width: 100% !important;
    margin: 0 !important;
  }

  .wp-block-buttons.hero-nav .wp-block-button__link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;

    padding: 6px 8px !important;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
  }
}

/* ===== トップメニュー：PC表示 ===== */
@media screen and (min-width: 601px) {

  .wp-block-buttons.hero-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .wp-block-buttons.hero-nav > .wp-block-button {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .wp-block-buttons.hero-nav .wp-block-button__link {
    display: inline-block !important;
    width: auto !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
}

/* ===== トップメニュー：スマホ表示 ===== */
@media screen and (max-width: 600px) {

  .wp-block-buttons.hero-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .wp-block-buttons.hero-nav > .wp-block-button {
    width: 100% !important;
    margin: 0 !important;
  }

.wp-block-buttons.hero-nav .wp-block-button__link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    box-sizing: border-box;
    padding: 6px !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

.profile-section img {
    border-radius: 20px;
    width: 80%;
    height: auto;
}

@media (max-width: 768px) {
    .profile-section img {
        width: 60%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/* 本文内リンクを見やすく */
main a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: bold;
}

main a:hover {
    color: #ffd700;
}

.contact-guide {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-guide p {
    margin: 0;
}

.contact-btn {
    display: inline-block;
    padding: 10px 22px;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    border-radius: 9999px;
    text-decoration: none !important;
    font-weight: bold;
    white-space: nowrap;
}

.contact-btn:hover {
    background: #ffffff;
    color: #003b8f !important;
}

/* アジア競技大会 サッカー日本代表 試合日程 */
.asia-soccer-schedule {
  margin: 40px 0;
}

.asia-soccer-schedule h3 {
  margin-bottom: 20px;
  color: #ffffff;
}

.asia-schedule-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.asia-schedule-card {
  padding: 20px;
  background: #ffffff;
  color: #222222;
  border-left: 5px solid #005bbb;
  border-radius: 12px;
}

.asia-schedule-card p {
  margin: 8px 0;
}

.asia-schedule-date {
  color: #003b8f;
  font-weight: bold;
}

.asia-schedule-match {
  font-size: 1.15rem;
  font-weight: bold;
}

.asia-schedule-result {
  margin-top: 15px !important;
  padding-top: 12px;
  border-top: 1px solid #dddddd;
  font-weight: bold;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .asia-schedule-list {
    grid-template-columns: 1fr;
  }
}

.news-content {
  padding-inline: 24px;
}

.news-content p {
  font-size: 16px;
  line-height: 1.75;
}

/* アジア競技大会 トップ画像：スマホ用 */
@media (max-width: 768px) {

  .asian-games-hero > img.wp-block-cover__image-background {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (max-width: 768px) {
  .asian-games-hero {
    min-height: 0 !important;
  }
}

@media (max-width: 768px) {
  .asian-games-hero .hero-nav {
    position: static !important;
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .asian-games-hero {
    min-height: 0 !important;
  }

  .asian-games-hero > img.wp-block-cover__image-background {
    object-fit: contain !important;
    object-position: center center !important;
  }

  .asian-games-hero .hero-nav {
    position: static !important;
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .asian-games-hero > img.wp-block-cover__image-background {
    object-fit: contain !important;
    object-position: center bottom !important;
  }
}

@media (max-width: 768px) {

  .asian-games-hero {
    min-height: 0 !important;
  }

  .asian-games-hero > img.wp-block-cover__image-background {
    object-fit: contain !important;
    object-position: center center !important;
  }

}

/* PCではスマホ用ナビを隠す */
.mobile-hero-nav {
  display: none;
}

@media (max-width: 768px) {

  /* Cover内の既存ナビを隠す */
  .asian-games-hero .hero-nav {
    display: none !important;
  }

  /* スマホ専用ナビを表示 */
  .mobile-hero-nav {
    display: flex;
  }
}

/* PCではスマホ専用ナビを隠す */
.mobile-hero-nav {
  display: none !important;
}

@media (max-width: 768px) {

  /* Cover内のPC用ナビを隠す */
  .asian-games-hero .hero-nav {
    display: none !important;
  }

  /* スマホ専用ナビを表示 */
  .mobile-hero-nav {
    display: flex !important;
    flex-wrap: wrap;
  }

  .asian-games-hero {
    min-height: 0 !important;
  }

  .asian-games-hero > img.wp-block-cover__image-background {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* アジア競技大会トップ：スマホ */
@media (max-width: 768px) {

  .asian-games-hero {
    min-height: 0 !important;
    aspect-ratio: 1717 / 916;
  }

  .asian-games-hero > img.wp-block-cover__image-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

}

/* ===== トップ画像＋ナビ重ね表示 ===== */

.hero-wrap {
    position: relative;
    width: 100%;
}

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

.hero-wrap  .hero-nav {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 2;
}

@media screen and (max-width: 600px) {

    .hero-wrap .hero-nav {
        top: 15px;
        gap: 5px !important;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .hero-wrap .hero-nav .wp-block-button {
        width: calc(50% - 3px);
    }

    .hero-wrap .hero-nav .wp-block-button__link {
        width: 100%;
        padding: 6px 4px !important;
        font-size: 0.75rem !important;
        line-height: 1.1;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 600px) {

  .hero-wrap .hero-nav {
    top: 10px;
    gap: 4px !important;
    padding: 0 6px;
    box-sizing: border-box;
  }

  .hero-wrap .hero-nav .wp-block-button {
    width: calc(50% - 2px);
  }

.hero-wrap .hero-nav .wp-block-button__link {
  width: 100%;
  padding: 2px 2px !important;
  font-size: 0.66rem !important;
  line-height: 1 !important;
  box-sizing: border-box;
}
}

@media screen and (max-width: 600px) {

  .hero-wrap .hero-nav {
    top: 5px;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1px 5px !important;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .hero-wrap .hero-nav .wp-block-button:nth-of-type(n+7) {
    margin-top: 70px;
  }
}

@media screen and (max-width: 600px) {
  .hero-wrap .hero-nav .hero-nav-bottom {
    transform: translateY(70px);
  }
}

/* ===== 日本代表NEWS カード ===== */

/* ===== 日本代表NEWS カード一覧 ===== */

.news-card-grid > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    align-items: stretch;
}

@media (max-width: 768px) {
    .news-card-grid,
    .news-card-grid > .wp-block-group__inner-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.news-card {
    background: #ffffff;
    color: #222222;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.news-card-image {
    margin: -20px -20px 16px;
}

.news-card-image img {
    display: block;
    width: 100%;
    height: auto;
}

.news-card-label {
    display: inline-block;
    margin: 0 0 10px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.news-card-title {
    margin: 0 0 12px;
}

.news-card-excerpt {
    margin: 0 0 12px;
    line-height: 1.7;
}

.news-card-date {
    margin: 0 0 16px;
    font-size: 0.85rem;
}

.news-card-button {
    margin-top: auto;
}

@media (max-width: 768px) {
    .news-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== NEWSカード ボタン強制表示テスト ===== */
.news-card .news-card-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    margin-top: 16px !important;
}

.news-card .news-card-button .wp-block-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
}

.news-card .news-card-button .wp-block-button__link {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    background: #003b8f !important;
    color: #ffffff !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* ===== NEWSカード カテゴリーラベル ===== */
.news-card-label {
    display: inline-block;
    width: fit-content;
    margin: 0 0 12px;
    padding: 5px 12px;
    background: #003b8f;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-card-excerpt,
.news-card-excerpt a {
    color: #222 !important;
}

.news-card-excerpt a:hover {
    color: #222 !important;
}

.asian-games-news-guide {
    background: linear-gradient(135deg, #003b8f, #0057c2);
    color: #ffffff;
    padding: 28px 32px;
    margin: 0 0 32px;
    border-radius: 16px;
    box-sizing: border-box;
}

.asian-games-news-guide h2,
.asian-games-news-guide h3,
.asian-games-news-guide p {
    color: #ffffff;
}

.asian-games-news-guide .wp-block-button__link {
    background: #ffffff !important;
    color: #003b8f !important;
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 20px;
    text-decoration: none;
}

.asian-games-news-guide .wp-block-button__link:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .asian-games-news-guide {
        padding: 22px 20px;
        margin-bottom: 24px;
    }
}

.asian-games-news-guide {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* =========================
   U-19 日本代表 NEWS
========================= */

.u19-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    align-items: stretch;
}

@media (max-width: 768px) {
    .u19-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================
   U-19 日本代表 NEWS
========================= */

.u19-news-section {
    width: 100%;
    box-sizing: border-box;
    margin-top: 32px;
}

.u19-news-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.u19-news-section p {
    color: #222;
}

.u19-news-section .wp-block-button__link {
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .u19-news-section {
        margin-top: 24px;
    }
}

.u19-news-section img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 12px;
}

.u19-news-section {
    width: 100%;
    max-width: 460px;
    box-sizing: border-box;
    margin-top: 32px;
    padding: 20px;

    background: #ffffff;
    border-radius: 16px;
}

.u19-news-section p {
    color: #222;
}

.u19-news-section .wp-block-button__link {
    font-weight: 700;
    text-decoration: none;
}

/* U-19 NEWS ボタン */
.u19-news-section .wp-block-buttons {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    margin-top: 20px;
}

.u19-news-section .wp-block-button {
    display: block !important;
}

.u19-news-section .wp-block-button__link {
    display: inline-block !important;
    background: #003b8f !important;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 20px;
}

/* FAQ お問い合わせボタン */
.faq-contact-button {
    display: inline-block;
    background: #ffffff;
    color: #003b8f !important;
    font-weight: 700;
    text-decoration: none !important;
    padding: 12px 22px;
    border-radius: 999px;
    margin-top: 8px;
}

.faq-contact-button:hover {
    opacity: 0.9;
}

/* プロフィールを開くボタン */
.profile-modal-open {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

/* モーダル本体 */
.profile-modal {
    width: min(90%, 560px);
    padding: 0;
    border: none;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* 背景 */
.profile-modal::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

/* モーダル内部 */
.profile-modal-inner {
    padding: 28px;
    color: #222;
    background: #ffffff;
}

.profile-modal-inner h2 {
    margin-top: 0;
    color: #003b8f;
}

/* 閉じるボタン */
.profile-modal-close {
    margin-top: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: #003b8f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

/* プロフィール：制作実績ボタン */
.profile-modal-actions {
    margin-top: 24px;
}

.profile-portfolio-link {
    display: inline-block;
    background: #003b8f;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    padding: 11px 20px;
    border-radius: 999px;
}

.profile-portfolio-link:hover {
    opacity: 0.9;
}

/* プロフィール：アクションボタン */
.profile-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.profile-contact-link {
    display: inline-block;
    background: #ffffff;
    color: #003b8f !important;
    border: 2px solid #003b8f;
    font-weight: 700;
    text-decoration: none !important;
    padding: 9px 18px;
    border-radius: 999px;
}

.profile-contact-link:hover {
    opacity: 0.9;
}

/* スマホ */
@media (max-width: 768px) {
    .profile-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-modal-actions a {
        text-align: center;
    }
}

.japan-row {
  background-color: #eaf4ff;
  font-weight: bold;
}

.japan-row,
.japan-row td {
  background-color: #eaf4ff;
  color: #003b8f;
  font-weight: bold;
}

.japan-row td:first-child {
  border-left: 4px solid #003b8f;
}

.coach-card img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.coach-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 16px;
}

.coach-card img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .coach-grid {
    grid-template-columns: 1fr;
  }
}