@charset "utf-8";

/* 
Theme Name: 高知市シティプロモーションサイト
Description: 
Theme URI: 
Author: LIVRE Co.,Ltd.
Version: 1.0,0
Copyright: (c) 株式会社高知広告センター
*/

/*  基本設定
----------------------------------------------------------- */  

body {
	font-family: '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', 'メイリオ', sans-serif;
	font-size: 14px;
	line-height : 1.8;
	font-feature-settings : "palt" ;
	letter-spacing: 0.05em;
	margin: 0;
	padding: 0;
	text-align: left;
	color: #000;
}
.hidden {
    display:none !important
}
a {
	color: inherit;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
a:hover {
	filter: brightness(1.1); /* 少し明るくする */
}

/*  PC SP
----------------------------------------------------------- */ 

.pc {
	display: block!important;
}
.sp {
	display: none!important;
}

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

	.pc {
        display: none!important;
    }
    .sp {
        display: block!important;
    }
}


/*  Wrapper
----------------------------------------------------------- */  

.w100 {
	width: 100%;
	margin: 0 auto;
	overflow-x: hidden;
}
.w80 {
	width: 80%;
	margin: 0 auto;
}
.w60 {
	width: 60%;
	margin: 0 auto;
}

@media screen and (max-width: 767px) {
	
	body,html {
		width: 100%;
		overflow-x: hidden;
	}
	.w100 {
		width: 100%;
		margin: 0 auto;
	}
	.w80 {
		width: 90%;
		margin: 0 auto;
	}
	.w60 {
		width: 80%;
		margin: 0 auto;
	}
}



/*  テキスト
----------------------------------------------------------- */  

.titbx {
	padding: 5% 10%;
    margin: 0 auto;
    background: #00ffb4;
}
.kcnc {
	padding: 5% 10%;
    margin: 0 auto;
    background: #00ffb4;
}
.kanko {
	 margin: 0 auto;
	 background: #33ec00;
	 padding: 2% 0;
}
.tokusan {
	 margin: 0 auto;
	 background: #ffef00;
	 padding: 2% 0 5% 0;
}
.shien {
	 margin: 0 auto;
	 padding: 0 0 2% 0;
	background: #efefef;
}
.tknk {
	 margin: 0 auto;
	 padding: 0 10%;
}
.kktop {
	 margin: 0 auto;
	 position: relative;
}
.kknk {
	 margin: 0 auto;
	 padding: 0 10% 3% 10%;
	 background: #33ec00;
}
.movie {
	 margin: 0 auto;
	 padding: 0;
	background: #efefef;
}
.mvnk {
	 width: 75%;
	 margin: 0 auto;
	 padding: 5% 0;
}
.sink {
	 width: 80%;
	 margin: 0 auto;
	 padding: 5% 0;
}
.tpf {
	 position: relative;
	 z-index: 100;
}
.tpf img {
	 width: 100%;
}
.kcncn {
	 width: 85%;
	 margin: 0 auto;
	 padding: 5% 0;
}
.tit1 {
	font-size: 3em;
	font-weight: bold;
	letter-spacing: 0.1em;
    line-height : 2;
	text-align: center;
}
.tit2,.tit3,.tit4,.tit5 {
	font-size: 2.4em;
	font-weight: bold;
	letter-spacing: 0.1em;
    line-height : 2;
	text-align: center;
}
.tit2 {
	color: #fff;
	background: #000;
}
.tit3 {
	background: #ff6db0;
}
.tit4 {
	background: #00c63c;
}
.tit5 {
	background: #ff6200;
}
.tx1 {
	font-size: 1.3em;
    line-height: 2;
	text-align: center;
    margin: 2% auto;
}
.tx2 {
	font-size: 1em;
    line-height: 2;
    margin: 2% auto;
}
.tx3 {
	font-size: 1.4em;
    line-height: 2;
	text-align: center;
    margin: 2% auto;
}
.titnc {
	font-size: 3em;
	font-weight: bold;
	letter-spacing: 0.1em;
    line-height : 2;
	text-align: center;
	font-style: italic;
}
.tex1 {
	font-size: 1.4em;
    color: #051650;
    line-height: 1.4;
    margin: 5% 0 5% 3%;
    word-break: break-all;
}
.tex1 a{
	color: #051650;
}
.tex1 a:hover{
	color: #051650;
}

