@charset "utf-8";
/* CSS Document */

body,
html {
  height: 100%;
  margin: 0 auto;
}
body {
    background-color: #000;
    font-family: 'Shippori Mincho', serif;
    /*font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;*/
    margin: 0;
    color:#fff;
    font-size:1em;
    line-height: 1.6;
}
a:link,a:active,a:visited {
    color:#F7F7F7;
    text-decoration: underline;
}
a:hover {
    color:#F7F7F7;
    text-decoration: underline;
    transition: 0.3s ease;
}
a:hover img {
opacity: .7;
-webkit-opacity: .7;
-moz-opacity: .7;
filter: alpha(opacity=70);	/* IE lt 8 */
-ms-filter: "alpha(opacity=70)"; /* IE 8 */
}
 
a img {
-webkit-transition: opacity 0.8s ease-out;
-moz-transition: opacity 0.8s ease-out;
-ms-transition: opacity 0.8s ease-out;
transition: opacity 0.8s ease-out;
}

.sponly{
    display: none;
}
.pconly{
    display: block;
}

@media screen and (max-width: 768px) { 
.sponly{
    display: block;
}
.pconly{
    display: none;
}
}

/* -----------------------header-----------------------------*/

header .mv {
    background-image: url("../images/top/main.jpg");
    background-size: cover;
    background-position: center center;
    width: 100%;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
 	animation: fadeIn 1.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
}
@keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
    0% {opacity: 0} /* 始め */
    100% {opacity: 1} /* 終わり */
}
header h1 {
    font-size: 2.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    margin:0 auto;
    letter-spacing: 0.1em;
}
header h1 span {
    font-size:0.5em;
    letter-spacing:normal;
    margin-top: 20px;
}
@media screen and (max-width: 425px) { 
header h1 {
    font-size: 1.8em;
}
}

/* -----------------------Sub header-----------------------------*/

header .mv-s {
    background-size: cover;
    background-position: center center;
    width: 100%;
    position: relative;
    height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
 	animation: fadeIn 1.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
}
@keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
    0% {opacity: 0} /* 始め */
    100% {opacity: 1} /* 終わり */
}
header .mv-s.about {
    background-image: url("../images/about/main.jpg");
}
header .mv-s.flow {
    background-image: url("../images/flow/main.jpg");
}
header .mv-s.works {
    background-image: url("../images/works/main.jpg");
}
header .mv-s.contact {
    background-image: url("../images/contact/main.jpg");
}
header .mv-s.info {
    background-image: url("../images/info/main.jpg");
}
header .mv-s h1 {
    font-size: 2.6em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    letter-spacing: 0.1em;
}
header .mv-s h1 span {
    font-size:0.5em;
    letter-spacing:normal;
}

@media screen and (max-width: 425px) { 
header .mv-s h1 {
    font-size: 1.8em;
}
}

/* -----------------------news-----------------------------*/
#newsArea {
    margin:100px 0;
    text-align: center;
}
#newsArea h2 {
    text-align: center;
    margin-bottom:30px;
}
#newsArea h2 span {
    border-top: 1px #fff solid;
}
dl.nlist {
    width:500px;
    margin: 0 auto 30px;
    display: flex;
    flex-wrap:wrap;
}
dl.nlist dt {
    width:20%;
    margin-bottom: 10px;
}
dl.nlist dd {
    width:80%;
    margin-bottom: 10px;
}
#newsArea .more {    
    text-align: center;
}
#newsArea i.fas,i.far,i.fa {
-webkit-font-smoothing:antialiased;
-webkit-text-stroke: 1px #000;
}
@media screen and (max-width: 768px) { 
#newsArea dl {
    width:90%;
    margin: 0 auto 30px;
    display: flex;
    flex-wrap:wrap;
}
#newsArea dl dt {
    width:20%;
    margin-bottom: 10px;
}
#newsArea dl dd {
    width:80%;
    margin-bottom: 10px;
}
}
@media screen and (max-width: 426px) { 
#newsArea dl {
    width:90%;
    margin: 0 auto 30px;
    display: block;
}
#newsArea dl dt {
    width:100%;
    margin-bottom: 1px;
    font-size:0.9em;
}
#newsArea dl dd {
    width:100%;
    margin-bottom: 10px;
}
}

