/* ========================================
   サイト共通スタイル（全ページ共通の骨格）
   ======================================== */

*, *::before, *::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-size: 75%;
	line-height: 1.6;
	/* color: #666666; */
		color: #333;
	text-align: center;
	background: #ffffff;
	font-family: "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
}


a:link,
a:visited {
	color: #333333;
	text-decoration: none;
}

a:hover,
a:active {
	color: #FF9900;
	text-decoration: none;
}

/* 画像は常にコンテナ幅に合わせて縮小する（アスペクト比は維持） */
img {
	max-width: 100%;
	height: auto;
}

/* 全体 */
#wrapper {
	width: 100%;
	/* max-width: 750px; */
	max-width: 1200px; /* 2609追記 */
	margin: 0 auto;
padding-bottom: 0;
    /* padding-top: 86vh; */
	text-align: left;
	position: relative;
	overflow: hidden;
}

.wrapper-catalog,
.wrapper-company {
	    /* padding-top: 35vh !important; */
}


.sub-topimage {
	/* position: absolute;
	top: 0;
	left: 0; */

}

.sub-content-group {
padding: 2rem 3rem;
}

.image-area {
    display: grid;
    place-items: center; /* 縦横中央 */
	/* 縦に2行分のエリアを作る（1行目：ヘッダー分、2行目：文字を置くエリア） */
    grid-template-rows: 40px auto; /* 40pxはヘッダーの高さに合わせて調整 */
    grid-template-columns: 1fr;
	margin-top: -40px;
position: relative;
}

.image-area::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(128, 128, 128, 0.4); 
  pointer-events: none; 
}


/* 文字が画像からはみ出したり変形しないための調整 */
.image-area img {
grid-row: 1 / 3;
    grid-column: 1;
    width: 100%;
    /* height: 100%; */
height: 250px;
    object-fit: cover; /* 画像が崩れないようにするおまじない */
    display: block;
}

.image-area .image-text {
	grid-row: 2;
    grid-column: 1;
    
    align-self: center; 
    justify-self: center;
    color: #ffffff;
    font-weight: bold;
	font-size: 1.8rem;
    z-index: 1;
}




.backimg-square {
	    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/backsquare.webp);
    background-repeat: repeat;
    background-size: calc(10 * 100 / 1200 * 1vw) calc(10 * 100 / 1200 * 1vw);
    pointer-events: none;
    opacity: 0.1;
    z-index: -1;
}


/* ヘッダー */
#header {
	margin: 0;
	padding: 0;
	max-width: 100%;
    /* border-bottom: 2px solid #13007c; */
	position: relative;
    z-index: 100;
	background-color: #ffffff;
	max-width: 1200px;
    margin: 0 auto;
}	

#header img {
	/* display: block; */
	display: flex;
	justify-content: flex-start;
	/* max-width: 100%; */
	/* width: 100%; */
	width: 50px;
	height: auto;
}

/*-------- ヘッダー 26/09追記--------*/
.header__logoarea {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
}
.header__logotxt {
    display: flex;
	/* flex-direction: column; */
	align-items: center;
    padding: 0 0 0 8px;
}

/* .header__logoimg {

} */

.header__logo-ttl {
	font-weight: bold;
    font-size: 1.8rem;
    color: #222;
	line-height: 1.3;
	font-family: "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3";

}

.header__logo-engttl {
	font-weight: bold;
    font-size: 1.8rem;
    color: #1f258e;
	    padding: 0 7px 0 0;
	line-height: 1.3;
	font-family: "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3";

}

.header__logo-subttl {
font-size: 0.8rem;
    text-align: left;
    padding: 0 0 0 8px;
    letter-spacing: 1px;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100; 
    /* background-color: #ffffffb8; */
    box-shadow: 0 1px 6px rgba#0000001a(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
	
}




/* ナビゲーション */
nav {
	text-align: center;
	/* margin: 12px 0 16px; */

	/* pc */
		/* margin: 0 0 16px; */
}

