@charset "UTF-8";

html {
    font-size: 100%;
    background-color: #faf8f8;
}

body {
    color: #333;
    font-family: "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    letter-spacing: 0.1em;
}

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

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}

/*
コンテンツ幅を設定するための共通クラス
*/
.wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/*
セクションタイトル用の共通クラス
*/
.section-title {
    font-size: 2.25rem;
    margin-bottom: 100px;
    text-align: center;
    position: relative;
}

/* 疑似要素でタイトル下に下線を引く */
.section-title::after {
    content: "";
    width: 100px;
    height: 3px;
    background-color: #000;
    display: block;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.sp{
    display: none;
}


/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
    height: 100px;
    padding: 40px 0 0 50px;
    z-index: 40;
}

#header .site-title {
    width: 100px;
    line-height: 1px;
}

#header .site-title a {
    display: block;
}

/*
ハンバーガ―メニュー
*/
.hamburger {
    width: 100px;
    height: 100px;
    background-color: #1727be;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    cursor: pointer;
    transition: 0.3s;
}

.hamburger:hover {
    opacity: 0.7;
}

/* ハンバーガーメニューの線の設定（メニューが閉じている時） */
.hamburger span {
    width: 50px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 25px;
    transition: 0.3s ease-in-out;
}

/* 1本目の線の位置を設定 */
.hamburger span:nth-child(1) {
    top: 36px;
}

/* 2本目の線の位置を設定 */
.hamburger span:nth-child(2) {
    top: 50px;
}

/* 3本目の線の位置を設定 */
.hamburger span:nth-child(3) {
    top: 64px;
}

/*
ハンバーガーメニューの線の設定（メニューが開いている時）
1本目の線を-45度回転
*/
.hamburger.active span:nth-child(1) {
    top: 47px;
    left: 25px;
    background: #fff;
    transform: rotate(-45deg);
}

/* 2本目と3本目は重ねて45度回転 */
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 47px;
    background: #fff;
    transform: rotate(45deg);
}

/*
メニューの設定
最初は閉じている状態なので、「opacity: 0;」「visibility: hidden;」
で要素を非表示にしておく
*/
#navi {
    width: 100%;
    height: 100vh;
    background-color: #1727be;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    opacity: 0;
    text-align: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    visibility: hidden;
}

/*
ハンバーガーメニューがクリックされた際に、jQueryで#naviにactiveクラスを追加して、
メニューを表示させる。
*/
#navi.active {
    opacity: 1;
    visibility: visible;
}

#navi .logo {
    width: 100px;
    position: absolute;
    top: 40px;
    left: 50px;
}

#navi .menu {
    margin: 80px 0 40px 0;
}

#navi .menu li {
    margin-bottom: 20px;
}

#navi .menu a {
    color: #fff;
    font-weight: bold;
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
    height: 720px;
    position: relative;
    margin-bottom: 120px;
}

/*
テキストとボタンが画像の上に表示されるように「z-index」を設定
*/
#mainvisual .text {
    position: absolute;
    top: 280px;
    left: 10%;
    z-index: 10;
}

/*
「text-shadow」で文字の輪郭に白い影をつけることで、
文字が背景画像に埋もれないようにする
*/
#mainvisual .text p{
    font-size: 3.5rem;
    color: #725b5b;
    font-weight: bolder;
    margin-bottom: 15px;
    
    font-family: 'TsukuARdGothicStd-M', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'Gothic', 'Mincho', 'MS Gothic', 'MS PGothic', 'Hiragino Mincho Pro', 'MS Mincho', 'MS PMincho', 'Comic Sans MS', monospace, sans-serif;

    text-decoration: none;
    z-index: 100;
    color: transparent;
    background: linear-gradient(90deg, #0091ea 0% 30%, #00b0ff 40% 60%, #80d8ff 70% 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*
メインビジュアル
animationを使用して、画像をフェードイン、フェードアウトで切り替えを行う

※画像のフェード切り替えは、CSSアニメーション以外にも
jQueryのプラグインを使う等便利なやり方が色々ありますが、
今回は学習のためにアニメーションを使用しています。
*/
#mainvisual .fade li {
    width: 75%;
    position: absolute;
    top: 0;
    right: 0;
    /* 最初は3枚の画像を非表示にしておく */
    opacity: 0;
    /*
  アニメーションを実行
  fade：下で定義している「@keyframes fade」を実行
  15s：「@keyframes fade」の処理を15秒かけて実行
  infinite：アニメーションの処理を無限に繰り返す
  */
    animation: fade 15s infinite;
}

