﻿@charset "UTF-8";

:root {
  --color-primary: #213a86;
  --color-accent: #ff6600;
  --color-text: #4a4a4a;
  --color-bg: #000080;
  --bg-step: #f5f7fa;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Noto Sans JP', 'sans-serif', Georgia, serif;
  --dot-size: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 11pt;
  line-height: 1.6;
  color: var(--color-text);
}

body {
  background: #fff;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

header {
  position: relative;
  z-index: 10;
}

.bg-img-wrapper {
  margin-bottom: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.bg-img {
  position: relative;
  width: 100%;
  object-fit: cover;
  z-index: 1;
}
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.tab-menu {
  background-color: var(--color-bg);
  border-bottom: 3px solid var(--color-secondary);
}
.tab-menu ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.tab-menu li {
  flex: 1;
  text-align: center;
  border: 1px solid rgb(207, 207, 207);
}
.tab-menu li:first-child {
  border-left: none;
}
.tab-menu a {
  display: block;
  padding: 18px 0;               
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color .3s;
  position: relative;
}
.tab-menu a:hover,
.tab-menu a:focus {
  background-color: rgba(255,255,255,0.1);
}
.tab-menu a.active {
  color: var(--color-secondary);
}
.tab-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 2px 2px 0 0;
}
.tab-menu a::after {
  content: "↓";
  display: block;
  font-size: 1.1rem;
  margin-top: 4px;
  color: rgba(255,255,255,0.9);
}
@media screen and (max-width: 750px) {
  .tab-menu ul {
    flex-wrap: wrap;
  }
  .tab-menu li {
    flex: 1 1 50%;
  }
  .tab-menu a {
    font-size: 0.9rem;
    padding: 10px 0;
  }
  .tab-menu a::after {
    font-size: 1rem; 
    margin-top: 2px;
  }
}

#mainvisual,
.section {
  width: 100%;
  position: relative;
  text-align: center;
  padding: 20px ;
  background: #fff;
}

.section .container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans-serif);
  color: var(--color-primary);
  margin-bottom: 20px;
}

h1 { font-size: 3.2rem; line-height: 1.4; }
h2 { font-size: 2rem; margin-bottom: 30px; }
h3 { font-size: 2.3rem; margin-bottom: 20px; }
small { font-size: 15px; }
h4 { font-size: 1.4rem; margin-bottom: 15px; font-size: 25px; padding: 15px; }
p { margin-bottom: 15px; font-size: 1.1rem; line-height: 1.6; }

.color { color: var(--color-primary); }
.color-bg { background: var(--color-bg); display: block; width: 100%; height: 2px; }

.box { text-align: center; margin-bottom: 40px; }

.company-list-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px; /* 列間余白 */
  width: 100%;
  margin: 0 auto;
}

.company-list-wrap ul {
  padding-left: 0;
  margin: 0;
}

.company-list-wrap li {
  font-size: 1rem;
  margin: 8px 0;
  line-height: 1.6;
}

@media screen and (max-width: 750px) {
  .company-list-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.sep {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 40px;
}
.sep .color-bg {
  display: block;
  width: 100%;
  height: 1px;
}

.btn-block {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background-color: #E30613;  
  color: #ffffff; 
  width: 40%;
  max-width: 600px;
  height: 60px;
  line-height: 60px;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 6px 0 #990000;
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-block:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #990000;
}
.btn-block:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #990000;
}
@media screen and (max-width: 750px) {
  .btn-block {
    width: 90%;
    height: 50px;
    line-height: 50px;
    font-size: 1.2rem;
  }
  .btn-block:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #990000;
  }
  .btn-block:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #990000;
  }
}
@media screen and (max-width: 374px) {
  .btn-block {
    height: 45px;
    line-height: 45px;
    font-size: 1rem;
  }
}
.btn-block .color-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  transition: width 0.4s;
  z-index: 1;
}
.btn-block .btn-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
}
.note {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-top: 10px;
  line-height: 1.4;
}

