/*
Theme Name: TEC GROUP
Author: 
Author URI: 
Version: 1.0
*/

/* =Reset
-------------------------------------------------------------- */
@charset "utf-8";
@import url('https://fonts.googleapis.com/earlyaccess/notosansjapanese.css');

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
}


html {
	font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
	line-height: 1.6;
	font-size: 1.8rem;
	font-family: -apple-system-body, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", sans-serif;
	font-weight: 300;
	color: #000;
	text-align: justify;
}


/* =========================================================
     サイト全体の右余白（横揺れ）を根本から絶つ絶対防御
   ========================================================= */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    -webkit-text-size-adjust: 100%; /* iOSの文字サイズバグ防止 */
}





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

h1,h2,h3,h4,h5{
    position: relative;
}
h1{
	font-size: 3.0rem;
}
h2{
	font-size: 7.0rem;
}
h3{
	font-size: 3.4rem;
	margin-bottom: 40px;

}
h4{
	font-size: 2.6rem;
	margin-bottom: 30px;
	padding-left: 10px;
	border-left: #00A0EB solid 10px;
}
h5{
	font-size: 2.4rem;
	margin-bottom: 20px;
}
h6{
	font-size: 2.0rem;
	margin-bottom: 10px;
}


a{
	color: #000;
	text-decoration: none;
	transition: opacity 0.5s,background-color 0.5s,color 0.5s;
}
a:visited{}
a:hover{
	opacity:0.7;
    transition: opacity 0.5s,background-color 1s,color 1s;
	filter:alpha(opacity=70); /* For IE8 and earlier */
	-ms-filter: "alpha(opacity=70)"; /* ie 8 */
	-moz-opacity:0.7; /* FF lt 1.5, Netscape */
	-khtml-opacity: 0.7; /* Safari 1.x */
	zoom:1;
}
a:hover img{
	opacity: 0.7;
	transition: opacity 0.5s;
	filter: alpha(opacity=70); /* For IE8 and earlier */
	-ms-filter: "alpha(opacity=70)"; /* ie 8 */
	-moz-opacity: 0.7; /* FF lt 1.5, Netscape */
	-khtml-opacity: 0.7; /* Safari 1.x */
	zoom: 1;
}


ol,
ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	background-color: #FFFFFF;
}
th {
    font-weight: 500;
	background-color: #ccc;
}
th, td {
	border: 1px solid #eee;
	padding: 10px 20px;
	box-sizing: border-box;
	vertical-align: top;
}


/* 枠線なしテーブル */
table.table-noborder,
table.table-noborder th,
table.table-noborder tr,
table.table-noborder td {
    border: none !important;
    background-color: transparent !important; /* 背景色（グレーなど）も消したい場合 */
}





p{
}

strong{
	font-weight: 700;
}


img{
	max-width:100%;
	vertical-align: bottom;
}
iframe{
    vertical-align:bottom;
}

/* Header -------------------------*/
header{
	position: relative;
}
header#navi{
	width: 100%;
	z-index: 9999;
	position: fixed;
	background-color: rgba(255,255,255,0.9);
}
header#navi #logo {
  margin-left: 30px;
  margin-bottom: 10px;
}
header #logo img{
	height: 100px;
    transition: all 1s;
}
/*header#navi.m_fixed {
  top: 0;
}
header#navi.m_fixed{
	background-color: rgba(255,255,255,0.8);
}
header#navi.m_fixed #logo {
  margin-left: 20px;
}
header#navi.m_fixed #logo img{
	height: 40px;
}
header#navi.m_fixed nav > ul > li > a{
	font-size: 1.8rem;
	padding: 15px 20px;
    transition: all 1s;
}
header#navi.m_fixed nav > ul > li > a::after{
	bottom: 10px;
}*/

/* Navigation -------------------------*/
header nav:after{
    content: '';
    display: block;
    clear: both;
}

header nav > ul{
	display: flex;
    justify-content: space-between;
	align-items: flex-start;
}

header nav > ul > li{
	position: relative;
}

