@charset "UTF-8";

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
変数宣言
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
:root {
    --size_es: 0.8rem;
    --size_sm: 1rem;
    --size_md: 1.6rem;
    --size_lg: 2.6rem;
    --size_xl: 4.1rem;
    --size_xxl: 6.6rem;
    --text_color: #333;
    --main_color: #eb6100;
    --base_color: #eb6100;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
共通設定
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
html {
    font-size: 62.5%;
}

body {
    font-size: var(--size_md);
    line-height: 1.75;
    color: var(--text_color);
    font-family: 'M PLUS 1p', sans-serif;
    background-color: #fff;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
}

p {
    font-size: 1.7rem;

}

.inner {
    padding-left: 5.6%;
    padding-right: 5.6%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.section_title {
    font-size: var(--size_xl);
    margin-bottom: 80px;
    margin-top: 40px;
    padding-top: 40px;
    text-align: center;
    color: var(--base_color);
}

#main_area h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
ヘッダー
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
header {
    position: fixed;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    color: var(--text_color);
    z-index: 100;
    background-color: #fff;
}

header h2 {
    position: absolute;
    left: 0;
    top: 20%;
    text-align: center;
    width: 250px;
    margin-left: 50px;
}

/* pc_nav */

#pc-nav span::before {
    background: var(--text_color);
}

#pc_nav ul {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    position: absolute;
    top: 20%;
    left: 35%;
}

#pc_nav ul li a {
    display: block;
    padding: 0px 15px;
    transition: all 0.3s;
    text-align: center;
    font-size: var(--size_md);
    font-weight: bold;
    line-height: 1.5;
}

#pc_nav ul li a:hover {
    color: var(--base_color);
}

#pc_nav ul a span {
    display: block;
    font-size: var(--size_md);
    font-weight: bold;
}

#pc_nav li.current a,
#pc_nav li a:hover {
    color: var(--main_color);
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
グローバルナビゲーション
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

#g_nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    bottom: -120%;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: var(--base_color);
    /*動き*/
    transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g_nav.panelactive {
    bottom: 0;
}

/*ナビゲーションの縦スクロール*/
#g_nav #g_nav_list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g_nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*リストのレイアウト設定*/

#g_nav li {
    list-style: none;
    text-align: center;
    line-height: 1.5;
}

#g_nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    font-size: var(--size_md);
}

#g_nav li:last-child a {
    width: 60px;
    height: auto;
    margin: 10px auto;
}

/* MENUを×に */

.openbtn {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 80px;
    height: 80px;
    border: 5px solid #eb6100;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
}

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
    background: #333;
    width: 30%;
    opacity: 0;
    top: 22px;
    left: 20px;
}

.openbtn span:nth-of-type(2) {
    top: 22px;
    left: 13px;
    text-transform: uppercase;
    color: var(--text_color);
    font-size: var(--size_md);
    font-weight: bold;
}

.openbtn span:nth-of-type(3) {
    top: 35px;
}

.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
    opacity: 1;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 40px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
トップ画面
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#toparea {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: -100;
}

#top_main {
    width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    margin-top: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


#top_main img {
    width: 200px;
    height: 230px;
    object-fit: cover;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    z-index: 10;
}

#top_logo {
    width: 62%;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 100px;
}

/* ポラロイド風の写真にする */
.polaroid {
    position: relative;
    width: 220px;
    height: auto;
    margin: 20px;
    position: relative;
}

/* マスキングテープ */
.masking-tape1 {
    position: absolute;
    top: -20px;
    left: 40%;
    width: 47px;
    height: 30px;
    border-left: 2px dotted rgba(0, 0, 0, .1);
    border-right: 2px dotted rgba(0, 0, 0, .1);
    box-shadow: 0 0 5px rgba(0 0 0 .2);
    transform: rotate(-2deg);
    padding: 3px 15px;
    background-color: rgba(227, 229, 72, .7);
    text-align: center;
    color: #333;
    font-weight: bold;
}

.masking-tape2 {
    position: absolute;
    top: -20px;
    left: 40%;
    width: 50px;
    height: 30px;
    border-left: 2px dotted rgba(0, 0, 0, .1);
    border-right: 2px dotted rgba(0, 0, 0, .1);
    box-shadow: 0 0 5px rgba(0 0 0 .2);
    transform: rotate(2deg);
    padding: 3px 15px;
    background-color: rgba(227, 229, 72, .7);
    text-align: center;
    color: #333;
    font-weight: bold;
    font: 1.8rem 'Kaushan Script', cursive;
}

.polaroid img {
    border: 10px solid #fff;
    border-bottom: 45px solid #fff;
    box-shadow: 0 3px 18px -4px rgba(0, 0, 0, 0.8);
}

.polaroid p {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 8px;
    font: 1.8rem 'Kaushan Script', cursive;
    color: #333;
}



/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
メイン
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#main_area {
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
    margin-top: 710px;
    background-color: #fff;
}

