@charset "utf-8";

@media (max-width: 599px) {
}

@media (min-width: 600px) and (max-width:959px) {
}

@media (min-width: 960px) {
}

@media (max-width: 480px) {
}

@media (min-width: 481px) and (max-width:768px) {
}

@media (min-width: 769px) and (max-width:959px) {
}

@media (min-width: 960px) {
}

/* ---------------------------------------- common */
/* ページごとにフォントサイズ変更あり */

main { line-height: 2; }
main h2,
main h3,
main h4 { font-weight: bold; }

@media (max-width: 599px) {
	main { font-size: 1.2rem; }
	main h2 { font-size: 2.0rem; }
	main h3 { font-size: 1.6rem; }
	main h4 { font-size: 1.4rem; }
}

@media (min-width: 600px) and (max-width:768px) {
	#wrapper { font-size: 1.35rem; }
	main h2 { font-size: 2.4rem; }
	main h3 { font-size: 1.8rem; }
	main h4 { font-size: 1.5rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	#wrapper {
		font-size: 1.45rem;
	}
	main h2 { font-size: 2.8rem; }
	main h3 { font-size: 2.0rem; }
	main h4 { font-size: 1.6rem; }
}

@media (min-width: 960px) {
	#wrapper {
		font-size: 1.6rem;
	}
	main h2 { font-size: 3.2rem; }
	main h3 { font-size: 2.2rem; }
	main h4 { font-size: 1.7rem; }
}

main section { padding: 5em 0 0; }

/* ---------------------------------------- visual */

/* 旧テーマの max-height:500px / 100vh系 min-height はヒーロー縮みの原因なので付けない。
   高さは home-inline / layout の !important と HomeSwiper に任せる。 */

@media (max-width: 480px) {
	#wrapper {
		padding-top: 60px;
	}
}
@media (min-width: 481px) and (max-width:768px) {
	#wrapper {
		padding-top: 61px;
	}
}
@media (min-width: 769px) and (max-width:959px) {
	#wrapper {
		padding-top: 105px;
	}
}
@media (min-width: 960px) {
	#wrapper {
		padding-top: 110px;
	}
}

#visual h2,
#visual p:not( .pagelink ):not( .text-white ){
	text-shadow: 2px 2px 3px #fff, -2px -2px 3px #fff, -2px -0 3px #fff, 0 -2px 3px #fff;
}
#visual .text-white { 
	color: #fff; 
	text-shadow: 2px 2px 6px #000, -2px -2px 6px #000, -2px -0 6px #000, 0 -2px 6px #000;
}

@media (max-width: 599px) {
	#visual { font-size: 1.3rem; }
	#visual h2 { font-size: 2.0rem; }
	#visual .pagelink a { font-size: 1.3rem; }
}

@media (min-width: 600px) and (max-width:768px) {
	#visual { font-size: 1.4em; }
	#visual h2 { font-size: 2.4rem; }
	#visual .pagelink a { font-size: 1.4rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	#visual { font-size: 1.5rem; }
	#visual h2 { font-size: 2.8rem; }
	#visual .pagelink a { font-size: 1.5rem; }
}

@media (min-width: 960px) {
	#visual { font-size: 2.0rem; }
	#visual h2 { font-size: 3.2rem; }
	#visual p { font-size: 2.0rem; }
	#visual .pagelink a { font-size: 1.6rem; }
}

#visual .swiper-slide {
	width: 100%;
	text-align: center;
	overflow: hidden;
	position: relative;
}
#visual .swiper-slide .slide-inner {
	font-family: inherit;
	width: 94%;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	height: 88%;
	display: flex;
	gap: 2rem;
}
/* ラッパー：左右の要素を横並びにする */
#visual .swiper-slide .slide-inner .slide-inner-content-wrapper {
    display: flex;
    justify-content: space-between; /* 両端に寄せる */
    align-items: center; /* 上下中央揃えにする場合 */
    gap: 2rem; /* 左右の間の余白 */
}
#visual .swiper-slide .slide-inner .slide-inner-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4rem;
	width: 55%;
}
#visual .swiper-slide .slide-inner .slide-inner-image {
    width: 45%; /* 幅を30%で固定。 width: 30%; でも可 */
    /* 必要に応じて高さを指定 */
	display: flex;
	align-items: end;
	justify-content: right;
}