header nav > ul > li > a{
	text-align:center;
	display:block;
    font-size: 2.0rem;
    font-weight: 600;
	padding: 30px 20px 60px;
	transition: all 1s;
}
header nav > ul > li > a .material-symbols-outlined{
    font-size: 3.6rem;
}

header nav > ul > li > a::after{
	content: "";
	background-color: #00BCEF;
	width: 0;
	height: 3px;
	position: absolute;
	left: 10px;
	bottom: 35px;
	transition: width 300ms cubic-bezier(0.77, 0, 0.175, 1);
}
header nav > ul > li:hover > a::after, header nav > ul > li.current-menu-item > a::after {
	width: calc(100% - 20px);
}
header nav > ul > li:nth-last-child(3):hover > a::after, header nav > ul > li:nth-last-child(3).current-menu-item > a::after {
	width: calc(100% - 40px);
}
header nav > ul > li:nth-last-child(n+3):hover > a {
	opacity: 1.0;
    color: #000;
}

header nav > ul ul {
    transition: opacity .2s ease-in;
    opacity: 0;
    width: max-content;
    min-width: 100%;
    left: 0;
    top: 100%;
    position: absolute;
    box-sizing: border-box;
    height: 0;
    overflow: hidden;
    z-index: 999;
}
header nav > ul > li:hover ul {
    opacity: 1;
    height: auto;
}
header nav > ul ul li {
    display: block;
    background-color: #fff;
    padding: 0 20px;
}
header nav > ul ul li a {
	font-size: 1.6rem;
	font-weight: 600;
    display: block;
    padding: 5px 0 15px;
}
header nav > ul ul li a:hover {
	color: #000;
	opacity: 1.0;
}
header nav > ul ul > li:last-child {
    border-radius: 0 0 10px 10px;
}

header#navi .flex{
    justify-content: space-between;
    align-items: flex-end;
}

header nav > ul > li:nth-last-child(-n+2) > a::after{
	display: none;
}
header nav > ul > li:nth-last-child(3) a{
	padding: 30px 40px 60px 20px;
}
header nav > ul > li:nth-last-child(-n+2) a{
	padding: 30px 50px 30px;
	color: #fff;
}
header nav > ul > li:last-child a{
	background-color: #000;
}
header nav > ul > li:nth-last-child(2) a{
	background-color: #00A0EB;
}


/* Footer -------------------------*/
footer {
	background-color: #E8EDEF;
}
footer #link {
	background-color: #000;
	color: #fff;
	margin-bottom: 70px;
}
footer #link .flex div{
	position: relative;
	width: 50%;
	padding: 50px;
	box-sizing: border-box;
}
footer #link .flex div:first-child{
	padding-left: 0;
}
footer #link .flex div::after{
    content: "\f138";
    font-family: FontAwesome;
	font-size: 5.0rem;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
	right: 40px;
}
footer #link .flex div:last-child::before{
    content: "";
	position: absolute;
	top: 20%;
	left: 0;
	width: 1px;
	height: 60%;
	border-left: #fff dotted 1px;
}
footer #link .flex div p{
	font-size: 4.0rem;
	font-weight: 700;
}
footer #link .flex div p span{
	display: block;
	font-size: 2.0rem;
	font-weight: 300;
}
footer #link .flex div p span::before{
    content: "ー ";
}
footer #link .flex div a{
	display: block;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 300;
	margin-top: 30px;
}
footer > .wrap00 .flex{
	justify-content: space-between;
}
footer .add p{
	font-size: 3.0rem;
	font-weight: 700;
}
footer .add p span{
	display: inline-block;
	font-size: 1.6rem;
	margin-left: 20px;
}
footer .add p+p{
	font-size: 1.8rem;
	font-weight: 300;
	margin-top: 20px;
}
footer > .wrap00 .flex nav > ul{
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	width: 100%;
	min-width: 500px;
	height: 200px;
	gap: 20px;
}
footer > .wrap00 .flex nav > ul > li{
	font-size: 2.0rem;
	font-weight: 500;
}
footer > .wrap00 .flex nav > ul ul > li{
	font-size: 1.6rem;
	font-weight: 300;
	margin-top: 10px;
	padding-left: 20px;
}
footer .copy{
	font-size: 1.6rem;
	margin-top: 50px;
    padding: 20px 0;
	border-top: #707070 solid 1px;
	display: flex;
	justify-content: space-between;
}

