/*
Theme Name: FIT
Version: 1.0
*/
/*-------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+JP:wght@400;500;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,0,0&display=swap');

/***** CSS Document  *****/

@media print {
	.drawer-toggle,
	.drawer-hamburger,
	.drawer-nav {
		display: none;
		visibility: hidden;
	}
}

/***** Common *****/

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

p,hr,h1,h2,h3,h4,h5,h6,ul,ol,li,table,tr,td,form,dl {
	margin: 0;
	padding: 0;
}

img {
	margin: 0;
	border: 0;
}

img [class*="wp-image-"],
img [class*="attachment-"],
img.size-full {
	max-width: 100%;
	height: auto;
	margin: 0 auto 10px auto;
}

.img_border {
	border: 1px solid #ddd;
	box-sizing: border-box;
	margin: -1px;
}

br {
	margin: 0;
	padding: 0;
}

hr {
	clear: both;
	height: 1px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding: 0;
	border: none;
	border-top: 1px solid #e0e0e0;
	overflow: hidden;
}

body {
	background: #fff;
	margin: 0;
	font-size: 13pt;
	font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	line-height: 1.7;
	font-weight: 400;
	color: #000;
	text-align: center;
	overflow-x: hidden;
	overflow-y: scroll;
}

strong,h1,h2,h3,h4,h5,th {
	font-weight: 600;
	font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

_:lang(x)::-ms-backdrop,
.selector {
	font-family: "Segoe UI", Meiryo, sans-serif;
}

h1,h2,h3,h4,h5,strong,th,dt,button,.strong {
	font-weight: 600;
}

.fl {float: left;}
.fr {float: right;}

.tal {text-align: left !important;}
.tac {text-align: center !important;}
.tar {text-align: right !important;}

.mt0 {margin-top: 0px !important;}
.mt5 {margin-top: 5px !important;}
.mt10 {margin-top: 10px !important;}
.mt20 {margin-top: 20px !important;}
.mt30 {margin-top: 30px !important;}
.mt40 {margin-top: 40px !important;}
.mt50 {margin-top: 50px !important;}
.mt60 {margin-top: 60px !important;}
.mt70 {margin-top: 70px !important;}
.mt80 {margin-top: 80px !important;}
.mt90 {margin-top: 90px !important;}
.mt100 {margin-top: 100px !important;}

.mb0 {margin-bottom: 0px !important;}

.pb20 {padding-bottom: 20px !important;}
.pb30 {padding-bottom: 30px !important;}
.pb40 {padding-bottom: 40px !important;}
.pb50 {padding-bottom: 50px !important;}
.pb60 {padding-bottom: 60px !important;}
.pb70 {padding-bottom: 70px !important;}

.small {font-size: 85% !important;}
.large {font-size: 120% !important;}

@media screen and (max-width: 520px) {
	.large {font-size: 11.5pt !important;}
}

.italic {font-style: italic;}

.clear {clear: both;}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {min-height: 1px;}

*html .clearfix {
	height: 1px;
	/*\*/
	/*/
	height: auto;
	overflow: hidden;
	/**/
}

.fa {color: #000;}

ul,dl {list-style: none;}

.red {color: #e70000;}

.sea {color: #005760;}

.cyan {color: #0f95c7;}

.sp,
.sp2 {
	display: none !important;
}

@media screen and (max-width: 768px) {
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
}

@media screen and (max-width: 520px) {
	.sp2 {
		display: block !important;
	}
}

.ofi {
	object-fit: cover;
	font-family: 'object-fit: cover;'
}

.ofi_contain {
	object-fit: contain;
	font-family: 'object-fit: contain;'
}

.marker {
	background: linear-gradient(transparent 70%, #2fb5e7 70%);
}

.marker:before,
.marker:after {
	content: "\00A0";
}

span.circle {
	height: 26px;
	width: 26px;
	border-radius: 50%;
	line-height: 26px;
	text-align: center;
	font-weight: 600;
	color: #fff;
	background-color: #00b9ca;
	display: inline-block;
}

.lt {
	text-decoration: line-through;
}

/***** Hyper link *****/

a {
	color: #208aba;
	text-decoration: none;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

a:hover {
	color: #40aada;
}

a.sr {
	position: relative;
	right: 0;
}

a.sr:hover {
	text-decoration: none;
	right: -3px;
}

a.sl {
	position: relative;
	left: 0;
}

a.sl:hover {
	text-decoration: none;
	left: -3px;
}

a.st {
	position: relative;
	top: 0;
}

a.st:hover {
	text-decoration: none;
	top: -3px;
}

a.blank {
	background: url(../images/icon_blank.svg) no-repeat;
	background-size: 8px;
	background-position: top 3px right;
	padding-right: 12px;
	margin-right: 5px;
}

@media screen and (max-width: 768px) {
	a.blank {
		background: url(../images/icon_blank.svg) no-repeat;
		background-size: 6px;
		background-position: top 3px right;
	}
}

a.button:hover img {
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

a i.fa-window-restore {
	font-size: 90%;
}

.link_text,
.list_link_text {
	margin: 0.75em 0;
	position: relative;
	padding-left: 1.5em;
}

.link_text:before,
.list_link_text:before {
	position: absolute;
	margin: auto;
	content: "";
	vertical-align: middle;
	top: 0.6em;
	left: 0;
	width: 6px;
	height: 6px;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

a.pdf:after,
.link_text.pdf:after,
.list_link_text .pdf:after {
	content: "PDF";
	display: inline-block;
	font-size: 12px;
	background: #e70000;
	color: #fff;
	padding: 0 0.5em;
	margin-left: 0.75em;
	position: relative;
	top: -1px;
}

a.docx:after,
.link_text.docx:after,
.list_link_text .docx:after {
	content: "DOCX";
	display: inline-block;
	font-size: 12px;
	background: #2a5598;
	color: #fff;
	padding: 0 0.5em;
	margin-left: 0.75em;
	position: relative;
	top: -1px;
}

a.xlsx:after,
.link_text.xlsx:after,
.list_link_text .xlsx:after {
	content: "XLSX";
	display: inline-block;
	font-size: 12px;
	background: #1f6f43;
	color: #fff;
	padding: 0 0.5em;
	margin-left: 0.75em;
	position: relative;
	top: -1px;
}

/***** Drawer *****/

@media screen and (min-width: 881px) {
	.drawer-toggle,
	.drawer-hamburger,
	.drawer-nav {
		display: none;
		visibility: hidden;
	}
}

@media screen and (max-width: 880px) {
	.drawer-toggle,
	.drawer-hamburger,
	.drawer-nav {
		display: block;
		visibility: visible;
	}
}

#drawer {
	padding-bottom: 30px;
}

#drawer-logo {
	position: relative;
	width: 100%;
	height: 80px;
}

#drawer-logo a {
	color: #fff;
}

#drawer-logo h1 {
	position: relative;
	top: 19px;
	left: 0;
	text-align: center;
}

#drawer-logo h1 img {
	height: 40px;
	margin-left: 20px;
	margin-top: 1px;
}

.drawer-menu {
	overflow: hidden;
}

.drawer-menu ul {
	float: left;
	width: 80%;
	margin-left: 10%;
	text-align: left;
	font-size: 12pt;
}

.drawer-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding: 0;
	margin: 0;
}

.drawer-menu a {
	display: block;
	padding: 15px 0 16px;
	color: #fff;
}

.drawer-menu a .arrow_01 {
	float: right;
    width: 26px;
    height: 26px;
    background-position: 8px 9px;
}

.drawer-menu a:hover .arrow_01 {
    background-position: 13px 9px;
}

.drawer-menu a.blank,
.drawer-bottom-menu a.blank {
	background: url(../images/icon_blank_wh.svg) no-repeat top 3px right;
	background-size: 6px;
	padding-right: 12px;
}

.drawer-bottom-menu {
	margin-top: 30px;
	color: #fff;
}

.drawer-bottom-menu p {
	margin-top: 10px;
	text-align: center;
	font-size: 9.5pt;
	line-height: 1.7;
}

.drawer-bottom-menu a {
	margin-top: 30px;
	font-style: normal;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 20pt;
	color: #fff;
}

/***** Header *****/

#header {
	position: absolute;
	top: 0;
	z-index: 10;
	width: 100%;
}

#header h2 {
	position: absolute;
	top: 25px;
	left: 30px;
}

#header h2 img {
	height: 80px;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

#header h1 {
	position: absolute;
	top: 76px;
	left: 215px;
	color: #fff;
	font-size: 17pt;
	font-weight: 700;
	letter-spacing: 1px;
	text-shadow: 0px 1px 3px rgba(0, 0, 0, .3);
}

#header h1 br {
	display: none;
}

#header h1 a {
	color: #fff;
}

