@charset "UTF-8";

/*===================================
基本設定
===================================*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
}

img {
    width: 100%;
}

body {
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto;
    position: relative;
    color: #333;
    background-color: #EFEBE8;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    position: relative;
    display: block;
    height: 70px;
    width: 320px;
    margin-left: 50px;
    margin-bottom: 30px;
    padding: 1rem 0;
    color: #fff;
    background: #39C9F9;
    text-align: center;
    white-space: nowrap;
}

h2:before {
    position: absolute;
    top: 0;
    left: -30px;
    content: '';
    border-width: 32px 30px 38px 0;
    border-style: solid;
    border-color: transparent #39C9F9 transparent transparent;
}

h2:after {
    position: absolute;
    top: calc(50% - 7px);
    left: -10px;
    width: 14px;
    height: 14px;
    content: '';
    border-radius: 50%;
    background: #fff;
}

h3 {
    font-size: 2rem;
    text-transform: uppercase;
    display: block;
    border-bottom: #333 solid 2px;
    padding: 10px;
    margin-bottom: 10px;
}

h4 {
    font-size: 1.4rem;
    padding-top: 10px;
}

h5 {
    font-size: 1.2rem;
    padding-top: 10px;
    padding-left: 2%;
}

p {
    padding: 10px 5px;
}

.center {
    text-align: center;
}

li {
    list-style: none;
}

a,
a:hover,
a:visited {
    text-decoration: none;
    color: #333;
}

span {
    display: inline-block;
}

.gold {
    display: inline;
    background: linear-gradient(transparent 40%, gold 60%);
}

@media screen and (max-width: 960px) {
    body {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.4rem;
        line-height: 1.4rem;
        height: 60px;
        width: 220px;
    }

    h2:before {
        border-width: 32px 30px 28px 0;
    }

    h3 {
        font-size: 1.5rem;
    }

    .vision h3,
    .mission h3 {
        font-size: 1.7rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    h5 {
        font-size: 1.1rem;
    }
}

/*===================================
ヘッダー
===================================*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 10vh;
    min-height: 70px;
    background-color: gold;
}

.logo {
    height: 7vh;
    min-height: 60px;
    max-height: 90px;
    display: block;
    object-fit: contain;
    margin-left: 8px;
}

.menu-btn {
    display: none;
}

@media screen and (min-width: 769px) {
    .menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 70vw;
    }

    .link {
        display: inline-block;
        transition: .3s;
    }

    .link:hover {
        transform: scale(1.1);
        /*1.1倍大きく*/
    }
}

/*===================================
ハンバーガーメニュー
===================================*/

@media screen and (max-width: 768px) {

    /* Navbar & Navmenu color */
    :root {
        --background-navbar: #fff;
    }

    /* Nav items */
    .menu {
        list-style: none;
        position: absolute;
        width: 100%;
        height: auto;
        top: 0;
        margin-top: 10vh;
        padding: 0 0 10px 0;
        clear: both;
        background: var(--background-navbar);
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        transform: scale(1, 0);
        transform-origin: top;
    }

    /* Hamburger menu button */
    .menu-btn:checked~.menu {
        transform: scale(1, 1);
        transform-origin: top;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger menbu text */
    .menu a {
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 2px;
        font-size: 16px;
        text-transform: capitalize;
        color: #333;
        opacity: 0;
        transition: 0.5s;
    }

    .menu li {
        border-top: 1px solid rgb(75, 75, 75);
        padding: 15px 0;
        margin: 0 54px;
        opacity: 0;
        transition: 0.5s;
    }

    .menu-btn:checked~.menu a,
    .menu-btn:checked~.menu li {
        opacity: 1;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
    }

    .menu-icon {
        display: inline-block;
        position: relative;
        cursor: pointer;
        padding: 24px 14px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        margin: 0 0 0 auto;
        right: 20px;
    }

    .navicon {
        background: #333;
        display: block;
        height: 3px;
        width: 26px;
        position: relative;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before,
    .navicon:after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        background: #333;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before {
        top: 9px;
    }

    .navicon:after {
        bottom: 9px;
    }

    /* Hamburger Menu Animation Start */
    .menu-btn:checked~.menu-icon .navicon:before {
        transform: rotate(-45deg);
    }

    .menu-btn:checked~.menu-icon .navicon:after {
        transform: rotate(45deg);
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
        top: 0;
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
        bottom: 0;
    }

    .menu-btn:checked~.menu-icon .navicon {
        background: rgba(0, 0, 0, 0);
        transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }
}

/*===================================
メインビュー
===================================*/

.main-view {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main-img {
    position: fixed;
    z-index: -3;
    margin-top: 10vh;
    width: 100%;
    height: 90vh;
    background: url("../img/main.jpg") no-repeat top center;
    background-size: contain;
    transform-origin: center;
}

@media screen and (max-width: 1100px) and (min-width: 961px) {

    .main-view,
    .main-img {
        height: 710px;
    }
}

@media screen and (max-width: 960px) and (min-width: 769px) {

    .main-view,
    .main-img {
        height: 620px;
    }
}

@media screen and (max-width: 768px) and (min-width: 625px) {

    .main-view,
    .main-img {
        height: 530px;
    }
}

@media screen and (max-width: 624px) and (min-width: 481px) {

    .main-view,
    .main-img {
        height: 440px;
    }
}

@media screen and (max-width: 480px) {

    .main-view,
    .main-img {
        height: 350px;
    }
}

/*===================================
スクロールすると下のエリアがヘッダーにかぶさる
===================================*/

#container {
    /*下のかぶさるエリアの指定*/
    position: relative;
    width: 100%;
    z-index: 2;
    padding-top: 80px;
    background-color: #EFEBE8;
}

@media screen and (max-width: 480px) {
    #container {
        padding-top: 50px;
    }
}