/*
1枚目の画像のアニメーション実行タイミングを設定
「animation-delay: 0s;」ですぐに実行
*/
#mainvisual .fade li:nth-child(1) {
    animation-delay: 0s;
}

/*
2枚目の画像のアニメーション実行タイミングを設定
「animation-delay: 5s;」で5秒後に実行
*/
#mainvisual .fade li:nth-child(2) {
    animation-delay: 5s;
}

/*
3枚目の画像のアニメーション実行タイミングを設定
「animation-delay: 10s;」で10秒後に実行
*/
#mainvisual .fade li:nth-child(3) {
    animation-delay: 10s;
}

#mainvisual .fade li img {
    width: 100%;
    height: 720px;
    object-fit: cover;
}

/*
「box-shadow」で画像のまわりをぼかす
*/
#mainvisual .fade li::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: inset 0px 0px 20px 20px #e8e8e8;
}

/*
アニメーション処理
上の「animation」で15sを指定しているので下記の処理を15秒かけて実行
0%が0秒を表し、100%が15秒後を表す。

0%の「opacity: 0;」で非表示の状態からスタートし、
15%になるまでの間に少しづつ画像を表示（フェードイン）させる。
そこから30%の時点までは画像を表示させたままの状態を維持し、
45%の時点に向けて画像を非表示（フェードアウト）する。
そこから100%まで非表示の状態を維持する。
*/
@keyframes fade {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/*-------------------------------------------
topices
-------------------------------------------*/
#topices{
    background-color: #e8e8e8;
    animation: fall 10s infinite linear;
    padding: 70px 0; 
    color: #000;
    /* margin-bottom: 50px;   */
}
#topices .flex{
    display: flex;
    justify-content: space-around;
}

#topices .flex .title-area{
    width: 40%;
    text-align: center;
    border-right: solid 1px #000;
    padding-top: 50px;
}
#topices .flex .title-area span{
    display: block;
}
#topices .flex .data-area{
    width: 60%;
    margin-left: auto;
}
#topices .flex .data-area .list li{
    margin-left: 80px;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: solid 1px #000;
}
#topices .flex .data-area .list li:last-of-type{
    border-bottom: none;
}
#topices .flex .data-area .list li a{
    color: #000;
}
#topices .flex .data-area .list li span{
    width: 50px;
    height: 20px;
    line-height: 20px;
    background-color: #000;
    color: #fff;
    display: inline-block;
    font-size: 0.75rem;
    margin-left: 10px;
    text-align: center;
    border: solid 1px #fff;
}
/*-------------------------------------------
company-profile
-------------------------------------------*/
#company-profile{
    width: 100%;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}
#company-profile .bg{
    width: 100%;
    height: 500px;
    opacity: 0.5;
    object-fit: cover;
    z-index: 0;
}
#company-profile .inner-top{
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    width: 1000px;
    margin: auto;
    display: flex;
    justify-content: center;
    padding: 80px 0 40px;
    z-index: 10;
}
#company-profile .inner-top .title-area{
    width: 42%;
    padding-right: 30px;
    padding-top: 50px;  
    border-right: solid 1px #000;
}
#company-profile .inner-top .title-area span.en{
    display: block;
    font-size: 2rem;
    color: #000;
}
#company-profile .inner-top .title-area .section-title::after {
    background-color: #000;
}
#company-profile .inner-top .title-area span.ja{
    display: block;
    font-size: 1.5rem;
    color: #000;
}
#company-profile .inner-top .data-area{
    width: 58%;
    margin-left: 30px;
    flex-wrap: wrap;
    color: #000;
    font-size: 1.25rem;
    font-weight: bold;
    padding-top: 50px;    
}