#header h1 span {
	font-size: 10pt;
}

@media screen and (max-width: 1280px) {
#header h2 img {
	height: 66px;
}
#header h1 {
	top: 62px;
	left: 180px;
	font-size: 16pt;
}
}

@media screen and (max-width: 1146px) {
#header h2 {
	top: 30px;
}
#header h2 img {
	height: 52px;
}
#header h1 {
	top: 37px;
	left: 150px;
	line-height: 1.1;
}
#header h1 br {
	display: block;
}
}

@media screen and (max-width: 560px) {
#header h2 {
	top: 20px;
	left: 20px;
}
#header h2 img {
	height: 40px;
}
#header h1 {
	top: 24px;
	left: 110px;
	font-size: 13pt;
}
#header h1 span {
	font-size: 8.5pt;
	font-weight: normal;
}
}

#header nav {
	position: absolute;
	top: 25px;
	right: 1.8vw;
}

#header nav .button_01 {
	width: 150px;
	font-size: 12.5pt;
}

#main_menu {
	position: relative;
	top: 0;
	right: 20px;
	display: inline-block;
	font-size: 0;
	text-shadow: 0px 1px 3px rgba(0, 0, 0, .3);
}

#main_menu li {
	display: inline-block;
	height: 70px;
	line-height: 70px;
	border-bottom: 2px solid transparent;
	font-family: "Noto Sans Japanese", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight: 700;
	font-size: 13pt;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

#main_menu li a {
	color: #fff;
	text-decoration: none;
	display: block;
	position: relative;
	height: 70px;
	padding: 0 1.1vw;
}

#main_menu li:hover,
#home #main_menu li.mm_01,
#client-support #main_menu li.mm_02,
#ict-surveying #main_menu li.mm_03,
#fisheries-promotion #main_menu li.mm_04,
#company #main_menu li.mm_05,
#recruit #main_menu li.mm_06,
#contact #main_menu li.mm_07 {
	border-bottom: 2px solid #fff;
}

@media screen and (max-width: 1280px) {
#header nav {
	top: 20px;
	right: 1.6vw;
}
#main_menu {
	right: 10px;
}
#main_menu li {
	height: 65px;
	line-height: 65px;
	font-size: 12pt;
}
#main_menu li a {
	height: 65px;
	padding: 0 1.0vw;
}
#header nav .button_01 {
	width: 130px;
	font-size: 11.5pt !important;
}
}

@media screen and (max-width: 1146px) {
#header nav {
	top: 16px;
}
}

@media screen and (max-width: 880px) {
#main_menu,
#header nav .button_01 {
		display: none;
}
}

/***** Main visual *****/

.swiper-container {
	position: relative;
	z-index: 5;
	width: 100%;
	height: 94vh;
	background: #033;
	overflow: hidden;
}

.swiper-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: left;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

.swiper-slide img {
	width: 100%;
	height: 94vh;
	object-fit: cover;
	font-family: 'object-fit: cover;';
	opacity: 0.6;
    background-blend-mode: darken;
}

.swiper-text {
	position: absolute;
	bottom: 100px;
	left: 5%;
	text-align: left;
	color: #fff;
	z-index: 50;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

.swiper-text h1 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 64pt;
	line-height: 1.2;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, .3);
}

.swiper-text p {
	font-weight: 700;
	margin-top: 40px;
	line-height: 2.3;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, .3);
}


@media screen and (max-width: 1200px) {
	.swiper-container {
		height: 80vh;
	}
	.swiper-slide img {
		height: 80vh;
	}
	.swiper-text h1 {
		font-size: 40pt;
	}
	.swiper-text p {
		font-size: 12pt;
		margin-top: 30px;
		line-height: 2.2;
	}
}

@media screen and (max-width: 980px) {
	.swiper-container {
		height: 64vh;
	}
	.swiper-slide img {
		height: 64vh;
	}
	.swiper-text {
		right: 4%;
	}
	.swiper-text h1 {
		font-size: 32pt;
	}
	.swiper-text p {
		font-weight: 500;
		margin-top: 25px;
		line-height: 2.0;
	}
}

@media screen and (max-width: 768px) {
	.swiper-container {
		height: 56vh;
	}
	.swiper-slide img {
		height: 56vh;
	}
	.swiper-text {
		width: 80%;
		bottom: 50px;
	}
	.swiper-text h1 {
		font-size: 30pt;
	}
	.swiper-text p {
		margin-top: 20px;
	}
	.swiper-text p br {
		display: none;
	}
}

@media screen and (max-width: 560px) {
	.swiper-text h1 {
		font-size: 24pt;
	}
	.swiper-text p {
		font-size: 11pt;
		line-height: 1.8;
	}
}

/***** Arrow *****/

.arrow_01,
.arrow_02,
.arrow_03,
.arrow_04,
.arrow_06 {
	display: inline-block;
	border-radius: 9999px;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	margin-left: 15px;
	vertical-align: middle;
}

.arrow_01 {
	width: 26px;
	height: 26px;
	background: url(../images/arrow_bl.svg) no-repeat #fff;
	background-position: 8px 9px;
	background-size: 10px auto;
}

.button_01:hover .arrow_01 {
	background: url(../images/arrow_bl.svg) no-repeat #fff;
	background-position: 13px 9px;
	background-size: 10px auto;
}

.arrow_02 {
	width: 34px;
	height: 34px;
	background: url(../images/arrow_wh.svg) no-repeat;
	background-position: 12px 13px;
	border: 1px solid #fff;
	background-size: 10px auto;
}

#our_service a:hover .arrow_02 {
	background: url(../images/arrow_wh.svg) no-repeat;
	background-position: 17px 13px;
	background-size: 10px auto;
}

.button_01:hover .arrow_02,
.button_01:hover .arrow_05 {
	background: url(../images/arrow_wh.svg) no-repeat;
	background-position: 17px 13px;
	background-size: 10px auto;
}

.arrow_03 {
	width: 40px;
	height: 40px;
	background: url(../images/arrow_bl.svg) no-repeat #fff;
	background-position: 15px 16px;
	background-size: 10px auto;
}

.arrow_04 {
	width: 50px;
	height: 50px;
	background: url(../images/arrow_wh.svg) no-repeat #005760;
	background-position: 19px 20px;
	background-size: 13px auto;
	transform: rotate(-90deg);
	box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
	-webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.15);
}

.scroll_up:hover .arrow_04 {
	background: url(../images/arrow_wh.svg) no-repeat #005760;
	background-position: 24px 20px;
	background-size: 13px auto;
}

.arrow_05 {
	width: 34px;
	height: 34px;
	background: url(../images/arrow_wh.svg) no-repeat;
	background-position: 12px 13px;
	border: 1px solid #fff;
	background-size: 10px auto;
	transform: rotate(-180deg);
	margin-left: 0;
	margin-right: 15px;
}

.arrow_06 {
	width: 50px;
	height: 50px;
	background: url(../images/arrow_bl.svg) no-repeat #fff;
	background-position: 18px 19px;
	background-size: 13px auto;
}

#teaser_contact a:hover .arrow_06 {
	background: url(../images/arrow_bl.svg) no-repeat #fff;
	background-position: 23px 19px;
	background-size: 13px auto;
}

@media screen and (max-width: 980px) {
	.arrow_01 {
		width: 30px;
		height: 30px;
		background-position: 10px 11px;
	}
	.button_02:hover .arrow_01 {
		background-position: 15px 11px;
	}
	.arrow_02 {
		width: 30px;
		height: 30px;
		background-position: 10px 11px;
	}
	#our_service a:hover .arrow_02 {
		background-position: 15px 11px;
	}
	.button_01:hover .arrow_02,
	.button_01:hover .arrow_05 {
		background-position: 15px 11px;
	}
	.arrow_06 {
		width: 42px;
		height: 42px;
		background-position: 15px 16px;
	}
	#teaser_contact a:hover .arrow_06 {
		background-position: 20px 16px;
	}
}

.contact .button_01,
.contact .button_03,
.recruit .button_01,
.recruit .button_03 {
	cursor: pointer;
	border: none;
}

.contact .button_01,
.recruit .button_01 {
	background-color: transparent;
}

/***** Our Service *****/

#our_service {
	position: relative;
	width: 100%;
	padding: 70px 0;
	background-image: url(../images/bg_gradation.jpg);
	background-position: center top;
	background-size: cover;
	overflow: hidden;
	z-index: 0;
}

#our_service>p {
	margin-top: 30px;
	font-size: 14pt;
	line-height: 1.8;
}

@media screen and (max-width: 980px) {
#our_service>p {
	font-size: 12pt;
	padding: 0 2%;
}
}

@media screen and (max-width: 560px) {
#our_service>p {
	margin-top: 20px;
	font-size: 11.5pt;
}
}

