﻿@import url("https://use.typekit.net/myo6ski.css");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900|Roboto:100,300,400,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap");



/* ************ */
:root{
    --bg:#f5f5f5;
    --base:#80B7CA;
    --sub:#2E7188;
    --sub2:rgba(43,113,136,.8);
    --accent:#D17272;
    --accent2:#7D7878;
    --main:1120px;
    /* ブレークポイント */
    --tab:900px;
}
/* *********** */

*{
    font-family: "M PLUS Rounded 1c",sans-serif;
    font-weight: 400;
}
.t-m50{
    margin-top: 50px;
}
.b-m60{
    margin-bottom: 60px;
}
body{
    background-color: var(--bg);
}
header{
    background: rgba(252, 251, 247, .9);
}
#header{
    height: 40px;
    position: fixed;
    z-index: 999;
    right: 0;
    padding: 0 40px;
}
#navi {
    max-width: var(--main);
    margin:0 auto;
}

#navi ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end
}

#navi li {
    list-style: none;
    text-align: center;
    margin: 0;
    font-family: "YakuHanJP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    font-size: 1.2em;
    padding: 16px;
    letter-spacing: 0.2rem
}
#navi li a {
    font-weight: 700;
    width: 100%;
    height: 100%;
    line-height: 1.3;
    display: block;
    text-align: center;
    border: none;
    position: relative;
    cursor: pointer;
    color: #666;
    text-decoration: none;
    transition: transform 0.4s, opacity 0.4s;
}
#navi li a:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.single{
    position: relative;
    max-width: var(--main);
    margin: 0 auto;
    padding: 120px 40px;
}
#works h1{
    font-size: 2.3em;
    font-weight: 500;
    color: #fff;
    line-height: 2.5em;
    letter-spacing: .2rem;
}
.bg_01 {
    width: 100%;
    margin: 0;
    padding: 100px 0 250px;
    position: relative;
    top: -120px;
    overflow: hidden;
}

.bg_01 p {
    width: 65%;
    margin: 0 auto;
}

.bg_01::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--base);
    transform: skewY(352deg) translateY(-120px);
    z-index: -1;
}
.txtbox01{
    /* width:100%; */
    background: var(--sub2);
    margin-top: -430px;/* *** */
    padding: 40px 40px 50px;
}
.txtarea01{
    position: relative;
    max-width: calc(var(--main) + 40px);
    padding: 0 40px 0 0;
    overflow: revert;
    margin: 0 auto;
}
.txtarea01 p{
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 1px;
    line-height: 1.7em;
}
.txtarea01 h2{
    color: #fff;
    font-size: 1.6em;
    margin-bottom: 20px;
    line-height: 1.2em;
}
.txtarea01 h2:before{
    content: '▶';
    color: var(--accent);
    font-size: 1em;
    margin-right: 10px;
    position: absolute;
    top: 2px;
}
.txtarea01 h2 a{
    margin-left: 1.4em;
}
.txtarea01 h2>div{
    margin-left: 1.4em;
}
.txtarea01 h2 a::after {
    width: 100%;
    left: -1%;
}
.txtarea01 a{
    color: #fff;
    text-decoration: none;
    transition: .4s;
    position: relative;
}
.txtarea01 a::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 96%;
    left: 5%;
    height: 0.05rem;
    background: #fff;
    transition: .4s;
}
.txtarea01 a:hover{
    color: var(--accent2);
}
.txtarea01 a:hover::after{
    background: var(--accent2);
}
#gallery01 ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	list-style-type: none;
	
}
#gallery01 ul li {
	text-align: center;
    width: 48%;
}
#gallery01 ul li:first-child {
	margin-right: 2%;
}
#gallery01 ul li:last-child {
	margin-left: 2%;
}
#gallery01 ul li a {
	text-decoration: none;
}
#gallery01 ul li img {
	width: 100%;
}


.bg_02{
    margin-top: 200px;
    margin-bottom: 50px;
    /* background: linear-gradient(to left, transparent 50%, var(--sub2) 50%); */
}
.double{
    max-width: calc(var(--main) + 80px);
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    
}

#gallery02{
    width: 72%;
    background-color: var(--bg);
}
#gallery02 img{
    width: 100%;
}
.txtbox02>.txtarea01{
    padding: 0;
}
.txtbox02{
    width:20%;
    margin-bottom:50px;
    margin-left:20px;
    padding: 30px 40px 40px;
    background: rgb(43, 113, 136, .9);
    box-shadow: -102px 65px 0px 1px var(--base);
}
#gallery02 ul{
    width: 100%;
    min-height: 400px;
    padding: 0 40px;
    box-sizing: border-box;
    background: var(--bg);
}

#slide-show {
    position: relative;
}
#slide-show img {
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 400px;
    object-fit: contain;
}
.slider img {
    width:100%;
    height:auto;
}
#toplink2 ul , #toplink1 ul , #toplink3 ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style-type: none;
	
}
#toplink2 li , #toplink1 li {
	text-align: center;
	margin: 10px;
}
#toplink3 li {
	text-align: center;
	margin: 15px 40px;
}
#toplink2 li , #toplink1 li , #toplink1 li a {
	text-decoration: none;
}
#toplink2 img , #toplink1 img , #toplink3 img {
	max-width: 100%;
}
#toplink2 li img {
	width: 430px;
	max-width: 95%;
}
#toplink1 li img{
	width: 600px;
	max-width: 95%;
}
#toplink2 p , #toplink1 p{
    margin: .7rem 0.9rem;
    padding: .3rem;
    border: 1px solid #ddd;
    color: #333;
    font-size: 1.2em;
    letter-spacing: 1px;
    line-height: 1.5em;
}
#toplink3 p{
    margin: .7rem 0rem;
    padding: .3rem;
    border: 1px solid #ddd;
    color: #333;
    font-size: 1.2em;
    letter-spacing: 1px;
    line-height: 1.5em;
}
#toplink3 li:first-child {
	max-width: 398px;
}
#toplink3 li:nth-child(2) {
	max-width: 500px;
}
.slider .slick-slide {
    margin:0 20px;
}
.dtp{
    width:100%;
}
#dtp{
    margin-top: 100px;
}
.copyright{
    text-align: center;
    color:#fff;
    padding: 15px 0;
}

footer{
    background-color: var(--base);
    height: 50px;
}
.fa-arrow-up-right-from-square{
    font-size: 70%;
    padding-left: 3px;
    display: inline;
}
.fade-in{
    opacity: 0;
    transition-duration: 2000ms;
    transition-property: opacity, transform;
}
.scroll-in{
    opacity: 1;
}