/*===================================
　セクション
===================================*/

article {
    margin: 0 auto;
    width: min(1200px, 100%);
}

section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

/*TAG企画とは*/
.about img {
    margin-bottom: 50px;
}

.tobibako {
    opacity: 0.7;
    margin: auto;
    padding-bottom: 100px;
    width: min(800px, 100%);
}

/*VISION&MISSION*/
.vision,
.mission {
    position: relative;
    width: 100%;
    padding: 10px;
    margin-bottom: 100px;
}

.vision::before {
    content: 'VISION';
    position: absolute;
    top: 50%;
    left: 0;
    font-size: 200px;
    letter-spacing: -6px;
    line-height: 200px;
    color: #ccc;
    font-weight: 900;
    z-index: -1;
}

.vision h3 {
    text-align: right;
}

.vision p {
    width: min(600px, 100%);
    text-align: right;
    margin: 0 0 0 auto;
}

.mission::before {
    content: 'MISSION';
    position: absolute;
    top: 40%;
    right: 0;
    font-size: 200px;
    letter-spacing: -6px;
    color: #ccc;
    font-weight: 900;
    z-index: -1;
}

.mission p {
    width: min(700px, 100%);
}

@media screen and (max-width: 768px) and (min-width: 600px) {


    .vision::before,
    .mission::before {
        font-size: 140px;
    }
}

@media screen and (max-width: 599px) and (min-width: 481px) {

    .vision::before,
    .mission::before {
        font-size: 110px;
    }
}

@media screen and (max-width: 480px) {

    .vision,
    .mission {
        margin-bottom: 50px;
    }

    .vision::before,
    .mission::before {
        font-size: 90px;
    }
}

/*代表紹介*/
.img {
    margin: auto;
    width: min(330px, 70%);
    padding: 20px;
}

.img img {
    border-radius: 50%;
}

.box {
    position: relative;
    border: none;
    padding: 10px 30px 40px 20px;
    background-color: #fff;
    box-shadow: 5px 5px 5px #ddd;
    margin: 30px auto;
    width: min(650px, 90%);
}

.box:after {
    background-color: transparent;
    border: solid 1px #333;
    content: '';
    position: absolute;
    bottom: 10px;
    /*上から7pxずらす*/
    right: 10px;
    /*左から7pxずらす*/
    width: 100%;
    height: 100%;
    z-index: -1;
}

.name {
    font-size: 1.7rem;
}

dl {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

dt {
    width: 13%;
    margin-left: 2%;
}

dd {
    width: 85%;
}

.btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 300px;
    height: 60px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    margin: 10px auto;
    background-color: #39C9F9;
    border: 1px solid #39C9F9;
    border-radius: 35px;
}

.btn a:hover {
    color: #333;
    background-color: #fff;
    border: 1px solid #39C9F9;
}

@media screen and (max-width: 480px) {
    .btn a {
        width: 250px;
        height: 50px;
        font-size: 16px;
        font-weight: 600;
    }
}

/*事業紹介*/
.box2 {
    background-color: lavenderblush;
    /*ボックス背景色*/
    padding: 2.5em 2.5em 2em;
    /*ボックス内側余白*/
    margin: 100px 0;
    position: relative;
    /*配置(ここを基準に)*/
    box-shadow: 5px 5px 5px #ddd;
    width: min(650px, 100%);
}

.box2 .box-title {
    background-image: repeating-linear-gradient(-45deg, pink 0, pink, #fafafa 5px, #fafafa 10px);
    /*ストライプ*/
    border-left: 2px dotted rgba(0, 0, 0, .1);
    /* ギザギザ左*/
    border-right: 2px dotted rgba(0, 0, 0, .1);
    /* ギザギザ右*/
    transform: rotate(-2deg);
    /*テープの傾き*/
    padding: 10px 20px;
    /*タイトルの余白*/
    line-height: 1;
    /*タイトルの行の高さ*/
    position: absolute;
    /*配置(ここを動かす)*/
    top: -60px;
    /*上からの距離*/
    left: 20px;
    /*左からの距離*/
}

.box3 {
    background-color: honeydew;
    /*ボックス背景色*/
    padding: 2.5em 2.5em 2em;
    /*ボックス内側余白*/
    margin: 100px 0;
    position: relative;
    /*配置(ここを基準に)*/
    box-shadow: 5px 5px 5px #ddd;
    width: min(650px, 100%);
    margin: 0 0 0 auto;
}

.box3 .box-title {
    background-image: repeating-linear-gradient(-45deg, palegreen 0, palegreen 3px, #fafafa 5px, #fafafa 10px);
    /*ストライプ*/
    border-left: 2px dotted rgba(0, 0, 0, .1);
    /* ギザギザ左*/
    border-right: 2px dotted rgba(0, 0, 0, .1);
    /* ギザギザ右*/
    transform: rotate(4deg);
    /*テープの傾き*/
    padding: 10px 20px;
    /*タイトルの余白*/
    line-height: 1;
    /*タイトルの行の高さ*/
    position: absolute;
    /*配置(ここを動かす)*/
    top: -60px;
    /*上からの距離*/
    left: 100px;
    /*左からの距離*/
}

.ball {
    background: url(../img/ball.png)no-repeat;
    background-position: top right;
}

.ball li {
    list-style-type: "・";
}

@media screen and (max-width: 960px) {
    .ball {
        background-size: 50%;
    }

    .name {
        font-size: 1.3rem;
    }
}

/*===================================
フッター
===================================*/

footer {
    background-color: #39C9F9;
}

footer div {
    text-align: center;
    padding-bottom: 50px;
}

address {
    text-decoration: underline dashed 2px #333;
    font-size: 20px;
    padding: 10px;
}