/* Layout -------------------------*/

.wrap{
	max-width: 1300px;
	padding: 0px 15px;
	margin: 0 auto;
}
.wrap::after{
    content: '';
    display: block;
    clear: both;
}
.wrap00{
	padding: 0 95px;
	margin: 0 auto;
}
#main{
	padding-top: 122px;
}
#main .wrap{
	margin: 60px auto 160px;
}
.home #main .wrap{
	margin: 80px auto 80px;
}

.button{
	max-width: 300px;
	margin: 50px auto 0;
	background-color: #000;
    box-sizing: border-box;
	position: relative;
}
.button a{
	color: #fff;
	font-size: 2.2rem;
    font-weight: 700;
	display: block;
	padding: 15px 20px;
}
.button a::after{
    content: "\f105";
    font-family: FontAwesome;
	font-size: 3.0rem;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
	right: 20px;
	color: #fff;
}
.button.back a{
	text-align: center;
}
.button.back a::after{
    content: "\f104";
	left: 20px;
	right: auto;
}
.current-page{
	justify-content: space-between;
	margin-top: 80px;
}
.current-page .button {
  width: 23.5%;
  max-width: inherit;
  margin: 0 0 10px;
  background-color: #00A0EB;
  transition: all 0.7s;
}
.current-page .button:hover, .current-page .button.current{
  background-color: #E8F5FB;
}
.current-page .button:hover a, .current-page .button.current a{
  color: #00A0EB;
  opacity: 1.0;
}

.date{
	font-weight: 500;
	margin-bottom: 20px;
}

/* Contents -------------------------*/

section+section{ margin-top: 120px; }


/* Home -------------------------*/

#topimg {
	background-color: #E8EDEF;
}
#topimg .flex{
	position: relative;
	align-items: flex-start;
	padding-bottom: 100px;
	z-index: 0;
}
#topimg .flex::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background-color: #fff;
	z-index: -1;
}
#topimg .flex > div:first-child::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -100px;
	right: 0;
	width: calc(100% + 120px);
	height: 400px;
	background-color: #DBE5EE;
	z-index: -1;
}
#topimg .flex > div:first-child {
	position: relative;
	width: 67.5%;
	order: 1;
}
#topimg .flex > div iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 167 / 94;
}
#topimg .flex > div+div {
	width: 32.5%;
	padding: 110px 4% 0 95px;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}
#topimg > div h2 {
    font-size: 5rem;
    white-space: nowrap;
    font-weight: 900;
    line-height: 5.5rem;
	-webkit-text-stroke: 5px #E8EDEF;
	paint-order: stroke fill;
}
#topimg > div h2 span{
	display: block;
	font-size: 2.0rem;
    color: #000;
    line-height: 4.5rem;
}
#topimg > div h2 span::before{
	content: "ー ";
	font-weight: 400;
}
#topimg .flex > div p{
	margin-top: 30px;
}
#topimg .button{
	max-width: 360px;
	margin-left: 0;
}


@keyframes scroll-left {
	from {
	  transform: translateX(0);
	}
	  to {
	  transform: translateX(-100%);
	}
	}
	.scroll {
	  margin-top: -60px;
	}
	.scroll-wrap {
	  display: flex;
	  overflow: hidden;
	}
	.scroll-list {
	  display: flex;
	  list-style: none;
	  padding: 0
	}
	.scroll-left {
	  animation: scroll-left 20s infinite linear 0.5s both;
	}
	.scroll-item {
	  width: calc(100vw / 1);
	}
	.scroll-item > img {
	  width: 100%;
	}

.home h3{
	font-size: 7.0rem;
}
.home h3 span{
	font-size: 2.0rem;
	display: block;
}
.home h3:has(span) span::before{
    content: "ー ";
	font-weight: 400;
}
.home #main section .wrap{
	margin: 0 auto;
}

