@charset "utf-8";
/* -------------------------
common
------------------------- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@media screen and (min-width: 481px){   
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 480px){   
  .pc { display:none; }
  .sp { display:block; }
}

#header {
  z-index: 9999;
  position: fixed;
  top: 0px;
  left: 0px;
}
body {
	-webkit-text-size-adjust: 100%;
	font-family: "黎ミンY20 M";
	font-size: 1em;
	color: #000;
width: 100%;
	line-height: 1.6;
	background: #fffaf0 ;
}

img {
	border: none;
	vertical-align: top;
}
a {
	text-decoration: none;
	color: #000;
}
a:focus {
	outline: none;
}
a:focus img {
	outline: none;
}
ul, ol {
	list-style: none;
}
hr {
	width: 100%;
	height: 0;
	border: none;
	border-bottom: 1px solid #ccc;
}
.cb {
	box-sizing: content-box;
}
.cf:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
#pageTop {
	position: fixed;
	bottom: 20px;
	right: 20px;
}
#pageTop a {
	display: block;
}
#pageTop a img {
	opacity: 0.3;
}
#pageTop a:hover img {
	opacity: 0.5;
}


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


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

.hamburger {
  display : block;
  position: fixed;
  z-index : 9999;
  right : 10px;
  top   : 50px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background :#fff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 15px;
  left: 4px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 15px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
left: 4px;
}

nav.globalMenuSp {
position: absolute;
z-index: 4;
  top  : 120px;
  left : 0;
  color: #fff;
  background: #eceade;
  text-align: center;
  width: 100%;
  opacity: 0;
visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#c4c2b3;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #002b60;
  padding: 1em 0;
  text-decoration :none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
visibility: visible;

}
}


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




header {
width: 100%;
margin: auto;
z-index: 9998;
position: fixed;
background: url(../img/blank.png)no-repeat;
background-size: 100% auto;
height: 150px;
margin-top: 30px;
}

	

 


h1 .logosmp {
width: 80%;
height: auto;
Margin-right: 35px;
Text-align: center;
margin-top: 25px;
	
	
}



footer {
width: 100%;
min-width: 0px;
background: #002d6b;
padding-top: 24px;
padding-bottom: 24px;
}

footer p {
	font-size: 9px;
	color: #fff;
	line-height: 1;
	text-align: center;
}

#contentsWp {
width: 100%;
margin: auto;

}

.topmenu p {

display: inline-block;
Padding-right:15px;
Padding-left:15px;
font-size: 13px;
color: #002d6b;
Margin:auto;
Display:none;

}
.topmenu p a{

display: inline-block;
Padding-right:15px;
Padding-left:15px;
font-size: 13px;
color: #002d6b;
Margin:auto;
Display:none;

}


.swiper-container {
        width: 100%;
 Height:auto;
 margin-bottom:10px;
position: absolute;
Margin-top:130px;
z-index: 3;
}

      
 .swiper-slide {

/* 画像位置の調整用 */
text-align: center;
color: #fff;
        
}
 .swiper-slide img{
        width:100%;
        Height:auto;        
}

.swiper-button-next {
    display: none;
}
.swiper-button-prev{
    display: none;
}
  

.swiper-pagination {
 position: relative!important;
    text-align: center;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    z-index: 10;
}
.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0px!important;
    left: 0;
    width: 100%;

}
.top-banner{
	display: flex;
	flex-wrap:wrap;
}
.top-banner li {
	width: calc(100%/2);/*←画像を横に4つ並べる場合*/
	padding:4px;/*←画像の左右に5pxの余白を入れる場合*/
	box-sizing:border-box;
}
.top-banner li img {
	max-width:100%; /*画像のはみだしを防ぐ*/
	height: auto; /*画像の縦横比を維持 */
	}

.topban{
Width:100%;
Margin:auto;

}
.top-banner a:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}

h2{
Text-align:center;
Color:#002b60;
Font-size:20px;
margin:0 auto;
font-family: serif;
white-space: nowrap;
  }



.spec{
Padding-top:10px;
Padding-bottom:10px;
Text-align:center;
Color:#000;
Font-size:12px;
font-family: serif;
}

.topimg{
Width:100%;
Height:auto;
Padding:4px;

}

.head-border {
    display: flex;
    align-items: center;
}

.head-border:before,
.head-border:after {
    content: "";
    height: 2px;
    flex-grow: 1;
    background-color: #002b60;
}

.head-border:before {
    margin-right: 1rem;
}

.head-border:after {
    margin-left: 1rem;
}
.ftbanner{
	display: flex;
	flex-wrap:wrap;
}
.ftbanner li {
	width: calc(100%/3);/*←画像を横に4つ並べる場合*/
	padding:10px;/*←画像の左右に5pxの余白を入れる場合*/
	box-sizing:border-box;
}
.ftbanner li img {
	max-width:100%; /*画像のはみだしを防ぐ*/
	height: auto; /*画像の縦横比を維持 */
	
}

.ftban{
Width:200px;
Margin:auto;
}

.ftbanner a:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}


.news{
Text-align:center;
Color:#000;
Font-size:12px;
font-family: serif;
}

.newsdate{
Text-align: center;
Color: #002b60;
Font-size: 13px;
font-family: sans-serif;
font-weight: bold;
}