@media screen and (max-width: 767px) {
	
	.titbx {
		width: 100%;
		margin: 0 auto;
        padding: 8% 0;
	}
	.kcnc {
		width: 100%;
		margin: 0 auto;
        padding: 8% 0;
	}
	.kanko {
		 margin: 0 auto;
		 padding: 2% 0;
	}
	.tokusan {
		margin: 0 auto;
		padding: 2% 0;
	}
	.kknk {
		 padding: 0 5% 8% 5%;
	}
	.tknk {
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}
	 .mvnk {
		 width: 94%;
		 padding: 10% 0;
	}
	 .kcncn {
		 width: 94%;
		 padding: 10% 0;
	}
	 .sink {
		 width: 94%;
		 padding: 10% 0;
	}
	.tit1,.tit2,.tit3,.tit4,.tit5 {
		font-size: 2em;
		line-height : 2;
	}
	.tx1 {
		width: 90%;
        font-size: 1.1em;
        line-height: 2;
        text-align: left;
        margin: 8% auto;
	}
	.tx2 {
        font-size: 1em;
        line-height: 2;
        text-align: left;
        margin: 8% auto;
	}
	.tx3 {
        font-size: 1.1em;
        line-height: 2;
        margin: 8% auto;
	}
	.titnc {
		font-size: 2em;
		line-height : 2;
	}

	
	.mid1 {
		font-size: 1.1em;
		padding-left: 1.2em;
		margin: 5% auto 0 auto;	
	}
	.mid1:before {
		font-size: 1em;
		top: 0.05em;
	}
	.tex1 {
		font-size: 1.1em;
		line-height: 1.4;
		margin: 7% 0 7% 3%;
		word-break: break-all;
	}
}


/*  見出し
----------------------------------------------------------- */ 

.md1 {
    font-size: 1.8em;
    letter-spacing: 0.08em;
    line-height: 1.6;
    font-weight: bold;
    text-align: center;
    color: #000;
    background: #fff;
	border: solid 2px #000;
    border-radius: 10px;
    margin: 0 auto 5% auto;
    padding: 1% 0;
    display: block;
	box-sizing: border-box;
}
.md2 {
	width: 100%;
    font-size: 1.8em;
    letter-spacing: 0.08em;
    line-height: 1.6;
    font-weight: bold;
    text-align: center;
    color: #000;
    background: #fff;
	border: solid 2px #000;
    border-radius: 10px;
    margin: 0 auto 5% auto;
    padding: 1% 0;
    display: block;
	box-sizing: border-box;
}

@media screen and (max-width: 767px) {
	
	.md1 {
		font-size: 1.4em;
		padding: 3% 0;
		margin: 0 auto 10% auto;
	}
	.md2 {
		font-size: 1.4em;
		padding: 3% 0;
		margin: 0 auto 10% auto;
	}
}



/* バナー
----------------------------------------------------------- */ 

.bn1 {
    background: #fff;
	border: solid 2px #000;
    border-radius: 10px;
    margin: 0 auto 5% auto;
    padding: 2% 0;
    display: block;
	transition: opacity 0.3s ease;
}
.bn1:hover {
    opacity: 0.7;
}


/*  マージン
----------------------------------------------------------- */ 

.mar-5p {
	margin: 5% 0;
}
.mar_10p {
	margin: 10% 0;
}
.mar_b10p {
	margin-bottom: 10% ;
}


/*  ヘッダー
----------------------------------------------------------- */  

#header {
	width: 100%;
    height: 50px;
    background-color: #ffffff;
    position: absolute;
    z-index: 9900;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2%;
}
#header h1 {
	margin: 0;
}
.sr_tx {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
#header .logo {
	font-size: 1.2em;
	font-weight: bold;
	text-align: left;
	width: 100%;
}
#header .logo a {
	color: #000;
	text-decoration: none;
	display: inline-block;
}

@media screen and (max-width: 767px) {
	
	#header {
		height: 4%;
		margin-top: 3%;
	}
}

