/* ===========
  common
  ============ */

  @import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:wght@400;600;800&display=swap');

  :root {
    --color-black: #111;
    --color-darkgrey: #333;
    --color-lightgrey: #eee;
    --color-white: #fff;
    --color-brand: #C4BA9C;
  }

body {
  background: var(--color-black);
  color: var(--color-lightgrey);
  font-size:16px;
  line-height: 1.24;
  font-family: "Fira Sans Extra Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

section {
  padding:80px 0;
}

@media screen and (max-width:767px) {
main {
  position:relative;
  top:68px;
}

  section {
    padding:64px 0 40px;
  }
}

a {
  color:var(--color-brand);
  text-decoration: none;
  transition: .4s !important;
}

dd a {
  color: var(--color-black);
  text-decoration: underline;
}

a:not(.btn):hover{
  opacity: 0.8;
}

p {
  line-height: 1.6;
}

h2 {
  font-weight:600;
  letter-spacing:2px;
  line-height:1;
  margin:0 0 16px;
}
h3 {
  font-weight:600;
  line-height:1.6;
}

.bg-white {
  background:var(--color-white);
  color:var(--color-black);
}
.bg-lightgrey {
  background:var(--color-lightgrey);
  color:var(--color-black);
}

.btn {
  display: block;
  max-width: 80%;
  height: 48px;
  margin: auto;
  padding:0 24px;
  line-height: 48px;
  color: #fff;
  background: #FF9933;
  border-radius: 50px;
  text-align: center;
  font-size:1rem;
  font-weight:900;
  letter-spacing: 1px;
  white-space:nowrap;
  text-decoration: none;
}

.btn:hover {
  translate:0 -1.4em;
}
@media screen and (max-width:767px) {
  .btn {
    scale: 80%;
  }
}

/* ===========
  header
  ============ */
header {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  background:var(--color-black);
  z-index:99;
}

header h1 {
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 auto;
  z-index:9;
}
header h1 a {
  margin:24px auto 16px;
}
header nav {
  background:var(--color-darkgrey);
}
header nav ul {
  max-width:96%;
  width:1000px;
  margin:auto;
  height:48px;
}
header nav ul li {
  flex-basis:100px;
  text-align:center;
  flex-grow: 1;
  font-size:1.16rem;
  font-weight:600;
}

header nav ul li a:not(.btn) {
  display:block;
  height:48px;
  line-height:48px;
  padding:0 16px;

}
header nav ul li a:not(.btn):hover {
  background:#CCB360;
  color:var(--color-black);
}
header nav ul li .btn {
font-size:0.88rem;
height:32px;
line-height:32px;
  position:relative;
  top:50%;
translate:0 -50%;
  margin:0 1em;
}

@media screen and (max-width:767px) {
  header {
    display:flex;
    justify-content:flex-start;
    width:100%;
  }
  header h1 {
    margin:0;
  }
header h1 a {
  width:200px;
  margin:24px auto 16px 16px;
}
  header .btn {
    position:absolute;
    right:4.8em;
    top:50%;
    translate:0 -50%;
    font-size:0.8rem;
  }
.hamburger {
  position: fixed;
  top:1.4em;
  right: 4%;
  width: 32px;
  height:14px;
  z-index:999;
}
.hamburger.active {
  height:16px;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease-in-out;
}
.hamburger span:nth-of-type(1) {
  top: 0;
}
.hamburger span:nth-of-type(2) {
  bottom: 0;
}
.hamburger.active span {
  background:#fff;
}
.hamburger.active span:nth-of-type(1) {
  transform: translateY(3px) rotate(45deg);
}
.hamburger.active span:nth-of-type(2) {
  transform: translateY(-10px) rotate(-45deg);
}
  .hamburger-menu {
    position:fixed;
    z-index:1;
    opacity:0;
    visibility:hidden;
    transition:.3s;
  }

  .hamburger-menu.active {
    opacity:1;
    visibility:visible;
    position:fixed;
    width:100vw;
    height:100%;
    background:var(--color-darkgrey);
  }
  .hamburger-menu.active ul {
    position:absolute;
    top:8%;
    left:50%;
    translate:-50%;
    display:flex;
    flex-direction:column;
    gap:24px;
    width:100%;
  }
  .hamburger-menu.active ul li {
    width:80%;
    margin:auto;
  }
  .hamburger-menu.active ul li a {
    display:block;
    border-bottom:1px solid;
    text-align:center;
    padding:8px 0;
  }
  .hamburger-menu ul li a:hover {
    background:#000;
    opacity:1;
    letter-spacing:2px;
  }
}
@media screen and (max-width:480px) {
  header h1 a {
    width:160px;
  }
header .btn {
  right:2.8em;
  scale:0.7;
}
  }

@media screen and (min-width:768px) {
.hamburger,
.hamburger-menu {
  display:none;
}
  main {
    position:relative;
    top:119px;
    z-index:0;
  }
}


/* ===========
  top contents
  ============ */

#about {
  background:url(/img/bg-facility-01-pc.webp);
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}

