/* ============================================================
   完全版 style.css
   変数定義・リセット・基本スタイル・成績表・募集要項・アルバム・レスポンシブ対応・アイコン・動画
   ============================================================ */

/* ---------- 変数定義 ---------- */
:root {
  /* Colors */
  --color-text: #333;
  --color-text-dark: #191919;
  --color-black: #000;
  --color-orange: #ff7d1a;
  --color-bg-green: #d6e3b0;
  --color-bg-dark: #51504e;
  --color-table-header: #295890;
  --color-table-cell: #f8f8f8;
  --color-album-bg: #cc3333;
  --color-album-hover: #cc6633;
  --color-album-text: #fff;
  --color-link: #079eff;
  --color-red: red;

  /* Font sizes */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-smaller: 0.8rem;
  --font-size-lg: 1.3rem;
  --font-size-title1: 2.17rem;
  --font-size-title2: 1.75rem;
  --font-size-title3: 1.125rem;
  --font-size-boxname: 1rem;
  --font-size-boxname-sm: 0.875rem;

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 100px;

  /* Border radius */
  --border-radius: 40px;

  /* Breakpoints */
  --breakpoint-sm: 768px;
  --breakpoint-md: 992px;
  --breakpoint-lg: 1200px;

  /* Icon size */
  --icon-size: 1.5rem;

  /* Container width */
  --container-md: 970px;
}

/* ---------- リセット & 基本 ---------- */
body {
  color: var(--color-text);
  font-size: var(--font-size-base);
  margin: 0;
  font-family: "Source Sans Pro", sans-serif;
}

a {
  color: var(--color-link);
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a:hover {
  color: var(--color-text-dark);
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th,
caption {
  vertical-align: middle;
}

[hidden] {
  display: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
}
svg:not(:root) {
  overflow: hidden;
}

section p {
  font-size: var(--font-size-small);
}

/* ---------- 見出し ---------- */
h1.title {
  font-size: var(--font-size-title1);
  margin: 30px 10px;
  font-weight: normal;
  display: inline-block;
  line-height: 1.3;
}
h1.title2 {
  font-size: var(--font-size-title2);
  margin: 0 10px 7px 0;
}
h2.title {
  font-size: 1.5rem;
  margin: 0 10px 7px 0;
}
h3.title {
  font-size: 1.125rem;
  margin: 0 10px 7px 0;
  color: var(--color-black);
}
h3.bigtitle {
  font-size: 1.75rem;
  margin: 5px 10px 10px 7px;
  padding-bottom: 10px;
  color: var(--color-black);
}
h3.underbar {
  border-bottom: 1px solid #ccc;
}
.title3 {
  font-size: 1.125rem;
  margin: 0;
  color: var(--color-black);
}

/* ---------- 成績表 ---------- */
.main .txt table {
  width: 100%;
  line-height: 1.4;
}
.main .txt table tr {
  font-size: 95%;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.main .txt table tr td {
  padding: 3px;
}
.main .txt .06f {
  color: var(--color-black);
}
hr {
  border-top: 1px solid #ccc;
}
.small {
  font-size: 90%;
  color: blue;
  text-align: right;
}
.entryleftbox {
  padding: 7px;
}
.menul {
  background-color: #ffc;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  font-weight: bold;
}
.menur {
  border-top: 1px solid #ccc;
  margin-bottom: 3em;
}
.red {
  color: var(--color-red);
}
.awardtext {
  line-height: 1.8;
  font-weight: bold;
  text-align: left;
  margin: 0 var(--spacing-xl) var(--spacing-lg);
}
.awardtext p {
  margin: 10px 0 20px;
  padding: 0 20px;
}
.boxname {
  font-size: var(--font-size-boxname);
  color: #900;
}

/* ---------- エントリーテーブル ---------- */
.entrytable table {
  width: 100%;
  line-height: 1.4;
}
.entrytable table tr {
  margin-bottom: var(--spacing-sm);
  border-top: 1px solid #ffde4f;
}
.entrytable table tr th {
  background: #ffde4f;
  text-align: left;
  width: 25%;
  padding: var(--spacing-sm);
}
.entrytable table tr td {
  padding: var(--spacing-sm);
}
.entrytable ul {
  padding-left: 20px;
}
.entrytable .entrysmall {
  font-size: var(--font-size-smaller);
  color: var(--color-black);
}
.imgbottom20 {
  margin-bottom: var(--spacing-md);
}

/* ---------- 募集要項 ---------- */
#recruitment {
  text-align: left;
}
#recruitment table.company {
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 var(--spacing-md);
  font-weight: 400;
  width: 100%;
}
#recruitment table.company th,
#recruitment table.company td {
  text-align: left;
  padding: var(--spacing-sm);
}
#recruitment table.company th {
  background-color: var(--color-table-header);
  color: #fff;
  vertical-align: middle;
  max-width: 7em;
  overflow: visible;
  position: relative;
}
#recruitment table.company th::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -10px;
  border: 10px solid transparent;
  border-left-color: var(--color-table-header);
  pointer-events: none;
}
@-moz-document url-prefix() {
  #recruitment table.company th::after {
    position: relative;
    left: 30px;
    top: 10px;
    border-left-color: var(--color-table-header);
  }
}
#recruitment table.company td {
  background-color: var(--color-table-cell);
  padding-left: var(--spacing-md);
}

/* ---------- アルバム ---------- */
#album {
  font-size: var(--font-size-lg);
  display: block;
}
#album a {
  color: var(--color-album-text);
  background-color: var(--color-album-bg);
  border-radius: var(--border-radius);
  padding: var(--spacing-xs) 14px;
  text-decoration: none;
  outline: none;
  display: inline-block;
}
#album a:visited {
  color: #f5f5f5;
}
#album a:hover {
  color: #f5f5f5;
  text-decoration: underline;
  background-color: var(--color-album-hover);
}
#album a:active {
  text-decoration: underline;
}

/* ---------- Row / Column ---------- */
.row {
  max-width: 1111px;
  margin: 0 auto;
}
.row::after {
  content: "";
  display: block;
  clear: both;
}
.col {
  float: left;
  margin-left: 3.225%;
}
.col:first-child,
.col.left {
  margin-left: 0;
}
.col.right {
  float: right;
  margin-left: 3.225%;
}
.one-second {
  width: 48.387%;
}
.one-third {
  width: 31.183%;
}
.two-third {
  width: 65.591%;
}
.one-fourth {
  width: 24.194%;
}
.two-sixth {
  width: 72.581%;
}

/* ---------- アイコンフォント ---------- */
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot");
  src: url("../fonts/icomoon.eot?#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.woff") format("woff"),
    url("../fonts/icomoon.ttf") format("truetype"),
    url("../fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"],
[class*=" icon-"] {
  font-family: "icomoon";
  speak: none;
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--icon-size);
}

/* ---------- YouTube / 動画レスポンシブ ---------- */
.youtube,
.doga {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}
.youtube iframe,
.doga iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* ---------- メディアクエリ ---------- */
@media (min-width: var(--breakpoint-md)) {
  .container {
    width: var(--container-md);
  }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .row {
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  .row {
    padding: 0 5px;
  }
  section {
    font-size: 100%;
  }
  section p {
    font-size: 1rem;
  }
  .boxname {
    font-size: var(--font-size-boxname-sm);
  }
}

@media only screen and (max-width: 640px) {
  section {
    font-size: 100%;
  }
  .col,
  .col.left,
  .col.right {
    float: none;
    width: auto;
    margin-left: 0;
  }
}
.prog {
  border: 5px solid rgb(0, 0, 0);
  padding: 8px;
}
section#services a {
  color: #000;
}