.newsbtn{
width: 160px;
height: 40px;
line-height: 40px;
    margin-top:10px;
    margin:0 auto;
}
.newsbtn a{
    display:block;
    width:100%;
    height:100%;
    text-decoration: none;
    background:#002B60;
    text-align:center;
    border:2px solid #002B60;
    color:#FFFCF0;
    font-size:14px;
    border-radius:19px;
    -webkit-border-radius:19px;
    -moz-border-radius:19px;
    transition: all 0.5s ease;
}
.newsbtn a:hover{
    background:#FFFCF0;
    color:#002B60;
    margin-left:0px;
    margin-top:0px;
    border:2px solid #002B60;
    box-shadow:none;
}

.specimg{
display:none;
}

.specsp{
width:100%;
height:auto;
padding-bottom:20px;
}
.companyinfo {
  font-size: 9px;
  color: #002d6b;
line-height: 1.4;
  text-align: center;
}

/* ---dropdown menu---*/

.nav-menu-list {
	display: flex;
	list-style-type: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 25px 50px;
	padding: 0;
	margin: 0;
	font-size: 16px;
	color: #fffaf0;
    background-color: #082a55;
    justify-content: center;
    width: 100%;
    top: 0;
    position: fixed;
    z-index: 9999;
}

.nest-box {
	position: relative;
	z-index: 9999;

	summary:hover {
		cursor: pointer;
		text-decoration: underline;
	}
}

.nest-box-list {
position: absolute;
    top: 120%;
    display: flex;
    list-style-type: none;
    padding: 20px;
    gap: 20px 20px;
    background-color: #444583;
    color: #FFF;
    border-radius: 10px;
    z-index: 9999;
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;
    width: max-content;
}

.all-inherit-link {
	color: inherit;
	text-decoration: none;

	&:active {
		color: inherit;
		text-decoration: underline;
	}

	&:visited {
		color: inherit;
	}

	&:hover {
		text-decoration: underline;
	}
	
	
}

.introduction {
    display: grid;
    gap: 5px;
    width: 100%;
    margin: 0 auto;
    background-color: #1d264a;
    padding: 10px;
}
    
.div1 {
padding-left: 10px;
padding-top: 10px;
}

.div1 img {
width:120px;
}

.div2 {
    grid-column: span 3 / span 3;
    color: white;
font-size: 12px;
    padding-top: 25px;
    font-weight: bold;
}

.div3 {
grid-column: span 4 / span 4;
grid-row: span 2 / span 2;
grid-row-start: 2;
  padding-left: 15px;
  padding-top: 10px;
}

.div3 img {
width:95%;
}

.div4 {
 grid-column: span 4 / span 4;
    grid-row-start: 4;
    color: white;
    font-size: 12px;
    padding: 5px;
}

.div4 img {
width:300px;
}

.toppic {
width:100%;
height:auto;
}

.hanmitext {
  color: #000;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.3rem 0.5rem;
  margin: 0;
}

.zangitext {
  color: #000;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.3rem 0.5rem;
  margin: 0;
}

.anim-box {
width:100%;
overflow: hidden; 
}

.anim-box img{
width:100%;
}

.mapbox {
width: 100%;
    position: relative;
    padding-top: 56.25%;
    margin: 0 0 20px;
}

.mapbox iframe {
width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.maptext {
    font-size: 40px;
    color: #9e2c2c;
    font-family: sans-serif;
    font-weight: bold;
    line-height: 50px;
      padding-top:30px;
      text-align: left;
}


/* 全体 */
.scrollAnim.ready {
  opacity: 0;
  transition: all .8s ease-in;
}
.scrollAnim.ready.active {
  opacity: 1;
}

/* スケール（Scale） */
.scrollScale.ready {
  transform: scale(0.8);
}
.scrollScale.ready.active {
  transform: scale(1);
}

/* スライド（Slide） */
.scrollSlide.ready {
  transform: translateX(80px);
}
.scrollSlide.ready.active {
  transform: translateX(0);
}

/* スライド（Slide2） */
.scrollSlide2.ready {
  transform: translateX(-80px);
}
.scrollSlide2.ready.active {
  transform: translateX(0);
}

.top-banner {
    display: flex;
    flex-wrap: wrap;
}
  
.top-banner li {
    width: calc(100%/2);
    padding: 4px;
    box-sizing: border-box;
}

.menuname {
    Text-align: center;
    Color: #002b60;
    Font-size: 13px;
    font-family: sans-serif;
    font-weight: bold;
  }
  
 .fade-in-text {
    position: relative;
    font-size: 50px;
    opacity: 0;
    transform: translateY(100%);
    animation: fadeInFromBottom 1s forwards;
    color: #9e2c2c;
    font-family: sans-serif;
    font-weight: bold;
    line-height: 50px;
}
 .fade-in-pic {
    position: relative;
    opacity: 0;
    transform: translateY(100%);
    animation: fadeInFromBottom 1s forwards;
}

@keyframes fadeInFromBottom {
  to {
    opacity: 1; /* アニメーション終了時に完全に表示 */
    transform: translateY(0); /* アニメーション終了時の位置 */
  }
}
  
  .address {
  Color: #000000;
  Font-size: 12px;
  font-family: sans-serif;
  font-weight: bold;
  padding: 5px;
  text-align: left;
}

}