#points ol {
  flex-wrap:wrap;
  justify-content: center;
  align-items:stretch;
  gap:24px;
  counter-reset: item;padding:0;
}
#points ol li {
  flex-basis:26%;
  display:flex;
  flex-direction: column;
  justify-content:center;
  gap:8px;
  align-items:center;
  color:#000;
  border-radius:8px;
  padding:40px 24px 24px;
  margin-bottom:16px;
  font-size:1.6rem;
  counter-increment: item;
  position:relative;
  text-align:center;
}
#points ol li::before {
  content: counter(item) ""; /* カウンターの値を表示 */
  font-size:2rem;
  font-weight: 600;
  position:absolute;
  background:var(--color-brand);
  top:-20px;
  left:50%;
  width:48px;
  height:48px;
  line-height:48px;
  text-align:center;
  translate:-50% 0;
  border-radius:50px;
  z-index:2;
}
#points ol li img {
  margin:0;
}
#points ol li:nth-child(2) img {
  max-width:48px;
}
#points ol li p {
  width:90%;
  margin:8px 0 0;
  font-size: 1.5rem;
}

#access dl {
  line-height:1.6;
  width:100%;
}
#access dl dt {
  background:var(--color-brand);
  padding:8px 16px;
  margin:16px auto 8px;
  font-weight:600;
  width:90%;
}
#access dl dd {
  font-size:0.9rem;
  width:90%;
  margin:auto;
}
@media screen and (max-width:767px) {
  #access .flex {
    gap:16px;
    align-items:center;
  }
  #access iframe {
    height:240px;
  }
}


/* ===========
  page contents
  ============ */

.qa-list-item {
  border-bottom: 1px solid var(--color-darkgrey);
}

.qa-list-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition:.3s;
  cursor:pointer;
  padding:8px 0;
}

.qa-list-item summary:hover {
  color: var(--color-brand);
}

.qa-list-item summary p {
  width:95%;
}

.qa-list-item summary p::before {
  content: "Q";
  padding:0 16px;
  font-weight: 800;
  font-size:2rem;
  color: var(--color-brand);
}

.qa-list-item summary::after {
  padding:0 8px;
  content: "+";
  font-size:2rem;
  transition: transform 0.3s ease;
  color: var(--color-brand);
  margin:0 0 0 auto;
}
.qa-list-item[open] summary::after {
  padding:0 8px;
  font-size:2rem;
  content: "−";
  transform: rotate(180deg);
}
.qa-list-item .contents {
  padding:8px 0;
  color: var(--color-lightgrey);
  line-height: 1.6;
  background:var(--color-darkgrey);
}
.qa-list-item p {
  width:96%;
  margin:0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.qa-list-item .contents p::before {
  content: "A";
  padding:0 16px;
  font-weight: 800;
  font-size:2rem;
  color: var(--color-brand);
}
@media screen and (max-width:767px) {
.qa-list-item p {
  font-size:0.88rem;
}
}


#training h3 {
  padding: 8px 16px;
  margin: 24px 0 16px;
  font-weight: 600;
  background: var(--color-brand);
  color: var(--color-black);
}


#training h4 {
  margin: 24px 0 16px;
  font-weight: 600;
  color: var(--color-brand);
}

.trainer {
  margin:80px 0;
}

.trainer-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 24px;
  background: var(--color-darkgrey);
  padding: 24px;
}

.trainer img {
  max-width: 240px;
  flex-shrink: 0;
}

.trainer div {
  flex: 1;
  min-width: 240px;
}

.trainer h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.trainer h4 small {
  display: block;
  font-size: 0.9rem;
  color: var(--color-lightgrey);
  margin-bottom: 4px;
}

.trainer ul {
  margin: 0 0 12px;
  padding-left: 20px;
  list-style: disc;
  color: var(--color-lightgrey);
}

.trainer p {
  color: var(--color-lightgrey);
}

#training .flex div {
  flex-basis:50%;
}

@media screen and (min-width:768px) {
#training .row-reverse {
  flex-direction:row-reverse;
}
}
@media screen and (max-width:767px) {
.trainer {
  margin:40px 0;
}
}


#facility {
  padding-top:0;
}

#facility article {
padding:80px 0;
}

#facility h3 {
  border-bottom:1px solid;
  margin-bottom:24px;
}

@media screen and (max-width:767px) {
#facility article {
padding:40px 0;
}
}


  /* ===========
  footer
  ============ */
footer {
  position:relative;
  top:68px;
  padding:80px 0 40px;
  background:var(--color-darkgrey);
  }

footer a {
  display:inline-block;
  position:relative;
  /* left:50%;
  translate:-50% 0; */
}

.footer-inner {
  max-width: 93%;
  margin: auto;
  display:flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
/* 
.footer-nav {
  padding:16px 0;
  font-size:1rem;
}
.footer-nav ul li a {
  display:block;
  padding:0 8px;
}
.footer-nav ul li a:hover {
  background:var(--color-black);
} */

@media screen and (min-width:768px) {
/* .footer-nav {
  background:var(--color-darkgrey);
} */
}
@media screen and (max-width:980px) {
/* .footer-nav {
  max-width:80%;
  margin:auto;
  padding:0;
  }
  .footer-nav ul {
    gap:8px;
  }
  .footer-nav ul li {
    width:90%;
    text-align:center;
    background:var(--color-darkgrey);
  } */

  .footer-inner {
  flex-direction: column;
  gap: 0px;
}

.footer-inner > p {
  text-align: center;
}
}
