@charset "UTF-8";


/* ---------------------------------------------
	スタイルリセット
--------------------------------------------- */
html,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
pre,
blockquote,
ul,
ol,
li,
dl,
dt,
dd,
address {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

img {
    border: none;
    vertical-align: bottom;
}

/* ---------------------------------------------
	汎用クラス
--------------------------------------------- */
/* clearfix ------------ */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

/* Hide from MacIE €*/
* html .clearfix {
    height: 1px;
}

.clearfix {
    display: block;
}

/* End Hide from MacIE */

/* ---------------------------------------------
	タイポグラフィー
--------------------------------------------- */

body {
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W4", "Hiragino Kaku Gothic Pro", "Lucida Grande", "Avenir Next", Verdana, "ＭＳ Ｐゴシック", sans-serif;
}

/*@media all and (-ms-high-contrast:none) {
	body{
		font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W4", "Hiragino Kaku Gothic Pro", "Lucida Grande", Verdana, "ＭＳ Ｐゴシック", sans-serif;
	}
}*/

html >

/**/
body {
    font-size: 16px;
    line-height: normal;
    overflow-x: hidden;
}

/* except Win IE */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

/* ----------
   基本項目
---------- */
html,
body {
    height: 100%;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
dt,
dd,
li {
    /*background:  url("../img/spacer.gif") repeat 0px 0px;*/
    max-height: 100%;
}

/*共通スタイル*/
.bold {
    font-weight: bold;
}

.center {
    text-align: center;
}

a:link {
    color: #333;
    text-decoration: none;
    font-weight: normal;
}

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

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

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

.clears {
    clear: both;
}

.fLeft {
    float: left;
}

.fRight {
    float: right;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.ml10 {
    margin-left: 10px;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/*コンテンツ*/
#contents-wrap {
    width: 100%;
    margin: 0 auto;
}


#yl_top {
    background: #ffff00;
    height: 100px;
    -webkit-clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

#yl_bottom {
    background: #ffff00;
    height: 100px;
    -webkit-clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.item {
    font-size: 32px;
    padding-bottom: 20px;
}

.item_u {
    text-align: center;
    font-size: 32px;
    background: linear-gradient(transparent 60%, #FFFF00 0%);
    display: inline-flex;
    padding: 0 10px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    font-size: 12px;
    padding: 10px 0;
    background-color: yellow;

}

/* ----------
   メニュー
---------- */

#header {
    margin: 30px auto;
    width: 1200px;
    vertical-align: bottom;
}

#header div {
    display: inline-block;
}

.company_name {
    font-size: 40px;
}

nav {
    display: inline-block;
    float: right;
    padding-top: 20px;
}

#header ul {
    float: right;
}

#header ul li {
    display: inline-block;
    float: left;
    font-size: 20px;
    padding: 0 30px;
    position: relative;
}

#header ul li::after {
    position: absolute;
    bottom: 2px;
    left: 0;
    content: '';
    width: 100%;
    height: 10px;
    background: #FFFF00;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
    z-index: -1;
}

#header ul li:hover:after {
    transform: scale(1, 1);
}

/* ----------
 文字アクション
---------- */

.slide-bottom {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out;
}

.slide-left {
    opacity: 0;
    transform: translate(-20px, 0);
    transition: all 1s ease-out;
}

.slide-right {
    opacity: 0;
    transform: translate(20px, 0);
    transition: all 1s ease-out;
}

/* ----------
   キャッチ
---------- */
#catch {
    background: url(../image/top.jpg);
    display: table;
    width: 100%;
    height: 600px;
}

#catch p {
    display: table-cell;
    text-align: center;
    font-size: 48px;
    vertical-align: middle;
}

/* ----------
   経営理念
---------- */
#philosophy {
    background: #FFFF00;
}


#philosophy_contents {
    padding: 60px 0 0 0;
    width: 1200px;
    margin: 0 auto;
}

.philosophy_img {
    float: right;
    width: 50%;
    height: auto;
    margin: 10px 0 0 0;
    overflow: hidden;
}

#philosophy_contents p {
    font-size: 24px;
    width: 50%;
}

/* ----------
   業務内容
---------- */
#business {
    width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    text-align: center;
}

.box1 p {
    display: table-cell;
    padding: 0;
    vertical-align: middle;
}

.box1 img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.box2 {
    width: 50%;
    margin: auto;
}

.box3 {
    display: flex;
}

.business-box {
    display: table;
    width: 50%;
    background-color: #FFFF99;
    font-size: 24px;
    margin: 0;
}

.left figure,
.right figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}


.left figcaption,
.right figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    -webkit-transition: .3s;
    transition: .3s;
    opacity: 0;
    line-height: 3vh;
    font-size: 16px;
}