/*  flexbox
----------------------------------------------------------- */  

.fbx {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
.fbx .it2 {
	width: 50%;
}
.fbx .it2 img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.fbx .it2s {
	width: 49%;
}
.fbx .it2n {
	width: 48%;
}
.fbx .it2n img{
	width: 100%;
    height: auto;
}
.fbx .it3 {
	width: 33.333333%;
}
.fbx .it3 img {
	width: 100%;
    height: auto;
    margin: 0 auto;
	vertical-align: bottom;
}
.fbx .it3i {
	width: 33.333333%;
}
.fbx .it3i img {
	width: 100%;
    height: auto;
    margin: 0 auto;
	vertical-align: bottom;
}
.fbx1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.fbx1 .it4 {
    width: 24%;
    margin-right: 1.3%;
    margin-bottom: 1%;
}
.fbx1 .it4 img {
    width: 100%;
    height: auto;
    border: 2px solid #000;
    border-radius: 10px;
    box-sizing: border-box; /* ← 枠線を内側に含める */
    margin: 0 auto;
}
.fbx1 .it4:nth-child(4n) {
    margin-right: 0;
}
.fbx1 .it2i {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 2%;
}
.fbx1 .it2i img {
    width: 100%;
    height: auto;
    border: 2px solid #000;
    border-radius: 10px;
    box-sizing: border-box; /* ← 枠線を内側に含める */
    margin: 0 auto;
}
.fbx1 .it2i:nth-child(2n) {
    margin-right: 0;
}

@media screen and (max-width: 767px) {
	
	.fbx .it2 {
		width: 50%;
	}
	.fbx .it2s {
		width: 92%;
        margin: 0 auto;
	}
	.fbx .it2n {
		width: 48%;
	}
	.fbx .it3 {
		width: 84%;
        margin: 5% auto 2% auto;
	}
	.fbx .it3:last-child {
		padding-bottom: 6%;
	}
	.fbx .it3i {
		width: 33.333333%;
	}
	.fbx1 .it4 {
		width: 48%;
		margin-right: 4%;
	}
	.fbx1 .it4:nth-child(2n) {
		margin-right: 0;
	}
}


/*  waku
----------------------------------------------------------- */  

.tpx {
	position: static;
	width: 100%;
	height: auto;
}
.tpx1 {
	position: static;
	width: 100%;
	height: auto;
	background: #00ffb4;
}
.ftx {
	width: 70%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}
.ryoma {
	position: absolute;
	bottom: 0;              /* ← 下にぴったり */
	left: 50%;              /* ← 左端を中央に */
	transform: translateX(-50%); /* ← 要素の幅の半分だけ左にずらして中央揃え */
	width: 12%;
	height: auto;
	z-index: 10;
}
.ryoma img {
	width: 100%;
	height: auto;
	display: block; 
}
.ryoma_f {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, 50%);
	width: 12%;
	z-index: 12;
}
.ryoma_f img {
	width: 100%;
	height: auto;
	display: block; 
}
/* 回転アニメーション */
@keyframes slow-spin {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
}