/* container: max-w-7xl mx-auto mt-12 */
.os-container{
  max-width: 80rem;   /* 7xl */
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;   /* mt-12 */
}

/* grid grid-cols-1 md:grid-cols-3 gap-8 text-left */
.os-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;          /* gap-8 */
  text-align: left;
}

@media (min-width: 768px){
  .os-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* card: group block bg-white rounded-xl shadow-lg hover:shadow-2xl transition-all duration-300 overflow-hidden transform hover:-translate-y-1 */
.os-card{
  display: block;
  background: #fff;
  border-radius: 0.75rem; /* rounded-xl */
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10); /* shadow-lg */
  transition: box-shadow .3s ease, transform .3s ease;
  transform: translateY(0);
  text-decoration: none; /* aの下線を消す場合 */
  color: inherit;
}
.os-card:hover{
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); /* shadow-2xl */
  transform: translateY(-.25rem); /* -translate-y-1 */
}

/* flex flex-col h-full */
.os-card__inner{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* h-52 overflow-hidden */
.os-card__media{
  height: 13rem; /* h-52 */
  overflow: hidden;
}

/* w-full h-full object-cover transition-transform duration-300 group-hover:scale-105 */
.os-card__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}
.os-card:hover .os-card__img{
  transform: scale(1.05);
}

/* p-6 flex-grow */
.os-card__body{
  padding: 1.5rem; /* p-6 */
  flex-grow: 1;
}

/* text-sm font-semibold uppercase tracking-wider */
.os-card__eyebrow{
  display: inline-block;
  font-size: .875rem; /* text-sm */
  font-weight: 600;   /* font-semibold */
  text-transform: uppercase;
  letter-spacing: .05em; /* tracking-wider */
}

/* text-2xl font-bold text-gray-900 mt-1 mb-3 */
.os-card__title{
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: #111827;   /* text-gray-900 */
  margin-top: .25rem; /* mt-1 */
  margin-bottom: .75rem; /* mb-3 */
}

/* ul: list-none space-y-2 text-gray-600 text-base pl-0 */
.os-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 1rem;  /* text-base */
  color: #4b5563;   /* text-gray-600 */
}
.os-list__item{
  display: flex;        /* flex */
  align-items: flex-start;
}
.os-list__item + .os-list__item{
  margin-top: .5rem;    /* space-y-2 */
}

/* dot: mr-2 */
.os-list__dot{
  margin-right: .5rem;  /* mr-2 */
  line-height: 1.5;
}

/* footer: p-6 pt-0 */
.os-card__footer{
  padding: 1.5rem;  /* p-6 */
  padding-top: 0;   /* pt-0 */
}

/* View More: inline-flex items-center font-semibold transition / icon translate */
.os-more{
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  transition: color .15s ease;
}
.os-more__icon{
  margin-left: .5rem; /* ml-2 */
  height: 1rem;       /* h-4 */
  width: 1rem;        /* w-4 */
  transition: transform .3s ease;
}
.os-card:hover .os-more__icon{
  transform: translateX(.25rem); /* translate-x-1 */
}

/* ---- 色（text-primary-blue/green/amber 相当） ---- */
.os-card--blue  .os-card__eyebrow,
.os-card--blue  .os-list__dot,
.os-card--blue  .os-more{ color: var(--primary-blue,  #1e40af); }

.os-card--green .os-card__eyebrow,
.os-card--green .os-list__dot,
.os-card--green .os-more{ color: var(--primary-green, #059669); }

.os-card--amber .os-card__eyebrow,
.os-card--amber .os-list__dot,
.os-card--amber .os-more{ color: var(--primary-amber, #d97706); }

@media (max-width: 768px){
  .os-card{
	width: 96%;
	margin-left: auto;
	margin-right: auto;
    border-radius: 0.625rem;
    box-shadow: 0 6px 12px rgba(0,0,0,.12);
    transform: none;
  }
  .os-card:hover{
    transform: none;
    box-shadow: 0 6px 12px rgba(0,0,0,.12);
  }

  .os-card__media{
    height: 10.5rem;
  }

  .os-card__body{
    padding: 1.25rem;
  }

  .os-card__title{
    font-size: 1.375rem;
    line-height: 1.35;
    margin-bottom: .5rem;
  }

  .os-card__eyebrow{
    font-size: .75rem;
    letter-spacing: .08em;
  }

  .os-list{
    font-size: .95rem;
  }
  .os-list__item + .os-list__item{
    margin-top: .375rem;
  }

  .os-card__footer{
    padding: 1.25rem;
    padding-top: .5rem;
  }
  .os-more{
    padding: .25rem 0;
  }

  .os-card:hover .os-more__icon{
    transform: none;
  }
}

/***** Company teaser *****/

.cp-banner{
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;          /* mb-12 */
  border-radius: 1rem;          /* rounded-2xl */
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.18), 0 8px 10px -6px rgba(0,0,0,.18); /* shadow-xl */
  isolation: isolate;           /* isolate */
}

/* a全体をカード化（リンク範囲） */
.cp-banner__link{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ====== background: absolute inset-0 -z-10 ====== */
.cp-banner__bg{
  position: absolute;
  inset: 0;
  z-index: -10;
}
.cp-banner__bgimg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* overlay: bg-primary-dark/70（色は変数で調整OK） */
.cp-banner__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.70);  /* 代替。必要なら下の変数に差し替え */
  /* background: color-mix(in srgb, var(--primary-dark, #0b1220) 70%, transparent); */
}

/* ====== content: relative z-10 flex flex-col items-center justify-center text-center h-full min-h-[360px] p-8 text-white ====== */
.cp-banner__content{
  position: relative;
  z-index: 10;
  min-height: 360px;
  padding: 2rem;                /* p-8 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* title: text-3xl md:text-4xl font-bold mb-2 tracking-wider */
.cp-banner__title{
  font-weight: 700;
  letter-spacing: .05em;        /* tracking-wider */
  margin: 0 0 .5rem;            /* mb-2 */
  font-size: 1.875rem;          /* text-3xl */
  line-height: 1.2;
}
@media (min-width: 768px){
  .cp-banner__title{
    font-size: 2.25rem;         /* text-4xl */
  }
}

/* subtitle: text-sm md:text-xm font-bold tracking-[0.2em] uppercase text-white/60 mb-6 */
.cp-banner__subtitle{
  margin: 0 0 1.5rem;           /* mb-6 */
  font-size: .875rem;           /* text-sm */
  font-weight: 700;
  letter-spacing: .2em;         /* tracking-[0.2em] */
  text-transform: uppercase;
  color: rgba(255,255,255,.60); /* text-white/60 */
}
@media (min-width: 768px){
  .cp-banner__subtitle{
    font-size: .95rem;          /* mdで少しだけ大きく（text-xm相当の調整） */
  }
}

/* text: max-w-3xl text-sm md:text-base leading-relaxed mb-8 text-slate-100 */
.cp-banner__text{
  max-width: 48rem;             /* max-w-3xl */
  margin: 0 0 2rem;             /* mb-8 */
  font-size: .875rem;           /* text-sm */
  line-height: 1.75;            /* leading-relaxed */
  color: #f1f5f9;               /* text-slate-100 */
}
@media (min-width: 768px){
  .cp-banner__text{
    font-size: 1rem;            /* text-base */
  }
}

/* <br class="hidden md:block"> の置き換え */
.cp-only-md{ display: none; }
@media (min-width: 768px){
  .cp-only-md{ display: inline; }
}

/* footer: p-6 pt-0 */
.cp-banner__footer{
  padding: 1.5rem;              /* p-6 */
  padding-top: 0;               /* pt-0 */
}

/* View More: inline-flex items-center text-white font-semibold ... */
.cp-more{
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
  transition: color .15s ease;
}
.cp-more__icon{
  margin-left: .5rem;           /* ml-2 */
  width: 1rem;                  /* w-4 */
  height: 1rem;                 /* h-4 */
  transition: transform .3s ease;
}

/* group-hover:translate-x-1 */
.cp-banner:hover .cp-more__icon{
  transform: translateX(.25rem);
}


/* =========================================================
   768px以下（スマホ）調整
   ========================================================= */
@media (max-width: 768px){

  /* 角丸と影を少し控えめに */
  .cp-banner{
	width: 96%;
	margin-left: auto;
	margin-right: auto;
    border-radius: .875rem;
    box-shadow: 0 12px 18px rgba(0,0,0,.18);
  }

  /* 高さを少し下げて間延び防止 */
  .cp-banner__content{
    min-height: 300px;
    padding: 1.5rem;            /* p-6相当 */
  }

  /* タイトル・サブタイトルの詰まり調整 */
  .cp-banner__title{
    font-size: 1.625rem;
    letter-spacing: .04em;
  }
  .cp-banner__subtitle{
    margin-bottom: 1.25rem;
    font-size: .8125rem;
  }

  /* 本文：行間維持しつつ、横幅を少し確保 */
  .cp-banner__text{
    margin-bottom: 1.5rem;
    font-size: .9rem;
  }

  /* View More：タップしやすく */
  .cp-banner__footer{
    padding: 1rem;
    padding-top: 0;
  }

  /* スマホではhover前提の矢印移動は抑制（好みで） */
  .cp-banner:hover .cp-more__icon{
    transform: none;
  }
}

/***** News *****/

#news_contents {
	position: relative;
	width: 100%;
	background: #308790;
	background: linear-gradient(90deg,rgba(48, 135, 144, 1) 0%, rgba(0, 87, 96, 1) 100%);
	padding: 40px 0;
	text-align: left;
}

#news_inner {
	max-width: 1200px;
	width: 80%;
	margin: 0 auto;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

#news_contents h2 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 22pt;
	letter-spacing: 1px;
	line-height: 1.0;
	color: #fff;
	text-align: left;
}

#news_contents h2::before {
    position: absolute;
    top: 14px;
	right: 0;
    content: '';
	width: calc(100% - 250px);
	border-top: 4px double rgba(255, 255, 255, .4);
}

#news_contents table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

#news_contents table th,
#news_contents table td {
	vertical-align: top;
	font-size: 11pt;
	padding: 14px 0 15px;
	color: #fff;
}

#news_contents table tr:last-child th,
#news_contents table tr:last-child td {
	border-bottom: none;
}

