/*
Template:ystandard
Theme Name:maruchokamata
*/

body{
  width:100%;
  height:100%;
  margin:0 auto;
  padding:0;
  background:#ffffff;
  font-size:16px;
  line-height:1.8em;

}

body.blog, body.single, body.error404, body.page{
  background-image: radial-gradient(rgba(196, 229, 249, 1), rgba(255, 255, 255, 1));
}

body.home{
  background:
  radial-gradient(circle at 18% 28%, rgba(196, 225, 245, 0.55) 0%, rgba(196, 225, 245, 0) 22%),
  radial-gradient(circle at 82% 42%, rgba(196, 225, 245, 0.45) 0%, rgba(196, 225, 245, 0) 24%),
  radial-gradient(circle at 20% 68%, rgba(196, 225, 245, 0.50) 0%, rgba(196, 225, 245, 0) 22%),
  radial-gradient(circle at 82% 88%, rgba(196, 225, 245, 0.55) 0%, rgba(196, 225, 245, 0) 26%),
  #ffffff;
  background-repeat: no-repeat;
}

a{
  text-decoration:none;
}

ol, ul{
  margin: 0;
  padding:0;
}
ul{
  list-style:none;
}

h1, h2, h3, h4, h5, h6{
  margin: 0em;
  padding: 0;
  line-height: 1.5;
  letter-spacing: .05em;
}

h1+h2, h2+h3, h3+h4, h4+h5, h5+h6{
  margin-top: 0;
}

.entry-content h1+h2, .entry-content h2+h3, .entry-content h3+h4, .entry-content h4+h5, .entry-content h5+h6{
  margin-top: 0em;
}

td, th{
  border-right:none;
  border-bottom:none;
}

tr{
  border-left:none;
}

amp-img, img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

p{
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6{
  margin: 0em;
}

.ponly{
  display:none;
}
.monly{
  display:block;
}

.footer-poweredby{
  display:none;
}
.grecaptcha-badge{

  visibility: hidden;
}
.container{
  width: 100%;
  padding: 0;
  margin: 0 auto;
  max-width: var(--width-max);
}
.global-nav__toggle .ys-icon, .global-nav__toggle svg{
  width: 24px;
  height: 32px;
}

.site-header button{
  background: #00426E;
  border-radius: 100%;
  margin-right: 0.5em;
  margin-top: 0.5em;
  color: #ffffff;
}

.site-branding{
  padding: 1em 2em 0.5em 16px;
}

/* 全幅 */
.full-width{
  width: calc(100vw - var(--scrollbar-width));
  margin-left: calc(50% - 50vw + var(--scrollbar-width) / 2);
  max-width: none;
}
body.blog .content__wrap, body.error404 .content__wrap{
  max-width: 1120px;
  margin: 0 auto;
}
body.blog .archive__main{
  padding:0 1em;
}
body.blog .archive__item.is-list{
  padding:1em;
}
.breadcrumbs__list{
  margin-left:2em;
}

.wp-singular .content__main, .error404 .content__main{
  background:none;
}

/* ----------------------------------------
ユーティリティ
---------------------------------------- */

.global-nav__menu>.menu-item>a:after{
  bottom: 8px;
}

div#n2-ss-1 .n2-ss-slider-2{
  border-radius: 1em;
}