#vision .content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#vision .content img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
}

#vision .text {
    text-align: left;
    margin-left: 70px;
    padding: 10px;
    width: 500px;
}

#vision h3 {
    margin-bottom: 10px;
}

#service .kind {
    width: 100%;
    font-size: 1.9rem;
    font-weight: bold;
    margin-top: 30px;
    padding: 10px;
    border: 5px solid var(--base_color);
    text-align: center;
}

#service .kind span {
    background: linear-gradient(transparent 70%,
            #FED900 60%);
}

#service .kind-p {
    font-size: 1.9rem;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

#service .slider p {
    text-align: center;
    color: var(--text_color);
    /* font-weight: bold; */
    font-size: 2rem;
    /* font: 1.8rem 'Kaushan Script', cursive; */
    padding-top: 7px;
    padding-bottom: 7px;
}

#performance table {
    border: 1px solid #333;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-collapse: collapse;
}

#performance th {
    border: 1px solid #333;
    padding: 10px;
    background-color: #d8d8d8;
}

#performance td {
    border: 1px solid #333;
    padding: 10px;
    background-color: #f3f3f3;
}

#voice ul {
    display: flex;
    flex-wrap: wrap;
}

#voice ul li {
    width: 30%;
    padding: 10px;
    margin: 20px;
    border: 2px solid #333;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #f3f3f3;
}

#voice li h3 {
    display: inline-block;
    border-bottom: 2px solid #333;
    margin-bottom: 10px;
}

#voice li p {
    text-align: left;
}

#contact .mail {
    width: 25px;
    height: 25px;
    border-radius: 0;
    margin-top: 15px;
}

#contact .facebook {
    width: 35px;
    height: 35px;
    border-radius: 0;
    margin-left: 5px;
    margin-top: 10px;
}

.contact-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin: 0 200px;
    vertical-align: middle;

}

#contact ul {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* スライダーを作る */
.slider {
    /*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 94%;
    margin: 0 auto;
}

.slider img {
    width: 100%;
    /*スライダー内の画像を横幅100%に*/
    height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slider .slick-slide {
    margin: 0 10px;
}

/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;
    /*矢印の色*/
    border-right: 2px solid #666;
    /*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/
.slick-dots {
    text-align: center;
    margin: 20px 0 0 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 8px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
}

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
フッター
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
footer {
    padding: 10px 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-bottom: 50px;
    background-color: #fff;
    border-top: 3px solid #eb6100;
}

footer h2 {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    margin-top: 30px;
}


small {
    font-size: var(--size_md);
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝
スクロール
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/*スクロールダウン全体の場所*/
.scrolldown {
    position: absolute;
    /* bottom: 20px; */
    left: 50%;
    z-index: 5;
}

/*Scrollテキストの描写*/
.scrolldown span {
    /*描画位置*/
    position: absolute;
    left: 5px;
    bottom: 10px;
    /*テキストの形状*/
    color: #000;
    font-size: var(--size_md);
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    font-weight: bold;
}

/* 丸の描写 */
.scrolldown:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    left: -4px;
    /*丸の形状*/
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
    animation:
        circlemove 1.6s ease-in-out infinite,
        cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
    0% {
        bottom: 45px;
    }

    100% {
        bottom: -5px;
    }
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

/* 線の描写 */
.scrolldown:after {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*線の形状*/
    width: 3px;
    height: 60px;
    background: #000;
}

/*===========================================================*/
/*ページトップへ*/
/*===========================================================*/
/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--base_color);
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

#page-top a:hover {
    background: #b1b1b1;
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateX(100px);
}

/*　左の動き　*/
#page-top.LeftMove {
    animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*　右の動き　*/
#page-top.RightMove {
    animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 1;
        transform: translateX(100px);
    }
}

@media screen and (max-width:1025px) {
    .inner {
        padding-left: 5.6%;
        padding-right: 5.6%;
    }

    #pc_nav {
        display: none;
    }

    #toparea {
        position: static;
    }

    #main_area {
        margin-top: 50px;
    }

    #top_main {
        position: static;
        flex-wrap: wrap;
    }

    .inner p {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    /*======min-whith:1025px======*/
}

@media screen and (max-width:600px) {
    #main_area {
        padding: 0 0 50px 0;
    }

    .section_title {
        margin-bottom: 70px;
        margin-top: 10px;
    }

    header h2 {
        width: 200px;
    }

    #vision .content,
    #voice ul li {
        flex-direction: column;
        width: 100%;
    }

    .polaroid {
        width: 100%;
    }

    #top_logo {
        width: 85%;
        margin-bottom: 0;
    }

    #vision .text {
        width: 300px;
        margin-right: auto;
        margin-left: auto;
    }

    .masking-tape1,
    .masking-tape2 {
        left: 45%;
    }

    .performance {
        font-size: 3.6rem;
    }

    .scrolldown {
        display: none;
    }

    /*======max-whith:600px======*/
}