#service {
	background-color: #E8EDEF;
	padding-bottom: 65px;
}
#service section{
	max-width: calc(1300px + (100% - 1300px)/2);
	margin: 0 0 0 auto;
	padding: 65px 0 65px 15px;
	position: relative;
}
#service section > div:first-child{
	width: 44%;
	min-height: 400px;
	text-shadow: 0px 0px 4px rgba(255, 255, 255, 1.0);
	position: relative;
	z-index: 1;
	font-weight: 400;
}
#service section > div+div{
	position: absolute;
	top: 65px;
	right: 0;
	width: 85%;
	z-index: 0;
}
#service section > div+div img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#main #service .wrap{
	margin: 0 auto;
}
#service .flex{
	justify-content: space-between;
}
#service .flex div{
	width: 32%;
	position: relative;
}
#service .flex div p img{
	width: 100%;
}
#service .flex div p+p{
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 80%;
	max-width: 205px;
	padding: 10px;
	color: #fff;
	font-size: 2.4rem;
	font-weight: 500;
	background-color: rgba(0,0,0,0.76);
	box-sizing: border-box;
}
#tec {
	background-color: #E8EDEF;
	padding-bottom: 65px;
}
#tec .flex > div{
	width: 50%;
	position: relative;
}
#tec .flex > div::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.70);
	transition: all 0.7s;
}
#tec .flex > div:hover::before{
	background-color: rgba(0,0,0,0.30);
	transition: all 0.7s;
}
#tec .flex > div a:hover, #tec .flex > div a:hover img{
	opacity: 1.0;
}
#tec .flex > div p{
	position: absolute;
	transform: translate(-50% , -50%);
	top: 50%;
	left: 50%;
}
#staff {
	background-color: #E8EDEF;
	padding-bottom: 65px;
}
#main #staff .wrap{
	max-width: 1440px;
}
#staff .slider01 {
  padding: 0 70px;
  box-sizing: border-box;
}
#staff .slider01 .before {
	position: absolute;
	top: 0;
	left: 0;
	width: 70px;
	height: 100%;
	background-color: #E8EDEF;
	z-index: 1;
}
#staff .slider01 .after {
	position: absolute;
	top: 0;
	right: 0;
	width: 70px;
	height: 100%;
	background-color: #E8EDEF;
	z-index: 1;
}
#staff .slider01 .swiper-slide img{
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
#staff .button a {
	text-align: center;
}

/* モーダルのデザインのみ */
#custom-staff-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999;
    background: rgba(0,0,0,0.85);
    display: none; align-items: center; justify-content: center;
    padding: 15px; box-sizing: border-box;
}
.c-modal-window {
    background: #fff; width: 100%; max-width: 650px;
    border-radius: 8px; position: relative;
    max-height: 90vh; overflow-y: auto;
    margin: 0 auto; box-sizing: border-box;
}
.c-modal-close {
    position: absolute; top: 15px; right: 15px;
    width: 34px; height: 34px; background: #000; color: #fff;
    border-radius: 50%; border: none; font-size: 24px; line-height: 1;
    cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center;
    padding-bottom: 4px; box-sizing: border-box;
}
.c-modal-inner { padding: 30px; }
.c-m-img img { width: 100%; height: auto; display: block; border-radius: 4px; }
.c-m-name { font-size: 24px; font-weight: bold; margin: 20px 0 15px; color: #000; }
.c-m-text { font-size: 15px; line-height: 1.8; color: #333; }
.c-m-text p { margin-bottom: 1em; }

/* 前後ボタン */
.c-modal-nav { display: flex; gap: 10px; padding: 0 30px 30px; }
.c-nav-btn {
    position: relative; /* 矢印を端に固定するための基準 */
    background: #00A0EB; color: #fff; border: none; padding: 12px 30px; /* 文字が矢印に被らないよう左右余白を確保 */
    flex: 1; border-radius: 2px; cursor: pointer; 
    display: flex; justify-content: center; align-items: center; /* テキストを完全な中央へ */
    font-size: 14px; min-width: 0; box-sizing: border-box;
}
.c-nav-btn span { 
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; 
    text-align: center; /* 念のためテキストも中央揃え */
}
/* 矢印は絶対配置（absolute）で左右の端に固定する */
.c-nav-btn.prev::before { 
    content: '＜'; 
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%); 
}
.c-nav-btn.next::after { 
    content: '＞'; 
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%); 
}