#news_contents table th {
	width: 265px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 11.5pt;
	letter-spacing: 1px;
	cursor: auto;
	color: #fff;
}

#news_contents table th span {
	display: inline-block;
	width: 120px;
	height: 26px;
	border: 1px solid rgba(255, 255, 255, .4);
	line-height: 25px;
	text-align: center;
	border-radius: 999px;
	margin-left: 30px;
	font-size: 10pt;
	font-weight: normal;
	letter-spacing: 0;
	color: #fff;
}

@media screen and (max-width: 1200px) {
#news_contents table {
	width: 100%;
	border-collapse: collapse;
}
}

@media screen and (max-width: 880px) {
#news_inner {
	width: 90%;
}
#news_contents h2 {
	font-size: 20pt;
}
#news_contents h2::before {
    top: 12px;
	width: calc(100% - 220px);
}
#news_contents table th,
#news_contents table td {
	font-size: 10.5pt;
	padding: 12px 0 13px;
}
#news_contents table th {
	width: 220px;
	font-size: 11pt;
}
#news_contents table th span {
	width: 100px;
	height: 26px;
	margin-left: 20px;
	line-height: 25px;
}
}

@media screen and (max-width: 560px) {
#news_contents {
	padding: 30px 0;
}
#news_contents h2 {
	font-size: 18pt;
}
#news_contents h2::before {
    top: 10px;
	width: calc(100% - 200px);
}
#news_contents table {
	margin-top: 15px;
}
#news_contents table th,
#news_contents table td {
	font-size: 10pt;
}
#news_contents table th {
	width: 100px;
	font-size: 10pt;
}
#news_contents table th span {
	width: 85px;
	margin-left: 0;
	margin-top: 3px;
	height: 22px;
	line-height: 21px;
	font-size: 9pt;
}
}

#news_contents table a {
	color: #000;
}

#news_contents table a:hover {
	color: #000;
	text-decoration: underline;
}

#news_contents table td a[target="_blank"] {
	background: url(../images/icon_blank.svg) no-repeat;
	background-size: 8px;
	background-position: top 5px right;
	padding-right: 12px;
	margin-right: 5px;
}

@media screen and (max-width: 768px) {
	#news_contents table td a[target="_blank"] {
		background: url(../images/icon_blank.svg) no-repeat;
		background-size: 6px;
		background-position: top 5px right;
	}
}

/***** Button *****/

.button_01,
.button_02 {
	position: relative;
	display: inline-block;
	width: 280px;
	height: 46px;
	line-height: 45px;
	border-radius: 9999px;
	white-space: nowrap;
	font-weight: 600;
	font-size: 12.5pt !important;
	text-align: center;
	-webkit-transition: .3s all ease;
	transition: .3s all ease;
	z-index: 100;
}

.button_01 {
	background: #e0be4f;
	color: #fff;
}

.button_01 i {
	position: absolute;
	right: 12px;
	top: 12px;
}

.button_01 i.arrow_05 {
	position: absolute;
	left: 12px;
	top: 12px;
}

.button_01:hover {
	color: #fff;
}

.button_02 {
	background: #fff;
	color: #005760;
}

.button_02 i {
	position: absolute;
	right: 12px;
	top: 12px;
}

.button_02:hover {
	color: #005760;
}

@media screen and (max-width: 980px) {
	.button_01,
	.button_02 {
		width: 290px;
		height: 50px;
		line-height: 49px;
		font-size: 12pt !important;
	}
	.button_01 i {
		right: 10px;
		top: 9px;
	}
	.button_01 i.arrow_05 {
		left: 10px;
		top: 9px;
	}
	.button_02 i {
		right: 10px;
		top: 9px;
	}
}

#contact .button_01,
#contact .button_03,
#recruit .button_01,
#recruit .button_03 {
	cursor: pointer;
	border: none;	
	font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight: 400;
}


/***** Background *****/

.bg_green {
	position: relative;
	width: 100%;
	background: #e5f7f6;
	overflow: hidden;
}

.lower .bg_green {
	background: linear-gradient(180deg, rgba(255, 255, 255, 1.0) 0%, rgba(229, 247, 246, 1.0) 50%);
	background-size: 100% 800px;
	background-repeat: no-repeat;
	background-position: center bottom;
}

.bg_gray {
	position: relative;
	width: 100%;
	background: #f5f5f1;
	overflow: hidden;
}

/***** Layouts *****/

.w1200 {
	width: 1200px;
	margin: 0 auto;
	position: relative;
	text-align: left;
	/*overflow: hidden;*/
}

.section.w1200 {
	margin-top: 60px;
}

.w1200 .text_box img.fr {
	margin-left: 20px;
}

.w1200 .text_box img.fl {
	margin-right: 20px;
}

@media screen and (max-width: 980px) {
	.w1200 p,
	.w1200 table,
	.w1200 ul li,
	.w1200 ol li {
		font-size: 11.5pt;
	}
}

@media screen and (max-width: 768px) {
	.w1200 p,
	.w1200 table,
	.w1200 ul li,
	.w1200 ol li {
		font-size: 11pt;
	}
}

@media screen and (max-width: 520px) {
	.w1200 .text_box img.fl,
	.w1200 .text_box img.fr {
		max-width: 200px;
	}
}

.text_box p {
	margin-top: 1.75em;
}

.text_box .indent {
	text-indent: 1em;
	margin-top: 1.5em;
}

.text_box .image {
	margin: 2.0em 0;
	text-align: center;
}

@media screen and (max-width: 1200px) {
	.w1200 {
		width: 96%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 768px) {
	#container section:last-child {
		margin-bottom: 45px;
	}
}

img {
	max-width: 100%;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.flex_box {
	display: flex;
	gap: 6.0vw;
	margin-top: 50px;
}

.flex_left {
	max-width: 520px;
	width: 43.3333%;
}

.flex_left img {
	width: 100%;
	height: auto;
}

.flex_right {
	width: calc(56.6667% - 6.0vw);
}

@media screen and (max-width: 768px) {
	.flex_box {
		display: block;
		flex-direction: row;
		gap: 0;
	}
	.flex_left {
		width: 100%;
	}
	.flex_right {
		width: 100%;
	}
}

/***** Page Title *****/

.page_title {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	-webkit-transition: .3s all ease;
	transition: .3s all ease;
}

#client-support .page_title {
	background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4)) ,url(../images/bg_client-support.jpg?1208) no-repeat;
	background-position: left 30% center;
	background-size: cover;
}

#ict-surveying .page_title {
	background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4)) ,url(../images/bg_ict-surveying.jpg?1208) no-repeat;
	background-position: left 30% center;
	background-size: cover;
}

#fisheries-promotion .page_title {
	background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4)) ,url(../images/bg_fisheries-promotion.jpg?1208) no-repeat;
	background-position: left 30% center;
	background-size: cover;
}

#company .page_title {
	background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4)) ,url(../images/bg_company.jpg?1208) no-repeat;
	background-position: left 30% center;
	background-size: cover;
}

#recruit .page_title {
	background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4)) ,url(../images/bg_recruit.jpg) no-repeat;
	background-position: left 30% center;
	background-size: cover;
}

