/* 

---- 01 TYPOGRAPHY SYSTEM
/*
- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

- Font weights::
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights:
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6

- Letter Spacing
.5px
.75px

- 02 COLORS
- Primary: #e67e22
- Tints:
#cf711f
#f5cba7
#f0b27a

- Shades: 
- Accents:
- Greys
#ced4da
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#222
#555
#333

- Secondary: #ffd43b

--- 05 SHADOWS

--- 06 BORDER-RADIUS
Default: 9px
11px

--- 07 WHITESPACE
*/

:root {
    --color-primary: #e67e22;
    --color-primary-shade: #cf711f;
    --color-primary-tint1: #fdf2e9;
    --color-primary-tint2: #f5cba7;
    --color-primary-tint3: #f0b27a;
    --gradient-primary: linear-gradient(to top left,#ffa94d, #f76707 );
    --color-secondary: #ffd43b;
    --color-lightest-grey-on-white: #767676;
}

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

html {
    font-size: 62.5%;
    overflow-x: hidden;
    
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
    font-weight: 400;
    overflow-x: hidden;
}



/* ****************************** */
/* General Reuseable Components */
/* ****************************** */
.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.grid {
    display: grid;
    column-gap: 6.4rem;
    row-gap: 9.6rem;
}

.grid:not(:last-child) {
    margin-bottom: 9.6rem;
}

.grid--2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
    grid-template-columns: repeat(4, 1fr);
}

.heading-primary,
.heading-secondary,
.heading-tertiray {
    font-weight: 700;
    letter-spacing: -.5px;
    color: #333;

}

.heading-primary {
    font-size: 5.2rem;
    line-height: 1.2;
    margin-bottom: 3.2rem;
    /* color: var(--color-primary); */
    color: #e67e22 !important;
    
}

.heading-secondary {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-bottom: 9.6rem;
}

.heading-tertiary {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 3.2rem;
}

.subheading {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary-shade);
    margin-bottom: 1.6rem;
    letter-spacing: 0.75px;
}

.highlight {
    color: var(--color-primary);
    /* color: transparent;
    background-image: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text; */
}

.btn:link,
.btn:visited {
    display: inline-block;
    text-decoration: none;
    padding: 1.6rem 3.2rem;
    border-radius: 9px;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;

    transition: all .3s;
}

.btn--full:link,
.btn--full:visited {
    background: var(--color-primary);
}

.btn--full:hover,
.btn--full:active {
    background: var(--color-primary-shade);
}

.btn--outline:link,
.btn--outline:visited {
    background: #fff;
    color: #333;
}

.btn--outline:hover,
.btn--outline:active {
    background: var(--color-primary-tint1);
    box-shadow: inset 0 0 0 3px #fff;
}

.margin-right-sm {
    margin-right: 1.6rem !important;
}

.margin-bottom-sm {
    margin-bottom: 1.6rem !important;
}

.margin-top-md {
    margin-top: 4.8rem !important;
}

.margin-bottom-md {
    margin-bottom: 4.8rem !important;
}

.page-top {
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;

    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 100;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: var(--color-primary-tint2);
    display: flex;
    align-items: center;
    justify-content: center;;
    transition: all .5s ease;
}

.page-top::before {
    content: '';
    width: 1.2rem;
    height: 1.2rem;
    margin-bottom: -6px;
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    transform: rotate(-45deg);
}

.page-top:hover {
    cursor: pointer;
    transform: scale(1.1);
    background: var(--color-primary-tint3);
}

.is-hide {
    pointer-events: none;
}

#loading {
    text-align: center;
    display: none;
}

*:focus {
    outline: none;
    box-shadow: 0 0 0 .5rem rgba(230, 125, 34, 0.5);

}

/* ****************************** */
/* Header */
/* ****************************** */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-primary-tint1);

    height: 9.6rem;
    padding: 0 4.8rem;
    position: relative;
}
.logo {
    height: 4rem;
}

/* ****************************** */
/* Navigation */
/* ****************************** */

.main-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.8rem;

    transition: all .3s;
}

.main-nav-link:hover,
.main-nav-link:active {
    color: var(--color-primary-shade);
}

.main-nav-link.nav-order:link,
.main-nav-link.nav-order:visited {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 9px;
    transition: all .3s;
}

.main-nav-link.nav-order:hover,
.main-nav-link.nav-order:active {
    background: var(--color-primary-shade);
}

/* Mobile */
.btn-mobile-nav {
    border: none;
    background: none;
    cursor: pointer;

    display: none;
}

