@charset "UTF-8";

/* ====================================
   Reset & Base
==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

table,
th,
td,
div,
p,
ul,
li {
  border: none;
  padding: 0;
  margin: 0;
}

img,
object {
  border: 0;
  padding: 0;
}

/* ====================================
   Links
==================================== */
a:link {
  color: #0000ff;
}
a:visited {
  color: #3e113e;
}
a:hover,
a:active {
  color: #ff0000;
}

/* Box Link */
a.box {
  display: block;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: left top;
  text-align: left;
  text-indent: -9998px;
}
a.box:hover {
  background-position: left bottom;
}
a.box:focus {
  outline: none;
}

/* ====================================
   Utility
==================================== */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
}
.responsive {
  max-width: 100%;
  height: auto;
}

/* ====================================
   Layout
==================================== */
.wrapper {
  width: 100%;
  max-width: 61.25rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(var(--vh, 1vh) * 100); /* 動的に高さ調整 */
}

/* ====================================
   Header
==================================== */
#header,
#header .top,
#header .menu {
  width: 100%;
  max-width: 61.25rem;
}

#header {
  position: relative;
  margin-bottom: 0.5rem;
}

#header .top {
  position: relative;
  height: auto;
}

#header .menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin: 0 auto;
}

#header .menu a {
  flex: 1;
  text-align: center;
  display: block;
  text-decoration: none;
}

#header .menu button.btn-style5 {
  width: 100%;
  min-width: 4.375rem;
  box-sizing: border-box;
}

/* ====================================
   Footer
==================================== */
#footer {
  margin-top: auto;
  width: 100%;
  background-color: #f5f5f5;
  text-align: center;
  font-size: 0.875rem;
  position: relative;
}

#footer .top img.responsive {
  height: auto;
}

#footer hr {
  margin-top: 0.3125rem;
  border: none;
  border-top: 0.0625rem solid #ccc;
}

#footer .copyright {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
}

/* ====================================
   Breadcrumb
==================================== */
.pankuzu {
  margin: 0.3125rem 0 0 0.3125rem;
}

ul.bread {
  list-style: none;
  width: 100%;
  height: 0.9375rem;
  font-size: 0.875rem;
  float: left;
}
ul.bread li {
  float: left;
}

/* ====================================
   Headings
==================================== */
h1 {
  position: relative;
  font-size: 2.5rem;
  font-weight: bold;
  max-width: 60rem;
  text-shadow:
    0.125rem 0.125rem 0.3125rem white,
    -0.125rem 0.125rem 0.3125rem white,
    0.125rem -0.125rem 0.3125rem white,
    -0.125rem -0.125rem 0.3125rem white;
}

h2 {
  position: relative;
  font-size: 1.75rem;
  font-weight: bold;
  color: white;
  background-color: #2f68c5;
  padding: 0.25rem 1.25rem;
  margin: 1.5rem 0;
}

h3.heading2 {
  position: relative;
  padding-left: 1.875rem;
  border-bottom: 0.125rem solid #ccc;
  font-weight: bold;
  font-size: 1.375rem;
  line-height: 2.375rem;
  width: 50%;
}
h3.heading2:after,
h3.heading2:before {
  content: '';
  display: block;
  position: absolute;
  background: #00A8FF;
  border-radius: 0.625rem;
}
h3.heading2:after {
  height: 1.125rem;
  width: 0.25rem;
  top: 0.5rem;
  left: 0.9375rem;
  transform: rotate(45deg);
}
h3.heading2:before {
  height: 0.625rem;
  width: 0.25rem;
  top: 1rem;
  left: 0.4375rem;
  transform: rotate(-45deg);
}

/* ====================================
   Contents
==================================== */
.contents {
  position: relative;
  margin: 0.3125rem 0;
  flex: 1;
}

.summary {
  font-size: 1.125rem;
  line-height: 1.8;
  padding: 0.625rem;
}

.text-right {
  text-align: right; /* ← 右揃え */
}

.catch {
  position: relative;
  width: 100%;
  max-width: 60rem;
  background: url(/img/image.jpg) center/cover no-repeat;
  margin: 0.625rem 0;
}