/* 右側の画像が親要素からはみ出ないようにする設定 */
#visual .swiper-slide .slide-inner .slide-inner-image img {
    width: 100%;
    height: auto;
    display: block; /* 余白をなくすため */
}
/* #visual h2 {
	line-height: 1.4;
	font-weight: bold;
	margin: 0 0 .75em;
} */
#visual h2 {
	/* font-size: 54px;
	line-height: 1.4;
	font-weight: bold;
	margin: 0 0 .75em; */

    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: -2px -2px 0 #000000, 2px -2px 0 #000000, -2px 2px 0 #000000, 2px 2px 0 #000000, 4px 4px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
    /* padding: 1rem 2rem; */
    /* background-color: #808080; */
    border-radius: 0.75rem;
    /* box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); */
    text-align: center;
    line-height: 1.2;
	margin-bottom: 0;
	white-space: nowrap;
}

@media (max-width: 959px) {
	#visual div.description *{
		font-size: 1.5rem;
	}
}

@media (min-width: 960px) {
	#visual div.description *{
		font-size: 2.5rem;
	}
}

#visual div.description *{
    font-weight: bold;
    /* color: #ffffff; */
    /* text-shadow: 0px 0px 0 #000000, 0px 2px 0 #000000, 2px 2px 4px rgba(0, 0, 0, 0.6); */
	text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
    letter-spacing: 0.05em;
    /* padding: 1rem 2rem; */
    /* background-color: #808080; */
    border-radius: 0.75rem;
    /* box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); */
    text-align: left;
    line-height: 1.2;
}
#visual div.description p{
	line-height: 1.2;
}
/* 基本設定：PCサイズ（960px以上） */
#visual .hero-title-area h2 {
    font-size: 5rem;
    line-height: 1.2; /* 大きな文字には少し狭めの行間が綺麗です */
    margin-bottom: 1rem;
}

/* 中間サイズ：タブレット（769px 〜 959px） */
@media (min-width: 769px) and (max-width: 959px) {
    #visual .hero-title-area h2 {
        font-size: 4rem;
    }
}

/* 小型サイズ：スマホ横・タブレット縦（481px 〜 768px） */
@media (min-width: 481px) and (max-width: 768px) {
    #visual .hero-title-area h2 {
        font-size: 3.2rem;
    }
}

/* 超小型サイズ：スマホ縦（480px以下） */
@media (max-width: 480px) {
    #visual .hero-title-area h2 {
        font-size: 2.6rem; /* 1行の文字数が多い場合は2.4rem程度まで下げてもOK */
        line-height: 1.3; /* スマホでは少し行間を広げると読みやすくなります */
    }
}
#visual .slide-inner-content .hero-bottom-right-img {
	position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;;
}
#visual .slide-inner-content p {
	text-align: left;
}
#visual p:not( .pagelink ){ 
	line-height: 2;
}

#visual .slide-inner-content .cta-buttons {
	display: flex;
	gap: 3rem;
}

#visual .slide-inner-content .hero-button-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 基本設定：PCサイズ（960px以上） */
#visual .slide-inner-content .hero-microcopy {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    display: block; /* 余白調整をしやすくするため */
    margin-bottom: 5px;
}

/* 中間サイズ：タブレット（769px 〜 959px） */
@media (min-width: 769px) and (max-width: 959px) {
    #visual .slide-inner-content .hero-microcopy {
        font-size: 1.4rem;
    }
}

/* 小型サイズ：スマホ横・タブレット縦（481px 〜 768px） */
@media (min-width: 481px) and (max-width: 768px) {
    #visual .slide-inner-content .hero-microcopy {
        font-size: 1.2rem;
    }
}

/* 超小型サイズ：スマホ縦（480px以下） */
@media (max-width: 480px) {
    #visual .slide-inner-content .hero-microcopy {
        font-size: 1.1rem;
        margin-bottom: 3px; /* 隙間も微調整 */
    }
}

/* ===============================================
   プライマリボタン
=============================================== */
/* 基本設定：PCサイズ（960px以上） */
#visual .slide-inner-content .orange-button {
    display: inline-block;
    padding: 1.5rem 2rem;
    background-color: #ff8c00;
    color: #ffffff;
    font-size: 1.8rem; /* デスクトップサイズ */
    font-weight: 700;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 30px;
    z-index: 6;
}

#visual .slide-inner-content .orange-button:hover {
	background-color: #ff7f00; /* ホバー時の色を少し濃く */
	transform: translateY(-2px); /* 少し上に移動 */
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3); /* シャドウを強調 */
}

#visual .slide-inner-content .orange-button:active {
	background-color: #e67300; /* クリック時の色をさらに濃く */
	transform: translateY(0); /* 元の位置に戻す */
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* シャドウを控えめに */
}