.icon-mobile-nav {
    height: 4.8rem;
    width: 4.8rem;
    color: #333;
}

.icon-mobile-nav[name="close-outline"] {
    display: none;
}

/* Sticky Navigation */
.sticky .header {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(255,255,255,.97);
    height: 8rem;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 999;
    box-shadow: 0 1.2rem 3.2rem rgba(0,0,0,0.03);
}

.sticky .section-hero {
    margin-top: 9.6rem;
}
/* ****************************** */
/* Hero Section */
/* ****************************** */

.section-hero {
    background: var(--color-primary-tint1);
    padding: 4.8rem 0 9.6rem 0;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 9.6rem;
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.hero-description {
    font-size: 2.0rem;
    line-height: 1.6;
    margin-bottom: 4.8rem;
}

.hero-img {
    width: 100%;
}

.hero-source-container {
    text-align: center;
}

.hero-source {
    color: #333;
    text-decoration: none;
    text-align: right;
    font-size: 1.5rem;
    transition: all .3s;
}

.hero-source:hover {
    color: var(--color-primary-shade);
}

.building {
    margin-top: 8rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.building-imgs {
    display: flex;
}

.building-imgs img {
    height: 6.4rem;
    width: 6.4rem;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-right: -1.6rem;
    transition: all .3s;
}

.building-imgs img:last-child {
    margin: 0;
}

.building-imgs img:hover,
.building-imgs img:active {
    transform: scale(1.4);
}

.building-text {
    font-size: 1.8rem;
    font-weight: 500;
}

.building-text span {
    color: var(--color-primary-shade);
    font-weight: 700;
}

/* ****************************** */
/* Pricing Section  */
/* ****************************** */

.section-pricing {
    padding: 9.6rem 0;   
}

.pricing-type {
    border-radius: 11px;
    width: 70%;
    transition: all .3s;
}

.pricing-type:hover {
    transform: translateY(-1rem);
}

.type-header {
    text-align: center;
    margin-bottom: 4.8rem;
}

.type-name{
    color: var(--color-primary-shade);
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.75px;
    margin-bottom: 3.2rem;
    line-height: 1;
}

.type-name span {
    font-size: 3.6rem;
}

.type-price{
    font-size: 6.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.6rem;
}

.pricing-type--bara {
    justify-self: end;
    border: 3px solid var(--color-primary-tint1);
    padding: 4.5rem;
}

.pricing-type--set {
    background: var(--color-primary-tint1);
    padding: 4.8rem;
    position: relative;
    overflow: hidden;

}

.pricing-type--set::after {
    content: "お得価格";
    position: absolute;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    top: 5%;
    right: -16%;
    background-color: var(--color-secondary);
    padding: 0.8rem 8rem;
    transform: rotate(45deg);
}

.type-price span {
    font-size: 3rem;
    font-weight: 400;
    margin-right: 0.8rem;
}

.type-text{
    font-size: 2rem;
    line-height: 1.8;
    color: #6f6f6f;
}

.type-img-box,
.type-order,
.order {
    text-align: center;
}

.type-order {
    margin-top: 4.8rem;
}

.type-img-large {
    width: 100%;   
}

.type-img-semi-large {
    width: 90%;
}

.type-details,
.theme-note {
    font-size: 1.7rem;
    line-height: 1.7;
    text-align: center;
}

/* ****************************** */
/* Theme Section */
/* ****************************** */

.section-themes {
    padding: 9.6rem 0;
}

.theme-description {
    font-size: 1.8rem;
    line-height: 1.8;
}

.theme-img-sample-box {
    text-align: center;
    position: relative;
}

.theme-img-sample-box::before,
.theme-img-sample-box::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.theme-img-sample-box::before {
    z-index: -1;
    width: 45%;
    padding-bottom: 45%;
    background-color: var(--color-primary-tint2);
}

.theme-img-sample-box::after {
    z-index: -2;
    width: 55%;
    padding-bottom: 55%;
    background-color: var(--color-primary-tint1);
}

.theme-sample-img {
    width: 55%;
}

.theme-img-scene-box {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
}

.theme-scene-img-01,
.theme-scene-img-02 {
    box-shadow: 0 0 0 2px var(--color-primary-tint2);
}
.theme-scene-img-01 {
    width: 100%;
    grid-row: 1 / 5;
    grid-column: 1 / 5;
    object-fit: cover;
    justify-self: center;
    align-self: top;
}

.theme-scene-img-02 {
    width: 100%;
    grid-row: 2 / 5;
    grid-column: 4/ 7;
    transform: rotate(5deg);
}

/* ****************************** */
/* Students Works */
/* ****************************** */

.section-works {
    padding: 9.6rem 0;
    background-color: var(--color-primary-tint1);
}

.works-radio-wrapper {
    display: flex;
    flex: 0 0 50%;
    gap: 5rem;
    padding: 0 5rem;
}

.works-radio-input {
    display: none;
}

.works-radio-label {
    font-size: 1.8rem;
    cursor: pointer;
    position: relative;
    padding-left: 4.5rem;
}

.works-radio-button {
    height: 3rem;
    width: 3rem;
    border: 5px solid var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: -.4rem;
}

.works-radio-button::after {
    content: "";
    display: block;
    height: 1.2rem;
    width: 1.2rem;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-primary);
    opacity: 0;
    transition: opacity .2s;
}

.works-radio-input:checked ~ .works-radio-label .works-radio-button::after {
    opacity: 1;
}

.works-classbtns {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.works-classbtn {
    padding: 1rem 2.5rem;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-primary-shade);
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 1rem;
    transition: all .4s;
}

.works-classbtn:hover, .works-classbtn--active {
    background-color: var(--color-primary);
    color: #fff;
}

/* ****************************** */
/* Modals for Class Description  */
/* ****************************** */

.hidden {
    visibility: hidden;
    opacity: 0;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    background-color: #fff;
    box-shadow: 0 4rem 6rem rgba(0,0,0,.3);
    border-radius: 11px;
    overflow: hidden;
    z-index: 2000;
    transition: all .5s;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.2);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: all .5s;
}

