﻿@charset "utf-8";
/* CSS Document */

html {
  font-size: 62.5%;
  font-feature-settings: "palt";
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Serif JP", serif;
  color: #000;
  font-size: 16px;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
}
.SP {
  display: none;
}
.bkg {
  background-image: url(../img/bkg_white.png);
  background-repeat: repeat-y;
  background-position: center;
  background-size: cover;
}
header {
  background-image: url(../img/head_bkg.png);
  padding: 50px;
}
.nav {
  width: fit-content;
  margin: 0 auto;
}
nav ul {
  display: flex;
  gap: 30px;
}
nav a {
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  transition: .3s;
}
nav a:hover {
  color: #f56900;
}
nav a::before {
  background-image: url(../img/nav_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 10px;
  content: "";
  margin-right: 10px;
}
.fv {
  padding: 80px;
}
.fv img {
  display: block;
  margin: 0 auto;
  padding: 60px 0;
}
.fv ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}
.fv a {
  background-color: #fff;
  font-weight: bold;
  padding: 10px 80px;
  transition: .3s;
  color: #000;
}
.fv a:hover {
  opacity: .8;
}
section {
  padding: 80px 0;
}
.wrapp {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
}
h2 {
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  text-align: center;
  background-image: url(../img/tit_white.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 30px;
  color: #000;
}
h2.blk {
  background-image: url(../img/tit_blk.png);
  color: #fff;
}
.tit {
  margin-bottom: 80px;
}
.news_list ul {
  max-width: 1000px;
  margin: 0 auto;
}
.news_list li {
  padding: 20px;
  background-color: #fff;
  margin-bottom: 5px;
}
.news_list p {
  font-weight: bold;
  line-height: 1.5em;
  text-align: center;
}
.news_list p.caution {
  text-align: left;
}
.news_list li p span {
  padding-right: 30px;
  font-weight: bold;
}
section.blk {
  background-image: url(../img/bkg_black.png);
  background-position: center;
  background-repeat: repeat-y;
  background-size: cover;
}
.member_list ul {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.member_list ul div {
  background-color: rgba(255, 255, 255, 0.6);
  transition: .3s;
}
.member_list ul div:hover {
  transform: translateY(-5px);
}
.member_list ul div p {
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  background-color: #000;
  color: #fff;
  padding: 15px 0;
}
.member_list dd p {
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 14px;
}
.member_list dd .main {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 20px;
}
.member_list dd p a {
  color: #fff;
}
.member_list dd p span {
  color: #fff;
  border: solid 1px #fff;
  font-weight: bold;
  padding: 0 5px;
  display: inline-block;
  margin-right: 20px;
}
.member_list dd p.border {
  border-bottom: solid 1px #fff;
  padding-bottom: 10px;
}
.member_list dd p + p {
  line-height: 1.5em;
}
.member_list dl {
  display: flex;
  gap: 50px;
  justify-content: center;
  margin-bottom: 70px;
  align-items: center;
}
.member_list {
  margin-bottom: 120px;
}
.member_list dt {
  width: 413px;
}
.member_list dd {
  width: 525px;
}
.sub_tit h3 {
  text-align: center;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.ga_list {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 80px 0;
}
.event_list li p {
  padding: 0;
}
.event_list li p span {
  display: block;
  margin-bottom: 5px;
  background-color: #000;
  color: #fff;
  padding: 0 10px;
  width: fit-content;
  font-size: 13px;
}
.event_list li p a {
  border-bottom: solid 1px #ccc;
  color: #000;
  transition: .3s;
}
.event_list li p a:hover {
  opacity: .8;
}
.social_list {
  margin: 80px 0;
}
.social_list h3 {
  text-align: center;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
}
.social_list dt {
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-self: center;
}
.social_list dd {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}
.social_list dd a {
  color: #fff;
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 20px;
  transition: .3s;
}
.social_list dd a:hover {
  color: #f56900;
}
.social_list ul {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 60px;
}

.profile_txt img {
  max-width: 300px;
}
.profile_txt p {
  padding: 50px;
  color: #fff;
  line-height: 1.5em;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 15px;
}
footer {
  background-color: rgba(0, 0, 0, .9);
  padding: 100px 0 20px 0;
}
footer img {
  display: block;
  margin: 0 auto;
}
footer a {
  color: #000;
  background-color: #fff;
  padding: 10px 50px;
  display: block;
  text-align: center;
  font-weight: bold;
  width: fit-content;
  margin: 40px auto;
  transition: .3s;
}
footer a:hover {
  opacity: .8;
}
small {
  text-align: center;
  color: #fff;
  font-size: 12px;
  display: block;
  text-align: center;
}
.up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.up.on {
  transform: translateY(0);
  opacity: 1.0;
}
.fuwa {
  opacity: 0;
  transition: 4s;
}
.fuwa.show {
  opacity: 1;
}
#member {
  background-image: url(../img/bkg_samurai.png);
}
#social {
  background-image: url(../img/bkg_sns.png);
}
.profile_txt {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
}
.profile_txt p span {
  font-weight: bold;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}
.news_list table {
  width: 100%;
  margin-top: 50px;
}
.news_list table th {
  vertical-align: middle;
}
.news_list p {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
}
.news_list table th,
.news_list table td {
  border: solid 1px #000;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.8);
}
.map_wrapp {
  width: 100%;
  height: 300px;
  margin-top: 40px;
}
.map_wrapp iframe {
  width: 100%;
  height: 100%;
}
.member_list p {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.member_list p a {
  background-color: #fff;
  border-radius: 5px;
  padding: 5px;
  display: flex;
  align-items: center;
  width: fit-content;
}
.event_list a {
  display: block;
  background-color: #000;
  color: #fff;
  padding: 15px 0;
  width: 250px;
  text-align: center;
  margin: 30px auto;
  font-weight: bold;
}
.event_list p span {
  font-size: 22px;
  font-weight: bold;
  padding-top: 15px;
  border-top: solid 1px #000;
  display: block;
  width: fit-content;
  margin: 10px auto 0 auto;
}
@media screen and (max-width:850px) {
  .profile_txt {
    gap: 30px;
  }
  .profile_txt p {
    padding: 0;
  }
  .member_list ul {
    gap: 30px;
  }
}
@media screen and (max-width:730px) {
  .member_list ul {
    display: block;
  }
  .member_list ul li {
    max-width: 300px;
    margin: 0 auto 30px auto;
  }
  .profile_txt {
    display: block;
  }
  .profile_txt img {
    margin: 0 auto 30px auto;
    display: block;
    min-width: auto;
    max-width: 200px;
    width: 100%;
  }
  .profile_txt p {
    width: fit-content;
    margin: 0 auto;
    font-size: 13px;
  }
  .nav {
    margin: 0 auto;
  }
  nav a {
    font-size: 15px;
  }
  nav a::before {
    padding: 7px;
  }
  .fv img {
    max-width: 80%;
  }
  .fv a {
    padding: 10px 40px;
  }
  h2 {
    font-size: 30px;
    padding: 30px;
  }
  .member_list dl {
    display: block;
  }
  .member_list dt {
    width: fit-content;
    margin: 0 auto 30px auto;
    max-width: 70%;
  }
  .member_list dd {
    max-width: 90%;
    margin: 0 auto;
  }
  .sub_tit h3 {
    font-size: 20px;
  }
  .sub_tit h3 img {
    width: 30px;
  }
  .social_list h3 {
    font-size: 20px;
  }
  .social_list ul {
    margin-top: 40px;
  }
  .social_list dt img {
    width: 90px;
  }
  footer img {
    max-width: 40%;
  }
  .fv {
    padding: 80px 0;
  }
  .member_list dd .jost {
    text-align: center;
  }
  .news_list li p span {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
  }
  .member_list {
    margin-bottom: 60px;
  }
}

@media screen and (max-width:530px) {
  .news_list table th,
  .news_list table td {
    font-size: 13px;
    line-height: 1.5em;
  }
  .news_list table th {
    width: 45px;
  }
  .news_list table th .SP {
    display: block;
  }
  .tit {
    margin-bottom: 40px;
  }
  header {
    padding: 50px 20px;
  }
  nav ul {
    gap: 20px;
  }
  .fv ul {
    gap: 20px;
  }
  .fv a {
    font-size: 14px;
  }
  section {
    padding: 60px 0;
  }
  .member_list dd .jost {
    font-size: 18px;
    text-align: center;
  }
}

/* 動画＋3×3画像一覧 */
.gallery-movie-block {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-movie-block__video {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 50px;
}

.gallery-movie-block__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-movie-block__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-movie-block__list li {
  margin: 0;
  padding: 0;
}

.gallery-movie-block__list img {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ */
@media screen and (max-width: 730px) {
  .gallery-movie-block__video {
    margin-bottom: 30px;
  }

  .gallery-movie-block__list {
    gap: 12px;
  }
}

.gallery-movie-block__video {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px;
}

.gallery-movie-block__video video {
  display: block;
  width: 100%;
  height: auto;
}


/* ==================================================
   東舟杯 順位
================================================== */

.toshucup-ranking {
  position: relative;
  padding: 90px 0;
  background-color: #f7f7f5;
  overflow: hidden;
}

.toshucup-ranking::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 340px;
  height: 180px;
  background: #222;
  opacity: 0.9;
  transform: rotate(-12deg);
  clip-path: polygon(
    0 10%,
    100% 0,
    78% 30%,
    100% 45%,
    72% 60%,
    100% 80%,
    0 100%
  );
}

.toshucup-ranking::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: 40%;
  width: 330px;
  height: 160px;
  background: #333;
  opacity: 0.85;
  transform: rotate(-15deg);
  clip-path: polygon(
    15% 0,
    100% 10%,
    78% 35%,
    100% 48%,
    70% 65%,
    100% 90%,
    0 100%
  );
}

.toshucup-ranking__inner {
  position: relative;
  z-index: 1;
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
}


/* ========================================
   各ブロック
======================================== */

.toshucup-ranking__block {
  margin-bottom: 100px;
}

.toshucup-ranking__block:last-child {
  margin-bottom: 0;
}


/* ========================================
   タイトル
======================================== */

.toshucup-ranking__title-wrap {
  text-align: center;
  margin-bottom: 25px;
}

.toshucup-ranking h2.toshucup-ranking__title {
  position: relative;
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 12px 45px;

  background: #050505;
  background-image: none;

  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.08em;

  clip-path: polygon(
    5% 8%,
    15% 0,
    30% 4%,
    45% 0,
    60% 5%,
    78% 1%,
    95% 8%,
    100% 28%,
    96% 50%,
    100% 70%,
    93% 94%,
    75% 90%,
    55% 100%,
    35% 94%,
    15% 100%,
    4% 90%,
    0 70%,
    4% 50%,
    0 28%
  );
}

.toshucup-ranking h2.toshucup-ranking__title::before,
.toshucup-ranking h2.toshucup-ranking__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #c59b36;
}

.toshucup-ranking h2.toshucup-ranking__title::before {
  left: 15px;
}

.toshucup-ranking h2.toshucup-ranking__title::after {
  right: 15px;
}


/* ========================================
   説明文
======================================== */

.toshucup-ranking__lead {
  margin: 0 0 35px;
  padding: 0;
  background: none;
  text-align: center;
  color: #111;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.8;
}


/* ========================================
   上位入賞者
======================================== */

.toshucup-ranking__winners {
  max-width: 850px;
  margin: 0 auto;
  padding: 20px 45px;

  background:
    linear-gradient(
      135deg,
      #050505 0%,
      #181818 50%,
      #050505 100%
    );

  border: 1px solid #9e7c2d;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    inset 0 0 40px rgba(255, 255, 255, 0.03);
}

.toshucup-ranking__winner {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  min-height: 125px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.toshucup-ranking__winner:last-child {
  border-bottom: none;
}


/* ========================================
   順位メダル
======================================== */

.toshucup-ranking__medal {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  width: 95px;
  height: 95px;
  margin: 0 auto;

  font-size: 50px;
  font-weight: bold;
  line-height: 1;
}

.toshucup-ranking__medal span {
  position: relative;
  z-index: 2;
  font-weight: bold;
}


/* 葉の代わりとなる装飾 */

.toshucup-ranking__medal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 110px;
  margin: 0 auto;
}

.toshucup-ranking__medal img {
  display: block;
  width: 100%;
  max-width: 95px;
  height: auto;
}

.toshucup-ranking__medal::before {
  left: 4px;
  transform: rotate(-20deg);
}

.toshucup-ranking__medal::after {
  right: 4px;
  transform: rotate(20deg);
}


/* ========================================
   順位名
======================================== */

.toshucup-ranking__name {
  position: relative;

  margin: 0;
  padding: 0 0 0 45px;

  background: none;

  font-size: 30px;
  font-weight: bold;
  line-height: 1.5;
}

.toshucup-ranking__name::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 0;

  width: 1px;
  height: 55px;

  background: currentColor;

  transform: translateY(-50%);

  opacity: 0.7;
}