#contact .page_title {
	background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.4)) ,url(../images/bg_contact.jpg) no-repeat;
	background-position: left 30% center;
	background-size: cover;
}

.page_title_text {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 400px;
	height: 100px;
	background: rgba(0, 87, 96, 1);
	color: #fff;
}

.page_title_text::before {
	position:absolute;
	left: -30px;
	bottom: 0;
	content: "";
	border-left: 30px solid transparent;
	border-bottom: 100px solid rgba(0, 87, 96, 1);
}

.page_title h1 {
	margin-top: 34px;
	font-size: 26pt;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.0;
}

.page_title h2 {
	margin-top: 8px;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-style: italic;
	font-size: 12pt;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, .6);
}

@media screen and (max-width: 1200px) {
	.page_title h1 {
		font-size: 24pt;
	}
	.page_title h2 {
		font-size: 11.5pt;
	}
}

@media screen and (max-width: 980px) {
	.page_title {
		height: 260px;
	}
	.page_title_text {
		width: 320px;
		height: 80px;
	}
	.page_title_text::before {
		left: -25px;
		border-left: 25px solid transparent;
		border-bottom: 80px solid rgba(0, 87, 96, 1);
	}
	.page_title h1 {
		margin-top: 22px;
		font-size: 21pt;
	}
	.page_title h2 {
		margin-top: 5px;
		font-size: 11pt;
	}
}

@media screen and (max-width: 768px) {
	.page_title {
		height: 200px;
	}
	.page_title_text {
		width: 280px;
		height: 70px;
	}
	.page_title_text::before {
		left: -20px;
		border-left: 20px solid transparent;
		border-bottom: 70px solid rgba(0, 87, 96, 1);
	}
	.page_title h1 {
		margin-top: 20px;
		font-size: 19pt;
	}
	.page_title h2 {
		font-size: 10.5pt;
	}
}

@media screen and (max-width: 560px) {
	.page_title {
		height: 180px;
	}
	.page_title_text {
		width: 190px;
		height: 60px;
	}
	.page_title_text::before {
		left: -20px;
		border-left: 20px solid transparent;
		border-bottom: 60px solid rgba(0, 87, 96, 1);
	}
	.page_title h1 {
		font-size: 16pt;
	}
	.page_title h2 {
		font-size: 8pt;
	}
}

.section-title {
    position: relative;
    padding-left: 1.25rem;
	font-size: 18pt;
	font-weight: 700;
	margin-bottom: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #005760;
}

@media screen and (max-width: 768px) {
.section-title {
	font-size: 16pt;
}
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
    vertical-align: middle;
	color: #E0BE4F;
}

.flow-box .material-symbols-outlined {
	color: #fff;
}

.flow-box {
    transition: transform 0.3s ease;
}

.flow-box:hover {
    transform: translateY(-2px);
}

/***** Topic path *****/

.topic_path {
	position: relative;
	padding: 10px 0;
	overflow: hidden;
	background: #308790;
    background: linear-gradient(90deg, rgba(48, 135, 144, 1) 0%, rgba(0, 87, 96, 1) 66.6%);
}

.topic_path ul {
	margin-left: 2.0vw;
	font-size: 9pt;
	text-align: left;
	line-height: 1.2;
}

@media screen and (max-width: 980px) {
	.topic_path {
		padding: 7px 0;
		background: #308790;
		background: linear-gradient(90deg, rgba(48, 135, 144, 1) 0%, rgba(0, 87, 96, 1) 33.3%);
	}
	.topic_path ul {
		font-size: 9pt;
	}
}

@media screen and (max-width: 768px) {
	.topic_path {
		padding: 6px 0;
	}
	.topic_path ul {
		font-size: 8.5pt;
	}
}

@media screen and (max-width: 560px) {
	.topic_path {
		background: linear-gradient(90deg, rgba(48, 135, 144, 1) 0%, rgba(0, 87, 96, 1) 20.0%);
	}
	.topic_path ul {
		font-size: 8pt;
	}
}

.topic_path li {
	position: relative;
	display: inline-block;
	padding-right: 20px;
	margin-left: 10px;
	max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	color: #fff;
}

@media screen and (max-width: 480px) {
	.topic_path li {
		max-width: 200px;
	}
}

.topic_path li:first-child {
	margin-left: 0;
}

.topic_path li:after {
	position: absolute;
	content: "";
	width: 10px;
	height: 1px;
	background: rgba(255, 255, 255, .4);
	right: 0;
	bottom: 52%;
}

.topic_path li:last-child:after {
	background: none;
}

.topic_path a {
	color: #fff;
}

.topic_path a:hover {
	text-decoration: underline;
}

/***** Heading *****/

.heading {
    position: relative;
	display: inline-block;
	font-size: 28pt;
	font-weight: 700;
	line-height: 1.0;
	width: 100%;
	color: #005760;
}

.heading span {
     position: relative;
     display: inline-block;
     padding: 0 0.5em;
}
      
.heading span::before,
.heading span::after{
     position: absolute;
     top: 50%;
     border-top: 4px double #005760;
	 content: "";
     width: 2.0em;
     height: 1px;
}
 
.heading span::before {left: 100%;}
.heading span::after { right: 100%;}

.heading .text_bg {
    position: absolute;
	top: -40px;
	right: 0;
	display: inline-block;
	font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 96pt;
	text-align: right;
	color: #e0e0e0;
	z-index: -1;
}

#home .heading {
    position: relative;
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 36pt;
	letter-spacing: 3px;
	line-height: 1.0;
}

.sub_heading {
    position: relative;
	font-size: 22pt;
	font-weight: 600;
	line-height: 1.2;
	color: #000;
	padding-bottom: 15px;
	border-bottom: 1px solid #005760;
}

.heading + .sub_heading {
    margin-top: 40px;
}

.blue_box .sub_heading,
.gray_box .sub_heading {
	font-size: 18pt;
	padding-bottom: 10px;
}

@media screen and (max-width: 980px) {
	.heading {
		font-size: 25pt;
	}
	.heading .text_bg {
		font-size: 84pt;
	}
	#home .heading {
		font-size: 30pt;
	}
	.sub_heading {
		font-size: 20pt;
		padding-bottom: 13px;
	}
}

@media screen and (max-width: 768px) {
	.heading {
		font-size: 21pt;
		line-height: 1.3;
		padding-bottom: 0;
	}
	.heading::before {
		width: 70px;
		border-bottom: 3px solid #005760;
	}
	.heading .text_bg {
		font-size: 76pt;
	}
	#home .heading {
		font-size: 26pt;
	}
	.sub_heading {
		font-size: 18pt;
	}
}

@media screen and (max-width: 640px) {
	.heading .text_bg {
		top: -28px;
		font-size: 64pt;
	}
}

@media screen and (max-width: 560px) {
	.heading {
		font-size: 20pt;
	}
	.heading .text_bg {
		top: -22px;
		font-size: 56pt;
	}
	#home .heading {
		font-size: 22pt;
	}
}

/***** Box *****/

.round_box {
	background: #fff;
	padding: 20px 45px;
	border-radius: 15px;
	box-shadow: 5px 10px 20px 0px rgba(174,197,224,1.0);
	-webkit-box-shadow: 5px 10px 20px 0px rgba(174,197,224,1.0);
	-moz-box-shadow: 5px 10px 20px 0px rgba(174,197,224,1.0);
}

.blue_box {
	background: #e5f7f6;
	padding: 40px;
	border-radius: 15px;
	overflow: hidden;
}

.gray_box {
	background: #f5f7f0;
	padding: 40px;
	border-radius: 15px;
	overflow: hidden;
}

.blue_box h3,
.gray_box h3 {
	color: #005760;
}

@media screen and (max-width: 768px) {
	.round_box {
		padding: 20px 30px;
	}
	.blue_box {
		padding: 30px;
	}
}

/***** Box Item *****/

.box_item {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: center;
	text-align: left;
	gap: 30px;
}

.box_item>li {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 340px;
	font-size: 0;
}

.box_item>li.box_wide {
	width: 600px;
}

.box_item>li img {
	border-radius: 5px;
}

.box_item>li h5 {
	font-size: 14pt;
	font-weight: 500;
	line-height: 1.2;
}

.box_item>li h5,
.box_item>li p,
.box_item>li .list_basic {
	margin-top: 15px;
}

@media screen and (max-width: 768px) {
	.box_item>li h5 {
		margin-top: 10px;
		font-size: 13pt;
	}
}

@media screen and (max-width: 560px) {
	.box_item>li h5 {
		font-size: 12pt;
	}
}

/***** Title *****/

.title_underbar {
	font-size: 180%;
	position: relative;
	display: inline-block;
	margin-top: 50px;
}

.title_underbar:before {
	content: '';
	position: absolute;
	bottom: -15px;
	display: inline-block;
	width: 40px;
	height: 3px;
	left: 0;
	background-color: #00b9ca;
}