@media (max-width: 760px) {
    .c-modal-inner { padding: 20px; }
    .c-modal-nav { padding: 0 20px 20px; }
}



#career {
	background-color: #00A0EB;
	padding: 80px 0 0;
	margin-top: 0;
	position: relative;
	color: #fff;
}
#career::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background-color: #fff;
}
#main #career .wrap{
	max-width: calc(1300px + (100% - 1300px)/2);
	margin: 0 0 0 auto;
	padding-right: 0;
}
#career h3{
	margin-bottom: 25px;
}
#career .flex{
	justify-content: space-between;
	align-items: flex-start;
}
#career .wrap > .flex > div:first-child{
	width: calc(1300px * 0.45);
	padding-bottom: 30px;
}
#career .wrap > .flex > div+div{
	width: calc(100% - (1300px * 0.5));
}
#career .wrap > .flex .flex{
	padding-right: 95px;
	box-sizing: border-box;
}
#career .wrap > .flex .flex > div{
	width: 32%;
	position: relative;
	background-color: #fff;
	z-index: 1;
}
#career .flex .flex div p img{
	width: 100%;
}
#career .flex .flex div p+p{
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 80%;
	max-width: 180px;
	padding: 10px;
	color: #fff;
	font-size: 2.0rem;
	font-weight: 500;
	background-color: rgba(0,160,235,0.76);
	box-sizing: border-box;
}
#career .button {
	margin: 30px auto 0 0;
	background-color: #00A0EB;
	border: #fff solid 2px;
}
#topics .flex {
	justify-content: space-between;
}
#topics .flex div{
	width: 75%;
	max-width: 950px;
}
#topics ul{
    border-bottom: #707070 solid 1px;
    padding: 30px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
	font-size: 1.6rem;
}
#topics li{
    position: relative;
}
#topics li:first-child{
    margin-right: 20px;
}
#topics li:nth-child(2) a{
    display: block;
    background-color: #575757;
    color: #fff;
	font-weight: 700;
    text-align: center;
    padding: 2px 10px;
	border-radius: 15px;
}
#topics li:last-child{
    width: 100%;
	font-size: 1.8rem;
	margin-top: 10px;
	font-weight: 500;
}
#insta{
    background-color: #E8EDEF;
	padding-top: 30px;
}
#insta h3{
	font-size: 3.0rem;
	margin-left: 30px;
	margin-bottom: 25px;
}
#fb{
	background-image: url(/tgw/wp-content/themes/tgwp/img/tec.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
#fb > div{
	margin: 0 auto;
	max-width: 500px;
	min-height: 500px;
	display: block;
	overflow: hidden;
}


/* Archive -------------------------*/
.post-type-archive-staff #main section .flex > div{
	width: 23.5%;
	margin-right: 2%;
}
.post-type-archive-staff #main section .flex > div:nth-child(4n){
	margin-right: 0;
}
.post-type-archive-staff #main section .flex > div:nth-child(n+5){
	margin-top: 30px;
}
.post-type-archive-staff #main section .flex > div img{
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.post-type-archive-staff #main section .flex > div p+p{
	margin-top: 10px;
	text-align: center;
	font-weight: 400;
}


/* Sub -------------------------*/
#sub{
	padding-top: 30px;
	background: linear-gradient(to bottom,  #e8edef 0%,#ffffff 100%);
}
#sub h2{
	max-width: 1300px;
	margin: 0 auto;
	padding: 0px 15px;
	text-transform: uppercase;
}
#sub h2 span{
	font-size: 2.0rem;
	display: block;
}
#sub h2:has(span) span::before{
    content: "ー ";
	font-weight: 400;
}

.category #topics li:nth-child(2) {
  margin-right: 20px;
}
.category #topics li:last-child {
  width: auto;
  margin: 5px 0;
}
.works .edit .flex{
	justify-content: space-between;
}
.works .edit .flex div{
	width: 15%;
}