/*==============================
共通画像スタイル
==============================*/
.rtt_svg1 img, .stt_svg1 img,
.rtt_svg2 img, .stt_svg2 img,
.rtt_svg3 img, .stt_svg3 img,
.rtt_svg4 img, .stt_svg4 img,
.rtt_svg5 img, .stt_svg5 img,
.rtt_svg6 img, .stt_svg6 img {
	width: 100%;
	height: auto;
	display: block;
}
/*==============================
① 中央（トップ用）
==============================*/
.rtt_svg1 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 31%;
	aspect-ratio: 1 / 1;
	z-index: 10;
	animation: slow-spin 30s linear infinite;
	pointer-events: none;
}
.stt_svg1 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 31%;
	aspect-ratio: 1 / 1;
	z-index: 11;
	pointer-events: none;
}
/*==============================
② 中央（観光用など）
==============================*/
.rtt_svg2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 35%;
	aspect-ratio: 1 / 1;
	z-index: 10;
	animation: slow-spin 30s linear infinite;
	pointer-events: none;
}
.stt_svg2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 35%;
	aspect-ratio: 1 / 1;
	z-index: 11;
	pointer-events: none;
}
/*==============================
③ 左寄せ（ふるさと納税）
==============================*/
.rtt_svg3 {
	position: absolute;
	top: 66.5%;
	left: 30%;
	transform: translate(-50%, -50%);
	width: 21%;
	aspect-ratio: 1 / 1;
	z-index: 10;
	animation: pulse 1s ease-in-out infinite;
	pointer-events: none;
}
.stt_svg3 {
	position: absolute;
	top: 66.5%;
	left: 30%;
	transform: translate(-50%, -50%);
	width: 20%;
	aspect-ratio: 1 / 1;
	z-index: 11;
	pointer-events: none;
}
/*==============================
④ 右寄せ（こっちの特産品）
==============================*/
.rtt_svg4 {
	position: absolute;
	top: 30%;
	left: 77.5%;
	transform: translate(-50%, -50%);
	width: 21%;
	aspect-ratio: 1 / 1;
	z-index: 10;
	animation: pulse 1.5s ease-in-out infinite;
	pointer-events: none;
}
.stt_svg4 {
	position: absolute;
	top: 30%;
	left: 77.5%;
	transform: translate(-50%, -50%);
	width: 20%;
	aspect-ratio: 1 / 1;
	z-index: 11;
	pointer-events: none;
}
/*==============================
⑤ 左寄せ（フッター）
==============================*/
.rtt_svg5 {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 35%;
	aspect-ratio: 1 / 1;
	z-index: 10;
	animation: slow-spin 30s linear infinite;
	pointer-events: none;
}
.stt_svg5 {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 35%;
	aspect-ratio: 1 / 1;
	z-index: 11;
	pointer-events: none;
}
/*==============================
⑥ ふわ
==============================*/
.rtt_svg6 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 31%;
	aspect-ratio: 1 / 1;
	z-index: 10;
	animation: float 2s ease-in-out infinite;
	pointer-events: none;
}
.stt_svg6 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 31%;
	aspect-ratio: 1 / 1;
	z-index: 11;
	animation: float 2s ease-in-out infinite;
	pointer-events: none;
}

/*==============================
スマホ用レスポンシブ（中央寄せ）
==============================*/
@media screen and (max-width: 767px) {
	
	.tpx {
		position: relative;
        width: 100%;
        height: auto;
        background: #1111;
	}
	.tpx1 {
		position: relative;
        width: 100%;
        height: auto;
	}
	.ftx-wrapper {
        padding-bottom: 60px;
	}

	.ftx {
		position: relative;
        width: 100%;
	}
	.ryoma {
		width: 38%;
	}
	.ryoma_f {
		width: 25%;
	}
	.rtt_svg1 {
		position: relative;
		width: 60%;
	}
	.stt_svg1 {
		width: 60%;
	}
	.rtt_svg2 {
		width: 60%;
	}
	.stt_svg2 {
		width: 60%;
	}
	.rtt_svg3 {
		position: absolute;
        top: 65%;
        left: 28%;
        transform: translateX(-50%);
        width: 40%;
        margin: 5% auto;
	}
	.stt_svg3 {
		position: absolute;
        top: 46%;
        left: 28%;
        transform: translateX(-50%);
        width: 40%;
        margin: 0 auto;
	}
	.rtt_svg4 {
		position: absolute;
        top: 30%;
        left: 73%;
        width: 40%;
	}
	.stt_svg4 {
		position: absolute;
        top: 5%;
        left: 73%;
        transform: translateX(-50%);
        width: 40%;
	}
	.rtt_svg5 {
		width: 60%;
	}
	.stt_svg5 {
		width: 60%;
	}
	.rtt_svg6 {
		width: 60%;
	}
	.stt_svg6 {
		width: 60%;
	}
}


/*  フッター
----------------------------------------------------------- */  

#footer {
	position: relative;
    background: #fff;
    color: #000;
    text-align: center;
    padding: 2% 4%;
    font-size: 14px;
    line-height: 1.8;
}
#copyright {
    font-size: 12px;
    color: #222;
    margin-top: 1em;
}

