@charset "utf-8";

/* CSS Document */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

body {
    font-family: Meiryo, 'Hiragino Kaku Gothic ProN', sans-serif;
}

#narita a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    /* ie 6 7 */
    -ms-filter: "alpha(opacity=80)";
    /* ie 8 */
}

#narita {
    color: #333;
    line-height: 1.8;
    font-size: 1.2rem;
}

/*===========================================================
content
============================================================= */
/* mv *****************************/
#narita .mv {
    position: relative;
    background: url("../img/mv_bg.png") no-repeat top / cover;
}

/* tit -----*/
#narita .mv .tit {
    animation: mv_tit 0.8s 0s 1 forwards;
}

@keyframes mv_tit {
    0% {
        transform: scale(0.5); /* 小 */
    }
    50% {
        transform: scale(1.1); /* 大 */
    }
    100% {
        transform: scale(1);   /* 100% */
    }
}

/* bt -----*/
#narita img.bt_01 {
    position: absolute;
    top:49%;
    right: 0;
    z-index: 1;
    width: auto;
    max-width: 47%;
}

#narita img.bt_02 {
    position: absolute;
    top:57%;
    right: 0;
    z-index: 1;
    width: auto;
    max-width: 47%;
}


/* fr_01 *****************************/

/* fr_01_link_fr -----*/
#narita .fr_01 .fr_01_link_fr:hover {
    opacity: 0.75;
}

#narita .fr_01 .fr_01_link_fr {
    position: relative;
    margin: 0 0 3em;
    display: block;
}

#narita .fr_01 .fr_01_link_fr img {
    width: auto;
}

#narita .fr_01 .fr_01_link_fr:hover {
    opacity: 0.85;
}

#narita .fr_01 .fr_01_link {
    background: url("../img/fr_01_bg_02.png") no-repeat bottom;
    padding: 0 11.5% 0 10%;
    background-size: cover;
}

#narita .fr_01 .fr_01_link_ic {
    position: absolute;
    top: -2.3%;
    left: 2%;
    width: 33.6%;
    height: auto;
    z-index: 10;
}

#narita .fr_01 .fr_01_link_ph {
    border: 6px #00a7e8 solid;
}

#narita .fr_01 .fr_01_link_tx p {
    padding: 3% 0 8%;
    text-align: center;
    display: block;
    font-weight: 700;
    font-size: 120%;
}

/* fr_02 *****************************/
#narita .fr_02 {
    background: url("../img/fr_02_bg.png");
}

/* fr_03 *****************************/
#narita .fr_03 {
    background: url("../img/fr_03_bg.png");
}

#narita .fr_03 .bt {
    animation: fr_03_bt 2s ease-out infinite;
}

@keyframes fr_03_bt {

    0%,
    40%,
    60%,
    80% {
        transform: scale(1.0);
    }

    50%,
    70% {
        transform: scale(0.95);
    }
}

/* fr_04 *****************************/
#narita .fr_04 {
    /*background: #fff5f5 url("../img/fr_04_bg_01.png");
    padding-bottom: 9em;*/
}

#narita .fr_04 .tx {
    /*position: relative;
    top: -7em;*/
}

#narita .fr_04 .ownly {
    position: relative;
    /*top: -7em;*/
    padding: 0 2.4em 3em;

}

/* fr_05 *****************************/
#narita .fr_05 {
    background: url("../img/fr_05_bg.png");
}

#narita .fr_05 .tx {
    position: relative;
    top: -9em;
}

#narita .fr_05 p {
    padding: 2em 2.4em 0;
    font-size: 130%;
}

#narita .fr_05 p span {
    font-size: 70%;
    vertical-align: top;
}

#narita .fr_05 p span.comment {
    display: block;
    font-size: 80%;
    padding: 1em 0 0 1em;
    text-indent: -1em;
}

#narita .fr_05 .bt {
    padding: 2em 0 0 0;
    animation: fr_05_bt 5s ease-in-out infinite;
}

@keyframes fr_05_bt {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-20px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(20px);
    }
}

/* fr_06 *****************************/
#narita .fr_06 {
    background: #edffff;
}

#narita .fr_06_bt {
    padding: 3em 0;
    margin-bottom: 3em;
    animation: fr_06_bt 2.5s infinite;
}

/* fr_07 *****************************/
#narita .fr_07 {
    background: #fff url("../img/fr_07_bg_01.png") bottom;
    margin-bottom: 4em;
    position: relative;
}

/* fr_08 *****************************/
#narita .fr_08 {
    margin-bottom: 4em;
}

/*-----*/
#narita .fr_08 .fr_08_link_fr:hover {
    opacity: 0.75;
}

#narita .fr_08 .fr_08_link_fr {
    position: relative;
    margin: 0 0 3em;
    display: block;
}

#narita .fr_08 .fr_08_link_fr img {
    width: auto;
}

#narita .fr_08 .fr_08_link_fr:hover {
    opacity: 0.85;
}

#narita .fr_08 .fr_08_link {
    padding: 0 5.05%
}