.accordion {
    margin-bottom: 5px;
}
.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 3em 1em 2.5em;
    cursor: pointer;
    background-color: #E8F5FB;
    border-radius: 10px;
	font-size: 1.8rem;
	font-weight: 400;
	text-indent: -1.3em;
}
.accordion summary::-webkit-details-marker {
    display: none;
}
.accordion summary::before,
.accordion summary::after {
    position: absolute;
    right: 1.5em;
    width: 3px;
    height: .9em;
    background-color: #000;
    content: '';
}
.accordion summary::before {
    position: absolute;
    right: 1.5em;
    rotate: 90deg;
}
.accordion summary::after {
    transition: rotate .3s;
}
.accordion[open] summary::after {
    rotate: 90deg;
}
.accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1.5em 2em;
    transition: transform .5s, opacity .5s;
	font-size: 1.6rem;
}
.accordion[open] p {
    transform: none;
    opacity: 1;
}

.single-staff .edit .alignleft {
  width: 100%;
  height: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
}
.nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.nav-links div[class^="nav-"] {
  width: 48%;
  max-width: 300px;
}
.nav-previous {
  order: 2;
  margin: 0 0 0 auto;
}
.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.5em;
  color: #fff;
  font-weight: 400;
  background-color: #00A0EB;
}
.nav-next a::after {
  content: "\f104";
  font-family: FontAwesome;
  font-size: 3.0rem;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 20px;
  color: #fff;
}
.nav-previous a::after {
  content: "\f105";
  font-family: FontAwesome;
  font-size: 3.0rem;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 20px;
  color: #fff;
}


/* Pagetop -------------------------*/
#pagetop {
	position: fixed;
	z-index: 1;
	bottom: 80px;
	right: 20px;
	z-index: 9999;
	font-size: 8.0rem;
}
#pagetop a {
	color: #00A0EB;
}

/* Clearfix -------------------------*/
.clearfix:after{
	content: '';
	display: block;
	clear: both;
}
.clearfix{
	position: relative;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}


/* Other -------------------------*/
.link:hover{
    cursor: pointer;
}

p.anchor {
	padding-top: 160px;
	margin-top: -160px;
	display: block;
	position: relative;
	z-index: -1
}

.sp{
    display: none !important;
}

nav.page-navi{
	margin-top: 30px;
}
nav.page-navi li.prev{
	float:left;
}
nav.page-navi li.next{
	float:right;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	margin: 0 0 30px 30px;
	height: auto;
	}

img.alignleft {
	margin: 0 30px 30px 0;
	height: auto;
	}