.companies {
  display: flex;
  flex-direction: column;
  gap: 50px;
  text-align: left;
}
.companies .set {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px;
}
#company .box {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
#company .set {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 30px;
}
#company .set .logo {
  flex: 0 0 auto;
  text-align: center;
}
#company .set .logo img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}
#company .set .logo .small-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: 8px;
}
#company .set .txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-right: 110px;
  align-items: center;
}
#company .set .txt h3 {
  font-size: 1.5rem;
  color: #203a86;
  margin-bottom: 8px;
  text-align: left;
}
#company .set .txt h4 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
  text-align: left;
}
.frame-wrapper__video {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px auto;
  height: 0;
  padding-bottom: 56.25%;
}
.frame-wrapper__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.frame-wrapper__video:empty,
.frame-wrapper__video:not(:has(iframe)) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.set:not(:has(.frame-wrapper__video iframe)) {
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
}


#company {
  padding: 0;
  background-color: #f4f6fb;
}
#company h4 .color {
  display: inline-block;
  font-size: 1.8rem;
  color: #213a86;
  border-bottom: 4px solid #ff6600;
  padding-bottom: 0.25rem;
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.8rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 600px) {
  .section-underline {
    width: 120px;
    height: 3px;
    margin-bottom: 1.5rem;
  }
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }
}
#company .box { padding: 0 2rem; }
@media screen and (max-width: 768px) {
  #company .box { padding: 0 1rem; }
}
@media screen and (max-width: 750px) {
  #company .set {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 20px;
  }
  #company .set .logo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 200px;
  }
  #company .set .logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 8px;
  }
  #company .set .txt{
    padding-right: 0;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  #company .set .txt h3 {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  #company .set .txt h4{
    width: 100%;
    align-items: center;
    text-align: center;
    font-size: 12px;
  }
  .frame-wrapper__video { margin-top: 12px; }
}
@media screen and (max-width: 374px) {
  #company .set .logo { max-width: 140px; }
  #company .set .logo img { max-width: 140px; }
  #company .set .txt h3 { font-size: 1.3rem; }
  #company .set .txt h4 { font-size: 0.9rem; }
}
#program .list { width: 100%; }
#program .list li { margin-bottom: 40px; text-align: left; }
#program hr { border: none; border-top: 1px solid var(--color-bg); margin: 30px 0; }
#program .timetable img { margin-top: 20px; width: 100%; height: auto; }
.steps {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}
.step {
  background: var(--bg-step);
  padding: 20px;
  flex: 1 1 calc(3.333% - 20px);
  text-align: center;
  border-radius: 8px;
  position: relative;
  margin-bottom:30px ;
}
.step-circle {
  width: 80px;
  height: 60px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.5rem;
  margin: 0 auto 15px auto;
}
.detail-button .btn-detail {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: opacity 0.3s;
}
.detail-button .btn-detail:hover {
  opacity: 0.8;
}
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.table-wrapper th,
.table-wrapper td {
  padding: 15px;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
}
.table-wrapper th {
  width: 15%;
  font-size: 1.1rem;
  color: var(--color-primary);
  border-right: 2px solid var(--color-text);
}
.table-wrapper td {
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 100px;
  color: var(--color-text);
}
.table-wrapper .logo { width: 25%; }
#link .link-highlight {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: bold;
}
#footer_sns {
  background: #f9f9f9;
  padding: 40px 0;
  text-align: center;
}
#footer_sns .sns ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#footer_sns .sns li {
  width: 32px;
  height: 32px;
}
#twitter{ margin-right: 120px; }
@media screen and (max-width: 1280px) {
  html { font-size: 10pt; }
  .company-info .table-wrapper table { font-size: 0.9rem; }
}
@media screen and (max-width: 980px) {
  #side-nav { right: 10px; }
  .companies .set { flex-direction: column; gap: 15px; }
}
@media screen and (max-width: 750px) {
  html { font-size: 9pt; }
  #side-nav .side-text { display: none; }
  #side-nav { right: 5px; }
  .dots li .dot { width: 8px; height: 8px; }
  .section { padding: 40px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; margin-bottom: 20px; }
  h3 { font-size: 1.4rem; margin-bottom: 15px; }
  h4 { font-size: 1.2rem; margin-bottom: 10px; }
  .steps { flex-direction: column; gap: 20px; }
  .step { width: 90%; margin: 0 auto 20px auto; }
  .step-circle { width: 50px; height: 50px; line-height: 50px; font-size: 1.2rem; }
  .companies .set { gap: 10px; border-bottom: none; margin-bottom: 20px; padding-bottom: 0; }
  .companies .logo { width: 100%; text-align: center; }
  .companies .txt { width: 100%; }
  #footer_sns .sns li { width: 28px; height: 28px; }
}
@media screen and (max-width: 374px) {
  html { font-size: 8pt; }
}
@media screen and (max-width: 750px) {
  .section { padding-top: 1rem; padding-bottom: 1rem; }
  #reserve { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .btn-block { margin-top: 0.5rem; margin-bottom: 0.5rem; }
  .sep { margin-top: 0.5rem; }
  .container { padding-top: 0; padding-bottom: 0; }
  #reserve h2, #reserve .box { margin-bottom: 0.5rem; }
}
@media screen and (max-width: 750px) {
  section#reserve { padding-top: 10px !important; padding-bottom: 10px !important; }
  section#reserve .container { padding-top: 5px; padding-bottom: 5px; }
  section#link { padding-top: 10px !important; padding-bottom: 10px !important; }
  section#link .sep { margin-top: 5px !important; margin-bottom: 5px !important; }
  section#link h2, section#link p { margin-bottom: 10px; }
  #footer_sns .sep { margin-top: 0 !important; margin-bottom: 0 !important; }
  .line-it-button { display: block !important; margin: 0 auto !important; transform: none !important; width: auto !important; }
  .line-share-wrapper, #footer_sns .container { overflow: visible !important; padding: 5px 0 !important; }
  .sep .color-bg { height: 1px !important; margin: 0 !important; }
}
@media screen and (max-width: 750px) {
  .container { padding-left: 10px !important; padding-right: 10px !important; }
}
@media screen and (max-width: 750px) {
  section#link { margin-bottom: 10 !important; padding-bottom: 0 !important; }
  #footer_sns { margin-top: 0 !important; padding-top: 0 !important; padding-right:0 ; padding-bottom: 20; text-align: center; }
  #twitter{ margin-right: 120px; }
}
.frame-wrapper__video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 50px;
}
.frame-wrapper__video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 750px) {
  .frame-wrapper__video { margin: 10px 0; }
}
@media screen and (max-width: 1024px) and (min-width: 600px) {
  .frame-wrapper__video {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 1024px) {
  .frame-wrapper__video {
    max-width: 98vw;
    padding-bottom: 56.25%;
  }
}
@media screen and (max-width: 750px) {
  .companies .set {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
  }
  .companies .logo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 0;
  }
  .companies .logo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .companies .txt {
    width: 100%;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .companies .txt h3,
  .companies .txt h4 {
    margin-bottom: 12px;
  }
}
@media screen and (max-width: 980px) {
  .company-col {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    height: auto;
  }
}
.section .container h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section .container h2 .color {
  display: inline-block;
  text-align: center;
  letter-spacing: 0.2em;
  font-size: 2rem;
}
.section .sep .color-bg {
  margin-top: 0.2rem;
}

#link.section.page {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  margin-bottom: 0 !important;
  min-height: unset !important;
}
#link .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#link h2 {
  margin-bottom: 10px !important;
  font-size: 2rem;
  letter-spacing: 0.1em;
}
#link .box ul {
  padding: 0;
  margin: 0;
}
#link .box h4 {
  font-size: 1.5rem;
  margin-bottom: 0;
}
#link .link-highlight {
  color: #ff6600 !important;
  font-weight: bold;
  text-decoration: underline;
}