@media screen and (max-width: 767px) {
	
    #footer {
		width: 90%;
        padding: 5% 6%;
        font-size: 13px;
    }

    #copyright {
        font-size: 11px;
    }
}



/*  トップへ戻るボタン
----------------------------------------------------------- */ 

/*ボタンの領域*/
#re-top {
	position: fixed; /*画面に固定*/
	bottom: 2%; /*画面下へ*/
	right: 1%; /*画面右へ*/
	z-index: 10; /*レイヤー順序を上に*/
	background-color:transparent; /*領域の背景色（透明）*/
}

@media  screen and (min-width: 751px) {

	a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}
}


/*  bbs
----------------------------------------------------------- */ 

.bbs {
	overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 1;
    font-size: 2.5em;
    padding: 0.5% 0;
    background: #fff;
}
.bbs__inner {
    display: flex;
    width: 100%;
    white-space: nowrap;
}
.bbs__content {
    display: inline-flex;
    animation: banner-loop 40s linear infinite;
}
.bbs__content img {
    height: 1.2em;
    padding-right: 0.5em;
    vertical-align: middle;
}

@keyframes banner-loop {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tbbs {
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 1;
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
}
.tbbs__inner {
    width: 100%;
    white-space: nowrap;
}
.tbbs__content {
    display: inline-flex;
    animation: banner-loop-tbbs 120s linear infinite;
}
.tbbs__content p {
    margin-right: 1em;
    white-space: nowrap;
}

@keyframes banner-loop-tbbs {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

	
@media screen and (max-width: 767px) {
	
	.bbs {
		margin: 0 auto;
        padding: 3% 0;
	}
	.bbs__content img {
		height: 0.7em;
	}
	.tbbs {
		font-size: 1em;
		margin: 0 auto;
        padding: 4% 0;
	}
}


.scbbs {
	overflow: hidden;
	width: 100%;
	background: #fff;
	padding: 0.5% 0;
}
.sclist {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	width: max-content;
	animation: marquee-left 40s linear infinite;
}
.sclist li {
	padding-right: 1em;
	white-space: nowrap;
}
.sclist img {
	height: 1.2em;
	vertical-align: middle;
}

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

	.sclist img {
		height: 1em; /* 少し小さくする例 */
	}
	.sclist {
		animation-duration: 60s; /* SPはゆっくり流す例 */
	}
}

@keyframes marquee-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}


/*  ナビゲーション
----------------------------------------------------------- */  

.hnv {
	display: flex;
    align-items: center;
    justify-content: center;
    background-color: #26b7bc;
    padding: 10px 20px;
    width: 80vw; /* 幅の設定 */
    position: absolute;
    top: 0; /* ページの上端に配置 */
    left: 50%; /* 親要素の幅の50% */
    transform: translateX(-50%); /* 水平方向に自身の幅の50%移動 */
    z-index: 1; /* スライドショーの前面に表示 */
    border-radius: 0 0 20px 20px;
}
.hnav {
    display: flex;
    justify-content: center; /* 中央に配置 */
    font-weight: bold;
    width: 100%; /* 親要素に合わせる */
    overflow: hidden; /* はみ出し防止 */
}
.hnav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; /* 親要素の幅に合わせる */
    justify-content: center; /* アイテム間の余白を均等に配置 */
    overflow: hidden; /* はみ出し防止 */
    flex-wrap: wrap; /* 要素がはみ出す場合に折り返す */
}
.hnav ul li {
    display: flex;
    align-items: center;
    font-size: 1em; /* ベースのフォントサイズを設定 */
    white-space: nowrap; /* 子要素を改行せずに1行に表示 */
}
.hnav ul li + li::before {
    content: "|";
    color: #fff;
    margin: 0 10px;
}
.hnav ul li a {
    color: white;
    text-decoration: none;
    padding: 1em 0.4em;
    transition: background-color 0.3s, filter 0.3s;
    white-space: nowrap; /* 子要素を改行せずに1行に表示 */
}
.hnav ul li a:hover {
    background-color: #3de2e7; /* 明るい色に変更 */
    border-radius: 5px;
}
.hnav img {
    width: auto;
    height: 40px;
}


/* menu-trigger -------------------------*/
	