nav ul.example {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

nav li {
	list-style: none;
	flex: 1 1 20%;
	min-width: 70px;
	text-align: center;
}

nav li:not(:last-child) {
	/* border-right: 2px solid #dddddd; */
}

nav a {
	display: block;
	text-decoration: none;
	color: #333333;
	font-weight: bold;
	/* padding: 4px 2px; */

		/* PC */
		/* padding: 15px 2px; */
}

nav a.current {
	/* background-color: #f9fbfe; */
	color: #FFFFFF !important;
	/* border-bottom: 2px solid #ca68ba; */
}

nav a:hover {
	/* background-color: #f9fbfe; */
	color: #fff;
	/* border-bottom: 2px solid #F7CB4D; */
}


/***** タブ *****/

.example {
	display: flex;
}
.example li:not(:first-of-type) {
	position: relative;
	left: 0;
}
/* タブのベース設定 */
.example li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 15px;
    text-decoration: none;
    color: #333333;
    font-weight: bold;
    z-index: 1;
}

/* 台形の背景（デフォルト） */
.example li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: -1;
	    opacity: .85;

    

/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 501.69 275.71' preserveAspectRatio='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Crect y='26.15' width='501.69' height='249.55'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Cpath fill='%23D0BDC0' d='M45.36,0C20.53,0-3.41,5.81.4,44.95c0,0,17.98,228.03,105.44,230.75h145.01V0H45.36ZM456.33,0h-205.49v275.71h145.01c87.45-2.72,105.44-230.75,105.44-230.75C505.1,5.81,481.16,0,456.33,0Z'/%3E%3C/g%3E%3C/svg%3E"); */
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 501.69 275' preserveAspectRatio='none' overflow='visible' %3E%3Cdefs%3E%3Cfilter id='shadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='12' stdDeviation='10' flood-color='%23555555' flood-opacity='0.3'/%3E%3C/filter%3E%3C/defs%3E%3Cpath fill='%23FFFFFF' filter='url(%23shadow)' d='M45.36,-26.15C20.53,-26.15-3.41,-20.34.4,18.8c0,0,17.98,228.03,105.44,230.75h145.01V-26.15H45.36ZM456.33,-26.15h-205.49v275.71h145.01c87.45-2.72,105.44-230.75,105.44-230.75C505.1,-20.34,481.16,-26.15,456.33,-26.15Z'/%3E%3C/svg%3E");
background-size: 100% 100%;
    transition: background-image 0.3s;
}

/* ホバー時の背景色 */
.example li a:hover {
    color: #fff;
}


/* ホバー時の背景色 */
.example li a:hover::before {
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 501.69 275.71' preserveAspectRatio='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Crect y='26.15' width='501.69' height='249.55'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Cpath fill='%23bb6464' d='M45.36,0C20.53,0-3.41,5.81.4,44.95c0,0,17.98,228.03,105.44,230.75h145.01V0H45.36ZM456.33,0h-205.49v275.71h145.01c87.45-2.72,105.44-230.75,105.44-230.75C505.1,5.81,481.16,0,456.33,0Z'/%3E%3C/g%3E%3C/svg%3E"); */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 501.69 275' preserveAspectRatio='none' overflow='visible' %3E%3Cdefs%3E%3Cfilter id='shadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='12' stdDeviation='10' flood-color='%23555555' flood-opacity='0.3'/%3E%3C/filter%3E%3C/defs%3E%3Cpath fill='%23ae6d89' filter='url(%23shadow)' d='M45.36,-26.15C20.53,-26.15-3.41,-20.34.4,18.8c0,0,17.98,228.03,105.44,230.75h145.01V-26.15H45.36ZM456.33,-26.15h-205.49v275.71h145.01c87.45-2.72,105.44-230.75,105.44-230.75C505.1,-20.34,481.16,-26.15,456.33,-26.15Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    color: #fff;
}

/* 現在地（current）の背景色 */
.example li a.current::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 501.69 275' preserveAspectRatio='none' overflow='visible' %3E%3Cdefs%3E%3Cfilter id='shadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='12' stdDeviation='10' flood-color='%23555555' flood-opacity='0.3'/%3E%3C/filter%3E%3C/defs%3E%3Cpath fill='%23012094' filter='url(%23shadow)' d='M45.36,-26.15C20.53,-26.15-3.41,-20.34.4,18.8c0,0,17.98,228.03,105.44,230.75h145.01V-26.15H45.36ZM456.33,-26.15h-205.49v275.71h145.01c87.45-2.72,105.44-230.75,105.44-230.75C505.1,-20.34,481.16,-26.15,456.33,-26.15Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.example li a.current {
    color: #FFFFFF !important;
}