/* ===============================================
   セカンダリボタン
=============================================== */
#visual .slide-inner-content .secondary-button {
	display: inline-block;
	padding: 1.5rem 2rem; /* プライマリとサイズ感を統一 */
	background-color: white; /* 背景は透明に */
	color: #ff8c00; /* 文字色をオレンジに */
	font-size: 1.8rem;
	font-weight: 700;
	border: 2px solid #ff8c00; /* オレンジ色の枠線を追加 */
	border-radius: 9999px; /* プライマリと統一 */
	box-shadow: none; /* 通常時のシャドウはなし */
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* colorのトランジションを追加 */
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	margin-bottom: 30px;
	z-index: 6;
}

/* ホバー時のスタイル */
#visual .slide-inner-content .secondary-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); /* ホバー時に少しシャドウを追加 */
}

/* クリック時（アクティブ）のスタイル */
#visual .slide-inner-content .secondary-button:active {
	transform: translateY(0);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


/* 中間サイズ：タブレット（769px 〜 959px） */
@media (min-width: 769px) and (max-width: 959px) {
    #visual .slide-inner-content .orange-button,
	#visual .slide-inner-content .secondary-button {
        padding: 1.2rem 1.8rem;
        font-size: 1.6rem;
    }
}

/* 小型サイズ：スマホ横・タブレット縦（481px 〜 768px） */
@media (min-width: 481px) and (max-width: 768px) {
    #visual .slide-inner-content .orange-button,
	#visual .slide-inner-content .secondary-button {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
        margin-bottom: 20px; /* 余白も少し調整 */
    }
}

/* 超小型サイズ：スマホ縦（480px以下） */
@media (max-width: 480px) {
    #visual .slide-inner-content .orange-button,
	#visual .slide-inner-content .secondary-button {
        padding: 0.8rem 1.2rem;
        font-size: 1.2rem;
        margin-bottom: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* シャドウも控えめに */
    }
}


/* ===============================================
   詳細ボタン
=============================================== */
#visual .slide-inner-content .more-button {
	background: white;
	padding: 0.1rem 1rem;
	font-size: 1.3rem;
	border-radius: 20px;
	color: black;
	font-weight: bold;
	border: 1px solid;
	box-shadow: none; /* 通常時のシャドウはなし */
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* colorのトランジションを追加 */

}

/* ホバー時のスタイル */
#visual .slide-inner-content .more-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); /* ホバー時に少しシャドウを追加 */
}

/* クリック時（アクティブ）のスタイル */
#visual .slide-inner-content .more-button:active {
	transform: translateY(0);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


/* ヒーロー部分タイトルエリア */
#visual .slide-inner-content .hero-title-area {
	display: flex;
	align-items: baseline;
}

/* 矢印リンク */
.arrow-link {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    /* 背景の円の色。設置場所に合わせて変更してください。 */
    background-color: rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0; /* flexコンテナ内で縮まないようにする設定 */
    margin-left: 10px;
    border: 1px solid #ffffff6e;
}

/* 矢印アイコン本体（疑似要素で作成） */
.arrow-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    /* 矢印の色。設置場所に合わせて変更してください。 */
    border-top: 2px solid white;
    border-right: 2px solid white;
    /* 45度回転させて矢印に見せる */
    transform: translate(-75%, -25%) rotate(45deg);
    transition: transform 0.3s ease;
}

/* ホバー時のエフェクト */
.arrow-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.arrow-link:hover::after {
     /* 少し右上に動かす */
    transform: translate(-60%, -40%) rotate(45deg);
}

@media (min-width: 600px) {
	#visual .pagelink a.for_orange {
		margin:0 30px 0;
	}
}
@media (max-width: 599px) {
	#visual .pagelink a.img_orange {
		width: 26% !important;
	}
}

#visual .pagelink a.img_orange {
	min-width: 0% !important;
	padding: 0.1em !important;
	background: #ffbe00 !important;
	position: relative;
}
#visual .pagelink a.img_orange::before {
	color: #ffbe00 !important;
}

#visual .pagelink a {
	display: inline-block;
	width: auto;
	min-width: 30%;
	padding: 1em 2em;
	background: #e30920;
	color: #fff;
	line-height: 1;
	position: relative;
	border-radius: 8px;
}
#visual .pagelink a::before {
	font-family: 'FontAwesome';
	content: "\f105";
	position: absolute;
	top: 50%;
	left: 1em;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
#visual .pagelink a:hover { opacity: .5; }

/* bullet */

#visual .pagination {padding: 5px 0;}
#visual .swiper-pagination-bullet {
	/* border: 1px solid #e30920; */
	background: #fff;
	opacity: 1;
	box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.8 );
}
#visual .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 10px; }
#visual .swiper-pagination-bullet-active {background: #e30920;}

@media (max-width: 599px) {
	#visual .swiper-pagination-bullet {
		width: 12px;
		height: 12px;
	}
}