.left figcaption p {
    position: absolute;
    margin: 0;
    width: 50%;
    top: 50%;
    left: 25%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, 0);
    color: #fff;

}

.right figcaption p {

    position: absolute;
    margin: 0;
    width: 50%;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -2%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -25%);

    color: #fff;

}


.left figure:hover figcaption,
.right figure:hover figcaption {
    opacity: 1;
}

.left figure:active figcaption,
.right figure:active figcaption {
    opacity: 0;
}




/* ----------
   about
---------- */
#about {
    background: #FFFF00;

}

#about_contents {
    width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

.about-box {
    display: table;
    width: 100%;
    padding: 0 0 30px 100px;
    font-size: 24px;
}

.about-box li {
    display: table-cell;
    border: none;
    box-sizing: border-box;
    vertical-align: text-top;
    text-align: left;
}

.title {
    font-size: 28px;
    width: 20%;
}

.indent {
    padding-left: 4em;
    text-indent: 1em;
}

/* ----------
   問い合わせ
---------- */
#contact_us {
    width: 1200px;
    margin: 0 auto;
}

.contact_contents {
    padding-bottom: 15px;
    text-align: center;
}

iframe {
    width: 640px;
    height: 600px;
    border: none;
    margin: 20px 0;
}

/*移植*/

.lt2 {
    color: #ff0000;
    font-size: 90%;
}


/*スマホ用 css*/
@media screen and (max-width: 640px) {

    #header_sp {
        top: 0;
        margin: 0;
        padding: 10px 0;
        width: 100%;
        background: #fff;
    }


    /*menu*/
    .menu-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        display: flex;
        height: 40px;
        width: 40px;
        justify-content: center;
        border-radius: 5px;
        align-items: center;
        z-index: 99999;
        background-color: rgba(255, 255, 255, 0.5);
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #666;
        position: absolute;
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);
        /*メニューオープン時は真ん中の線を透明にする*/
    }

    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-btn-check {
        display: none;
    }

    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        /*top: 100%;*/
        left: 0;
        bottom: 100%;
        z-index: 9999;
        background-color: rgba(255, 255, 255, 0.9);
        transition: all 0.5s;
    }

    .menu-content ul {
        padding: 70px 10px 0;

    }

    .menu-content ul li {
        border-bottom: solid 1px #666;
        list-style: none;
        display: block;
    }

    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 15px;
        font-weight: bold;
        box-sizing: border-box;
        color: #666;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }

    .menu-content ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #666;
        border-right: solid 2px #666;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }

    #menu-btn-check:checked ~ .menu-content {
        bottom: 0;
        /*メニューを画面内へ*/
    }

    #menu-btn-check:checked ~ .menu-content::before {
        bottom: 0;
        /*メニューを画面内へ*/
    }

    /**/
    .company_name {
        font-size: 30px;
        margin-left: 10px;
    }

    #catch {
        background: url(../image/top1.jpg);
        background-size: cover;
        height: 300px;
    }


    #philosophy_contents,
    #business,
    #about_contents,
    #contact_us {
        width: 100%;
    }



    #yl_top {
        height: 30px;
    }

    #yl_bottom {
        height: 20px;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    #catch p {
        font-size: 34px;
    }

    #philosophy {
        padding: 0;
    }

    #philosophy_contents {
        padding: 20px 0;
        margin-left: 5px;
    }

    #philosophy_contents p {
        font-size: 16px;
        width: 100%;
    }

    /*事業内容*/
    #business {
        padding: 20px 0 40px 0;
    }

    .box3 {
        display: block;
    }

    .business-box {
        display: table;
        width: 50%;
        height: auto;
        background-color: #FFFF99;
        font-size: 2vh;

    }

    .box2 {
        width: 100%;

    }

    figcaption p {
        font-size: 12px;
        line-height: 1.6em;
    }

    /*会社概要*/
    #about {
        padding: 0;
    }

    #about_contents {
        padding: 20px 0 20px 0;
    }

    #about_contents .item {
        padding-left: 10px;
    }

    .about-box {
        display: table;
        line-height: 3vh;
        padding: 10px 0 10px 10px;
    }

    .title {
        font-size: 20px;
        width: 100%;
        font-weight: bold;
    }

    .about-box li {
        font-size: 16px;
        display: block;
    }

    .indent {
        padding-left: 0;
        text-indent: 0;
    }

    /*問い合わせ*/
    #contact_us {
        padding: 20px 0 0 0;
    }

    iframe {
        width: 100%;
    }



    footer {
        width: 100%;
        padding: 10px 0;
        text-align: center;
        font-size: 12px;
        background-color: yellow;

    }
}