#narita .fr_08 .fr_08_link_ic {
    position: absolute;
    top: 5%;
    left: 3%;
    width: 27.4%;
    height: auto;
    z-index: 10;
}

#narita .fr_08 .fr_08_link_ph {
    position: relative;
    border: 6px #ffa1d0 solid;
    border-radius: 43px;
    overflow: hidden;
}

#narita .fr_08 .fr_08_link_tx p {
    padding: 3% 0 8%;
    text-align: center;
    display: block;
    font-weight: 700;
    font-size: 120%;
    border-bottom: 3px dotted #fcaec7;
}
/*-----*/



/*===========================================================
font
============================================================= */

/* 480～599px：SP横
------------------------------ */
@media screen and (min-width:480px) and (max-width:599px) {
    #narita {
        font-size: 1.4rem;
    }
}

/* 600～959px：タブレット
------------------------------ */
@media screen and (min-width:600px) and (max-width:959px) {
    #narita {
        font-size: 1.5rem;
    }
}

/* 960～1279px：PC小
------------------------------ */
@media screen and (min-width:960px) and (max-width:1279px) {
    #narita {
        font-size: 1.5rem;
    }
}

/* 1280～：PC大
------------------------------ */
@media screen and (min-width:1280px) {
    #narita {
        font-size: 1.6rem;
    }
}

/*===========================================================
sns
============================================================= */
#narita .sns {
    display: grid;
    display: -ms-grid;
    /* IE */
    width: 100%;
    padding: 5% 3.13%;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1%;
    -ms-grid-columns: 1fr 1% 1fr 1% 1fr 1% 1fr;
    /* IE */
    background: #fff;
    /* 追加 */
}

#narita .sns > li {
    min-height: 40px;
    border-radius: 5px;
    overflow: hidden;
    /* 文字を非表示 */
    text-indent: 100%;
    /* 文字を非表示 */
    white-space: nowrap;
    /* 文字を非表示 */
    -ms-grid-row: 1;
    /* IE */
}

#narita .sns li a {
    display: block;
}

#narita .sns li:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Facebook */
#narita .sns li:nth-child(1) {
    background: #1877f2 url("../img/sns_bt_fb.png") no-repeat center;
    -ms-grid-column: 1;
}

/* LINE */
#narita .sns li:nth-child(2) {
    background: #06c755 url("../img/sns_bt_line.png") no-repeat center;
    -ms-grid-column: 3;
}

/* X */
#narita .sns li:nth-child(3) {
    background: #000000 url("../img/sns_bt_x.png") no-repeat center;
    -ms-grid-column: 5;
}

/* HatenaBookmark */
#narita .sns li:nth-child(4) {
    background: #00a4de url("../img/sns_bt_htb.png") no-repeat center;
    -ms-grid-column: 7;
}

@media screen and (max-width:640px) {

    #narita .sns li:nth-child(1),
    #narita .sns li:nth-child(2),
    #narita .sns li:nth-child(3),
    #narita .sns li:nth-child(4) {
        background-size: contain;
    }
}

/* ↑#xxxxには固有のID名を入れてください。この上はID名以外編集しないでください。内容を修正したいときは、新たにこの下に↓指定しなおしてください */

/* OPオリジナルココカラ */

#narita {
    width: 100%;
    margin: 0 auto;
    font-size: 100%;
    overflow: hidden;
}

#narita .fr {
    background: url("../img/bg.png");
}

/* tx
---------------------------------*/
#narita p {
    text-align: justify;
}

#narita img {
    width: 100%;
    height: auto;
    vertical-align: top;
    image-rendering: -webkit-optimize-contrast;
    overflow: hidden;
    aspect-ratio: attr(width / height);
}

/*===========================================================
動き
============================================================= */

/* フェード
---------------------------------*/
/* fadeUp */

#narita .fadeup {
    opacity: 0;
    transform: translate(0, 50%);
    transition: .5s;
}

#narita .fadeup.up {
    transform: translate(0, 0);
    opacity: 1;
}

/*================================
/* 650px～
------------------------------ */
header,
footer {
    background: #fff;
}


/* float_bt
---------------------------------*/
#narita #float_bt {
    display: none;
    position: fixed;
    bottom: 0;
    /*background: #fbefde;
    padding: 20px;*/
    z-index: 9999;
    width: 100%;
}

#narita #float_bt img {
    margin: 0 auto;
    width: 100%;
}


/* -----------------------------------------
飛行機
----------------------------------------- */
svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.planePath {
    stroke: #D9DADA;
    stroke-width: 0%;
    stroke-dasharray: 0.5% 1%;
    stroke-linecap: round;
    fill: none;
}

.jet-plane {
    offset-path: path("M 3800 800 L -400 400");
    offset-rotate: auto 180deg;
    offset-distance: 0%;
    animation: endless-fly 5s linear infinite;
}

@keyframes endless-fly {
    0% {
        offset-distance: 0%;
    }
    60% {
        offset-distance: 100%;
    }
    100% {
        offset-distance: 100%;
    }
}

.hovering-plane {
    animation: gentle-hover 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes gentle-hover {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}