@media (min-width: 600px) and (max-width:768px) {
	#visual .swiper-pagination-bullet {
		width: 14px;
		height: 14px;
	}
}

@media (min-width: 769px) and (max-width:959px) {
	#visual .swiper-pagination-bullet {
		width: 16px;
		height: 16px;
	}
}

@media (min-width: 960px) {
	#visual .swiper-pagination-bullet {
		width: 16px;
		height: 16px;
	}
}

/* ---------------------------------------- carousel */

#carousel { 
	background: #f5f5f5;
	padding: 5em 0; 
}
#carousel .swiper-slide a { 
	display: block;
	padding: 0 5px;
}
#carousel .swiper-slide figcaption {
	color: #fff;
	background: #AE9879;
	text-align: center;
	line-height: 1.6;
	padding: 1em;
}
#carousel .swiper-slide a:hover { opacity: .5; }

/* ---------------------------------------- catlink */

.catlink {
	text-align: center;
	margin: 2em 0 0;
}
.catlink a {
	display: inline-block;
	color: #fff;
	background: #DA0019;
	padding: .5em 1.5em;
	border-radius: 8px;
}

/* ---------------------------------------- popup */

.home-popup{
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:10000;
	display:none;
}

.home-popup .bg{
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background-color: rgba(64,64,64,0.75);
	z-index:1;
}

.home-popup .close:hover,
.home-popup a:hover{
	opacity:0.7;
}

.home-popup .img{
	width: 100%;
	max-width: 980px;
	position:absolute;
	left:50%;
	top:50%;
	transform: translate(-50%, -50%);
	z-index:2;
	background:#fff;

}
.home-popup .close{
	position:absolute;
	top:20px;
	right:20px;
	cursor:pointer;
	width:64px;
	height:64px;
}

/* ---------------------------------------- footer banner */

#home-banner{
	border-top: 1px solid #CCCCCC;
	padding:3em 0;
}
#home-banner ul{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
}
#home-banner li {
	margin: 1em;
}
#home-banner li a { display: block; }
#home-banner li a:hover { opacity: .5; }
#home-banner li img{
	height: 68px;
}

/* ---------------------------------------- news, case archiveline */

#case { background: #f5f5f5; }

.archiveline li { border-bottom: 2px #ccc dotted; }
.archiveline li a {
	display: table;
	table-layout: fixed;
	width: 100%;
	padding: 1em 0;
}
.archiveline .icon,
.archiveline .date,
.archiveline h3 { 
	display: table-cell;
	font-weight: normal; 
	vertical-align: middle;
	margin: 0;
}
.archiveline .icon { width: 1.5em; }
.archiveline .date { width: 6.5em; }
.archiveline h3 { line-height: 1.8; }
.archiveline li a:hover h3 { text-decoration: underline; }

@media (max-width: 599px) {
	.archiveline .icon,
	.archiveline .date,
	.archiveline h3 { font-size: 1.2rem; }
}

@media (min-width: 600px) and (max-width:768px) {
	.archiveline .icon,
	.archiveline .date,
	.archiveline h3 { font-size: 1.35rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	.archiveline .icon,
	.archiveline .date,
	.archiveline h3 { font-size: 1.45rem; }
}

@media (min-width: 960px) {
	.archiveline .icon,
	.archiveline .date,
	.archiveline h3 { font-size: 1.6rem; }
}

/* ---------------------------------------- dxchanel */

#dxchanel .inner > .inside:not(:last-child) { margin: 0 0 2em; }

#dxchanel h2 {
	text-align: center;
	padding: 0 3em;
	position: relative;
}
#dxchanel h2 small {
	display: block;
	color: #e30920;
	font-weight: bold;
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

@media (max-width:767px) {
	#dxchanel ul {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	#dxchanel ul li{ 
		width: 48%; 
		margin: 0 0 1em;
	}
}

@media (min-width: 768px) {
	#dxchanel ul {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	#dxchanel ul li{ 
		width: 32%; 
		margin: 0 2% 1em 0;
	}
	#dxchanel ul li:nth-child( 3n + 3 ){
		margin: 0 0 1em;
	}
}

@media (max-width: 599px) {
	#dxchanel h2 { 
		text-align: left; 
		padding: 0 3em 0 0;
	}
	#dxchanel h2 small { font-size: 1.2rem; }
}

@media (min-width: 600px) and (max-width:768px) {
	#dxchanel h2 small { font-size: 1.35rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	#dxchanel h2 small { font-size: 1.45rem; }
}

@media (min-width: 960px) {
	#dxchanel h2 small { font-size: 1.6rem; }
}