.title_underbar small {
	padding: 5px 10px;
	color: #fff;
	font-size: 60%;
	display: inline-block;
	margin-bottom: 10px;
}

.title_underbar small.group_01 {
	background-color: #00b9ca;
}

.title_underbar small.group_02 {
	background-color: rgba(144, 87, 139, 1.0);
}

.title_underbar small.group_03 {
	background-color: #3469b4;
}

@media screen and (max-width: 980px) {
	.title_underbar {
		font-size: 20pt;
	}
}

@media screen and (max-width: 768px) {
	.title_underbar {
		font-size: 16pt;
		line-height: 1.7;
	}
}

@media screen and (max-width: 520px) {
	.title_underbar {
		font-size: 14pt;
		line-height: 1.5;
	}
}

@media screen and (max-width: 360px) {
	.title_underbar {
		font-size: 12pt;
	}
}

/***** Flowchart *****/

.flowchart {
	position: relative;
	padding-left: 120px;
}

.flowchart::before {
	display: block;
	position: absolute;
	top: 0;
	left: 120px;
	content: "";
	width: 20px;
	height: 100%;
	background: #e5e5e5;
	margin-left: 0;
	padding-bottom: 10px;
	border-radius: 9999px;
}

.flowchart > li {
	position: relative;
}

.flowchart > li:not(:last-child) {
	margin-bottom: 40px;
}

.flowchart > li .step {
	display: block;
	position: absolute;
	top: 0;
	left: -120px;
	font-family: 'Lato', sans-serif;
	font-weight: 600;
	font-size: 12pt;
	font-weight: 600;
	color: #fff;
	background: #0f95c7;
	padding: 8px 18px;
	z-index: 100;
	border-radius: 3px;
}

.flowchart > li .step::after {
	position: absolute;
	top: 50%;
	left: 100%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	content: "";
	border-style: solid;
	border-width: 5px 0 5px 10px;
	border-color: transparent transparent transparent #0f95c7;
}

.flowchart > li dl {
	padding-left: 65px;
	position: relative;
	top: 5px;
}

.flowchart > li dl::before,
.flowchart > li dl::after {
	content: "";
	display: block;
	position: absolute;
	top: 15px;
}

.flowchart > li dl::before {
	width: 10px;
	height: 10px;
	margin-top: -5px;
	background: #005760;
	border-radius: 9999px;
	left: 5px;
}

.flowchart > li dl::after {
	width: 40px;
	border-bottom: 1px solid #005760;
	position: absolute;
	left: 15px;
}

.flowchart > li dl dt {
    font-size: 18pt;
    font-weight: 600;
    color: #005760;
}

.flowchart > li dl dd {
	margin: 10px 0 0 0;
}

@media screen and (max-width: 980px) {
	.flowchart > li dl dt {
		font-size: 16pt;
	}
}

@media screen and (max-width: 768px) {
	.flowchart {
		padding-left: 100px;
	}
	.flowchart::before {
		left: 100px;
		width: 16px;
	}
	.flowchart > li:not(:last-child) {
		margin-bottom: 30px;
	}
	.flowchart > li .step {
		left: -100px;
		font-size: 11pt;
		padding: 6px 15px;
	}
	.flowchart > li dl {
		padding-left: 55px;
		top: 2px;
	}
	.flowchart > li dl::before {
		width: 8px;
		height: 8px;
		margin-top: -4px;
		left: 4px;
	}
	.flowchart > li dl::after {
		width: 32px;
		left: 12px;
	}
	.flowchart > li dl dt {
		font-size: 14pt;
		padding-top: 2px;
	}
}

/***** Arrow Down *****/

.triangle {
	margin: 0 auto;
	width: 0;
	height: 0;
	border-left: 24px solid transparent;
	border-right: 24px solid transparent;
	border-top: 24px solid #005760;
}

/***** Year *****/

#year {
    margin-top: 40px;
	font-size: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #444;
}

#year li {
	display: inline-block;
	margin-right: 20px;
	font-family: 'Lato', sans-serif;
	font-weight: 600;
	font-size: 12pt;
}

#year li:last-of-type {
	margin-right: 0;
}

@media screen and (max-width: 768px) {
	#year li {
		margin-right: 17px;
		font-size: 11pt;
	}
}

#year li a {
	color: #ddd;
}

#year li a:hover {
	color: #fff;
}

/***** Table *****/

.table_01 {
	width: 100%;
	border-collapse: collapse;
}

.table_01 th,
.table_01 td {
	vertical-align: top;
	padding: 1.25em 0;
	font-size: 12pt;
}

.table_01 th {
	width: 300px;
	border-bottom: 1px solid #005760;
	color: #005760;
}

.table_01 tr:first-of-type th {
	border-top: 1px solid #005760;
}

.table_01 td {
	padding-left: 1.0em;
	border-bottom: 1px solid #005760;
}

.table_01 tr:first-of-type td {
	border-top: 1px solid #005760;
}


.table_02 {
	width: 100%;
	border-spacing: 3px;
	border-radius: 5px;
}

.table_02 th,
.table_02 td {
	border: 1px solid #dde5f4;
	background: #fff;
	vertical-align: top;
	padding: 1.25em;
	font-size: 12pt;
	border-radius: 5px;
}

.table_02.d_table th,
.table_02.d_table td {
	padding: 10px 13px;
	font-size: 90%;
}

.table_02 thead th {
	background-color: #f5f7f0;
	text-align: center;
	vertical-align: middle;
}

.table_02.d_table thead th {
	font-size: 85%;
}

.table_02 tbody th {
	background-color: #f5f7f0;
	font-weight: 400;
}

.table_02 tbody td {
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
}

@media screen and (max-width: 980px) {
	.table_01 th {
		width: 150px;
	}
	.table_01 th,
	.table_01 td,
	.table_02 th,
	.table_02 td {
		font-size: 11pt;
	}
	.information table th,
	.post table th {
		width: 220px;
		font-size: 10.5pt;
	}
	.information table th .category,
	.post table th .category {
		width: 100px;
		height: 24px;
		margin-left: 15px;
		font-size: 10pt;
		line-height: 23px;
	}
}

@media screen and (max-width: 768px) {
	.table_01 th {
		width: 130px;
	}
	.information table th,
	.post table th {
		width: 190px;
	}
	.information table th .category,
	.post table th .category {
		width: 90px;
		height: 22px;
		margin-left: 10px;
		line-height: 21px;
	}
}

@media screen and (max-width: 560px) {
	.table_02 th,
	.table_02 td {
		padding: 1.00em;
	}
	.table_02.d_table th,
	.table_02.d_table td {
		padding: 1.00em;
	}
	.table_02 col {
		width: auto !important;
	}
}

/***** List style *****/

.list_basic li {
	position: relative;
	padding-left: 1.0em;
	margin-bottom: 0.4em;
}

.list_basic li:before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	background: #005760;
	position: absolute;
	top: 0.5em;
	left: 0;
}

.blue_box .list_basic,
.gray_box .list_basic {
	column-count: 3;
}

@media screen and (max-width: 768px) {
.blue_box .list_basic {
	column-count: 2;
}
}

.list_num {
	margin-left: 35px;
}

.list_num li {
	margin-bottom: 0.5em;
}

.list_num2 {
	margin-left: 15px;
	list-style: none;
	counter-reset: number;
}

.list_num2 li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 0.5em;
}

.list_num2 li::before {
	counter-increment: number;
	content: counter(number) ")";
	position: absolute;
	left: 0;
}

.list_num3 {
	list-style-type: none;
	border: none;
	counter-reset: number;
}

.list_num3 li {
	position: relative;
	line-height: 1.5;
	padding: 0.5em 0 0.5em 2.5em;
}

.list_num3 li:before {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	position: absolute;
	content: counter(number);
	counter-increment: number;
	left: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #005760;
	color: #fff;
	font-size: 12pt;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	line-height: 30px;
	margin-top: -2px;
}

@media screen and (max-width: 768px) {
	.list_num3 li:before {
		width: 26px;
		height: 26px;
		font-size: 11pt;
		line-height: 26px;
	}
}

/***** Google map *****/

.gmap iframe {
	width: 100%;
	height: 500px;
	border-radius: 10px;
	border: 0;
	margin-top: 40px;
}

#office .gray_box iframe {
	width: 100%;
	height: 500px;
	border-radius: 10px;
	border: 1px solid #d0d2d7;
	margin-top: 30px;
}

#office .gray_box.branch div {
	float: left;
	width: 36%;
}

#office .gray_box.branch iframe {
	float: right;
	width: 60%;
	height: 360px;
	margin-top: 0;
	vertical-align: top;
}