#company-profile .inner-bottom .cp-list{
    position: relative;
    display: flex;
    justify-content: space-around;
    margin: 20px 0 80px 0;
    z-index: 10;
}
#company-profile .inner-bottom .cp-list li  span.text-ja,
#company-profile .inner-bottom .cp-list li  span.text-en{
    display: block;
    text-align: center;
    color: #fff;
}
#company-profile .inner-bottom .cp-list li span.text-ja{
    font-size: 2rem;
    font-weight: bold;
    padding-top: 10px;
    letter-spacing: 1em;
}
#company-profile .inner-bottom .cp-list li span.text-en{
    font-size: 0.75rem;
    padding-bottom: 20px;
}
#company-profile .inner-bottom .cp-list li .cp-list-text1{
    background-color: blue;
}
#company-profile .inner-bottom .cp-list li .cp-list-text2{
    background-color: red;
}
#company-profile .inner-bottom .cp-list li .cp-list-text3{
background-color: green;
}

#company-profile .info-btn-area{
    position: relative;
    text-align: center;
}
#company-profile .info-btn {
    display: inline-block;
    border-radius: 5px;
    /* 角丸       */
    font-size: 28pt;
    /* 文字サイズ */
    text-align: center;
    /* 文字位置   */
    cursor: pointer;
    /* カーソル   */
    padding: 21px 100px;
    /* 余白       */
    background: #1727be;
    /* 背景色     */
    color: #ffffff;
    /* 文字色     */
    line-height: 1em;
    /* 1行の高さ  */
    opacity: 1;
    /* 透明度     */
    transition: .3s;
    /* なめらか変化 */
    box-shadow: 5px 5px #666666;
    /* 影の設定 */
    margin: 20px auto 100px;
}
/*#company-profile .info-btn::after {
    content: "";
    width: 16px;
    height: 16px;
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50px;
    right: 430px;
}*/

#company-profile .info-btn:hover {
    box-shadow: none;
    /* カーソル時の影消去 */
    opacity: 0.8;
    /* カーソル時透明度 */
}
/*-------------------------------------------
service
-------------------------------------------*/
#service{
    width: 100%;
    position: relative;
    background: url(../images/bg-blue2.gif) repeat;
    animation: fall 10s infinite linear;
    color: #fff;
    padding-top: 30px;
    margin-bottom: 100px;
}
#service .service-info{
    width: 800px;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    height: 150px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}
#service .service-info .title-area{
    width: 50%;
    border-right: solid 1px #fff;
}

#service .service-info .title-area span.en,
#service .service-info .title-area span.ja{
    display: block;
}
#service .service-info .title-area span.en{
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 0.5rem;
}
#service .service-info .title-area span.ja{
    font-size: 1.5rem;
    font-weight: 500;
}
#service .service-info .title-area span.ja::after {
    content: "";
    width: 100px;
    height: 3px;
    background-color: #fff;
    display: block;
    margin: 15px auto;
}

#service .service-info .text-area{
    width: 50%;
    font-size: 1.5rem;
    overflow-wrap: break-word;
    padding: 30px 0 0 70px;
}

#service .slick-area{
    font-size: 0;
    margin-top: 50px;
}
#service .slick-area li{
    font-size: 0;
}

#service .btn-area{
    position: relative;
    width: 40%;
    text-align: center;
    margin: 50px auto;
}

#service .btn-area .btn{
    display: inline-block;
    border-radius: 5px;
    /* 角丸       */
    font-size: 28pt;
    /* 文字サイズ */
    text-align: center;
    /* 文字位置   */
    cursor: pointer;
    /* カーソル   */
    padding: 21px 100px;
    /* 余白       */
    background: #1727be;
    /* 背景色     */
    color: #ffffff;
    /* 文字色     */
    line-height: 1em;
    /* 1行の高さ  */
    opacity: 1;
    /* 透明度     */
    transition: .3s;
    /* なめらか変化 */
    box-shadow: 5px 5px #666666;
    /* 影の設定 */
    margin: 20px auto 100px;
    border: solid 2px #fff;
}