.aligncenter {
    display: block;
    margin: 0 auto;
    max-width: max-content;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail {
	max-width: 100%;
	height: auto;
}

.wp-pagenavi{
    margin: 60px 0;
    text-align: center;
}

.wp-caption-text {
    font-size: 1.4rem;
    margin-top: 5px;
}

img[class*="wp-image-"],
img[class*="attachment-"] {
    max-width: 100%;
    height: auto;
}

.edit div:has(> ul),#tinymce div:has(> ul){
    display: flex;
}
.edit ul,#tinymce ul{
    padding-left: 1.8em;
    list-style-type: none !important;
}
.edit ul li,#tinymce ul li{
	position: relative;
}
.edit ul li::before,#tinymce ul li::before{
	content: "●";
	position: absolute;
	top: 2px;
	left: -1.6em;
    color: #E8EDEF;
    font-size: 1.6rem;
}
.edit ol,#tinymce ol{
    padding-left: 2.6em;
    list-style-type: decimal;
}
.edit a,#tinymce a{
	color: #00A0EB;
    text-decoration: underline;
}
.edit{
    position: relative;
	text-align: justify;
    text-justify: inter-character;
}
.edit blockquote,#tinymce blockquote{
	background-color: #E8F5FB;
    padding: 30px;
    margin: 5px 0;
    border-radius: 20px;
}
.edit a[target="_blank"]::after{
    display: inline-block;
    content: "\f08e";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a[href$=".pdf"]::after{
    display: inline-block;
    content: "\f1c1";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a[href$=".doc"]::after,.edit a[href$=".docx"]::after,.edit a[href$=".xls"]::after,.edit a[href$=".xlsx"]::after,.edit a[href$=".txt"]::after{
    display: inline-block;
    content: "\f0f6";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a[href^="mailto:"]::after{
    display: inline-block;
    content: "\f003";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a:has(img)::after{
    display: none !important;
}
.edit a i{
    color: #ccc;
}
.youtube{
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.youtube iframe{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


.edit hr,#tinymce hr{
    width: 20%;
    border: none; /* 一旦デフォルトの立体的な枠線を完全にリセット */
    border-top: 1px dotted #ccc; /* 上辺だけにドット線を引く（美しい1本線になります） */
    margin-left: 0; /*   これが左寄せにするための絶対指定です */
}
.edit h3,#tinymce h3{
	color:#00A0EB;
}


/* Forms
--------------------------------------------- */
.mw_wp_form {
    max-width: 800px;
    margin: 0 auto;
}
.mw_wp_form .required::after{
	content: "※";
    color: #00A0EB;
	margin-left: 5px;
}
.mw_wp_form .error::before{
	content: "\f071";
	font-family: FontAwesome;
	margin-right: 5px;
    font-weight: normal;
}
.mw_wp_form.mw_wp_form_preview h5+p{
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    min-height: 45px;
    box-sizing: border-box;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", sans-serif;
}
.mw_wp_form input.zip {
  max-width: 250px;
}
.mw_wp_form input,
.mw_wp_form select,
.mw_wp_form textarea,
.mw_wp_form button {
	background-color: #fff;
	border: 2px solid #707070;
	border-radius: 5px;
	padding: 10px;
	width: 100%;
    font-size: 1.6rem;
    font-weight: 300;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", sans-serif;
    box-sizing: border-box;
}
.mw_wp_form input:focus,
.mw_wp_form textarea:focus {
	border: 1px solid #999;
	outline: none;
}
.mw_wp_form input[type="checkbox"],
.mw_wp_form input[type="image"],
.mw_wp_form input[type="radio"] {
	width: auto;
}
::-moz-placeholder {
	color: #777;
	opacity: 1;
}
::-webkit-input-placeholder {
	color: #777;
}
.mw_wp_form button,
.mw_wp_form input[type="button"],
.mw_wp_form input[type="reset"],
.mw_wp_form input[type="submit"] {
    display: inline-block;
    padding: 15px 40px;
    background-color: #00A0EB;
    color: #FFFFFF;
    border: none;
    width: 300px;
    margin: 0 10px;
    font-size: 2.2rem;
    font-weight: 500;
    box-sizing: border-box;
    text-align: center;
	border-radius: 0;
}
.mw_wp_form div > div:has(input[type="submit"]) {
  display: inline-block;
  position: relative;
}
.mw_wp_form div > div:has(input[type="submit"])::after {
  content: "\f105";
  font-family: FontAwesome;
  font-size: 3.0rem;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 30px;
  color: #fff;
}
.mw_wp_form button[type="submit"] {
    background-color: #999;
}
.mw_wp_form button:hover,
.mw_wp_form input:hover[type="button"],
.mw_wp_form input:hover[type="reset"],
.mw_wp_form input:hover[type="submit"],
.mw_wp_form .button:hover,
.mw_wp_form button:focus,
.mw_wp_form input:focus[type="button"],
.mw_wp_form input:focus[type="reset"],
.mw_wp_form input:focus[type="submit"],
.mw_wp_form .button:focus  {
	background-color: #bbb;
    cursor: pointer;
}


/* 1800px -------------------------*/
@media screen and (max-width: 1800px) {
#topimg .flex > div + div {
  padding: 100px 4% 0 30px;
}
.wrap00 {
  padding: 0px 30px;
}
#career .wrap > .flex .flex{
	padding-right: 30px;
}
}

/* 1330px -------------------------*/
@media screen and (max-width: 1330px) {
body{
	padding-top: 0 !important;
}
header#navi{
	display: none !important;
}
#main {
    padding-top: 53px;
}
#topimg .flex::before {
  display: none;
}
#career .wrap > .flex > div {
  width: 44%;
}
#career .wrap > .flex > div + div {
  width: 50%;
}

}

