@charset "utf-8";
/* レイアウトのためのCSS */

body{
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

@media screen and (max-width:768px) {
body{
	font-size:0.8rem;
	}
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

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

img{
    width: 100%;
    height: auto;
}
.features{
	display:flex;
	text-align: center;
	justify-content: center;
}
@media(max-width:900px){
.features{
	display: block;;
	text-align: center;
	justify-content: center;
}
}



/* font-family */

#splash-logo,
.top-lead,
h1,
h2,
h3 span,
#g-nav,
#pc-nav,
.openbtn,
#footer{
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.1em;
}

/* splash */

#splash-logo{
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #A53010;
}

/* g-nav */

#g-nav.panelactive li:last-child a{
    margin: 30px 0 0 0;
    padding: 10px 20px;
    border: 2px solid #333;
    white-space: nowrap;
}

/*pc-nav*/

#pc-nav span.bgLRextend::before{
    background:#333;
}


@media screen and (max-width:990px) {
    #pc-nav{
        display: none;
    }
}

/* heading */

h1{
    text-transform: uppercase;
    font-size: 1.5rem;
    position: absolute;
    top: 40%;
    left: 5%;
    line-height: 1;
    letter-spacing: 0.2em;
}

@media screen and (max-width:550px) {
    h1{
        font-size:1.2rem;
        top: 32%;
    }
}


h1 a{
    color:#A53010;
}

h2{
    text-transform: uppercase;
    font-size: 3rem;
}

@media screen and (max-width:768px) {

  h2{
      font-size:2rem;
    }
}

/* lead */

.top-lead{
    position: fixed;
    bottom:10%;
    left:5%;
    font-size:3rem;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.5;
}


.top-lead span.bgLRextend::before{
    background:#333;
}

@media screen and (max-width:550px) {
.top-lead{
    font-size:2.2rem;
    }
}
@media screen and (max-width:380px) {
.top-lead{
    font-size:1.8rem;
    }
}

/* main-area */

#main-area{
    width:90%;
    margin:0 auto;
    padding: 50px 0; 
}

/* topics */

#topics{
    border-left:3px solid #000;
    padding: 0 0 0 20px;
}

@media screen and (max-width:768px) {
    #topics{
        margin:0 0 100px 0;
}
}

#topics h2{
    font-size: 1.5rem;
    cursor: pointer;
}

#topics h2:hover{
    text-decoration: underline;
    color:#A53010;
}

#topics h2 span.bgLRextend::before{
    background:#333;
}

.bx-wrapper{
    box-shadow:none;
    border:none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    overflow: auto;
  }
  
  /* A4縦比率 (1:1.414) を保つモーダル枠 */
  .modal-content {
    position: relative;
    background: #fff;
    aspect-ratio: 1 / 1.4;
    width: min(90vw, 70vh);  /* 画面に合わせてスケール */
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }
  
  /* 閉じるボタン */
  .close {
    position: absolute;
    top: 30px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #2E87DC;
    cursor: pointer;
    z-index: 10;
  }
  
  /* ← 戻るボタン */
  .back-button {
    position: absolute;
    top: 30px;
    left: 15px;
    font-size: 16px;
    padding: 6px 12px;
    border: none;
    background-color: transparent;
    color: #2E87DC;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
  }
  
  /* iframeでサブページを埋め込み */
  .modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  

/* vision */

#vision{
    display: flex;
    justify-content:space-between;
    align-items: center;
    flex-wrap: wrap;
    margin:0 0 100px 0;
}

@media screen and (max-width:768px) {
    #vision{
        margin:0 0 50px 0;
    }
    
}

#vision .img{
    width:50%;
    min-height: 590px;
    background:url("../img/Nagaizemi_main.jpg") no-repeat center;
    background-size: cover;
}

#vision .content{
   width:50%; 
    text-align: right;
}

@media screen and (max-width:768px) {
  #vision .img{
    width:100%;
    min-height: 290px;
      margin:0 0 50px 0;
}

#vision .content{
   width:100%; 
    text-align: left;
}  
}

#vision h2{
    color:#A53010;
    margin:0 0 30px 0;
}

#vision p{
    line-height: 2;
    margin: 0 0 50px 0;
}

#vision .vision-lead{
    position: relative;
    color:#A53010;
    font-size:1.3rem;
    font-weight: bold;
    margin: 0 0 90px 0;
}

@media screen and (max-width:768px) {
#vision .vision-lead{
    font-size:1rem;
    }
    
}

#vision .vision-lead::after{
     content:'';
    position: absolute;
    bottom:-30px;
    right:0;
    background:#A53010;
    width:12em;
    height: 3px;
}

/* contents */

#contents h2{
    color:#A53010;
    text-align: center;
    margin:0 0 100px 0;
}

@media screen and (max-width:550px) {
#contents h2{
    margin:0 0 50px 0;
    }
}

#contents h2 span.bgLRextend::before{
    background:#333;
}


#contents .contents-area{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin:0 0 300px 0;
}

@media screen and (max-width:768px) {
#contents .contents-area{
    margin:0 0 200px 0;   
}
}

@media screen and (max-width:590px) {
 #contents .contents-area{
    margin:0 0 50px 0;   
}
   
}

