/*
Theme Name: amb
Theme URI: https://
Author: machino
Author URI: https://machino.tokyo
Description: machino
Text Domain:
*/

/*
main color: #25b7aa
*/

body {
    min-width: 980px;
}

html, body, p, ul, li, h1, h2, h3 {
    text-align: center;
    margin: 0;
    padding: 0;
    color: #0e0e0e;
    font-family: 'Kiwi Maru';
}

h2,h3 {
    color: #25b7aa
}

a {
    color: #fff;
    text-decoration: none;
}

#container {
    background-color: #f7f7f7;
    margin: 0 auto;
}

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: #43b6ac;
    text-align: center;
    color: #fff;
}

/* Loading画像中央配置　*/
#splash_logo {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
    width: 500px;
}

#splash .splash_machinologo {
    padding-top: 20px;
    width: 120px;
}

/* fadeUpをするアイコンの動き */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

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

#header {
    margin: 0;
    padding: 11.5% 0 0;
    background-image: url("/wp-content/themes/amb/images/header-bg-image.png") ;
    min-height: 630px;
    min-width: 880px;
    position: relative;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.4);
}

#header p {
    margin-bottom: 20px;
    font-size: 1.6em;
    letter-spacing: 0.2em;
}

#header .center-box {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

#header .left-area {
    float: left;
    width: 48%;
}

#header .left-area h1 {
    padding-top: 10px;
}

#header .left-area .ambclass {
    margin-top: -20px;
    margin-left: 15px;
    text-align: left;
}

#header .machinologo {
    clear: both;
    margin: 40px auto 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(550px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.slideInRight {
    animation-name: slideInRight;
    animation-duration: 4s;
    animation-timing-function: ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-550px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.slideInLeft {
    animation-name: slideInLeft;
    animation-duration: 4s;
    animation-timing-function: ease;
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(550px);
    }

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

.slideInBottom {
    animation-name: slideInBottom;
    animation-duration: 4s;
    animation-timing-function: ease;
    z-index: 10;
    position: relative;
}

/*スクロールダウン全体の場所*/
#header .scrolldown {
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    bottom: 10%;
    right: 50%;
    /*矢印の動き1秒かけて永遠にループ*/
    animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove {
    0% {
        bottom: 2%;
    }

    50% {
        bottom: 5%;
    }

    100% {
        bottom: 2%;
    }
}

/*Scrollテキストの描写*/
.scrolldown span {
    /*描画位置*/
    position: absolute;
    left: -24px;
    bottom: 10px;
    /*テキストの形状*/
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 5px;
    height: 20px;
    background: #fff;
    transform: skewX(-31deg);
}

.scrolldown:after {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: 0;
    /*矢印の形状*/
    width: 5px;
    height: 50px;
    background: #fff;
}

/********************************
section共通
*********************************/

section {
    padding: 100px 0;
    clear: both;
}

section h2 {
    font-size: 2.0em;
    font-family: 'Kiwi Maru';
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center !important;
}

section p {
    font-family: 'Kiwi Maru';
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8em;
    text-align: left;
}

section p.notice {
    font-size: 1.0em;
    margin-top: 10px;
}

section img {
    filter: drop-shadow(5px 5px 5px #fff);
}

#section01 {
    background-color: #f7f7f7;
}


#section02,
#section04,
#faq {
    background-color: #bdebe7;
    /*box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);*/
}

section.special {
    padding: 10px 0 100px !important;
    margin-top: -30px;
}

#section02 p,
#section03 p {
    text-align: left;
}

section .plan-status {
    margin-left: 70px;
    margin-top: 0px;
    font-size: 90%;
}

section p span.box-gold {
    color: #fff;
    background-color: #909c10;
    padding: 3px 10px;
    border: 1px solid #fff;
}

section p span.box-platinum {
    color: #fff;
    background-color: #154561;
    padding: 3px 10px;
    border: 1px solid #fff;
}

section .goldplatinum {
    background: linear-gradient(45deg, #909c10 0%, #909c10 50%, #154561 50%, #154561 100%);
    width: 100%;
    max-width: auto !important;
    padding: 100px 0;
    margin: -100px auto 0;
}

#section03 .topbox {
    clear: both;
    margin: 140px auto 30px !important;
    max-width: 1080px;
}

#section03 h2 {
    font-size: 1.3em;
}

#section03 .topbox p {
    color: #fff;
}

section .left-box {
    float: left;
    width: 50%;
}

section .left-box {
    /*margin-left: 70px;*/
}

.markerLight {
    text-align: left;
    margin-top: 10px;
}

.markerLight span {
    background: #ffff66;
    font-size: 1.5em;
}


