/*
Theme Name:eva design
Description:ホームページ制作・ランディングページ制作
*/

body {
    font-size: 16px;
    font-family: yu-gothic-pr6n, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #404040;
    letter-spacing: 0.07em;
}

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

/* =======================
main-visual
======================= */

.mv-container {
    width: 100%;
    position: relative;
}

.mv-container img {
    width: 100%;
    vertical-align: bottom;
}

.contact-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    margin: auto;
    text-align: center;
}

h1 {
    font-size: 50px;
    font-weight: bold;
}

h2 {
    font-size: 18px;
    padding-top: 20px;
}

/* =======================
フェードイン
======================= */

/* 1秒間かけて上からフェードイン */
.fadeInA {
    animation-name: fadeIn1s;
    animation-delay: 1s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(-50px);
    opacity: 0;
}

@keyframes fadeIn1s {
    0% {}

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 1.5秒間かけて下からフェードイン */
.fadeInB {
    animation-name: fadeIn1500ms;
    animation-delay: 1500ms;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(50px);
    opacity: 0;
}

@keyframes fadeIn1500ms {
    0% {}

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =======================
info
======================= */

.info-container {
    width: 100%;
    text-align: center;
    padding: 50px 10px;
}

.info {
    font-size: 20px;
    line-height: 1.6;
}

/* =======================
button
======================= */

.button-container {
    width: 100%;
    text-align: center;
    padding: 0 10px 50px 10px;
}

.button-container a {
    font-size: 30px;
    font-weight: bold;
}

.btn {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #f0b8b8;
  border: solid 2px #f0b8b8;
  border-radius: 3px;
  transition: .4s;
}

.btn:hover {
  background: #f0b8b8;
  color: white;
}

/* =======================
注意事項
======================= */

.flex-box {
    width: 100%;
    height: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 30px 0;
    flex-direction: row;
}

.notes-container {
    width: 50%;
    height: auto;
    padding: 0 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.notes-content {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

.notes-title {
    padding-bottom: 30px;
}

.notes {
    font-size: 40px;
    font-weight: bold;
    border-bottom: 3px #ccc solid;
}

.notes span {
    font-size: 18px;
    padding-left: 20px;
}

.favor-txt {
    color: #f24141;
    font-weight: bold;
    line-height: 1.6;
    padding-bottom: 10px;
}

.favor ul li {
    line-height: 1.6;
    padding-bottom: 10px;
}

.favor ul li:nth-of-type(1) {
    font-size: 18px;
    font-weight: bold;
}

.favor ul li:last-child {
    padding-bottom: 0;
}

.note-img {
    width: 50%;
    height: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 10px 0 10px 10px;
}

.note-img img {
    width: 100%;
    object-fit: cover;
}

.note-box {
    padding: 0 50px 70px 50px;
}

.notebox-txt {
    border: 3px #f0b8b8 solid;
    border-radius: 30px;
    padding: 20px;
    line-height: 1.6;
}


/* =======================
responsive
======================= */

@media screen and (max-width: 1280px) {

    #navigation {
        height: 0;
    }

    .menu-trigger {
        width: 56px;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        outline: none;
    }

    .menu-trigger span {
        position: absolute;
        left: 50%;
        width: 32px;
        height: 2px;
        background-color: #404040;
        transform: translate(-50%, -50%);
    }

    .menu-trigger span:nth-of-type(1) {
        top: 16px;
    }

    .menu-trigger span:nth-of-type(2) {
        top: 50%;
    }

    .menu-trigger span:nth-of-type(3) {
        bottom: 14px;
    }

    .menu-trigger.active span:nth-of-type(1) {
        top: 49%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }

    .menu-trigger.active span:nth-of-type(3) {
        bottom: 49%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    #global-nav {
        display: none;
        width: 100vw;
        height: 100vh;
        background: none;
        margin: 0;
        padding: 9% 5% 0;
        position: fixed;
        top: 0;
        left: 50%;
        transform: translate(-50%);
        z-index: -1;
    }

    #global-nav.active {
        display: block;
        z-index: 1;
    }

    #global-nav ul {
        display: block;
    }

    #global-nav li,
    #global-nav li:nth-of-type(3),
    #global-nav li:nth-of-type(4),
    #global-nav li:last-child {
        width: 100%;
    }

    #global-nav li:nth-of-type(4),
    #global-nav li:last-child {
        padding-right: 0;
        padding-left: 10px
    }

    #global-nav li a {
        text-align: center;
        border-bottom: 1px solid #404040;
        background: rgba(255, 255, 255, .8);
        padding: 20px 10px;
    }

    .button-container {
        padding: 10px;
    }

    .flex-box {
        flex-direction: column-reverse;
    }

    .notes-container,
    .note-img {
        width: 100%;
        padding: 10px;
    }

    .note-img img {
        width: 80%;
        margin: 0 auto;
        padding: 10px 10px 50px 10px;
    }

    .note-box {
        padding: 10px;
    }

}

@media screen and (max-width: 820px) {

    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 16px;
        padding-top: 10px;
    }
}

@media screen and (max-width: 540px) {

    .info-container {
        padding: 25px 10px;
    }

    .info {
        font-size: 16px;
    }
    
}

@media screen and (max-width: 450px) {

    h1 {
        font-size: 25px;
    }

}