@media screen and (max-width: 768px) {
	#office .gray_box {
		padding: 40px 25px;
	}
	#office .gray_box.branch div {
		float: none;
		width: 100%;
	}
	#office .gray_box.branch iframe {
		float: none;
		width: 100%;
		height: 500px;
		margin-top: 30px;
	}
}

/***** Form *****/

.mailform {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.mailform dt {
	width: 30%;
}

.mailform dd {
	width: 70%;
}

.mailform dt,
.mailform dd {
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 15px 0;
}

.mailform input,
.mailform textarea,
.mailform select {
	font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight: 400;
	font-size: 12pt;
}

.mailform input[type=text],
.mailform input[type=email],
.mailform input[type=password] {
	max-width: 475px !important;
	width: calc(100% - 35px) !important;
	padding: 6px 10px;
	border: 1px solid #bbb;
	border-radius: 3px;
}

.mailform input + input {
	margin-top: 10px;
}

.mailform textarea {
	padding: 6px 10px;
	border: 1px solid #bbb;
	max-width: 475px !important;
	width: calc(100% - 35px) !important;
	height: 150px !important;
	border-radius: 3px;
}

.mailform select {
	padding: 5px 10px 5px 10px;
	border: 1px solid #bbb;
	border-radius: 3px;
}

:placeholder-shown,
::-webkit-input-placeholder,
:-ms-input-placeholder {
	color: #d0d0d0;
}

:-moz-placeholder,
::-moz-placeholder {
	color: #d0d0d0;
	opacity: 1;
}

span.must {
	display: inline-block;
	float: right;
	font-size: 9.5pt;
	font-weight: normal;
	color: #d60b35;
	line-height: 1.0;
	border-radius: 9999px;
	border: 1px solid #d60b35;
	padding: 4px 8px;
	margin: 2px 10px 0;
}

@media screen and (max-width: 768px) {
	.mailform dt,
	.mailform dd {
		display: inline-block;
		width: 100% !important;
		font-size: 12pt;
	}
	.mailform dd {
		padding-top: 0;
	}
	.mailform dt {
		border-bottom: none;
	}
	.mailform input,
	.mailform textarea,
	.mailform select {
		font-size: 11.5pt;
	}
}

@media screen and (max-width: 560px) {
	.mailform dt,
	.mailform dd {
		width: 100%;
	}
	span.must {
		display: block;
		width: 40px;
		padding: 4px 0;
		text-align: center;
		float: none;
		font-size: 9pt;
	}
	.mailform input[type=text],
	.mailform input[type=email],
	.mailform input[type=password] {
		max-width: 475px;
		width: 100%;
	}
	.mailform textarea {
		width: 100%;
	}
}

/***** Tab *****/

.tab-area {
	display: flex;
	border: 1px solid #eee;
	cursor: pointer;
	margin-top: 40px;
	border-radius: 9999px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.recruit .tab {
	width: calc(100% / 3);
	padding: 10px 0;
	text-align: center;
	border-radius: 9999px;
}

.information .tab,
.post .tab {
	width: calc(100% / 4);
	text-align: center;
	border-radius: 9999px;
}

.tab a {
	display: block;
	width: 100%;
	padding: 10px 0;
	text-align: center;
	border-radius: 9999px;
	color: #000;
}

.tab.active,
.tab a.current {
	background: linear-gradient(90deg, #005760 0%, #0f96c8 100%) no-repeat;
	color: #fff;
}

.panel {
	display: none;
	margin-top: 40px;
}

.panel.active {
	display: block;
}

/***** Page navi *****/

#pagenavi .wp-pagenavi {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
}

#pagenavi .wp-pagenavi > span,
#pagenavi .wp-pagenavi > a {
	display: inline-block;
	margin: 0 5px 5px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 11.5pt;
    letter-spacing: 1px;
	line-height: 1.0;
}

#pagenavi .wp-pagenavi > span.current,
#pagenavi .wp-pagenavi > a.page {
	width: 32px;
	height: 32px;
	line-height: 32px;
	padding: 0;
	border: 1px solid #005760;
	border-radius: 50%;
	color: #000;
}

#pagenavi .wp-pagenavi > span.current {
	color: #fff;
	background: #005760;
}

#pagenavi .wp-pagenavi > a.page:hover {
	color: #fff;
	background: #005760;
}

#pagenavi .wp-pagenavi .extend,
#pagenavi .wp-pagenavi .previouspostslink,
#pagenavi .wp-pagenavi .nextpostslink,
#pagenavi .wp-pagenavi .last,
#pagenavi .wp-pagenavi .first {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 12pt;
    letter-spacing: 1px;
	line-height: 1.0;
	color: #000;
}

#pagenavi .wp-pagenavi .extend:hover,
#pagenavi .wp-pagenavi .previouspostslink:hover,
#pagenavi .wp-pagenavi .nextpostslink:hover,
#pagenavi .wp-pagenavi .last:hover,
#pagenavi .wp-pagenavi .first:hover {
	color: #208aba;
}

.publishing {
	text-align: right;
	margin-top: 20px;
	font-size: 11pt;
}

.publishing select {
	padding: 8px 10px;
	border: 1px solid #005760;
	border-radius: 9999px;
	margin-left: 10px;
}

/***** Bottom Teaser *****/

#teaser {
	position: relative;
	display: flex;
	width: 96%;
	height: 320px;
	margin: 100px auto 0;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

#our_service + #teaser {
	margin-top: 0 !important;
}

#teaser_contact,
#teaser_recruit {
	position: relative;
	width: 50%;
	height: 320px;
	color: #fff;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

#teaser_contact {
	border-top-left-radius: 20px;
	background: url(../images/teaser_contact.jpg?1208) no-repeat;
	background-position: center center;
	background-size: cover;
    background-color: rgba(0,50,70,0.6);
    background-blend-mode: darken;
}

#teaser_contact .button_02,
#teaser_recruit .button_02 {
	position: absolute;
	bottom: 3.5vh;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	width: 260px;
    height: 42px;
    line-height: 41px;
}

#teaser_contact .heading,
#teaser_recruit .heading {
	margin-top: 40px;
	padding-bottom: 20px;
	color: #fff;
	font-size: 28pt;
}

#teaser_recruit .heading {
	margin-top: 55px;
	padding-bottom: 20px;
	color: #fff;
	font-size: 28pt;
}

#teaser_contact .heading::before,
#teaser_recruit .heading::before {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    content: '';
    width: 60px;
    border-bottom: 2px solid #fff;
}

#teaser_contact p {
	margin-top: 15px;
	font-size: 12pt;
}

#teaser_contact p:last-of-type {
	margin-top: 0;
	font-size: 10.5pt;
}

#teaser_recruit p {
	margin-top: 25px;
	font-size: 12pt;
}

#teaser_contact h3 {
	margin-top: 0;
	font-family: 'Lato', sans-serif;
    font-weight: 700;
	font-size: 28pt;
	line-height: 1.3;
}

#teaser_contact h3 a {
	color: #fff;
}

#teaser_recruit {
	border-top-right-radius: 20px;
	background: url(../images/teaser_recruit.jpg?1208) no-repeat;
	background-position: center center;
	background-size: cover;
    background-color: rgba(10,70,110,0.7);
    background-blend-mode: darken;
}

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

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

@media screen and (max-width: 768px) {
}
	
/***** Footer *****/

#footer {
	position: relative;
	width: 96%;
	height: 170px;
	background: rgba(0, 87, 96, 1);
	background: linear-gradient(90deg,rgba(0, 87, 96, 1) 0%, rgba(0, 47, 56, 1) 100%);
	margin: 0 auto;
	z-index: 10;
	padding: 0 !important;
	color: #fff;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

#footer_inner {
	display: flex;
    justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 25px 0;
	width: 96%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
}

.scroll_up {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 100;
}

.scroll_up:hover {
	text-decoration: none;
}

#footer a {
	color: #fff;
}

#f_logo {
	order: 1;
	text-align: left;
}

#f_logo img {
	height: 120px;
	opacity: 0.2;
}

#f_address {
	order: 2;
	font-size: 11pt;
	font-weight: 400;
	line-height: 1.7;
	text-align: left;
	margin-left: 15px;
}

#f_address strong {
	font-size: 14pt;
}

#f_navi {
	order: 3;
	flex-grow: 2;
}

#f_navi ul {
	text-align: right;
	font-size: 0;
	margin-top: -10px;
    row-gap: .35rem;
}

#f_navi ul li {
	display: inline-block;
	font-size: 11pt;
	white-space: nowrap;
	line-height: 1.0;
	margin-left: 1.5vw;
}

#f_navi ul li:last-of-type {
	margin-right: 0;
}

#f_contact {
	order: 4;
	font-size: 10pt;
	line-height: 1.2;
	color: #005760;
}