#contents .contents-area::after{
     content:'';
    position: absolute;
    width: 70%;
    height: 23em;
    background:#f3f3f3;
    right:10%;
    top:20%;
    z-index: -1;
}


#contents .contents-area:nth-of-type(2n+1){
     flex-direction: row-reverse;
}


#contents .contents-area .img{
    width:50%;
}

#contents .contents-area .content{
    width:40%;
    background:#fff;
    box-shadow: 0 0 20px #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top:150px;
}

@media screen and (max-width:768px) {
#contents .contents-area .content{
    width:47%;
    top:100px;
    }  
}

@media screen and (max-width:590px) {
#contents .contents-area .img{
    width:100%;
    z-index: 2;
}
#contents .contents-area .content{
    width:100%;
    top:-10px;
    animation:none;
    opacity: 1;
    z-index: 1;
}
}

#contents .contents-area .content-area{
    padding:40px;   
}

#contents .contents-area .content-area h3{
     text-align: center;
    font-size: 1rem;
    margin: 0 0 30px 0;
}

#contents .contents-area .content-area h3 span{
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    font-size: 1.2rem;
}

#contents .contents-area .content-area p{
     margin:0 0 30px 0;   
}

#contents .btn{
    text-align: right;
}

/* SNS */

#SNS{
    margin: 0 0 200px 0;
}

@media screen and (max-width:768px) {
#SNS{
    margin: 0 0 100px 0;
}
    
}

#SNS h2{
    text-align: center;
    color:#A53010;
    margin:0 0 100px 0;
}

@media screen and (max-width:550px) {
#SNS h2{
    margin:0 0 50px 0;
    }
}

#SNS .SNS-list{
   width: 96%;
    max-width: 900px;
    margin: 0 auto;
}

#SNS .SNS-list li{
    border-bottom: 1px solid #ccc;
    margin:0 0 15px 0;
    padding: 0 0 15px 0;
}

#SNS .SNS-list dl{
     display: flex;
    justify-content: space-between;
}

#SNS .SNS-list dt{
    width:30%;
    padding: 0 0 0 40px;
}

@media screen and (max-width:590px) {

#SNS .SNS-list dt{
     padding:0 0 0 10px; 
    }
}

#SNS .SNS-list dd{
    width:65%;
}

/* activityReport */

#activityReport{
    margin: 0 0 200px 0;
}

@media screen and (max-width:768px) {
#activityReport{
    margin: 0 0 100px 0;
}
    
}

#activityReport h2{
    text-align: center;
    color:#A53010;
    margin:0 0 100px 0;
}

@media screen and (max-width:550px) {
#activityReport h2{
    margin:0 0 50px 0;
    }
}
#activityReport img{
	width:650px;
	height:479px;
}

@media screen and (max-width:1350px) {
#activityReport img{
	width:450px;
	height:332px;
}
}

@media screen and (max-width:450px) {
#activityReport img{
	width:350px;
	height:258px;
}
}


/* media */

#media{
    margin: 0 0 200px 0;
}

@media screen and (max-width:768px) {
#media{
    margin: 0 0 100px 0;
}
    
}

#media h2{
    text-align: center;
    color:#A53010;
    margin:0 0 100px 0;
}

@media screen and (max-width:550px) {
#media h2{
    margin:0 0 50px 0;
    }
}
#media img{
	width:1174px;
	height:867px;
}
@media(max-width:1200px){
#media img{
	width:850px;
	height:628px;
}
}

@media(max-width:900px){
#media img{
	width:450px;
	height:332px;
}
}

@media(max-width:450px){
#media img{
	width:350px;
	height:258px;
}
}

/* contact */

#contact{
    margin:0 0 100px 0;
}

#contact h2{
    text-align: center;
    margin:0 0 100px 0;
    color: #A53010;
}

@media screen and (max-width:550px) {
 #contact h2{
     margin:0 0 50px 0;
    }
}
#contact img{
	width:250px;
	height:356px;
}

@media(max-width:750px){
#contact img{
	width:100px;
	height:142px;
}
}
#contact .form-list{
    width:100%;
    max-width: 700px;
    margin: 0 auto;
}

#contact input , button , textarea , select {
	margin:0;
	padding:0;
	border:none;
	outline:none;
	background:none;
    font-size: 16px;
}


/*全て共通：モーダルのボタンの色を変更したい場合*/
#contact .modaal-close:after, 
#contact .modaal-close:before{
  background:#ccc;  
}

#contact .modaal-close:focus:after,
#contact .modaal-close:focus:before,
#contact .modaal-close:hover:after,
#contact .modaal-close:hover:before{
  background:#666;
}

/*以下はコンテンツ内のレイアウト*/
#contact .info-list dl,
#contact .gallery-list{
  display: flex;
}

#contact .info-list dt{
  margin:0 10px 0 0;
}

#contact .gallery-list li{
  margin:0 10px 0 0;
}



/* footer */

#footer{
    padding: 100px 0;
    border-top:1px solid #333;
    text-align: center;
    background: #fff;
    position: relative;
    text-transform: uppercase;
}

#footer .footer-logo{
    font-weight: bold;
    letter-spacing: 0.3em;
    margin: 0 0 50px 0;
    color: #666;
}

#footer small{
     color:#888;
}