/* 1180px -------------------------*/
@media screen and (max-width: 1180px) {
footer > .wrap00 .flex nav > ul {
  display: none;
}
footer .add p span {
  display: block;
}
p.anchor {
	padding-top: 100px;
	margin-top: -100px;
}
#topimg .flex > div:first-child::after {
  display: none;
}
#topimg .flex > div:first-child {
  width: 100%;
  order: 0;
}
#topimg .flex > div + div {
  width: 100%;
}
#career .wrap > .flex > div:first-child {
  width: 100%;
  padding-bottom: 0;
}
#career .wrap > .flex > div + div {
  width: 100%;
  margin-top: 30px;
}
#career .wrap > .flex .flex {
  padding-right: 0;
}
#main #career .wrap {
  padding: 0 15px;
}
.home #topics h3 {
  font-size: 5.0rem;
}

}

@media screen and (max-width: 760px) {
.sp{
    display: inherit !important;
}
.pc{
    display: none !important;
}
.wrap00{
	padding:0px 15px;
}
#main .wrap {
  margin: 30px auto 80px;
}
.home #main .wrap {
  margin: 0 auto 80px;
}
.home #main #career + .wrap {
  margin: 60px auto 80px;
}
.scroll-item {
  width: calc(200vw / 1);
}
#service section {
  padding: 30px 15px;
}
#service section > div:first-child {
  width: 100%;
  margin-top: 10px;
  min-height: auto;
}
#service section > div + div {
  width: 100%;
}
#service .flex div {
	width: 100%;
}
#service .flex div + div {
	margin-top: 20px;
}
#tec .flex > div{
	width: 100%;
}
#career .flex .flex div p + p {
  font-size: 1.3rem;
}
#topics .flex div {
  width: 100%;
}
footer #link .flex div {
  width: 100%;
  padding-left: 0;
}
footer #link .flex div:last-child::before {
  width: 80px;
  height: 1px;
  border-top: #fff dotted 1px;
  border-left: none;
  top: 0;
}

}


/* 480px -------------------------*/
@media screen and (max-width: 480px) {
body{
	font-size: 1.4rem;
}
h2 {
  font-size: 4.0rem;
}
h3 {
  font-size: 2.0rem;
  margin-bottom: 20px;
}
h4 {
  font-size: 2.0rem;
}
h5 {
  font-size: 1.8rem;
}
h6 {
  font-size: 1.7rem;
}
.home h3, .home #topics h3{
  font-size: 4.0rem;
}
#sub h2 span {
  font-size: 1.4rem;
}
th, td {
	width: 100%;
	display: block;
}
section + section {
  margin-top: 80px;
}
.button a {
  font-size: 1.5rem;
}
#pagetop {
  bottom: 35px;
  right: 15px;
}
.edit ul li::before, #tinymce ul li::before {
  top: 0;
}
.post-type-archive-staff #main section .flex > div{
	width: 48%;
	margin-right: 2%;
}
.post-type-archive-staff #main section .flex > div:nth-child(2n){
	margin-right: 0;
}
.post-type-archive-staff #main section .flex > div:nth-child(n+3){
	margin-top: 30px;
}
.works .edit .flex div{
	width: 30%;
}
.current-page .button {
  width: 48.5%;
}
.accordion summary {
  font-size: 1.6rem;
}
.accordion p {
  font-size: 1.4rem;
}
.mw_wp_form div > div:has(input[type="submit"])::after {
  display: none;
}

    #topimg .flex > div + div {
        padding: 50px 4% 0 30px;
    }

#topimg > div h2 {
    font-size: 3.5rem;
    white-space: nowrap;
    font-weight: 900;
    line-height: 4.5rem;

}
#topimg > div h2 span{
	display: block;
	font-size: 1.8rem;
    color: #000;
    line-height: 4rem;
}




}
