@charset "utf-8";

/*===================
ヒーローボディ
===================*/
.hero {
    grid-column: 1 / -1;
    position: relative;
}
.slider .hero-body {
    height: 100vh;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/*===================
ヒーローテキスト
===================*/
.hero h2 {
    padding: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1.6rem;
}
/*===============================
ヒーローボタン・コンテンツボタン
===============================*/
.hero-btn,
.con-btn,
.con-2-bt {
    display: inline-block;
    min-width: 200px;
    margin: 30px 0 20px;
    text-align: center;
    text-decoration: none;
    outline: none;
    z-index: 1;
    position: relative;
    z-index: 2;
    background-color: #67a5da;
    border: solid 2px #fff;
    color: #fff;
    overflow: hidden;
    border-radius: 3px;
}

.hero-btn::before,
.hero-btn::after,
.con-btn::before,
.con-btn::after,
.con-2-bt::before,
.con-2-bt::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}

.hero-btn,
.hero-btn::before,
.hero-btn::after,
.con-btn,
.con-btn::before,
.con-btn::after,
.con-2-bt,
.con-2-bt::before,
.con-2-bt::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.hero-btn a,
.con-btn a,
.con-2-bt a {
    color: #fff;
    padding: 10px 0;
    display: block;
}
.hero-btn:hover a,
.con-btn:hover a,
.con-2-bt:hover a {
    color: #67a5da;
}
.hero-btn:hover,
.con-btn:hover,
.con-2-bt:hover {
    border-color: #67a5da;
}
.hero-btn::after,
.con-btn::after,
.con-2-bt::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-btn:hover::after,
.con-btn:hover::after,
.con-2-bt:hover::after {
    -webkit-transform: scale(2) rotate(180deg);
    transform: scale(2) rotate(180deg);
    background: #fff;
}
/*======================
メインロゴ
======================*/
.main-logo {
    position: absolute;
    left: 10px;
    top: 10px;
}
.main-logo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/*======================
インフォメーション
======================*/
.info h2 {
    padding: 5px 10px;
    font-size: 1rem;
    text-shadow: none;
    box-sizing: border-box;
}

/*======================
デフォルトコンテンツ
======================*/
.def {
    margin-bottom: 20px;
}
/*======================
コンテンツボックス
======================*/
.contents-box {
    background-color: #fbd8b5;
    padding: 20px 15px;
    margin:20px 0 30px;
    box-sizing: border-box;
}
/*======================
エディタ
======================*/
.hero-edit-box {
    margin: 30px 0;
} 
.hero-edit-text h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.hero-edit-text p {
    margin-bottom: 10px;
}
/*======================
コンテンツメイン
======================*/
.con-wrap {
    margin: 30px 0;
    padding: 0 15px;
    box-sizing: border-box;
}
.con-body {
    background-color: #fbd8b5;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 3px;
    margin-bottom: 30px;
}
/*======================
ファーストコンテンツ
======================*/
.con-main {
    margin-bottom: 30px;
    background-color: #fff;
    padding: 15px;
    border-radius: 3px;
    overflow: hidden;
    box-sizing: border-box; 
}
.con-main h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.con-img {
    height: 250px;
}
.con-img img {
    width: 100%;;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}
.con-text {
    min-height: 250px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
/*========================
セカンドコンテンツ
========================*/
.con-2-main {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 3px;
}
.con-2-main:last-child {
    margin-bottom: 0;
}
.con-2-title h2 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 15px;
}
.con-2-text p {
    text-align: center;
    margin-bottom: 20px;
}
.con-2-sub-text {
    margin: 20px 0;
}
.con-2-bt-box {
    display: flex;
    justify-content: center;
}

/*======================
メディアクエリ667px以上
======================*/
@media(min-width:667px) {
    /*======================
    インフォメーション
    ======================*/
    .info {
        position: absolute;
        width: 60%;
        bottom: 5%;
        left: 20%;
        border-radius: 3px;
        overflow: hidden;
    }
    /*======================
    コンテンツボックス
    ======================*/
    .contents-box {
        padding: 30px;
    }

    /*======================
    コンテンツ
    ======================*/
    .con-main {
        display: flex;
    }
    .con-text {
        flex: 1;
        max-width: 50%;
    }
    .con-img{
        flex: 1;
        max-width: 50%;
        height: auto;
    }
}

/*======================
メディアクエリ1024px以上
======================*/
@media(min-width:1024px) {
    /*======================
    インフォメーション
    ======================*/
    .info {
        position: absolute;
        width: 50%;
        bottom: 5%;
        left: 25%;
        border-radius: 3px;
        overflow: hidden;
    }
    /*======================
    コンテンツボックス
    ======================*/
    .contents-box {
        margin-top: 0;
    }
}