@charset "utf-8";

/*==========================
common
==========================*/
html {
    font-size: 62.5%;
}

body {
    font-family:
        'Noto Sans JP',
        Arial,
        sans-serif;
    font-style: normal;
    color: #000;
    background-color: white;
    line-height: 1.5;
    position: relative;
    background: transparent;
}

body::before {
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 120px 3%;
    font-size: 1.3rem;
}

h1 {
    width: 60px;
}

@media screen and (min-width: 1025px) {
    h1 {
        width: 123px;
    }
}

h2 {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 20px;
}

h2 img {
    height: 60px;
}

@media screen and (min-width: 1025px) {

    .section {
        padding: 300px 9.7% 100px;
        font-size: 1.6rem;
    }

    h2 {
        margin-bottom: 120px;
    }

    h2 img {
        height: auto;
    }
}/* pc 1025px */

.oswald {
    font-family:
        'oswald',
        Arial,
        sans-serif;
}

/*==========================
header
==========================*/

.header {
    padding: 15px 2%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

/* nav初期表示 */
.nav {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 15px 2%;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav.active {
    transform: translateX(0);
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    margin-top: 66px;
}

.nav__item {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 48px;
}

.nav__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

small {
    font-family:
        'oswald',
        Arial,
        sans-serif;
    font-size: 1.1rem;
    margin-top: 4px;
}

.header__btn {
    display: block;
    width: 18px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 2%;
}

/* .header pc */
@media screen and (min-width: 1025px) {
    .header {
        margin: 0 auto;
        padding: 16px 2%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
    }

    .nav__list {
        display: flex;
        margin-top: 0;
    }

    .nav__item {
        margin-top: 0;
        margin-left: 30px;
    }

    .nav__header {
        display: none;
    }

    .header__btn {
        display: none;
    }
}

:root {
  --header-h: 64px; /* SPのだいたいの高さ */
}

.main {
  padding-top: var(--header-h);
}

@media screen and (min-width: 1025px) {
  :root {
    --header-h: 80px; /* PCのヘッダー高さに合わせて調整 */
  }
}/* pc 1025px */

/*==========================
main
==========================*/

/* article header */
.mainImg .mainImg__pc {
    display: none;
}

.mainImg .mainImg__sp {
    width: 100vw;
}

/* article header pc */
@media screen and (min-width: 1025px) {

    .mainImg .mainImg__sp {
        display: none;
    }

    .mainImg .mainImg__pc {
        display: block;
        width: 100%;
    }
}/* pc 1025px */

/* greet */
.greet__img {
    display: block;
    margin: 0 auto 40px;
}

.greet__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.greet__txt {
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.contactbtn {
    display: block;
    margin: 0 auto;
    max-width: 300px;
}



/*About */

.aboutcontent {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 auto;
    align-items: center;
}

.aboutcontent li a:hover img {
  opacity: 0.7;
}


@media screen and (min-width: 1025px) {
    .aboutcontent {
        flex-direction: row;
        justify-content: center;
        gap: 60px; 
    }
}


/*Corse */

.course__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 auto 60px;
    align-items: center; 
    max-width: 990px;   
}

.course__topic {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 10px 0;
}

.course__text ul {
    list-style: disc;
    padding-left: 1.2rem;
    list-style-position: inside;
    max-width: 450px;
    
}


@media screen and (min-width: 1025px) {

.course__topic {
    font-size: 1.8rem;
}

.course__text ul {
    font-size: 1.4rem;
}

.course__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;   /* 行 / 列 */
    align-items: start;
}

}/* pc 1025px */
.price-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 1.3rem;
}

.price-table th,
.price-table td {
    padding: 10px;
}

.price-table thead th {
    font-weight: 600;
    text-align: center;
}

.price-table tbody th {
    font-weight: 500;
    text-align: left;
}

.price-table td {
    text-align: right;
}

.price-table .center {
    text-align: center;
}

.price-table {
    border: 1px solid #000;
}


/* footer */