.close-modal {
    position: absolute;
    top: 0;
    right: 1rem;
    color: #333;
    cursor: pointer;
    /* background-color: #fff; */
    background: transparent;
    border-radius: 50%;
    border: none;
    font-size: 4rem;

    transition: all .3s;
}

.close-modal:hover {
   cursor: pointer;
   opacity: .7;
}

.modal-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    
    /* temp */
    /* height: 50rem; */
}

.modal-text-box {
    color: #45260a;
    padding: 2.4rem 4.8rem 2.4rem 4.8rem;
}

.modal-title {
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1.6;
}

.class-tags {
    display: flex;
    flex-wrap: wrap;;
    gap: .4rem;
    margin-bottom: 2.4rem;
}

.tag {
    display: inline-block;
    padding: .6rem 1.2rem;
    font-size: 1.4rem;
    border-radius: 11px;
    color: #333;
    font-weight: 600;
}

.tag--multiple-classes {
    background-color: #c5f6fa;
}

.tag--elementary {
    background-color: #b2f2bb;
}

.tag--regular {
    background-color: #ffc078;
}

.tag--monthly {
    background-color: #c0eb75;
}

.tag--semi-monthly {
    background-color: #ffec99;
}

.tag--elementary-senior {
    background-color:#d8f5a2;
}

.tag--junior-high {
    background-color: #96f2d7;
}

.tag--highschool {
    background-color: #ffa94d;
}

.tag--reserve {
    background-color: #dbe4ff;
}


.class-description {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #ddd;
}

.class-schedule {
    display: grid;
    grid-template-columns: 6.4rem 1fr;
    column-gap: 1.6rem;
    row-gap: .8rem;
    margin-bottom: 2.4rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid #ddd;
}

.class-schedule span {
    font-size: 1.7rem;
}

.class-schedule .day {
    text-align: center;
}

.instructor-container {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.6rem;
    margin-bottom: 1.6rem;
}

.heading-instructor {
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
    font-weight: 600;
}

.instructors {
    display: flex;
    gap: 1.6rem;
}

.instructor {
    justify-self: center;
    text-align: center;
}

.instructor-img {
    /* width: 8rem; */
    height: 12.8rem;
    margin-bottom: .8rem;
    border-radius: 50%;
}

.instructor-job,
.instructor-name {
    font-size: 1.4rem;
    line-height: 1.2;
    text-align: center;
}

.btn-container {
    text-align: center;
}

.modal .btn {
    padding: 1.2rem 1.6rem;
    font-size: 1.4rem;
}

.modal-img-top,
.modal-img-bottom {
    height: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 子どもレギュラークラス */
#modal1 .modal-img-top {
    background-image: url(../images/class/kodomo-regular-01.jpg);
}