#service .btn-area .btn:hover{
    transform: scale(1.05);
    /* opacity: 0.9;
    カーソル時透明度 */
    background-color: #fff;
    color: #1727be;
}

/*-------------------------------------------
contact
-------------------------------------------*/
#contact {
    margin-bottom: 100px;
    text-align: center;
}
#contact .sec-title{
    margin-bottom: 50px;
    font-size: 3rem;
    color: #ff2a2a;
}
#contact .section-title::after{
    border: none;
}
#contact p.text{
    font-size: 1.3rem;
    margin-bottom: 50px;
}
#contact .contact-content{
    width: 1000px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}
#contact .contact-content .tel-area{
    width: 50%;
    height: 200px;
    border-right: solid 1px #000;
}
#contact .contact-content .tel-area span{
    display: block;
    font-size: 2rem;
    margin: 75px;
}
#contact .contact-content .mail-area{
    width: 50%;
}    
#contact .contact-content .mail-area a{
        display: inline-block;
        border-radius: 5px;
        /* 角丸       */
        font-size: 14pt;
        /* 文字サイズ */
        text-align: center;
        /* 文字位置   */
        cursor: pointer;
        /* カーソル   */
        padding: 21px 100px;
        /* 余白       */
        background: #1727be;
        /* 背景色     */
        color: #ffffff;
        /* 文字色     */
        line-height: 1em;
        /* 1行の高さ  */
        opacity: 1;
        /* 透明度     */
        transition: .3s;
        /* なめらか変化 */
        box-shadow: 5px 5px #666666;
        /* 影の設定 */
        margin: auto;
}
#contact .contact-content .mail-area a:hover{
    transform: scale(1.05);
    opacity: 0.7;
    /*カーソル時透明度 */
        
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
    background-color: #1727be;
    padding: 60px 0 20px 0;
    color: #fff;
}
#footer a {
    font-size: 0.875rem;
    /*
  ホバー時の透過をふわっとさせる（0.3秒かけて実行）
  */
    transition: 0.3s;
    color: #fff;
}

#footer a:hover {
    opacity: 0.7;
}

#footer .inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

#footer .inner>li {
    width: 25%;
}

#footer .inner .title {
    font-weight: bold;
}

#footer .inner .info{
    font-size: 0.875rem;
    flex-wrap: wrap;
    padding-right: 20px;
}

#footer .inner dl.info dt{
    margin-bottom: 10px;
}
#footer .inner .info dd{
    margin-bottom: 10px;
}
#footer .inner .info dd:last-child {
    margin-bottom: 0px;
}

#footer .copyright {
    font-size: 0.625rem;
    text-align: center;
}
#to-top {
    width: 50px;
    height: 50px;
    background-color: #121212;
    border: solid 1px #fff;
    border-radius: 50%;
    position: fixed;
    right: 25px;
    bottom: 25px;
}

/*
中の三角は疑似要素で作成
*/
#to-top::after {
    content: "";
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
    position: relative;
    left: 17px;
    bottom: 3px;
}