.menu-trigger,
.menu-trigger span{
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
  cursor :pointer;
  margin-top: 6px;
}
.menu-trigger{
  position: fixed;
  width: 50px;
  height: 50px;
  top: 0px;
  right: 5px;
  z-index: 9999;
}
.menu-trigger span{
  position: absolute;
  background-color: #06275e;;
  width: 30px;
  height: 2px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 9999;
}
.menu-trigger span:nth-of-type(1){
  top: 15px;
}
.menu-trigger span:nth-of-type(2){
  top: 0;
  bottom: 0;
}
.menu-trigger span:nth-of-type(3){
  bottom: 15px;
}
.menu-trigger.active span:nth-of-type(1){
  -webkit-transform: translateY(9px) rotate(-45deg);
	transform: translateY(9px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2){
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(3){
  -webkit-transform: translateY(-9px) rotate(45deg);
	transform: translateY(-9px) rotate(45deg);
}

.g-nav{
  display: none;
  top: 0;
  background-color: #ffffff;
  width: 100%;
  position: fixed;
	z-index: 10;
}
.g-nav .list{
  padding: 20px;
}
.g-nav .list .item{
	list-style: none;
}
.g-nav .list .item a{
  display: block;
  text-align: center;
  text-decoration: none;
  color: #06275e;
  border-bottom: 0.5px dotted #06275e;
  padding: 25px 0;
}


.lbx00 {
    font-size: 1.6em;
    letter-spacing: 0.08em;
    line-height: 1.6;
    font-weight: bold;
    text-align: center;
    color: #000;
    background: #fff;
	border: solid 2px #000;
    border-radius: 10px;
    margin: 0 auto 3% auto;
    padding: 1% 0;
    display: block;
	box-sizing: border-box;
}
.link01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* ← 左寄せ */
  gap: 1em;                    /* 要素間の隙間 */
}
.lbx01 {
  width: calc(33.333% - 0.67em); /* 1emのgap × 2列分を3で割って調整 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  height: 60px;
  color: #000;
  text-decoration: none;
  padding: 1em 2em;
  border: 2px solid #000;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  transition: background 0.3s, filter 0.3s ease;
  box-sizing: border-box;
}
.lbx01:hover {
	/* filter: brightness(0.9); */
}
.link01 a:nth-child(3n) {
	margin-right: 0;
}

@media screen and (max-width: 767px) {
	
	.lbx00 {
		font-size: 1.2em;
		padding: 3% 0;
		margin: 0 auto 10% auto;
	}
	.lbx01 {
		width: calc(50% - 0.5em);
		margin-bottom: 1em;
	}
	.link01 a:nth-child(2n) {
		margin-right: 0;
	}
}

.link02 {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1em; /* gapで上下左右の等間隔 */
}
.lbx02, .lbx03, .lbx04 {
	width: calc(25% - 0.75em);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	color: #000;
	text-decoration: none;
	padding: 1em 0.5em;
	border: 2px solid #000;
	border-radius: 10px;
	font-weight: bold;
	font-size: 1em;
	line-height: 1.3;
	text-align: center;
	transition: background 0.3s, filter 0.3s ease;
	box-sizing: border-box;
}
.lbx02 { background: #fff; }
.lbx03 { background: #fff; }
.lbx04 { background: #fff; }

.lbx02:hover,.lbx03:hover,.lbx04:hover {
	/* filter: brightness(0.9); */
}
/* 各行の4番目（右端）の余白を削除 */
.link02 a:nth-child(4n) {
	margin-right: 0;
}
.lbx-inner {
	display: inline-block;
	line-height: 1.4;
}
.lbx04 .grt {
	font-size: 0.8em;
	color: #808080;
	display: block; /* 改行させる */
}

@media screen and (max-width: 767px) {
	
  .lbx02, .lbx03, .lbx04 {
	  width: calc(50% - 0.6em);
	  font-size: 0.95em;
  }
  .link02 a:nth-child(2n) {
    margin-right: 0;
  }
}


.ncdr-img-btn {
	display: block;
    width: 70%;
    margin: 5% auto;
    transition: filter 0.3s ease-in-out;
}
.ncdr-img-btn:hover {
}
.ncdr-img-btn img {
	width: 100%;
	height: auto;
	display: block;
}

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

	.ncdr-img-btn {
		width: 100%;
	}
}


.fadein {
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s;
  will-change: opacity, transform;
}

.fadein.active {
  opacity: 1;
  transform: translateY(0);
}


/* news -------------------------*/

.news-section {
	padding: 4% 0;
    position: relative;
}
.news-block {
	background: #fff;
    width: 100%;
    margin: 0 auto;
    padding: 0 3% 3% 3%;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}
.ryoma-area {
	position: absolute;
    top: -14%;
    left: 2%;
    text-align: center;
}
.ryoma-img {
	width: 24%;
    display: block;
}
.news-content {
	position: relative;
	margin-left: 26%;
	padding-top: 1%;
}
.news-item {
	display: flex;
	align-items: center;
	font-size: 1.2em;
	border-bottom: 1px solid #000;
	padding: 1em 0;
}
.news-item a {
  pointer-events: auto;
}
.news-date {
	font-weight: bold;
	margin-right: 1em;
	min-width: 90px;
}
.news-text {
  flex: 1;
}

@media screen and (max-width: 768px) {
	
	.news-section {
		padding: 4% 4%;
        position: relative;
        margin: 20% auto 10% auto;
	}
  .news-block {
	  padding: 0 5% 5% 5%;
	  z-index: 10;
  }
  .ryoma-area {
	  position: absolute;
	  top: -25%;
	  left: 0;
	  text-align: center;
	  margin-bottom: 2em;
  }
  .ryoma-img {
	  width: 50%;
	  margin-left: 5%;
  }

  .news-content {
	  margin-left: 0;
	  padding-top: 0;
	  z-index: 10;
	  position: relative;
	  background: #fff;
  }
  .news-item {
	  display: block;
	  font-size: 0.9em;
	  border-bottom: 1px solid #000;
	  padding: 1em 0;
  }
  .news-date {
	  display: block;
	  font-weight: bold;
	  margin: 0 0 0.5em;
	  font-size: 1.1em;
  }
  .news-text {
	  display: block;
	  font-size: 1em;
	  line-height: 1.6;
	}
}



/* トップへ戻るボタン */
#re-top {
    position: fixed;
    bottom: 30px;
    right: 10px;
    z-index: 1000;
}
.re-topB {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #fff;
    color: #003698;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.re-topB::before {
    font-family: 'Font Awesome 5 Free';
    content: '\f106'; /* 上向き矢印 */
    font-weight: 900;
    font-size: 22px;
}
.re-topB:hover {
    background: #003698;
    color: #fff;
    transform: translateY(-4px);
}

.ftrm {
	width: 100%;
	height: auto;
}
.ftrm img {
	width: 30%;
	height: auto;
	display: block;
	margin: 2% auto;
}

@media screen and (max-width: 768px) {
	
	.ftrm img {
		width: 50%;
		margin: 5% auto;
	}
}



.kcncn .fbx {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.it2n1 {
    position: relative;
    width: 48%;
}
.it2n1 img {
    width: 100%;
    height: auto;
    display: block;
}
.label {
	position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2em 2em;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
}
.label.atype { background: #f781bc; }
.label.btype { background: #1cb0f6; }

.btns {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 4% auto;
}
.btn {
	display: inline-block;
    padding: 0.5em 1.5em;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 10px;
    text-align: center;
    line-height: 1.5;
    text-decoration: none;
    color: #000;
}
.btn.atype { background: #f781bc; }
.btn.btype { background: #1cb0f6; }
.btn.abtype { background: #ffeb3b; }

@media screen and (max-width: 768px) {
	
  .kcncn .fbx {
    flex-direction: column;
    align-items: center;
  }

  .it2n1 {
	  width: 90%;
	  margin-bottom: 15%;
  }
  .label {
	  top: -25%;
	  font-size: 1em;
	  padding: 0.4em 1.2em;
  }
  .btns {
	  flex-direction: column;
	  align-items: center;
	  gap: 20px;
	  margin-top: 0;
  }
  .btn {
	  width: 90%;
	  font-size: 1.2em;
	  padding: 1em;
  }
}