.toshucup-ranking__position {
  font-weight: bold;
}


/* 1位 */

.toshucup-ranking__winner.is-first {
  color: #d4aa3c;
}


/* 2位 */

.toshucup-ranking__winner.is-second {
  color: #f1f1f1;
}


/* 3位 */

.toshucup-ranking__winner.is-third {
  color: #c8875e;
}


/* 4位 */

.toshucup-ranking__winner.is-fourth {
  color: #f1f1f1;
}


/* ========================================
   東舟軍団
======================================== */

.toshucup-ranking__team-block {
  position: relative;
}

.toshucup-ranking__team {
  position: relative;

  max-width: 760px;

  margin: 0 auto;
  padding: 10px 40px;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid #b7953f;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


/* 四隅 */

.toshucup-ranking__team::before,
.toshucup-ranking__team::after {
  content: "";

  position: absolute;

  width: 20px;
  height: 20px;
}

.toshucup-ranking__team::before {
  top: 7px;
  left: 7px;

  border-top: 2px solid #bf9d45;
  border-left: 2px solid #bf9d45;
}

.toshucup-ranking__team::after {
  right: 7px;
  bottom: 7px;

  border-right: 2px solid #bf9d45;
  border-bottom: 2px solid #bf9d45;
}


/* ========================================
   東舟選手 1行
======================================== */

.toshucup-ranking__team-row {
  display: grid;

  grid-template-columns:
    minmax(100px, 1fr)
    60px
    minmax(100px, 1fr);

  align-items: center;

  min-height: 100px;

  border-bottom: 1px solid #d5bf87;
}

.toshucup-ranking__team-row:last-child {
  border-bottom: none;
}

.toshucup-ranking__team-name,
.toshucup-ranking__team-position,
.toshucup-ranking__team-colon {
  margin: 0;
  padding: 0;

  background: none;

  color: #111;

  font-size: 30px;
  font-weight: normal;
  line-height: 1.5;

  text-align: center;
}

.toshucup-ranking__team-colon {
  display: block;
}


/* ==================================================
   タブレット・スマートフォン
================================================== */

@media screen and (max-width: 730px) {

  .toshucup-ranking {
    padding: 60px 0;
  }

  .toshucup-ranking__inner {
    max-width: 92%;
  }

  .toshucup-ranking__block {
    margin-bottom: 70px;
  }

  .toshucup-ranking h2.toshucup-ranking__title {
    padding: 10px 32px;
    font-size: 23px;
  }

  .toshucup-ranking__lead {
    margin-bottom: 25px;
    font-size: 13px;
  }

  .toshucup-ranking__winners {
    padding: 12px 20px;
  }

  .toshucup-ranking__winner {
    grid-template-columns: 100px 1fr;
    min-height: 95px;
  }

  .toshucup-ranking__medal {
    width: 70px;
    height: 70px;

    font-size: 38px;
  }

  .toshucup-ranking__medal::before,
  .toshucup-ranking__medal::after {
    top: 18px;

    width: 15px;
    height: 36px;

    border-width: 2px;
  }

  .toshucup-ranking__name {
    padding-left: 25px;

    font-size: 21px;
  }

  .toshucup-ranking__name::before {
    height: 42px;
  }

  .toshucup-ranking__team {
    padding: 8px 20px;
  }

  .toshucup-ranking__team-row {
    min-height: 80px;

    grid-template-columns:
      minmax(70px, 1fr)
      35px
      minmax(70px, 1fr);
  }

  .toshucup-ranking__team-name,
  .toshucup-ranking__team-position,
  .toshucup-ranking__team-colon {
    font-size: 21px;
  }
}


/* ==================================================
   小型スマートフォン
================================================== */

@media screen and (max-width: 480px) {

  .toshucup-ranking h2.toshucup-ranking__title {
    padding: 9px 27px;
    font-size: 19px;
  }

  .toshucup-ranking__winners {
    padding: 10px 12px;
  }

  .toshucup-ranking__winner {
    grid-template-columns: 75px 1fr;
    min-height: 80px;
  }

  .toshucup-ranking__medal {
    width: 55px;
    height: 55px;

    font-size: 29px;
  }

  .toshucup-ranking__medal::before,
  .toshucup-ranking__medal::after {
    top: 14px;

    width: 11px;
    height: 28px;
  }

  .toshucup-ranking__name {
    padding-left: 17px;
    font-size: 17px;
  }

  .toshucup-ranking__name::before {
    height: 34px;
  }

  .toshucup-ranking__team {
    padding: 6px 12px;
  }

  .toshucup-ranking__team-row {
    min-height: 70px;

    grid-template-columns:
      minmax(60px, 1fr)
      25px
      minmax(60px, 1fr);
  }

  .toshucup-ranking__team-name,
  .toshucup-ranking__team-position,
  .toshucup-ranking__team-colon {
    font-size: 17px;
  }
}


/* ==================================================
   東舟杯 順位画像・東舟ロゴ 最終調整
================================================== */

/* 順位ロゴは画像をそのまま表示 */
.toshucup-ranking__medal {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toshucup-ranking__medal img {
  display: block;
  width: 100%;
  max-width: 110px;
  height: auto;
  object-fit: contain;
}

/* 旧CSSの疑似要素を完全に無効化 */
.toshucup-ranking__medal::before,
.toshucup-ranking__medal::after {
  content: none !important;
  display: none !important;
}

/* 東舟軍団：ロゴ｜氏名｜：｜順位 */
.toshucup-ranking__team-row {
  display: grid;
  grid-template-columns: 100px minmax(120px, 1fr) 50px minmax(100px, 1fr);
  align-items: center;
  min-height: 110px;
  border-bottom: 1px solid #d5bf87;
}

.toshucup-ranking__team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toshucup-ranking__team-logo img {
  display: block;
  width: 74px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* タブレット・スマホ */
@media screen and (max-width: 730px) {
  .toshucup-ranking__medal {
    width: 78px;
    height: 78px;
  }

  .toshucup-ranking__medal img {
    max-width: 72px;
  }

  .toshucup-ranking__team-row {
    grid-template-columns: 60px minmax(70px, 1fr) 30px minmax(60px, 1fr);
    min-height: 82px;
  }

  .toshucup-ranking__team-logo img {
    width: 46px;
  }
}

/* 小型スマホ */
@media screen and (max-width: 480px) {
  .toshucup-ranking__medal {
    width: 58px;
    height: 58px;
  }

  .toshucup-ranking__medal img {
    max-width: 54px;
  }

  .toshucup-ranking__team-row {
    grid-template-columns: 48px minmax(55px, 1fr) 22px minmax(50px, 1fr);
    min-height: 72px;
  }

  .toshucup-ranking__team-logo img {
    width: 38px;
  }
}


/* ==================================================
   東舟軍団選手 順位：参考デザイン準拠 最終調整
   ※ style.css の末尾に置く
================================================== */

.toshucup-ranking__team-block {
  margin-top: 110px;
}

/* 白い順位カード */
.toshucup-ranking__team {
  position: relative;
  box-sizing: border-box;
  width: 820px;
  max-width: 92%;
  margin: 0 auto;
  padding: 16px 38px;
  background:
    linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.96)),
    url("../img/bkg_white.png") center / cover;
  border: 1px solid #b9953d;
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
}

/* 四隅の金装飾 */
.toshucup-ranking__team::before,
.toshucup-ranking__team::after {
  content: "";
  position: absolute;
  inset: 7px;
  width: auto;
  height: auto;
  pointer-events: none;
  border: 0;
  background:
    linear-gradient(#c6a146,#c6a146) left top / 24px 2px no-repeat,
    linear-gradient(#c6a146,#c6a146) left top / 2px 24px no-repeat,
    linear-gradient(#c6a146,#c6a146) right top / 24px 2px no-repeat,
    linear-gradient(#c6a146,#c6a146) right top / 2px 24px no-repeat,
    linear-gradient(#c6a146,#c6a146) left bottom / 24px 2px no-repeat,
    linear-gradient(#c6a146,#c6a146) left bottom / 2px 24px no-repeat,
    linear-gradient(#c6a146,#c6a146) right bottom / 24px 2px no-repeat,
    linear-gradient(#c6a146,#c6a146) right bottom / 2px 24px no-repeat;
}

.toshucup-ranking__team::after {
  display: none;
}

/* 1行：ロゴ / 名前 / ： / 順位 */
.toshucup-ranking__team-row {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 115px minmax(150px, 1fr) 55px minmax(130px, 1fr);
  column-gap: 12px;
  align-items: center;
  min-height: 126px;
  padding: 10px 18px;
  border-bottom: 1px solid #d7c18a;
}

.toshucup-ranking__team-row:last-child {
  border-bottom: none;
}

/* ロゴ */
.toshucup-ranking__team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toshucup-ranking__team-logo img {
  display: block;
  width: 88px;
  max-width: 88px;
  height: auto;
  object-fit: contain;
}

/* 名前・コロン・順位 */
.toshucup-ranking__team-name,
.toshucup-ranking__team-colon,
.toshucup-ranking__team-position {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: none;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
}

.toshucup-ranking__team-name {
  text-align: center;
}

.toshucup-ranking__team-colon {
  display: block;
  text-align: center;
}

.toshucup-ranking__team-position {
  text-align: center;
}

/* 参考画像のように説明文とカードの間隔を少し広げる */
.toshucup-ranking__team-block .toshucup-ranking__lead {
  margin-bottom: 32px;
}

/* タブレット */
@media screen and (max-width: 730px) {
  .toshucup-ranking__team-block {
    margin-top: 70px;
  }

  .toshucup-ranking__team {
    max-width: 94%;
    padding: 12px 18px;
  }

  .toshucup-ranking__team-row {
    grid-template-columns: 72px minmax(80px, 1fr) 30px minmax(70px, 1fr);
    column-gap: 8px;
    min-height: 92px;
    padding: 8px 10px;
  }

  .toshucup-ranking__team-logo img {
    width: 58px;
    max-width: 58px;
  }

  .toshucup-ranking__team-name,
  .toshucup-ranking__team-colon,
  .toshucup-ranking__team-position {
    font-size: 23px;
  }
}

/* 小型スマホ */
@media screen and (max-width: 480px) {
  .toshucup-ranking__team {
    max-width: 96%;
    padding: 10px 10px;
  }

  .toshucup-ranking__team-row {
    grid-template-columns: 52px minmax(58px, 1fr) 20px minmax(52px, 1fr);
    column-gap: 5px;
    min-height: 76px;
    padding: 6px 6px;
  }

  .toshucup-ranking__team-logo img {
    width: 42px;
    max-width: 42px;
  }

  .toshucup-ranking__team-name,
  .toshucup-ranking__team-colon,
  .toshucup-ranking__team-position {
    font-size: 18px;
  }
}


/* ==================================================
   東舟杯 順位レイアウト：画像ベース版（最終上書き）
   jyuni01/02/03.png, toshu01/02/03.png を使用
================================================== */
.toshucup-ranking {
  padding: 0;
  background: none;
  overflow: hidden;
}
.toshucup-ranking::before,
.toshucup-ranking::after { content: none !important; display: none !important; }

.toshucup-ranking__panel {
  padding: clamp(56px, 6vw, 90px) 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.toshucup-ranking__panel--winners { background-image: url("../img/jyuni01.png"); }
.toshucup-ranking__panel--team { background-image: url("../img/toshu01.png"); }

.toshucup-ranking__inner {
  width: 1100px;
  max-width: 92%;
  margin: 0 auto;
}

.toshucup-ranking__title-image {
  width: min(610px, 72%);
  margin: 0 auto 24px;
}
.toshucup-ranking__title-image--team { width: min(620px, 74%); }
.toshucup-ranking__title-image img { display:block; width:100%; height:auto; }

.toshucup-ranking__lead {
  margin: 0 0 34px;
  padding: 0;
  background: none;
  color: #111;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.ranking-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.ranking-card--winners { max-width: 980px; }
.ranking-card--team { max-width: 600px; }
.ranking-card__base { display:block; width:100%; height:auto; }
.ranking-card__overlay { position:absolute; inset:0; }

.ranking-winner--first  { color: #d9ad36; }
.ranking-winner--second { color: #f0f0f0; }
.ranking-winner--third  { color: #d18b60; }
.ranking-winner--fourth { color: #f0f0f0; }
.ranking-winner__name { color: inherit; }

@media screen and (max-width: 730px) {
  .toshucup-ranking__panel { padding: 48px 0; }
  .toshucup-ranking__inner { max-width: 96%; }
  .toshucup-ranking__title-image { width: min(520px, 82%); margin-bottom: 18px; }
  .toshucup-ranking__lead { margin-bottom: 24px; font-size: 13px; }
}

@media screen and (max-width: 480px) {
  .toshucup-ranking__panel { padding: 38px 0; }
  .toshucup-ranking__title-image { width: 88%; }
  .toshucup-ranking__lead { font-size: 11px; line-height: 1.7; }
}

/* ========================================
   順位タイトルと説明文の間隔調整
======================================== */

/* PC */
.toshucup-ranking__panel--winners .toshucup-ranking__lead,
.toshucup-ranking__panel--team .toshucup-ranking__lead {
  margin-top: -120px;
}

/* スマホ */
@media screen and (max-width: 730px) {
  .toshucup-ranking__panel--winners .toshucup-ranking__lead,
  .toshucup-ranking__panel--team .toshucup-ranking__lead {
    margin-top: -70px;
  }
}


/* ==================================================
   大会の様子：説明文の帯幅・動画幅 調整
   2026-08-10
================================================== */

/* 「大会の様子」の白い説明帯を画面いっぱいにせず中央寄せ */
#member .news_list {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto 40px;
}

#member .news_list p {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 20px 30px;
}

/* 動画・写真エリアを少し広げる */
#member .gallery-movie-block {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
}

/* 動画を従来の最大800pxから1000pxへ拡大 */
#member .gallery-movie-block__video {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 50px;
}

#member .gallery-movie-block__video video {
  display: block;
  width: 100%;
  height: auto;
}

/* スマートフォン */
@media screen and (max-width: 730px) {
  #member .news_list {
    max-width: 92%;
    margin-bottom: 30px;
  }

  #member .news_list p {
    padding: 16px 18px;
  }

  #member .gallery-movie-block {
    max-width: 92%;
  }

  #member .gallery-movie-block__video {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

/* ========================================
   各セクション タイトル幅統一
======================================== */

/* 大会情報・大会の様子・東舟について */
#news .tit h2,
#member .tit h2,
#social .tit h2 {
  box-sizing: border-box;
  width: 620px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  background-size: 100% 100%;
}

/* 東舟杯 上位入賞者・東舟軍団選手順位 */
.toshucup-ranking__title-image,
.toshucup-ranking__title-image--team {
  width: 480px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* スマホ */
@media screen and (max-width: 730px) {
  #news .tit h2,
  #member .tit h2,
  #social .tit h2,
  .toshucup-ranking__title-image,
  .toshucup-ranking__title-image--team {
    width: 520px;
    max-width: 82%;
  }
}

/* 順位タイトル上部の余白を狭くする */
.toshucup-ranking__panel--winners,
.toshucup-ranking__panel--team {
  padding-top: 25px;
}

/* タイトルを1行で表示 */
.tit h2 {
  width: 480px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Gallery lightbox */
.gallery-movie-block__list img {
  cursor: zoom-in;
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-movie-block__list img:hover,
.gallery-movie-block__list img:focus-visible {
  opacity: .86;
  transform: scale(1.015);
}

.gallery-movie-block__list img:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 28px;
  background: rgba(0, 0, 0, .88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.gallery-lightbox.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox__image {
  display: block;
  width: auto;
  max-width: min(1200px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
}

.gallery-lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  cursor: pointer;
}

.gallery-lightbox__close::before,
.gallery-lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
}

.gallery-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, .18);
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media screen and (max-width: 730px) {
  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox__image {
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .gallery-lightbox__close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
}

/* 東舟軍団選手順位：2段版の最終調整 */
.ranking-card--team {
  position: relative;
}

.ranking-card--team .ranking-card__overlay--team {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
}

.ranking-card--team .ranking-team-row {
  position: absolute;
  left: 31%;
  right: 8%;
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 38px);
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  color: #111;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .9),
    0 0 8px rgba(181, 139, 34, .35);
  white-space: nowrap;
  transform: translateY(-50%);
}

.ranking-card--team .ranking-team-row:nth-child(1) {
  top: 26%;
  font-size: clamp(48px, 6.2vw, 82px);
}

.ranking-card--team .ranking-team-row:nth-child(2) {
  top: 77%;
  font-size: clamp(22px, 2.9vw, 36px);
}

.ranking-card--team .ranking-team-row__position,
.ranking-card--team .ranking-team-row__name,
.ranking-card--team .ranking-team-row__names {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.ranking-card--team .ranking-team-row__position {
  color: #b58b22;
  font-weight: 700;
}

.ranking-card--team .ranking-team-row__names {
  gap: clamp(18px, 3vw, 44px);
}

@media screen and (max-width: 730px) {
  .ranking-card--team .ranking-team-row {
    left: 31%;
    right: 6%;
    gap: clamp(9px, 2.5vw, 20px);
    font-size: clamp(20px, 5.4vw, 34px);
  }

  .ranking-card--team .ranking-team-row:nth-child(1) {
    font-size: clamp(26px, 7.4vw, 46px);
  }

  .ranking-card--team .ranking-team-row:nth-child(2) {
    font-size: clamp(14px, 4.2vw, 24px);
  }

  .ranking-card--team .ranking-team-row__names {
    gap: clamp(10px, 3vw, 24px);
  }
}

@media screen and (max-width: 480px) {
  .ranking-card--team .ranking-team-row {
    left: 30%;
    right: 5%;
    gap: clamp(6px, 2.2vw, 12px);
    font-size: clamp(17px, 5.2vw, 26px);
  }

  .ranking-card--team .ranking-team-row:nth-child(1) {
    font-size: clamp(21px, 6.8vw, 34px);
  }

  .ranking-card--team .ranking-team-row:nth-child(2) {
    font-size: clamp(11px, 3.6vw, 18px);
  }

  .ranking-card--team .ranking-team-row__names {
    gap: clamp(7px, 2.4vw, 14px);
  }
}

/* 東舟杯 上位入賞者：順位数字の中心に合わせて中央ぞろえ */
.ranking-card--winners .ranking-card__overlay--winners {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
}

.ranking-card--winners .ranking-winner {
  position: absolute;
  left: 24%;
  right: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
  font-size: clamp(36px, 4.3vw, 62px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  white-space: nowrap;
  transform: translateY(-50%);
}

.ranking-card--winners .ranking-winner:nth-child(1) {
  top: 14%;
}

.ranking-card--winners .ranking-winner:nth-child(2) {
  top: 37%;
}

.ranking-card--winners .ranking-winner:nth-child(3) {
  top: 60%;
}

.ranking-card--winners .ranking-winner:nth-child(4) {
  top: 83%;
}

@media screen and (max-width: 730px) {
  .ranking-card--winners .ranking-winner {
    left: 24%;
    right: 6%;
    font-size: clamp(22px, 6.4vw, 38px);
  }
}

@media screen and (max-width: 480px) {
  .ranking-card--winners .ranking-winner {
    left: 23%;
    right: 5%;
    font-size: clamp(18px, 5.8vw, 28px);
  }
}