.slidein {
    transform: translateX(-100px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s, opacity 0.5s, visibility 0.5s;
}

.slidein.js_active {
    transform: translateX(0px);
    opacity: 1;
    visibility: visible;
}

.slideright {
    transform: translateX(100px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s, opacity 0.5s, visibility 0.5s;
}

.slideright.js_active {
    transform: translateX(0px);
    opacity: 1;
    visibility: visible;
}

.slidebottom {
    transform: translateY(70px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s, opacity 0.5s, visibility 0.5s;
}

.slidebottom.js_active {
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    min-width: 880px;
    margin: 0 auto;
    font-size: 1.3em;
}

table th {
    text-align: center;
    padding: 10px 0;
    border: solid 2px #fff;
    min-width: 155px;
    color: #0e0e0e;
}

table th.noarea {
    background: none;
    border:none;
}

table th:nth-child(2) {
    background-color: #666;
    color: white;
}

table th:nth-child(3) {
    background-color: #909c10;
    color: white;
}

table th:nth-child(4) {
    background-color: #154561;
    color: white;
}

table td {
    background-color: #eee;
    text-align: center;
    padding: 7px 0;
    border: solid 2px #fff;
    min-width: 155px;
}

table .price {
    background-color: #d56b6b;
    color: #fff;
}

table .special {
    min-width: 90px !important;
    background-color: #d56b6b;
    color: #fff;
}

table td.special2 {
    background-color: #f6a4a4;
}

table th.popular span.inner {
    position: absolute;
    color: white;
    background-color: #f34955;
    left: 0;
    bottom: 0;
    display: block;
    min-width: 180px;
    padding: 10px 0;
}

p.special-notice {
    font-size: 1.2em;
    color: #fff;
}

.contact-button {
    border: 4px solid #333;
    background: #25b7aa;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-radius: 15px;
    margin: 0px auto 0;
    max-width: 700px;
    font-size: 2.2em;
}

.contact-button a {
    color: #fff;
    text-decoration: none;
    padding: 25px 0 30px;
    display: block;
}

.contact-button::after {
    background: #666;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.contact-button:hover {
    color: #333;
}

.contact-button:hover::after {
    transform: scale(1, 1);
}

#section05 {
    margin-top: -100px;
}

#section05 p {
    font-size: 1.3em;
    text-align: center;
}

#faq {
    padding-bottom: 100px;
}
#faq h3 {
    font-size: 1.5em;
    color: #25b7aa;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

#faq p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
}

footer {
    background-color: #25b7aa;
    padding: 30px 0px;
}

footer p {
    color: #fff;
    font-size: 1.5em;
}

footer img {
    display: block;
    width: 400px;
    text-align: right;
    margin: -135px auto 0
}

/*************************** 検定 *********************************/

body.page-id-7 {
    background-image: url("/wp-content/themes/amb/images/header-bg-image.png");
    min-height: 630px;
}

body.page-id-7 h1 {
    background-image: url("/wp-content/themes/amb/images/amb-gold.png");
    text-indent: -9999px;
    max-width: 680px;
    height: 59px;
    margin: 20px auto 0;
    text-align: center;
    background-repeat: no-repeat;
}



@media only screen and (max-width: 481px) {
    body {
        min-width: auto;
    }
    p, h1, h2, h3 {
        padding: 0 10px;
    }
    img {
        width: 100%;
    }
    #splash {
        display: none;
    }
    #header,#header .center-box {
        min-width: 100%;
        max-width: 100%;
    }
    #header {
        min-height: 750px;
    }
    #header p {
        font-size: 1.4em;
        margin: 20px 20px 0px;
    }
    #header img {
        width: 95%;
        vertical-align: bottom;
    }
    #header .ambclass {
        margin: 5px auto !important;
        text-align: center !important;
        float: left !important;
    }
    #header img.gold {
        height: auto;
        width: 33% !important;
        margin-bottom: -1px;
        margin-right: -10px;
        margin-left: 10px;
    }
    #header .ambclass img {
        width: 50%;
    }
    #header .right-area {
        width: 80%;
        margin: 0 auto;
    }
    #header .machinologo {
        width: 80px;
        margin-top: 20px;
    }
    #header .left-area {
        float: none;
        width: 100%;
    }

    section .left-box {
        float: none;
        width: 100%;
    }
    section .right-box,
    section .left-box {
        margin-left: 0 !important;
    }
    section h2,.markerLight span {
        font-size: 1.5em;
    }
    section .plan-status {
        margin: 0;
    }
    section p {
        font-size: 1.3em
    }
    #ays-quiz-container-2 {
        border-width: 0 !important;
    }
    .ays-questions-container p,
    .ays-questions-container a {
        font-size: 1.3em !important;
        padding: 0 !important;
        min-height: auto !important;
    }
    .ays-quiz-answers label {
        font-size: 1.2em !important;
    }
    .step {
        width: 100% !important;
        min-height: auto !important;
        margin: 0 auto !important;
    }
    .action-button {
        font-size: 1.3em !important;
    }
    .tablescroll {
        overflow-x: scroll;
    }
    .table {
        min-width: 100%;
        border-collapse: collapse;
        white-space: nowrap;
        font-size: 1.0em;
    }
    .contact-button {
        width: 90%;
    }
    footer {
        margin-top: -30px !important;
    }
    footer img {
        width: 100%;
    }
    .fadeUp,.slideright,.slidein,.slideInLeft,.slidebottom,.scrollbox,.js-loader,.slideInRight,.slideInBottom {
        animation: none;
        transform: none;
        transition: unset;
        opacity: 1.0;
        animation-duration: 0s;
        animation-timing-function: ease;
        visibility: visible;
    }
}