.flow__img {
    display: block;
    margin: 0 auto 40px;
}

.flow__text {
    max-width: 580px;
    margin: 0 auto 60px;
    list-style: disc;
    padding-left: 1.2rem;
    list-style-position: inside;    
}

.tel-btn img {
    display: block;
    margin: 0 auto 40px;
    max-width: 300px;
}

.line-btn img {
    display: block;
    margin: 0 auto;
}


.trainer__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 auto 60px;
    align-items: center;    
}

.trainer__topic {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0 10px;
}

.trainer__lead {
    max-width: 400px;
}

@media screen and (min-width: 1025px) {
    .trainer__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;   /* 行 / 列 */
    align-items: start;
    max-width: 990px;   /* ← 横幅を制限 */
    margin: 0 auto;      /* ← 中央寄せ */
    }

}


/* footer */

.footer{
  background:#000;
  color:#fff;
  padding: 60px 0;
}

.footer__inner{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.footer__logo a{ display:inline-block; }
.footer__logo img{
  display:block;
  width: min(360px, 100%);
  height:auto;
}

.footer__address{
  margin: 12px 0 12px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.footer__sns{
  display:flex;
  gap: 26px;
  align-items:center;
}
.footer__sns a{ display:inline-block; }
.footer__sns img{
  display:block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer__list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
}

.footer__item a{
  display:flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 14px;
  color:#fff;
  text-decoration:none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer__item a small{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.footer__item a:hover{
  opacity: 0.85;
}

@media (max-width: 1025px){
  .footer{
    padding: 40px 0;
  }

  .footer__inner{
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .footer__logo{
    text-align:center;
    order: 1;
  }
  .footer__logo img{
    margin: 0 auto;
    width: min(320px, 100%);
  }

  /* SPでは「ロゴ → ナビ →（SNS）→ 住所」の順にする */
  .footer__nav{
    text-align:center;
    order: 2;
  }

  .footer__info{
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    order: 3;
  }

  /* footer__info内は SNS → 住所 の順 */
  .footer__sns{
    justify-content: center;
    order: 1;
  }

  .footer__address{
    order: 2;
  }

  .footer__list{
    justify-self: center;
    align-items: center;
  }
  .footer__item a{
    justify-content: center;
  }
}


@media screen and (min-width: 1025px) {

}

/* =========================
   Masugata
   ========================= */


.studio__inner{
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.studio__heading{
    display: block;
    text-align: center;  
    margin: 0 auto 22px;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.studio__name{
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.08em;
}

.studio__badge{
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid #000;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 34px;
}

.studio__text{
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: left;
  font-size: 1.3rem;
  line-height: 2.2;
  letter-spacing: 0.02em;
}

.studio__text p{
  margin: 0 0 18px;
}

.studio__cta{
  display: grid;
  justify-items: center;
}

/* ボタン本体 */
.studio-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(320px, 72vw);
  padding: 16px 18px;
  color: #ffffff;
  background-color: #000;
  font-family: 'Oswald', Arial, sans-serif;
}

.studio-btn__label{
  font-size: 1.8rem;
  letter-spacing: 0.06em;
}

.studio-btn__note{
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
  font-family: 'Noto Sans JP', Arial, sans-serif;
}

/* hover */
.studio-btn:hover{
  opacity: 0.85;
}
/* =========================
   PC (>= 1025px)
   ========================= */
@media screen and (min-width: 1025px){
  .studio{
    padding: 120px 9.7% 160px;
  }

  .studio__heading{
    font-size: 2.6rem;
    margin-bottom: 26px;
  }

  .studio__badge{
    font-size: 1.5rem;
    padding: 14px 22px;
    margin-bottom: 44px;
  }

  .studio__text{
    font-size: 1.4rem;
    line-height: 2.3;
    margin-bottom: 90px;
  }

  .studio-btn{
    width: 360px;
    padding: 18px 20px;
    font-size: 2rem;
  }
}

.info {
    margin: 0 auto 40px;
}

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;/* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}