/* ページタイトル */
.page-title {
	margin: 0 0 20px;
	padding: 0;
}

.page-title img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* お知らせ・説明テキスト（各ページ共通の枠） */
#explain_tex {
	margin: 0 0 28px;
	padding: 16px 20px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	clear: both;
}

#explain_tex .setsumei {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

#explain_tex li {
	list-style: none;
	margin: 0 0 12px;
	padding: 0 0 0 16px;
	background: url(../img/icn_ten.gif) no-repeat 0 0.45em;
	line-height: 1.6;
}

#explain_tex li:last-child {
	margin-bottom: 0;
}

#explain_tex ul img {
	vertical-align: middle;
	margin-left: 4px;
}

#explain_tex a {
	font-weight: bold;
}


.notice-text {
	font-size: .6rem;
}



/* ページTOPリンク */
.pagetop-link {
	/* margin: 40px 0 0; */
    padding: 0 2rem 1rem;
	text-align: right;
	clear: both;
}

/* フッター */
#footer {
	width: 100%;
	height: auto;
line-height: 50px;
	/* margin: 30px auto 0; */
    background: #c7c9cb;
    display: flex;
    align-items: center;
    justify-content: center;
	clear: both;
}

#footer p {
	margin: 0;
		padding: 0 2rem;
	font-size: 100%;
}

.FloatEnd {
	clear: both;
}


/* -----------マージン上下調整ここから-------------- */

.margin-t-10 {
	margin-top: 10px;
}
.margin-t-20 {
	margin-top: 20px;
}
.margin-t-30 {
	margin-top: 30px;
}.margin-t-40 {
	margin-top: 40px;
}.margin-t-50 {
	margin-top: 50px;
}.margin-t-60 {
	margin-top: 60px;
}

.margin-b-10 {
	margin-bottom: 10px;
}
.margin-b-20 {
	margin-bottom: 20px;
}
.margin-b-30 {
	margin-bottom: 30px;
}.margin-b-40 {
	margin-bottom: 40px;
}.margin-b-50 {
	margin-bottom: 50px;
}.margin-b-60 {
	margin-bottom: 60px;
}
/* -----------マージン上下調整ここまで------------- */



/* ========================================
   レスポンシブ調整
   ======================================== */

@media screen and (max-width: 768px) {
	#wrapper {
				/* padding: 0 0 24px; */
	/* padding-bottom: 30px; */
    /* padding-top: 56vh; */
	}

	#explain_tex {
		padding: 14px 16px;
	}





}

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

	.header__logo-ttl {
    font-weight: bold;
    display: flex;
    flex-direction: column;
	        align-items: flex-start;
    font-size: 1.4rem;
	white-space: nowrap;
}

	
	.header__logotxt {
    display: flex;
    /* flex-direction: column; */
align-items: center;
    padding: 0 0 0 8px;
}

.header__logo-engttl {
    font-size: 1.4rem;
	display: none;
}


.header__logo-subttl {
    font-size: 0.6rem;
    text-align: left;
        padding: 0 0 0 5px;
    letter-spacing: 0;
}



	nav li {
		/* flex: 1 1 33.333%; */

		flex: 1 1 19.333%;
		min-width: 0;
		/* margin-bottom: 8px; */
	}


	nav li:not(:last-child) {
		border-right: none;
	}

	nav a {
		font-size: 90%;
	}


	.css-slider__content {
	    padding: 70px 20px 0;
	}

	.sub-content-group {
    padding: 1rem;
	}
	
#footer p {
    margin: 0;
    padding: 0 .5rem;
    font-size: 100%;
    font-size: .6rem;
}
	

}

/* @media screen and (max-width: 420px) {
	#wrapper {
	padding-bottom: 30px;
    padding-top: 77vh;
	}
} */