/* -----------------------bg_parallax-----------------------------*/
.bg_pl {
    position: relative;
    width:100%;
    min-height: 500px;
    background-size:contain;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
}

.bg_pl.bg-1 {
    background-image:url("../images/top/bg-1.jpg");
}
.bg_pl.bg-2 {
    background-image:url("../images/top/bg-2.jpg");
}
.bg_pl.bg-about1 {
    background-image:url("../images/about/bg-about1.jpg");
}
.bg_pl.bg-about2 {
    background-image:url("../images/about/bg-about2.jpg");
}
@media screen and (max-width: 768px) { 
.bg_pl {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
}
/*.bg_pl {
    height:300px;
    background:0;
}
.bg_pl:before {
    content: "";
    width: 100%;
    height: 100vh;
    min-height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: fixed;
    left:0;
    top:0;
    z-index: -2;
    display: block;
}*/

}
/* -----------------------about-----------------------------*/
#aboutArea {
    background-color:#F9F2E0;
    color:#333;
    padding:100px 15px;
}
#aboutArea .tateBox {
    width:90%;
    margin:0 auto;
}
#aboutArea h2 {
    font-size:1.8em;
    margin-bottom:50px;
    text-align: center;
}
#aboutArea h2 span {
    display: block;
    margin-top:10px;
    font-size:0.5em;
}
#aboutArea h3 {
    margin-bottom: 30px;
}
#aboutArea h3 p {
    line-height: 2;
    font-size: 0.9em;
    text-align: center;
}
#aboutArea .more {    
    text-align: center;
    font-size:0.9em;
}
#aboutArea a { 
    color: #333;
}
#aboutArea i.fas,i.far,i.fa {
-webkit-font-smoothing:antialiased;
-webkit-text-stroke: 1px #e6e6e6;
}

@media screen and (max-width: 426px) { 
#aboutArea p br {
    display: none;
}

}

/* -----------------------top img-----------------------------*/
#topimg {
    background-color: #000;
    padding:0;
}
#topimg ul {
    width:100%;
    overflow: hidden;
}
#topimg ul li {
    width:50%;
    float: left;
    list-style: none;
}
#topimg ul li img {
    width:100%;
    height: auto;
}

@media screen and (max-width: 768px) {
#topimg ul li {
    width:100%;
    float: none;
    margin:0 auto;
}
}
/* -----------------------pagetop-----------------------------*/
#page_top {
    width:90%;
    text-align: right;
    margin:50px auto;
    font-size: 0.9em;
}
/*#page_top a {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  content: '\f062';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after {
  content: 'page top';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
*/
@media screen and (max-width: 768px) {
#page_top {
    display: none;
}
}
/* -----------------------footer-----------------------------*/

footer {
    padding:10px 40px 60px;
    display: flex;
}
footer a:link,
footer a:active,
footer a:visited {
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
footer h2 {
    letter-spacing: 0.25em;
    margin-bottom:10px;
}
footer h2 span {
    font-size:0.65em;
    display: block;
    letter-spacing: normal;
}
footer address {
    font-style: normal;
    margin-bottom:15px;
    font-size:0.9em;
}
footer .f_lbox {
    flex-basis:50%;
}
footer .f_rbox {
    flex-basis:50%;
    font-size:0.9em;
}
footer .f_rbox ul {
    display: flex;
    width:100%;
    justify-content: flex-end;
    list-style: none;
    margin-bottom:30px;
}
footer .f_rbox ul li {
    margin-left:12px;
}
footer .sns_icon img {
    width:30px;
    height: auto;
    margin-right: 5px;
}

footer .f_rbox .pp,
footer .f_rbox .cr {
    text-align: right;
    margin-bottom:10px;
}


@media screen and (max-width: 768px) {
footer {
    padding:20px;
    display: flex;
}
footer .f_rbox ul {
    display: none;
}
footer .f_rbox ul li {
    margin-left:0px;
    text-align: right;
}
}
@media screen and (max-width: 425px) {
footer {
    display: block;
}
footer .f_rbox ul {
    display: none;
}
footer .f_lbox {
    font-size:0.9em;
    margin-bottom: 20px;
}
footer .f_rbox {
    flex-basis:100%;
}
footer .f_rbox .pp,
footer .f_rbox .cr {
    text-align: center;
    margin-bottom:5px;
    font-size:0.8em;
}
}