#f_contact strong {
	font-size: 11pt;
}

#f_contact a {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 26pt;
	letter-spacing: 2px;
	color: #005760;
}

#footer_bottom {
	position: relative;
	width: 100%;
	height: 80px;
	background-color: #fff;
	margin: 25px auto 0;
	z-index: 10;
}

#footer_bottom_inner {
	display: flex;
    justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 25px;
	width: 92%;
	max-width: 1790px;
	height: 100%;
	margin: 0 auto;
}

#footer_bottom p {
	font-size: 10pt;
}

#footer_bottom p img {
	vertical-align: middle;
	margin-right: 20px;
}

#footer_bottom address {
	font-style: normal;
	text-align: right;
	font-size: 8.5pt;
}


/* =========================
   768px以下：TEASER
========================= */
@media screen and (max-width: 768px) {

  #teaser{
    flex-direction: column;
    width: 96%;
    height: auto;
    margin: 60px auto 0;
  }

  #teaser_contact,
  #teaser_recruit{
    width: 100%;
    height: auto;
    min-height: 260px;
    padding: 36px 18px 78px; /* ボタン分の下余白を確保 */
  }

  #teaser_contact{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  #teaser_recruit{
    border-top-right-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  #teaser_contact .heading,
  #teaser_recruit .heading{
    margin-top: 0;
    font-size: 20pt;
    padding-bottom: 16px;
  }

  #teaser_recruit p{
    margin-top: 18px;
    font-size: 11pt;
  }
  #teaser_contact p{
    margin-top: 12px;
    font-size: 11pt;
  }
  #teaser_contact p:last-of-type{
    font-size: 10pt;
  }

  #teaser_contact h3{
    font-size: 22pt;
  }

  #teaser_contact .button_02,
  #teaser_recruit .button_02{
    position: absolute;
    bottom: 22px;
    left: 18px;
    right: 18px;
    transform: none;
    width: auto;     /* 260px固定を解除 */
    max-width: 520px;
    margin: 0 auto;
  }
}


/* =========================
   768px以下：FOOTER
========================= */
@media screen and (max-width: 768px) {

  #footer{
    width: 96%;
    height: auto;                 /* 固定高さを解除 */
    padding: 22px 0 18px !important;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  #footer_inner{
    width: 92%;
    height: auto;
    margin: 0 auto;              /* margin-left:20px を解除 */
    display: flex;
    flex-direction: column;       /* 縦積み */
    align-items: flex-start;      /* 左揃え */
    gap: 14px;
  }

  /* スクロールボタン：右下に寄せる */
  .scroll_up{
    top: auto;
    top: 20px;
    right: 14px;
    transform: none;
  }

  /* ロゴ：大きすぎるので縮小＆薄さ調整 */
  #f_logo{
    order: 1;
    width: 100%;
  }
  #f_logo img{
    height: 84px;                 /* 170px → 84px */
    opacity: 0.18;
  }

  /* 住所：読みやすい行間に */
  #f_address{
    order: 2;
    width: 100%;
    font-size: 10.5pt;
    line-height: 1.65;
  }
  #f_address strong{
    font-size: 12.5pt;
  }

  /* ナビ：右寄せ → 左寄せ、折り返し表示 */
  #f_navi{
    order: 3;
    width: 100%;
    flex-grow: 0;                 /* 伸び解除 */
  }
  #f_navi ul{
    text-align: left;
    margin-top: 0;                /* -10pxを解除 */
  }
  #f_navi ul li{
    display: inline-block;
    margin-left: 0;
    margin-right: 14px;
    margin-bottom: 10px;
    font-size: 11pt;
    line-height: 1.2;
    white-space: normal;          /* nowrap解除（長文対応） */
  }
  #f_navi ul li:last-of-type{
    margin-right: 0;
  }

  /* footer bottom：縦積み */
  #footer_bottom{
    height: auto;
    margin: 18px auto 0;
    padding: 14px 0;
  }
  #footer_bottom_inner{
    height: auto;
    flex-direction: column;
    justify-content:center;
align-items:center;
    gap: 10px;
  }
  
  #footer_bottom p{
    font-size: 10pt;
    line-height: 1.5;
  }
  #footer_bottom p img{
    margin-right: 10px;
    height: 20px;
    width: auto;
	margin: 0 auto 5px;
  }

  #footer_bottom address{
    width: 100%;
    text-align: center;
    font-size: 8.5pt;
  }
}

/* =========================================================
   Footer responsive merge (3-step)
   - >=1025px: 3 columns (logo / address / navi)
   - <=1024px: 2 columns (left logo / right: address on top, navi below)
   - <=768px : 1 column (logo / address / navi)
   Added as overrides at end of stylesheet to avoid editing existing rules.
========================================================= */

/* --- >=1025px: 3 columns --- */
@media screen and (min-width: 1025px) {
  #footer {
    height: 170px; /* keep original desktop height */
  }

  #footer_inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
  }

  #f_logo { flex: 0 0 220px; }
  #f_address { flex: 1 1 auto; margin-left: 15px; }
  #f_navi { flex: 0 0 auto; flex-grow: 0; }

  /* Make navi stable: flex row, no column drop */
  #f_navi ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 0;  /* cancel -10px */
    text-align: right;
    font-size: 11pt;
  }
  #f_navi ul li {
    display: block;
    margin-left: 0; /* cancel 1.5vw */
    white-space: nowrap;
    line-height: 1.0;
    font-size: 11pt;
  }
}

/* --- <=1024px: 2 columns --- */
@media screen and (max-width: 1024px) {

  #footer {
    height: auto;
    padding: 18px 0 !important;
  }

  #footer_inner {
    width: 96%;
    height: auto;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 0;
  }

  /* Left column */
  #f_logo {
    order: 1;
    flex: 0 0 220px; /* adjust 200-260px if needed */
  }

  /* Right column: address on top */
  #f_address {
    order: 2;
    flex: 0 0 calc(100% - 220px);
    margin-left: 0;       /* cancel desktop margin */
    padding-left: 15px;   /* align right column inset */
    text-align: left;
  }

  /* Right column: navi below address */
  #f_navi {
    order: 3;
    flex: 0 0 calc(100% - 220px);
    padding-left: 15px;
    flex-grow: 0;
  }

  #f_navi ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 10px;
    text-align: left;
    font-size: 11pt;
  }

  #f_navi ul li {
    display: block;
    margin-left: 0;
    white-space: nowrap;
    line-height: 1.2;
    font-size: 11pt;
  }
}

/* --- <=768px: 1 column (top/middle/bottom) --- */
@media screen and (max-width: 768px) {
  /* Ensure right-column padding doesn't leak into mobile */
  #f_address, #f_navi { padding-left: 0; }
}



/* =========================================================
   Overrides: footer layout 3-step (>=1025: 3 cols / <=1024: 2 cols / <=768: 1 col)
   + teaser recruit bottom radius off on mobile
   ========================================================= */

/* <=1024px: 2 columns (left logo / right address+nav stacked) using CSS Grid to prevent wrapping */
@media screen and (max-width: 1024px){
  #footer{
    height: auto;
    padding: 18px 0 !important;
  }

  #footer_inner{
    display: grid;
    grid-template-columns: 220px 1fr;   /* adjust logo column width if needed */
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 10px;

    width: 96%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
  }

  #f_logo{
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    text-align: left;
  }

  #f_address{
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    margin-left: 0;        /* reset original */
    padding-left: 0;
    text-align: left;
  }

  #f_navi{
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding-left: 0;
    width: auto;
    flex-grow: 0;
  }

  #f_navi ul{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 10px;
    text-align: left;
    padding: 0;
    font-size: 11pt; /* restore readable size */
  }

  #f_navi ul li{
    display: block;
    margin-left: 0;
    white-space: nowrap;
    line-height: 1.2;
    font-size: 10pt;
  }
}

/* <=768px: 1 column (logo / address / nav) */
@media screen and (max-width: 768px){
  #footer_inner{
    display: flex;              /* override grid */
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 92%;
  }

  #f_logo{
    flex: 0;
  }

  #f_logo, #f_address, #f_navi{
    width: 100%;
  }

  /* reset grid placement just in case */
  #f_logo, #f_address, #f_navi{
    grid-column: auto;
    grid-row: auto;
  }

  /* ensure left alignment */
  #f_address{ margin-left: 0; padding-left: 0; text-align: left; }
  #f_navi{ padding-left: 0; }
  #f_navi ul{ text-align: left; }

  #f_navi ul{
    gap: 10px;
    font-size: 10pt;
  }

  #f_navi ul li{
    font-size: 9.5pt;
  }
}

/* <=768px: teaser recruit bottom corners OFF */
@media screen and (max-width: 768px){
  #teaser_recruit{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}