/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 960px) {
    .wrapper {
        padding: 0 0px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 60px;
    }

    .section-title::after {
        width: 80px;
    }
    .sp{
        display: block;
    }

    /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
    #header {
        padding: 25px 0 0 25px;
        z-index: 40;
    }

    /* ハンバーガ―メニュー */
    .hamburger {
        width: 75px;
        height: 75px;
    }

    .hamburger span {
        width: 35px;
        left: 21px;
    }

    .hamburger span:nth-child(1) {
        top: 26px;
    }

    .hamburger span:nth-child(2) {
        top: 37px;
    }

    .hamburger span:nth-child(3) {
        top: 48px;
    }

    .hamburger.active span:nth-child(1) {
        top: 37px;
        left: 21px;
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 37px;
    }

    #navi .logo {
        top: 25px;
        left: 25px;
    }

    #navi .menu {
        margin-top: 110px;
    }

    /*-------------------------------------------
  topics
  -------------------------------------------*/
  #topices .flex .data-area{
    width: 90%;
  }
    /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
    #mainvisual {
        height: 490px;
        margin-bottom: 80px;
    }

    #mainvisual .fade li {
        width: 100%;
    }

    #mainvisual .fade li img {
        height: 300px;
    }

    #mainvisual .text {
        /* 両端に16pxづつ余白を作る */
        width: calc(100% - 32px);
        top: 310px;
        left: 16px;
    }

    #mainvisual .text .title {
        font-size: 1.75rem;
        margin-bottom: 10px;
        text-align: center;
    }
    #mainvisual .text .sub-title{
        font-size: 1.4rem;
        text-align: center;
    }
    #mainvisual .text .mv-txt{
        font-size: 1rem;
        margin: 20px;
        text-align: center;
    }

    /* topices */
    #topices .flex{
        width: 100%;
        display: block;
    }
    #topices .flex .title-area{
        width: 100%;
        display: block;
        border-right: none;
    }
    #topices .flex .data-area{
        width: 100%;
        display: block;
    }
    #topices .flex .data-area .list li{
        width: 50%;
        margin: 20px auto;
    }

    /*-------------------------------------------
    company-profile
    -------------------------------------------*/
    #company-profile {
        width: 100%;
        position: relative;
    }
    #company-profile .inner-top{
        width: 100%;
        display: block;        
    }
    #company-profile .bg{
        display: block;
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
    #company-profile .inner-top .title-area{
        width: 100%;        
    }
    #company-profile .inner-top .title-area .section-title::after{
        background-color: #000;
    }
    #company-profile .inner-top .data-area .cp-text .cp-text1,
    #company-profile .inner-top .data-area .cp-text .cp-text2{
        display: block;
        font-size: 1.1rem;
        text-align: left;
    }
    #company-profile .inner-top .data-area .cp-text .cp-text1{
        position: absolute;
        left: 7%;
        top: 260px;        
    }
    #company-profile .inner-top .data-area .cp-text .cp-text2{
        position: absolute;
        left: 15%;
        top: 320px;
    }
    
    #company-profile .inner-bottom .cp-list{
        width: 100%;
        display: block;
        margin-top: 100px;
    }
    #company-profile .inner-bottom .cp-list li{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    #company-profile .inner-bottom .cp-list li a img{
        width: 100%;
    }
    #company-profile .info-btn-area{
        width: 100%;
    }
    #company-profile .info-btn-area a{
        font-size: 1.75rem;
    }

    /* service */
    #service{
        width: 100%;
        position: relative;
        text-align: center; 
    }
    #service .service-info{
        width: 100%;
        height: 250px; 
        display: block;
        text-align: center;            
    }
    #service .service-info .title-area{
        width: 100%;
        border-right: none;        
        margin: 0 auto;
    }
    #service .service-info .text-area p{
        width: 110%;    
        font-size: 1.2rem;
        margin-left: 70px;        
    }
    #service .slick-area{
        margin-top: 50px;
    }
    #service .btn-area{
        width: 100%;
    }

    /* contact */
    #contact{
        width: 100%;
    }
    #contact .section-title{
        width: 100%;
        font-size: 1.75rem;
    }
    #contact .text{
        width: 100%;
        padding: 0 30px;
    }
    #contact .contact-content{
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin: 0;        
    }
    #contact .contact-content .tel-area{
        border-right: none;
    }
    #contact .contact-content .tel-area span{
        flex-direction: column;
        margin: 30px;
    }
    #contact .contact-content .mail-area a{
        width: 100%;
        flex-direction: column;
        margin: 30px 0;
        font-size: 1.2rem;
        padding: 21px 10px;
    }
    #contact .contact-content .tel-area::after{
        content: "";
        width: 70%;
        height: 3px;
        display: inline-block;
        background-color: #000;
    }
    /*-------------------------------------------
  フッター
  -------------------------------------------*/
    #footer .inner {
        flex-wrap: wrap;
        margin: 20px;
    }

    #footer a {
        font-size: 0.75rem;
    }

    #footer .inner .title {
        font-size: 0.9375rem;
    }

    #footer .inner>li {
        width: 50%;
    }

    #footer .inner>li:nth-child(1),
    #footer .inner>li:nth-child(2) {
        margin-bottom: 30px;
    }
}