.merit {
  position: relative;
  top: 1.875rem;
  max-width: 35rem;
  border-radius: 0.625rem;
  border: 0.1875rem solid #A60C16;
  padding: 0.625rem;
  font-size: 1.125rem;
  color: #A60C16;
  line-height: 1.5;
  font-weight: bold;
}

p.no1 {
  line-height: 1.8;
  font-size: 1.3125rem;
  margin: 1.25rem;
}

p.no2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0.625rem;
}

p.name {
  float: right;
}

/* ====================================
   Curriculum / Graph / Example / School
==================================== */
.curriculum {
  padding: 1rem 0 0 0;
}

.graph {
  width: 18.75rem;
  float: left;
  padding: 0.625rem;
}

.example {
  padding: 0.625rem;
  float: left;
}
.example .title {
  font-size: 2rem;
  font-weight: bold;
}
.example p {
  font-size: 1.3125rem;
  line-height: 1.8;
}

.school {
  max-width: 57.5rem;
  padding: 0.625rem;
}
.school .name {
  font-size: 2rem;
  font-weight: bold;
}
.school p {
  font-size: 1.3125rem;
  line-height: 1.8;
}

/* ====================================
   Images
==================================== */
.image-row,
.school-images {
  display: flex;
  gap: 0.625rem;
  justify-content: space-between;
}
.image-row img,
.school-images img {
  width: calc(50% - 0.3125rem);
  display: block;
}

/* ====================================
   Table
==================================== */
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
th.t_top {
  border-top: 0.25rem #b3b3b3 solid;
  width: 25%;
  /* text-align: left; */
  /* vertical-align: top; */
}
th.t_top-w {
  width: 40%;
}
th {
  border-bottom: 0.0625rem #e3e3e3 solid;
  border-left: 0.0625rem #e3e3e3 solid;
  background: #f7f7f7;
  padding: 0.625rem;
  font-size: 1.1rem;
  text-align: left;
}
td.t_top {
  border-top: 0.25rem #be1309 solid;
}
td {
  border-bottom: 0.0625rem #e3e3e3 solid;
  border-right: 0.0625rem #e3e3e3 solid;
  padding: 0.625rem;
}

/* ====================================
   Buttons
==================================== */
.btn-style5 {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background-color: #3b82f6;
  color: white;
  box-shadow: 0 0.25rem 0 color-mix(in srgb, #3b82f6 80%, black);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-style5:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 0 color-mix(in srgb, #3b82f6 80%, black);
}
.btn-style5:active {
  transform: translateY(0.125rem);
  box-shadow: 0 0.125rem 0 color-mix(in srgb, #3b82f6 80%, black);
}

/* Button Size */
.size-small {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}
.size-medium {
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
}
.size-large {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* Button Width */
.width-auto {
  display: inline-block;
  width: auto;
}
.width-full {
  display: block;
  width: 100%;
}

/* Button Radius */
.radius-none {
  border-radius: 0;
}
.radius-small {
  border-radius: 0.25rem;
}
.radius-medium {
  border-radius: 0.5rem;
}
.radius-large {
  border-radius: 3.125rem;
}

/* ====================================
   Responsive
==================================== */
@media screen and (max-width: 40rem) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.375rem;
    padding: 0.9375rem;
  }
  .merit {
    font-size: 1.25rem;
  }
  p.no1,
  .example p,
  .school p {
    font-size: 1rem;
  }
  p.no2,
  .example .title,
  .school .name {
    font-size: 1.375rem;
  }
  .graph {
    width: 100%;
    padding: 0.3125rem;
  }
  .contents,
  h1,
  h2 {
    width: 100%;
  }
  .image-row,
  .school-images {
    display: block;
  }
  .image-row img,
  .school-images img {
    width: 100%;
    margin-bottom: 0.625rem;
  }
  h3.heading2 {
    width: 100%;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  #header .menu a {
    flex: 1 1 48%;
    margin-bottom: 0.3125rem;
  }
  #header .menu button.btn-style5 {
    font-size: 1rem;
    padding: 0.3125rem 0.5rem;
  }
  #footer {
    margin-top: auto;
  }
}