.wrap{
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sec{
  position: relative;
  padding: 0 0;
  overflow: hidden;
  margin-top:0;
}

h2.wp-block-heading{background-image: linear-gradient(90deg, rgba(10, 84, 141, 1), rgba(1, 160, 233, 1));
    display: inline-block;
    padding: 8px 32px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 20px;}


/* ========================================
HEADER（header.phpに記載）
======================================== */
.hdr{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.hdr.is-scrolled{
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}

.hdr__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1rem;
}

/* ロゴ */
.hdr__logo{
  display: flex;
  align-items: center;
}
.hdr__logo a{
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hdr__logo-img{
  height: 38px;
  width: auto;
}
.hdr__logo-name{
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

/* ハンバーガー */
.hdr__burger{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hdr__burger span{
  display: block;
  height: 2px;
  background: var(--clr-primary, #2196c4);
  border-radius: 2px;
  transition: .3s ease;
  transform-origin: center;
}
.hdr__burger.is-open span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.hdr__burger.is-open span:nth-child(2){
  opacity: 0;
  transform: scaleX(0);
}
.hdr__burger.is-open span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

/* PC用CTA（SP非表示） */
.hdr__cta{
  display: none;
}

/* ========================================
グローバルナビ（header.phpに記載）
SP: 右からスライドするドロワー
======================================== */
.gnav{
  position: fixed;
  top: 0;
  right: -100%;
  width: min(80vw, 300px);
  height: 100dvh;
  background: #fff;
  padding: 80px 1.5rem 2rem;
  overflow-y: auto;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  z-index: 1050;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.gnav.is-open{
  right: 0;
}

/* WordPressが生成する ul.gnav__list */
.gnav__list{
  display: flex;
  flex-direction: column;
}
.gnav__list > li > a{
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  padding: .875rem 0;
  border-bottom: 1px solid #e8f4f9;
  transition: color .2s, padding-left .2s;
}
.gnav__list > li > a:hover{
  color: var(--clr-primary, #2196c4);
  padding-left: .5rem;
}
.gnav__list .current-menu-item > a, .gnav__list .current-page-ancestor > a{
  color: var(--clr-primary, #2196c4);
  font-weight: 700;
}

/* オーバーレイ */
.gnav__overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1040;
}
.gnav__overlay.is-open{
  display: block;
}

.headinsta img {
    width: 24px;
}

/* ========================================
HERO
======================================== */
.hero{
  position: relative;
  margin-top: 64px;
  overflow: hidden;
}

/* キャッチコピー */
.hero__catch{
  position: absolute;
  bottom: 1.5rem;
  right: 1.25rem;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  text-align: right;
  letter-spacing: .04em;
}

/* ========================================
ABOUT
======================================== */

/* ---------- レイアウト ---------- */
.abt{
  position: relative;
  overflow: hidden;
  padding: 48px 0 48px 0;
  background-image:
  url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/top_m_about_bc.svg'),
  linear-gradient(135deg, #e8f4fd 0%, #c8e6f5 40%, #d6eef8 100%);
  background-size: cover;
}
.abt__inner{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}
/* ---------- テキストエリア ---------- */
.abt__body{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 1em;
}
.abt__label{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #000000;
  margin: 0 0 0.25em;
}
.abt__ttl{
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #1a2d3e;
  margin: 0;
}
.abt__desc{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.abt__desc p{
  font-size: 16px;
  line-height: 1.7;
  color: #3a4a58;
  margin: 0;
}

.abt__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #4aa3d0;
  background-image: linear-gradient(90deg, rgba(10, 84, 141, 1), rgba(1, 160, 233, 1));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.25s, transform 0.2s;
  margin-top: 4px;
}
.abt__btn:hover{
  background: #2d87b8;
  transform: translateX(2px);
}
.abt__btn-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 1);
  color: #01A0E9;
  border-radius: 50%;
  font-size: 12px;
  padding-left: 1px;
  line-height: 1;
  padding-top: 2px;
}

.abt__btn_w{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #4aa3d0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(175, 218, 237, 1));
  color: #01A0E9;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.25s, transform 0.2s;
  margin-top: 4px;
}
.abt__btn_w:hover{
  background: #2d87b8;
  transform: translateX(2px);
}
.abt__btn-icon2{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 1);
  color: #01A0E9;
  border-radius: 50%;
  font-size: 12px;
  padding-left: 2px;
  line-height: 1;
}
/* ---------- ボタン ---------- */

/* ---------- 画像エリア ---------- */
.abt__img-wrap{
  position: relative;
  z-index: 1;
  border-radius: 24px 0 0 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.abt__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-left: 10%;
  border-radius: 48px 0px 0px 0;
}

/* ===================
WORKS
=================== */

.wrk{
  position: relative;
  overflow: hidden;
  padding: 48px 16px 48px;
  background-image:
  url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/work_back.webp'),
  linear-gradient(135deg, #e8f4fd 0%, #c8e6f5 40%, #d6eef8 100%);
  background-size: cover;

}

.wrk__inner{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  margin: 0 auto;
}

.works-section{
  margin-bottom:90px;
}

.wrk__label{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #000000;
  margin: 0 0 1em;
}

.twork-text{
  text-align:justify;
	margin-top:0.75em;
}

.card-flex{
  display:flex;
  gap:18px;
  margin: 0 auto 40px;
}

.work-card{
  position:relative;
  border-radius:24px;
  overflow:hidden;

}

.work-card img{
  max-width: 160px;
}

.rec{
  position: relative;
  overflow: hidden;
  padding: 48px 0 48px 0;
  background-image:
  url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/recruit_back.webp'),
  linear-gradient(135deg, #e8f4fd 0%, #c8e6f5 40%, #d6eef8 100%);
  background-size: cover;
}
.rec__inner{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}

/* ---------- テキストエリア ---------- */
.rec__body{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 1em;
}
.rec__label{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #000000;
  margin: 0 0 0.5em;
}
.rec__ttl{
  font-size: clamp(20px, 5vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  color: #1a2d3e;
  margin: 0;
}
.rec__desc{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rec__desc p{
  font-size: 16px;
  line-height: 1.7;
  color: #3a4a58;
  margin: 0;
}

/* ---------- 画像エリア ---------- */
.rec__img-wrap{
  position: relative;
  z-index: 1;
  border-radius: 24px 0 0 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.rec__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-left: 10%;
  border-radius: 48px 0px 0px 0;
}

/*個別ページ*/

.peyewrap{
  position:relative;
}

.eyecopy2{
  position: absolute;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 50%;
  height: auto;
}

.eyecopy2 img{
  width: auto;
  min-height: 174px;
}

/* ========================================
NEWS（header.phpに記載 / CSSのみ）
======================================== */
.news{
  background-image: url(http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/03/infoback.svg);
  background-size: 100%;
  padding: 6rem 0rem;
  background-repeat: no-repeat;
}

.newsmob{
  background-image: url(http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/top_m_info_bc.svg);
  background-size: 100%;
  padding: 3rem 0rem;
  background-repeat: no-repeat;
}
.newsmobwrap{
  padding:0 1em;
}

.news__inner{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.btn-wrap{
  text-align:center;
}

.news__innermob{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  margin-bottom:1.5em;
}

.news__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5rem;
}

.news__ttl{
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 600;
  color: #222;
}

/* WP_Query ループで生成される各要素 */
.news__list{
  border-top: none;
  background:#ffffff;
}

.news__item{
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .375rem .75rem;
  padding: 1rem 16px;
  border-bottom: 1px solid #E1EAEC;
  transition: background .2s;
}

.news__item:hover{
  background: #f0f8fc;
  padding-left: .5rem;
}

.news__item:nth-child(3){
  border-bottom:none;
}

.news__date{
  font-size: .875rem;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 5.5em;
}

.newsmob .news__date{
  font-size: .5rem;
}

.news__cat{
  display: inline-flex;
  align-items: center;
  background: #4aa3d0;
  background-image: linear-gradient(90deg, rgba(10, 84, 141, 1), rgba(1, 160, 233, 1));
  color: #fff;
  font-size: .6875rem;
  font-weight: 600;
  padding: 0px 16px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .06em;
  flex-shrink: 0;
}

.newsmob .news__cat{
  font-size: .5rem;
  padding: 0px 8px;
}

.news__link{
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  color: #333;
  transition: color .2s;
  word-break: break-all;
}
.news__link:hover{
  color: var(--clr-primary, #2196c4);
}

.newsmob .news__link{
  font-size: 0.9rem;
}

.newsmob .abt__btn{
  padding: 8px 16px;
}

/* WordPressページネーション */
.wp-pagenavi, .navigation.pagination{
  display: flex;
  justify-content: center;
  gap: .375rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.wp-pagenavi a, .wp-pagenavi span, .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .5rem;
  border: 1px solid #d6eaf3;
  border-radius: 4px;
  font-size: .875rem;
  color: #333;
  transition: .2s;
}
.wp-pagenavi a:hover, .page-numbers:hover, .wp-pagenavi span.current, .page-numbers.current{
  background: var(--clr-primary, #2196c4);
  color: #fff;
  border-color: var(--clr-primary, #2196c4);
}

/* ========================================
CONTACT
======================================== */
.contact{
  background-image: url("http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/03/contactback.svg");
  color: #fff;
  text-align: center;
  background-size: 100%;
  padding: 6rem 0rem;
  background-repeat: no-repeat;
}
.contactmobwrap{
  padding:0 1em;
}
.contactmob{
  background-image: url("http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/top_m_cont_bc.svg");
  color: #fff;
  text-align: center;
  background-size: 100%;
  padding: 3.5rem 0rem;
  background-repeat: no-repeat;
}

.contact .wrap{
  position: relative;
  z-index: 1;
}

.contact__ttl{
  font-size: clamp(1.375rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: .75rem;
}

.contact__txt{
  font-size: 1rem;
  opacity: .92;
  margin-bottom: 1.75rem;
}

/* ========================================
FOOTER
======================================== */

.footer{
  position: relative;
  overflow: hidden;

}

.footer-main{
  background-image:
  url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/top_m_ft_bc.svg');
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 0em;
}

.f-flex{
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 3rem 24px 0rem;
  max-width: 1120px;
  margin: 0 auto;
  justify-content: space-between;
}

.site-info{
  border-top:1px solid #E1EAEC;
  padding-top:1em;
  max-width: 1120px;
  margin: 1em auto;
}

.footer-copy>:first-child{
  margin-top: 0;
  text-align: center;
}

ul.f-menu li{
  line-height:2;
}

.f-nav{
  width:100%;
  display: flex;
  gap: 3em;
}

.ftr__brand{
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.ftr__logo{
  display: inline-block;
}
.ftr__logo-img{
  height: 40px;
  width: auto;
}

.ftr__addr{
  font-size: .8125rem;
  color: #666;
  line-height: 1.9;
}

/* フッターナビ（WordPressが生成） */
.ftr__nav{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ftr__nav-col{
  flex: 1;
}

/* ul.ftr__nav-list（WordPressが生成） */
.ftr__nav-list{
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ftr__nav-list li{
  display: flex;
  align-items: baseline;
  gap: .375rem;
}
.ftr__nav-list li::before{
  content: '●';
  font-size: .45em;
  color: var(--clr-primary, #2196c4);
  flex-shrink: 0;
  line-height: 2;
}
.ftr__nav-list li a{
  font-size: .875rem;
  color: #444;
  transition: color .2s;
}
.ftr__nav-list li a:hover{
  color: var(--clr-primary, #2196c4);
}

/* コピーライトバー */
.ftr__copy{
  background: var(--clr-primary, #2196c4);
  color: #fff;
  padding: .875rem 0;
}
.ftr__copy-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .75rem;
}
.ftr__privacy{
  opacity: .8;
  transition: opacity .2s;
}
.ftr__privacy:hover{
  opacity: 1;
}

/* FOOTER */
.f-logo{
  margin-bottom:1em;
  text-align: center;
}

.f-ad{
  margin-bottom:1em;
  text-align:center;
}
ul.footflex{
  display:flex;
  font-size:0.9em;
  gap:16px;
  line-height: 1.8;
  flex-direction: column;
}

/* ========================================
ページトップボタン
======================================== */
.pagetop{
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--clr-primary, #2196c4);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(33,150,196,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  cursor: pointer;
}
.pagetop.is-show{
  opacity: 1;
  pointer-events: auto;
}
.pagetop:hover{
  transform: translateY(-4px);
}

/* ========================================
スクロールフェードイン
======================================== */
.js-fade{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-fade.is-visible{
  opacity: 1;
  transform: none;
}

.contactwrap{
  border-radius: 0.5em;
  padding: 2em;
  max-width: 960px;
  text-align: center;
  margin:40px auto;
  background: #eaeaea;
}

table.contactt{
  border-collapse: collapse;
  border-spacing: 0;
  max-width: 840px;
  margin: 0 auto;
  border-top:none;
}

.contactt th{
  text-align:left;
  font-size:1em;
  color:#444;
  padding: 8px;
  width:30%;
}

table.contactt th{
  text-align:center;
  margin-top: 1em;
}
table.contactt th.confirst{
  margin-top: 0em;
}

/*通常欄*/
.contactt td{
  font-size:1em;
}
.contactt td.koumoku{
  font-size:1em;
}

.contactt th p, .contactt td p{
  margin:0 auto 0.5em;
}

.contactt th p span{
  font-weight: 600;
  font-size: 1.1em;
}

.contactt input, .contactt textarea{
  border:none;
}

.spamtxt1{
  color:#000000;
}
.spamtxt1 a{
  color:#0074be;
  text-decoration: underline;
}

.priatt{
  margin-top:1em;
}

/*横の行とテーブル全体*/
.entry-content .contactt tr, .entry-content table{
  /*border:solid 1px #d7d7d7;
  */
  border:none;
}

/*送信ボタンのデザイン変更*/
#formbtn{
  background: #1c339c;
  border-radius: 3px;
  padding: 12px 16px;
  max-width:350px;
  border:2px solid #1c339c;
  color:#ffffff;
  font-size:16px;
  font-weight:bold;
  margin:24px auto 0;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
  background:#ffffff;
  color:#1c339c;
  border:2px solid #1c339c;
}

input[type=email], input[type=search], input[type=text], input[type=url], input[type=tel], select, textarea{
  display: block;
  width: 100%;
  -webkit-appearance: none;
}

table.contactt th{
  background:none;
}

table.contactt th, table.contactt td{
  display:block;
  width:100%;
  border-top:none;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  padding: 0 0 4px;
}

div.wpcf7 .ajax-loader{
  display:none;
}

.wpcf7-spinner{
  width:0;
  margin:0;
}

.wpcf7-list-item{
  display: inline-block;
  margin: 0 4px 0 0;
}

/*実績*/

.works-section{
  padding: 80px 1em 0;
}

.workstable th{
  font-weight: 600;
  border-top: 0.1rem solid rgb(3, 65, 169);
  background:none;
  color:#0a2f8d;
  text-align:center;
  background-color: rgba(200, 200, 200, 0.3);
}
.workstable th.ttop{
  background:#0a2f8d;
  color:#ffffff;
  border-top:none;
}
.workstable th.year{
  width:1rem;
}
.workstable th.first{
  border-top: none;
}

.workstable th.last{
  border-bottom: 0.1rem solid rgb(3, 65, 169);
}

.workstable td{
  text-align:justify;
  border-top:1px solid #ffffff;
  background-color: rgba(200, 200, 200, 0.2);
  padding: 0.5em 0.75em;
}
.workstable td.first{
  border: none;
}

.workstable td.last{
}

/* 会社概要 */

.president{
  background-color:#ffffff;
  padding: 40px 1em;
  margin-top:0;
}
.pre-text p.piece.top{
  padding-bottom:0.5em;
  text-align:center;
}
.pre-name{
  display: flex;
  flex-direction: column;
  text-align: right;
  margin-top: 2em;
}

.company-overview{
  background-image: radial-gradient(rgba(196, 229, 249, 1), rgba(255, 255, 255, 1));
  padding: 40px 1em;

}

.company-overview h2, .company-history h2, .president h2, .works-section h2,.policy-section h2,.service_p-section h2{
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color:#666666;
  line-height: 1;
  font-family: "Oswald", sans-serif;

}

.company-overview .subtitle, .group-companies .subtitle, .company-history .subtitle, .licenses-section .subtitle, .president .subtitle, .works-section .subtitle,.policy-section .subtitle,.service_p-section .subtitle{
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 1.5em;
  color:#666666;
  margin-top: 0.25em;
  font-weight: 600;

}

.overview-table{
  max-width: 880px;
  margin: 0 auto;
  clip-path: inset(0 round rem(20));
  border-top: none;
  border-collapse: separate;

}

.overview-table tbody{
  clip-path: inset(0 round 1.3125rem);
}

.overview-table th{
  background-color: #2b9be4;
  color: #ffffff;
  border: 0;
  border-top: 1px solid #D3D3D3;
  font-size: 1rem;
}
.overview-table td{
  background-color: #ffffff;
  border: 0;
  border-bottom: 1px solid #D3D3D3;
  border-left: 1px solid #D3D3D3;
}

.company-history{
  background-color: #ffffff;
  padding: 40px 1em;

}

.event-month{
  width: 40px;
  flex-shrink: 0;
  font-weight: bold;

}

.event-description{
  flex: 1;

}

ul.history_logo{
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
  gap: 6rem;
}

.history_logo_main{
  margin:1em auto;
}

.lps_parts--history .timeline{
  position: relative;
  width: 100%;
  margin: 0 auto 3em;
  list-style-type: none;

}
.lps_parts--history .timeline::before{
  position: absolute;
  left: 50%;
  top: 32px;
  content: '';
  display: block;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: #999999;
  z-index: 2;

}
.lps_parts--history .timeline li{
  padding: 6px 0;
  overflow: hidden;

}

/*
.lps_parts--history .timeline li:nth-child(odd) .timeline-item{
  position: relative;
  width: calc(50% - 44px);
  float: right;

}
.lps_parts--history .timeline li:nth-child(odd) .timeline-item .year::before{
  position: absolute;
  top: 25px;
  left: -52px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  padding: 2px;
  background-color: #1c339c;
  border-radius: 12px;
  z-index: 3;

}
.lps_parts--history .timeline li:nth-child(even) .timeline-item{
  position: relative;
  width: calc(50% - 44px);
  float: left;
  text-align: right;

}
.lps_parts--history .timeline li:nth-child(even) .timeline-item .year::before{
  position: absolute;
  top: 25px;
  right: -52px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  padding: 2px;
  background-color: #1c339c;
  border-radius: 12px;
  z-index: 3;

}
*/

.lps_parts--history .timeline li.marucho .timeline-item{
  position: relative;
  width: calc(50% - 44px);
  float: left;
  text-align: right;

}

.lps_parts--history .timeline li.marucho .timeline-item .year::before{
  position: absolute;
  top: 25px;
  right: -52px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  padding: 2px;
  background-color: #1c339c;
  border-radius: 12px;
  z-index: 3;

}
.lps_parts--history .timeline li.kamata .timeline-item{
  position: relative;
  width: calc(50% - 44px);
  float: right;

}
.lps_parts--history .timeline li.kamata .timeline-item .year::before{
  position: absolute;
  top: 25px;
  left: -52px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  padding: 2px;
  background-color: #01a0e9;
  border-radius: 12px;
  z-index: 3;

}

.timeline-item.end{
  text-align:center;

}

.lps_parts--history .year{
  font-size: 3rem;
  color: #01a0e9;
  font-family: "Oswald", sans-serif;
  line-height: 1;

}

.lps_parts--history .year.maru{
  color: #1c339c;

}

.lps_parts--history .year.end{
  display: inline-block;
  background: -webkit-linear-gradient(0deg, #1c339c,#01a0e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.theme-yellow .lps_parts--history .year{
  color: #f6e899;

}
.lps_parts--history .month{
  font-size: .5em;

}
.lps_parts--history .history-txt{
  line-height: 2;

}
@media screen and (max-width: 767px) {
  .lps_parts--history .year{
    font-size: 2rem;

  }
  .lps_parts--history .history-txt{
    font-size: .938rem;
    line-height: 1.8;

  }

}

/*事業内容*/
.service_p-section{
  padding:40px 1em;
}
.service-wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em 1em;
  margin-top: 1em;
  margin-bottom: 2em;
  text-align: justify;
}
.sw_in{
  width:100%;
  background: rgba(255,255,255,0.5);
  padding: 1em;
  border-radius: 8px;
}
.sw_in img{
  width:100%;
  border-radius:8px 8px 0 0;
}
.sw_in h3{
  margin: 0.75em 0 0.5em;
  font-size: 1.25em;
  border-bottom: 1px dotted #666666;
  padding-bottom: 0.5em;
  text-align: center;
  color: #1c339c;
}
.sw_in h3.setsubi{
  color: #01a0e9;
}

h4.h4att{
  text-align: justify;
  font-size: 1.1em;
  color: #666666;
}

h3.s_p_ctitle{
 text-align: left;
    margin: 1em auto 0em;
    color: #1c339c;
    border-left: solid 5px #1c339c;
    padding: 8px 16px;
    font-size: 1.5em;
}

h3.s_p_ctitle.second{
  margin-top: 80px;
	border-left: solid 5px #01a0e9;
  color:#01a0e9;
	padding: 8px 16px;
	
}

/*サスティナビリティ*/

h3.sustitle{
  text-align: center;
  margin: 0em auto 1em;
  color: #1c339c;
  font-size: 1.75em;
}

.policy-section{
  padding:40px 1em;
}
.policy{
  margin:40px auto;
}
.policy h3{
  color:#1c339c;
  padding-bottom: 8px;
  position: relative;
  border-bottom: 3px solid #01a0e9;
  margin-top: 1.5em;
  z-index: 0;
}

.policy h3::before{
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  background: #1c339c;
  width: 50px;
  height: 3px;
  display: block;
  z-index: 1;
}
.mod-text{
  padding-top: 8px;
  margin-bottom: 64px;
}

.mod-text.last{
  padding-top: 8px;
  margin-bottom: 0;
}

/* --- recruit --- */
.r_hero{
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;

}
.r_hero-bg{
  position: absolute;
  inset: 0;
  background-image: url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/05/receye.webp');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.22;

}
.r_hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,84,149,0.88) 50%, rgba(30,60,100,0.4) 100%);

}
.r_hero-accent{
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to bottom left, rgba(232,101,10,0.12), transparent 60%);

}
.r_hero-content{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px 20px 96px;

}
.r_hero-badge{
  display: inline-block;
  background: #e8650a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;

}
.r_hero-title{
  font-weight: 800;
  font-size: 28px;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;

}
.r_hero-title em{
  font-style: normal;
  color: #f47c2a;

}
.r_hero-sub{
  font-size: 16px;
  color: rgba(255,255,255,1);
  line-height: 1.8;
  margin: 2em 0;

}
.r_hero-cta-group{
  display: flex;
  flex-direction: column;
  gap: 12px;

}
.r_btn-primary{
  display: block;
  text-align: center;
  background: #e8650a;
  color: #ffffff;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.05em;

}
.r_btn-primary:hover{
  background: #f47c2a;
  transform: translateY(-2px);
}
.r_btn-outline{
  display: block;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.55);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;

}
.r_btn-outline:hover{
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
}
.r_hero-scroll{
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.12em;

}
.r_hero-scroll-line{
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-drop 1.8s ease infinite;

}

@keyframes scroll-drop {
  0%   {
    transform: scaleY(0);
    transform-origin: top;
  }
  50%  {
    transform: scaleY(1);
    transform-origin: top;
  }
  51%  {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

}
/* --- SECTION BASE --- */
section.r_inner{
  padding: 56px 20px;
}
.r_section-label{
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #e8650a;
  text-transform: uppercase;
  margin-bottom: 10px;

}
.r_section-title{
  font-weight: 900;
  font-size: 22px;
  color: #075495;
  line-height: 1.35;
  margin-bottom: 14px;

}
.r_section-lead{
  color: #666666;
  font-size: 16px;
  line-height: 1.8;

}
.divider{
  width: 36px;
  height: 3px;
  background: #e8650a;
  border-radius: 2px;
  margin: 16px 0 32px;

}
/* --- ABOUT --- */
.r_about{
}
.r_about-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;

}
.r_about-img-wrap{
  border-radius: 12px;
  overflow: hidden;
  min-height: 220px;

}
.r_about-img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}
.r_about-text-block{
  display: flex;
  flex-direction: column;
  gap: 16px;

}
.r_about-card{
  background: #f8f5f0;
  border-radius: 12px;
  padding: 20px;
  position: relative;

}
.r_about-card h3{
  font-weight: 800;
  font-size: 14px;
  color: #1a2e4a;
  margin-bottom: 8px;

}
.r_about-card h3 span{
  font-size: 12px;
  display: inline-block;
  color: #ffffff;
  background: #1a2e4a;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;

}
.r_about-card p{
  font-size: 16px;
  color: #666666;
  line-height: 1.8;

}
.pointimg{
  position: absolute;
  right: 0;
  top: -100px;
}
.r_about-merge-banner{
  margin-top: 32px;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  text-align: center;

}
.merge-company .r_name{
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;

}
.merge-company .desc{
  font-size: 16px;
  color: #000000;
  line-height: 1.5;

}
.merge-arrow{
  font-size: 32px;
  color: #e8650a;
  font-weight: 800;
  transform: rotate(90deg);
  display: block;

}
.merge-result{
  background: #e8650a;
  border-radius: 6px;
  padding: 18px 16px;

}
.merge-result .year{
  font-size: 16px;
  color: rgba(255,255,255,1);
  margin-bottom: 0px;
  display: block;
	    margin-top: 0.5em;
}
.merge-result .r_name{
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
}
/* --- JOBS --- */
.jobs{
  background: #f8f5f0;
}
.jobs-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;

}
.job-card{
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;

}
.job-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.job-card-img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;

}
.job-card-body{
  padding: 20px;
}
.job-tag{
  display: inline-block;
  font-size: 14px;
  font-weight:800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;

}
.job-tag.civil{
  background: #1c339c;
  color: #ffffff;
}
.job-tag.equip{
  background: #01a0e9;
  color: #ffffff;
}
.job-card-title{
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 0px 0;
  border-radius: 4px;
  margin-bottom: 12px;

}
.job-card-lead{
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  margin: 16px 0;

}
.job-list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-list li{
  font-size: 14px;
  color: #666666;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;

}
.job-list li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: #e8650a;
  border-radius: 1px;

}
/* --- MERITS --- */

.r_merits-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 16px;
  margin-top: 32px;

}
.r_merit-card{
  background: #f8f5f0;
  border-radius: 12px;
  padding: 24px 20px;
  transition: transform 0.2s;
  position:relative;

}
.r_merit-card:hover{
  transform: translateY(-3px);
}
.r_merit-img{
  position: absolute;
  top: -60px;
  right: 0px;
  max-width: 120px;
}
.r_merit-num{
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: #e8650a;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  display: block;

}
.entry-content h3.r_merit-title{
  font-weight: 800;
  font-size: 20px;
  color: #1a2e4a;
  margin-bottom: 8px;
  line-height: 1.4;

}
.r_merit-desc{
  font-size: 16px;
  color: #666666;
  line-height: 1.8;

}
/* --- FAQ --- */
.r_faq{
  background:#111111;
  opacity:0.8;
  position:relative;
  overflow: hidden;
  z-index: 1;
}

.r_faq::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/05/recqa.webp);
  background-size: cover;
  background-position: center;
  z-index:0;
  opacity: 0.3;
}
.r_faq .r_section-title{
  color: #ffffff;
}
.r_faq .r_section-lead{
  color: rgba(255,255,255,1);
}
.r_faq-list{
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 32px;

}
.r_faq-item{
  background: rgba(1,160,233,0.5);
  border-radius: 6px;
  overflow: hidden;

}
.r_faq-q{
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background 0.15s;

}
.r_faq-q:hover{
  background: rgba(255,255,255,0.05);
}
.r_faq-q-mark{
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8650a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  padding-bottom: 2px;

}
.r_faq-q-text{
  flex: 1;
}
.r_faq-arrow{
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
  opacity: 0.6;

}
.r_faq-item.open .r_faq-arrow{
  transform: rotate(180deg);
}
.r_faq-a{
  display: none;
  padding: 0 16px 18px 54px;
  color: rgba(255,255,255,1);
  font-weight:400;
  line-height: 1.9;

}
.r_faq-item.open .r_faq-a{
  display: block;
}
/* --- VOICES --- */
.voices{
  background: #f8f5f0;
}
.voices-tabs{
  display: flex;
  gap: 8px;
  margin: 28px 0 24px;
  flex-wrap: wrap;

}
.r_tab-btn{
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  border: 2px solid #1a2e4a;
  background: #ffffff;
  color: #1a2e4a;
  transition: all 0.2s;

}
.r_tab-btn.active{
  background: #1a2e4a;
  color: #ffffff;
}
.voices-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;

}
.voice-card{
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;

}
.voice-dept{
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px 0;
  border-radius: 4px;
  margin-bottom: 12px;

}
.voice-dept.civil{
  background: #1c339c;
  color: #ffffff;
}
.voice-dept.equip{
  background: #01a0e9;
  color: #ffffff;
}
.voice-text{
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 16px;

}
.voice-meta{
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #d0d0d0;
  padding-top: 14px;

}
.voice-avatar{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1c339c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;

}
.voice-avatar.orange{
  background: #01a0e9;
}
.voice-info .role{
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
  color: #1a2e4a;
}
.voice-info .years{
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}
/* モバイルでは dl/dt/dd レイアウト風に table を崩す */
.r_recruit-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 14px;

}
.r_recruit-table tr{
  border-bottom: 1px solid #d0d0d0;
}
.r_recruit-table tr:first-child{
  border-top: 1px solid #d0d0d0;
}
.r_recruit-table th, .r_recruit-table td{
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: left;
  vertical-align: top;

}
.r_recruit-table th{
  background: #f8f5f0;
  color: #e8650a;
  font-weight: 700;
  padding: 0.5em 1em;
  white-space: nowrap;

}
.r_recruit-table td{
  color: #666666;
  line-height: 1.8;
  padding: 0.5em 1em;
  background: #ffffff;

}
/* --- CTA --- */
.r_cta{
  background: linear-gradient(135deg, rgba(7,84,149,0.88) 50%, rgba(30,60,100,1) 100%);
  text-align: center;
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;

}
.r_cta::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/05/toform.webp);
  background-size: cover;
  background-position: center 40%;
  opacity: 0.1;
  z-index: 0;

}
.r_cta-inner{
  position: relative;
  z-index: 1;
}
.r_cta h2{
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: "Noto Sans JP", sans-serif;

}
.r_cta h2 em{
  font-style: normal;
  color: #f47c2a;
}
.r_cta p{
  color: rgba(255,255,255,1);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.8;

}
.r_cta-btns{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

}
.r_btn-cta-main{
  display: block;
  width: 100%;
  max-width: 360px;
  background: #e8650a;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.04em;

}
.r_btn-cta-main:hover{
  background: #f47c2a;
  transform:translateY(-4px) scale(1.02);
}
.r_btn-cta-sub{
  display: block;
  width: 100%;
  max-width: 360px;
  border: 2px solid rgba(255,255,255,0.4);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;

}
.r_btn-cta-sub:hover{
  border-color: #ffffff;
  background: rgba(255,255,255,0.07);
}
/* --- ANIMATION --- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;

}
.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1{
  transition-delay: 0.1s;
}
.reveal-delay-2{
  transition-delay: 0.2s;
}
.reveal-delay-3{
  transition-delay: 0.3s;
}

/* ========================================
MEDIA QUERIES
======================================== */

/* ----------------------------------------
Tablet: 768px〜1023px
---------------------------------------- */
@media (min-width: 768px){

  .ponly{
    display:block;
  }
  .monly{
    display:none;
  }
  .global-nav__container ul{
    margin: 0;
    background: #ffffff;
    border-radius: 32px;
    padding: 8px 6px 8px 32px;
  }
  .entry-content .hero{
    margin: 16px;
  }
  .toprec{
    background: #1c339c;
    padding: 0px 32px;
    border-radius: 32px;
    color: #ffffff;
    min-width: 160px;
  }

  .topcontact{
    background: #01A0E9;
    padding: 0px 32px;
    border-radius: 32px;
    color: #ffffff;
    margin-left: 8px!important;
    min-width: 160px;
  }
  .toprec a, .topcontact a{
    color: #ffffff;
  }
  .header-type--row1 .global-nav{
    align-items: center;
    margin-left: auto;
    margin-right: 2.5%;
    margin-top:8px;
  }
  .header-type--row1 .site-branding{
    padding: 32px;
    background: #ffffff;
    padding:32px;
    border-radius: 0 1em 1em 0;
  }

  .sec{
    padding: 5rem 0;
  }
  .wrap{
    padding: 0 2rem;
  }

  .hdr__inner{
    height: 72px;
    padding: 0 2rem;
  }
  .hdr__logo-img{
    height: 42px;
  }
  .hero__catch{
    bottom: 2rem;
    right: 2rem;
    font-size: clamp(2.25rem, 3vw, 2.75rem);

  }

  .abt{
    padding: 64px 0px;
    background-image:
    url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/03/t_about_top.webp'),
    linear-gradient(135deg, #e8f4fd 0%, #c8e6f5 40%, #d6eef8 100%);
    margin-top: 6rem;

  }
  .abt__inner{
    flex-direction: row;
    align-items: center;
    gap: 48px;
    margin-right: 0;

  }
  .abt__body{
    flex: 1 1 50%;

  }
  .abt__img-wrap{
    flex: 1 1 45%;
    aspect-ratio: 4 / 3;
    border-radius: 0;

  }
  .abt__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin-left: 0;
    border-radius: 32px 0 0 0;
  }
  .news__inner{
    flex-direction: row;
  }
  .news__head{
    flex-direction: column;
  }
  .twork-text{
    text-align:center;
  }
  .work-card img{
    max-width: 400px;
  }
  .f-nav{
    width:45%;
    display: flex;
    gap: 3em;
	      color: #075495;
  }
  .btn-wrap{
    text-align:left;
  }
  /* NEWS */
  .news__item{
    flex-wrap: nowrap;
    align-items: center;
  }

  /*お問い合わせ*/
  .contactt th p span{
    font-weight: 600;
    font-size: 1em;
  }
  .fnaviwrap{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    flex-direction:row;
  }
  .fnr{
    display:block;
  }
  .footer-main{
    background-image:
    url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/03/top_fback.webp');
    background-size: 100%;
    background-repeat: no-repeat;
    padding-top: 4em;
  }
  .f-flex{
    flex-direction: row;
    padding: 3rem 0px 0rem;
    max-width: 1120px;
  }
  .f-logo{
    margin-bottom:1em;
    text-align: left;
  }
  .footer-copy>:first-child{
    text-align: left;
  }
  .f-ad{
    text-align:left;
  }
  /*topwork*/
  .wrk{
    padding: 64px 0px;
    background-image:
    url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/work_back.webp'),
    linear-gradient(135deg, #e8f4fd 0%, #c8e6f5 40%, #d6eef8 100%);
    margin-top: 6rem;

  }
  .wrk__inner{
    flex-direction: column;
    align-items: center;

  }

  .rec{
    padding: 64px 0px;
    background-image:
    url('http://test-marucho-kamata.mathgraphics.space/wp-content/uploads/2026/04/recruit_back.webp'),
    linear-gradient(135deg, #e8f4fd 0%, #c8e6f5 40%, #d6eef8 100%);
    margin-top: 0rem;

  }
  .rec__inner{
    flex-direction: row;
    align-items: center;
    gap: 48px;
    margin-right: 0;

  }
  .rec__body{
    flex: 1 1 50%;

  }
  .rec__img-wrap{
    flex: 1 1 45%;
    aspect-ratio: 4 / 3;
    border-radius: 0;

  }
  .rec__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin-left: 0;
    border-radius: 32px 0 0 0;
  }
  /*個別ページ	*/
  .secinner{
    width: 100%;
    max-width: 960px;
    margin: 0px auto;
    padding: 0;
  }
  h3.sustitle{
    text-align: center;
    margin: 2em auto 1em;
    color: #1c339c;
    font-size: 2em;
  }
  .workstable th.year{
    width:10rem;
  }
  /* 会社概要セクション */

  .president{
    padding: 80px 1em;
  }
  .company-overview{
    padding: 80px 1em;

  }
  .company-history{
    padding: 80px 1em;
  }
  .company-history{
    background-color: #ffffff;
    padding: 80px 1em;
  }
  /*事業内容*/
  .service_p-section{
    padding:80px 0;
  }
  .sw_in{
    width:48%;
  }
  .r-job-item.is-reverse{
    flex-direction: row-reverse;
  }
  .r-point-item.is-reverse{
    flex-direction: row-reverse;
  }
  section.r_inner{
    padding: 72px 32px;
  }
  /* Hero */
  .r_hero-content{
    padding: 80px 32px 100px;
    max-width: 720px;
    margin: 0 auto;
  }
  .r_hero-title{
    font-size: 36px;
  }
  .r_hero-sub{
    font-size: 15px;
  }
  .r_hero-cta-group{
    flex-direction: row;
  }
  .r_btn-primary, .r_btn-outline{
    display: inline-block;
    width: auto;
  }
  /* Section base */
  .r_section-title{
    font-size: 28px;
  }
  .divider{
    margin: 18px 0 40px;
  }
  /* About */
  .r_about-grid{
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 40px;

  }
  .r_about-img-wrap{
    min-height: 260px;
  }
  .r_about-merge-banner{
    grid-template-columns: 1fr auto 1fr auto 1fr;
    padding: 28px 32px;
    text-align: left;

  }
  .merge-arrow{
    transform: none;
    font-size: 26px;
  }
  /* Jobs */
  .jobs-grid{
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;

  }
  .job-card-img{
    height: 190px;
  }
  .job-card-body{
    padding: 24px;
  }
  /* Merits */
  .r_merits-grid{
    grid-template-columns: 1fr 1fr;
    gap: 72px 16px;
    margin-top: 40px;

  }
  .r_merit-img{
    position: absolute;
    top: -60px;
    right: 10px;
    max-width: 140px;
  }
  /* FAQ */
  .r_faq-list{
    margin-top: 40px;
  }
  .r_faq-q{
    padding: 20px 24px;
    font-size: 16px;
    gap: 14px;
  }
  .r_faq-a{
    padding: 16px 24px 20px 64px;
    font-size: 16px;
  }
  /* Voices */
  .voices-grid{
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  /* Recruit — テーブルを横並びに戻す */
  .r_recruit-table{
    font-size: 16px;
    margin-top: 40px;
  }
  .r_recruit-table th, .r_recruit-table td{
    display: table-cell;
    padding: 16px 20px;
  }
  .r_recruit-table th{
    background: #f8f5f0;
    color: #1a2e4a;
    width: 160px;
    white-space: nowrap;
    padding-top: 16px;
    padding-bottom: 16px;

  }
  .r_recruit-table td{
    padding-top: 16px;
    padding-bottom: 16px;
  }
  /* CTA */
  .r_cta{
    padding: 88px 32px;
  }
  .r_cta h2{
    font-size: 30px;
  }
  .r_cta-btns{
    flex-direction: row;
    justify-content: center;
  }
  .r_btn-cta-main, .r_btn-cta-sub{
    display: inline-block;
    width: auto;
    max-width: none;
  }
	
	.job-card-title {
    font-size: 20px;
    padding: 0px 0px 0 4px;
}
	
}

/* ----------------------------------------
Small PC: 1024px〜1279px
---------------------------------------- */
@media (min-width: 1024px){

  .sec {
    padding: 6rem 0;
  }
  .wrap{
    padding: 0 2.5rem;
  }

  /* HEADER：ロゴ左・ナビ中央・CTA右 */
  .hdr__inner{
    height: 80px;
    padding: 0 2.5rem;
  }
  .hdr__burger{
    display: none;
  }

  .gnav{
    position: static;
    flex: 1;                /* ←中央に伸ばす */
    display: flex;
    justify-content: center;/* ←ナビを中央揃え */
    align-items: center;
    gap: 0;
    width: auto;
    height: auto;
    max-width: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    overflow: visible;
    transition: none;

  }

  .gnav__list{
    flex-direction: row;
  }
  .gnav__list > li > a{
    padding: .5rem .75rem;
    border-bottom: none;
    font-size: .875rem;
    position: relative;
    white-space: nowrap;

  }
  .gnav__list > li > a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: .75rem;
    right: .75rem;
    height: 2px;
    background: var(--clr-primary, #2196c4);
    transform: scaleX(0);
    transition: transform .25s ease;
    border-radius: 1px;

  }
  .gnav__list > li > a:hover::after, .gnav__list .current-menu-item > a::after{
    transform: scaleX(1);
  }

  .gnav__overlay{
    display: none !important;
  }

  .hdr__cta{
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
  }

  /* HERO */
  .hero{
    margin-top: 0px;
  }

  /* ABOUT */
  /* 小型PC 1024px〜 */
  @media (min-width: 1024px){
    .abt {
      padding: 80px 60px;

    }
    .abt__inner{
      gap: 64px;

    }
    .abt__img-wrap{
      aspect-ratio: 4 / 3;
      border-radius: 8em 0 0 0;

    }
    .abt__ttl,.topmtitle,.rec__ttl{
      font-size: 28px;

    }
	  
	  
    /* NEWS：左右2カラム */
    .news__inner{
      flex-direction: row;
      align-items: flex-start;
      gap: 3rem;
    }
    .news__head{
      flex-direction: column;
      align-items: flex-start;
      flex: 0 0 160px;

    }
    .news__list{
      flex: 1;
    }

    /* FOOTER */
    .ftr__inner{
      padding: 4rem 2.5rem 3.5rem;
    }
    .ftr__copy-inner{
      padding: 0 2.5rem;
    }

    .works-section{
      text-align:center;
      margin-bottom:120px;

    }

    .works-section .section-text{
      max-width:760px;
      margin:0 auto 40px;

    }

    .works-section .label{
      margin-bottom:20px;

    }
    section.r_inner{
      padding: 88px 40px;
    }
    /* Hero */
    .r_hero-content{
      max-width: 960px;
      padding: 100px 40px 120px;
    }
    .r_hero-title{
      font-size: 48px;
    }
    .r_hero-sub{
      font-size: 16px;
      max-width: 500px;
    }
    .r_hero-scroll-line{
      height: 40px;
    }
    /* About */
    .r_about-grid{
      gap: 36px;
      margin-top: 52px;
    }
    .r_about-img-wrap{
      min-height: 300px;
    }
    .r_about-merge-banner{
      padding: 32px 40px;
      gap: 20px;
    }
    /* CTA */
    .r_cta{
      padding: 100px 40px;
    }
    .r_cta h2{
      font-size: 34px;
    }

  }

  /* ----------------------------------------
  Large PC: 1280px〜
  ---------------------------------------- */
  @media (min-width: 1280px){

    .sec {
      padding: 6rem 1rem 0;
    }
    .wrap{
      padding: 0 3rem;
    }

    .hdr__inner{
      height: 90px;
      max-width: 1600px;
      padding: 0 3rem;
    }
    .hdr__logo-img{
      height: 48px;
    }

    .gnav__list > li > a{
      font-size: 1rem;
      padding: .5rem 1rem;
    }
    .gnav__list > li > a::after{
      left: 1rem;
      right: 1rem;
    }

    /* ABOUT */
    .abt{
      padding: 100px 0px;

    }
    .abt__inner{
      gap: 40px;
      max-width: 1120px;

    }
    .abt__body{
      flex: 0 0 55%;

    }
    .abt__img-wrap{
      flex: 0 0 44%;

    }
    .abt__ttl{
      font-size: 32px;

    }
    .abt__desc p{
      font-size: 16px;

    }
	  
	  .topmtitle{
      font-size: 32px;
    }
	  .rec__ttl{
      font-size: 32px;

    }
	  
	  

    /* NEWS */
    .news__head{
      flex: 0 0 200px;
    }

    /* FOOTER */
    .ftr__inner{
      max-width: 1200px;
      padding: 5rem 3rem 4rem;
      gap: 5rem;
    }
    .ftr__brand{
      flex: 0 0 260px;
    }
    .ftr__copy-inner{
      padding: 0 3rem;
      max-width: 1200px;
    }
    section.r_inner{
      padding: 100px 48px;
    }
    /* Hero */
    .r_hero-content{
      max-width: 1100px;
      padding: 120px 48px 140px;
    }
    .r_hero-title{
      font-size: 58px;
      line-height: 1.2;
      font-family: "Noto Sans JP", sans-serif;
    }
    .r_hero-sub{
      font-size: 16px;
      max-width: 560px;
      margin-top: 1.5em;
      margin-bottom: 40px;
    }
    /* Section base */
    .r_section-title{
      font-size: 34px;
      font-family: "Noto Sans JP", sans-serif;
    }
    /* About */
    .r_about-grid{
      grid-template-columns: 5fr 4fr;
      gap: 48px;
      margin-top: 56px;
    }
    .r_about-img-wrap{
      min-height: 340px;
    }
    .r_about-card{
      padding: 28px;
    }
    .r_about-card h3{
      font-size: 18px;
    }
    .r_about-merge-banner{
      margin-top: 56px;
      padding: 36px 48px;
      gap: 28px;
    }
    .merge-company .name{
      font-size: 18px;
    }
    /* Jobs */
    .jobs-grid{
      gap: 32px;
      margin-top: 56px;
    }
    .job-card-img{
      height: 220px;
    }
    .job-card-body{
      padding: 32px;
    }
    .job-card-title{
      font-size: 20px;
      font-family: "Noto Sans JP", sans-serif;
		vertical-align:middle;
    }
    /* Merits */
    .r_merits-grid{
      margin-top: 56px;
    }
    .r_merit-card{
      padding: 32px 24px;
    }
    .entry-content h3.r_merit-title{
      font-size: 20px;
      font-family: "Noto Sans JP", sans-serif;
    }
    /* FAQ */
    .r_faq-q{
      padding: 22px 28px;
    }
    .r_faq-a{
      padding: 24px 28px 22px 72px;
    }
    /* Voices */
    .voices-grid{
      gap: 24px;
    }
    .voice-card{
      padding: 32px 28px;
    }
    /* Recruit */
    .r_recruit-table th{
      width: 200px;
      padding: 18px 28px;
    }
    .r_recruit-table td{
      padding: 18px 28px;
    }
    /* CTA */
    .r_cta{
      padding: 112px 48px;
    }
    .r_cta h2{
      font-size: 38px;
    }
    .r_cta p{
      font-size: 15px;
      margin-bottom: 44px;
    }
    .r_btn-cta-main{
      font-size: 16px;
      padding: 18px 48px;
    }

  }