#modal1 .modal-img-bottom {
    background-image: url(../images/class/kodomo-regular-02.jpg);
}

/* 子ども月1クラス */
#modal2 .modal-img-top {
    background-image: url(../images/class/kodomo-monthly-02.jpg);
}

#modal2 .modal-img-bottom {
    background-image: url(../images/class/kodomo-monthly-01.jpg);
}

/* 子ども月2土曜クラス */
#modal3 .modal-img-top {
    background-image: url(../images/class/kodomo-semi-monthly-01.jpg);
}

#modal3 .modal-img-bottom {
    background-image: url(../images/class/kodomo-semi-monthly-02.jpg);
}

#modal3 .modal-img-top {
    background-position: right;
}
/* 幕張ベイタウンクラス */
#modal4 .modal-img-top {
    background-image: url(../images/class/baytown-01.jpg);
}

#modal4 .modal-img-bottom {
    background-image: url(../images/class/baytown-02.jpg);
}

/* 幕張ベイパーククラス */
#modal5 .modal-img-top {
    background-image: url(../images/class/baypark-02.jpg);
}

#modal5 .modal-img-bottom {
    background-image: url(../images/class/baypark-01.jpg);
}

/* 幼児ART入門クラス */
#modal6 .modal-img-top {
    background-image: url(../images/class/preschool-01.jpg);
}

#modal6 .modal-img-bottom {
    background-image: url(../images/class/preschool-02.jpg);
}

/* 子ども職人塾 */
#modal7 .modal-img-top {
    background-image: url(../images/class/kodomo-shokunin-01.jpg);
}

#modal7 .modal-img-bottom {
    background-image: url(../images/class/kodomo-shokunin-02.jpg);
}

#modal7 .instructor-container {
    border: none;
}

/* ****************************** */
/* Gallery section  */
/* ****************************** */
.section-gallery {
    padding: 9.6rem 0;
    background: var(--color-primary-tint1);
}

.classguide-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    padding-bottom: 3.2rem;
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 3.2rem;
}

.classguide-btn {
    display: inline-block;
    background: #fff;
    border: none;
    box-shadow: inset 0 0 0 1px var(--color-primary);
    padding: .8rem 1.6rem;
    border-radius: 9px;
    
    transition: all .3s;
}

.classguide-btn:hover,
.classguide-btn:active {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}   

.classguide-btn:focus {
    outline: none;
    box-shadow: 0 0 0 .8rem rgba(230, 125, 34, 0.5);
}

.classbtn-container {
    margin-bottom: 4.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.classbtn {
    display: inline-block;
    border: none;
    padding: .8rem 1.6rem;
    color: #6f6f6f;
    background: #ced4da;
    border-radius: 9px;
    font-weight: 500;
    cursor: pointer;

    transition: all .3s;
}

.classbtn:hover,
.classbtn:active,
.classbtn--active {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;    
}

.classbtn-guide {
    font-size: 1.8rem;
    line-height: 1.6;
    padding-bottom: 2.4rem;
    margin-bottom: 2.4rem;
    border-bottom: solid 1px #e4e4e4;
}

.gallery {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    font-size: 2rem;

}

.gallery-item {
    animation-name: fadein-pattern-1;
    animation-duration: 2.5s;
    animation-iteration-count: 1;
    text-align: center;
    transition: all .3s;
}

.gallery-item:hover {
    opacity: 0.7;
}
  
@keyframes fadein-pattern-1 {
    from {
        opacity: 0;
        /* transform: translateY(10px); */
    }

    to {
        opacity: 1;
        /* transform: translateY(0px); */
    }
}

.gallery-img {
    display: inline-block;
    width: 95%;
    box-shadow: 0 0 0 3px var(--color-primary-tint3);
}

.coming-soon {
    font-size: 2rem;
}

/* ****************************** */
/* Footer  */
/* ****************************** */

.footer {
    padding: 9.6rem 0;
    border-top: 1px solid #ededed;
}

.footer-logo {
    display: block;
    /* margin-bottom: 3.2rem; */
}

.footer-link:link,
.footer-link:visited {
    text-decoration: none;
    font-size: 1.6rem;
    color: var(--color-lightest-grey-on-white);
    transition: all .3s;
}

.footer-link:hover,
.footer-link:active {
    color: #555;
}

.logo-col {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1.6rem;

}

.footer-logo {
    align-self: center;
}

.contacts {
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-lightest-grey-on-white);
}


.copyright {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-lightest-grey-on-white);
}

