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

body, h1, h2, h3, h4, h5, h6, p, address,
ul, ol, li, dl, dt, dd,
table, caption, th, td, img, form {
	-webkit-text-size-adjust: 100%;
}

textarea{
	font-size: 100%;
}

img {
	max-width: 100%;
	height: auto;
}

hr{
	display: none;
}

html{
	min-height: 620px;
	overflow-x: hidden;
}

iframe[name="google_conversion_frame"]{
	position: absolute; top: 0;
}

body{
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	width: 100%;
}

a{
	text-decoration: none;
	color: #000;
}

.pc_view{
	display: none !important;
}

.pc-only { display: none !important; }

.header {
    padding: 16px 6%;
}

.hero__inner, .philosophy__inner, .business__inner, .company__inner, .footer__contact-inner, .footer__bottom {
    padding-left: 6%;
    padding-right: 6%;
    box-sizing: border-box;
}

.header__logo-title img { width: 130px; }

.openbtn1 {
	display: flex;
	position: fixed;
	top: 20px;
	right: 4%;
	width: 50px;
	height: 50px;
	background: #1D3994;
	border-radius: 50%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 1000; 
	transition: all 0.3s;
}
.openbtn1 span {
	display: block;
	width: 20px;
	height: 2px;
	background: #ffffff;
	margin: 3px 0;
	transition: all 0.3s;
}
.openbtn1::after {
    content: "Menu";
    position: absolute;
    bottom: -20px;
    color: #1D3994;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-en), var(--font-ja);
}

.openbtn1.active { background: #ffffff; }
.openbtn1.active span { background: #1D3994; }
.openbtn1.active span:nth-child(1) { transform: translateY(8px) rotate(-45deg); }
.openbtn1.active span:nth-child(2) { opacity: 0; }
.openbtn1.active span:nth-child(3) { transform: translateY(-8px) rotate(45deg); }
.openbtn1.active::after { content: "Close"; color: #ffffff; }

#g-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; 
	background-color: #1D3994;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	overflow-y: auto; 
	-webkit-overflow-scrolling: touch;
}
#g-nav.panelactive {
	opacity: 1;
	visibility: visible;
}
.sp-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 6%;
    min-height: 100vh;
    height: auto;
    box-sizing: border-box;
    padding-bottom: 80px;
}
.sp-nav__header { margin-bottom: 40px; }

.sp-logo-wrap img { filter: brightness(0) invert(1); width: 130px; } 
.sp-logo-desc { color: #ffffff !important; }

.sp-nav__list {
    list-style: none;
    padding: 0;
    margin: 48px 0 40px 0;
}

.sp-nav__list li { border-bottom: 1px solid rgba(255,255,255,0.2); }
.sp-nav__list a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 8px;
    color: #ffffff;
}
.sp-nav__en { font-family: var(--font-en); font-size: 3.2rem; font-weight: 700; }

.sp-nav__ja {
    font-size: 1.4rem;
    font-weight: 700;
}

.sp-nav__btn-wrap {
    margin-bottom: 40px;
}

.sp-nav__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    box-sizing: border-box;
}

.sp-nav__privacy {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__inner, .business__header, .company__inner, .footer__contact-inner {
	flex-direction: column;
}

.business__header{
    gap: 0;
}

.hero__inner {
}

.hero {
    height: 88vh;
}

.hero__copy {
    line-height: 1.6;
}

.hero__image-wrapper {
    display: none;
}

.hero__inner {
    flex-direction: row;
    display: flex;
    width: 72%;
    background-image: url(../images/top/toppage_main_photo_sp.jpg);
    background-size: 76%;
    background-repeat: no-repeat;
    background-position: bottom right;
    padding: 0;
    height: 56vh;
    align-items: flex-start;
    min-height: 440px;
    margin-top: 40px;
}

.hero__content { 
	width: auto; 
	margin-bottom: 0; 
}

.hero__bg-triangle {
    width: 100vw;
    height: 150vh;
    left: 0;
    transform: none;
    background-position: 44% top;
}

.hero__copy { 
	writing-mode: vertical-rl; 
	height: auto;
	min-height: 350px; 
	margin: 0;
	text-align: left;
	letter-spacing: 0.05em; 
	font-family: 'Noto Sans JP', sans-serif;
}

.hero__image-wrapper {
    display: none;
}

.hero__scroll {
	display: flex; 
	left: 4%;
	bottom: 100px;
}

.hero__news-wrapper {
    position: absolute;
    left: 8%;
    right: 0;
    bottom: -80px;
    margin: 0;
    width: 92%;
    box-sizing: border-box;
    border-radius: 8px;
}

.hero__news {
    padding: 20px 4%;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.section-title {
    gap: 8px;
    margin-bottom: 40px;
}

.section-title__en {
    font-size: 5.6rem;
}

.philosophy {
    padding: 160px 0 120px;
}

.philosophy__text {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 24px;
}

.philosophy__desc {
    width: unset;
    margin-bottom: 24px;
}

.business__lead {
    font-size: 2rem;
    line-height: 1.6;
}

.business__header-right {
    margin: 24px auto 0;
}

.business__list { flex-wrap: wrap; gap: 20px 0; }

.business-item {
    width: 46%;
    margin: 0 -8%;
}

.business-item:nth-child(1) .business-item__shape,
.business-item:nth-child(3) .business-item__shape { transform: rotate(180deg); }

.business-item:nth-child(1) .business-item__content,
.business-item:nth-child(3) .business-item__content { transform: rotate(-180deg); padding-bottom: 72px; margin-top: -15px; padding-top: 0; }

.business-item:nth-child(2) .business-item__shape,
.business-item:nth-child(4) .business-item__shape,
.business-item:nth-child(5) .business-item__shape { transform: none; }

.business-item:nth-child(2) .business-item__content,
.business-item:nth-child(4) .business-item__content,
.business-item:nth-child(5) .business-item__content { transform: none; padding-bottom: 0; margin-top: 0; padding-top: 40px; }

.business-item:nth-child(4),
.business-item:nth-child(5) {
    margin: 0 2%;
    width: 46%;
}

.business-item__sub {
    font-size: 1rem;
}

.business-item__num {
    font-size: 3.2rem;
    margin: 4px 0;
}

.company {
    padding: 80px 0 120px;
}

.company__images {
    order: 2;
    width: 72% !important;
}

.footer__bottom { flex-direction: column; gap: 50px; }
.footer__info, .company__images, .company__content, .recruit__content { width: 100%; }

.footer__address-wrapper {
    flex-direction: column;
    gap: 40px;
}

.recruit__inner { 
	padding: 0; 
	flex-direction: column;
}
.recruit__content { padding: 60px 4% 0; box-sizing: border-box; }
.recruit__collage-wrap { 
	width: 100%; 
	height: 200px; 
	transform: none; 
	margin-right: 0; 
	opacity: 1; 
	margin-top: 40px;
}
.recruit__collage-inner { 
	display: flex; 
	flex-direction: row; 
	width: max-content;
	height: 100%; 
	animation: scrollLeft 40s linear infinite; 
}

.recruit__collage-inner img {
    width: 340px;
    height: 100%;
    object-fit: cover;
}

.footer__contact {
    padding: 0 6%;
}

.footer__contact .section-title {
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.footer__contact-right {
    margin-top: 32px;
}

.footer__contact-text {
    font-size: 1.6rem;
    line-height: 2.0;
}

.footer__contact-text br{
	display: none;
}

.footer__nav-wrapper { display: none; }

.footer__copy-wrap {
    position: unset;
}

.inner-block { padding: 0 4%; }

/* ----------------------------------------------
 * ABOUTページ
 * ---------------------------------------------- */
.about-page { padding-top: 100px; }

/* 共通ページヘッダーのスマホ調整 */
.page-header {
    padding: 60px 0;
}
.page-header__inner {
	flex-direction: column-reverse; 
	align-items: flex-start;
	gap: 20px;
}
.breadcrumb {
    padding-bottom: 0;
    display: none;
}
.page-title__en { font-size: 5.0rem; }

/* ABOUT ヒーロー */
.about-hero {
    padding: 0 0 40px;
}

.about-hero__content {
    flex-direction: column;
    gap: 0;
}
.about-hero__left { width: 100%; }

.about-hero__text {
    margin-bottom: 24px;
}

.about-hero__right { 
    width: 100%; 
    min-width: auto; 
    max-width: 100%; 
    justify-content: center; 
}

.about-hero__catch {
    font-size: 2.2rem;
    white-space: unset;
    line-height: 1.6;
}

.about-hero__img{
	display: none;
}

.about-hero__img img {
    width: 100%;
}

.about-mission {
    padding: 80px 0 40px;
}

.about-mission__right {
    display: none;
}

.about-concept {
    transform: none;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.about-concept__triangle {
    width: 200px;
    height: 200px;
    top: 40px;
    left: 50px;
}

.about-concept__center-text {
    font-size: 1.4rem;
    margin-top: 60px;
    white-space: nowrap;
}

.about-concept__circle {
    width: 88px;
    height: 88px;
    font-size: 1.1rem;
}
.about-concept__circle--top {
    top: 10px;
    left: 106px;
}
.about-concept__circle--left {
    bottom: 10px;
    left: 0;
}
.about-concept__circle--right {
    bottom: 10px;
    right: 0;
}

/* MISSION */
.about-mission__content { flex-direction: column; gap: 40px; }
.about-mission__left { width: 100%; padding-bottom: 40px; }
.about-mission__cards { flex-direction: column; gap: 20px; }
.about-mission-card { width: 100%; }
.about-mission__right { width: 100%; margin-bottom: 0; padding: 0 4% 40px; box-sizing: border-box;}

/* OUR STRENGTHS */
.about-strengths { padding: 60px 0; }
.about-strengths__inner { flex-direction: column; gap: 40px; }
.section-title--about-strengths {
	position: static;
	width: 100%;
	margin-bottom: 0;
}
.about-strengths__list { width: 100%; }

.section-title--about-strengths .section-title__en { font-size: 4.6rem; }
.about-strength-item__header { gap: 20px; }
.about-strength-item__icon {
    width: 110px;
    height: 98px;
    padding-bottom: 16px;
}
.about-strength-item__num { font-size: 2.4rem; }
.about-strength-item__title { font-size: 2.2rem; }
.about-strength-item__lead {
    font-size: 2rem;
    line-height: 1.6;
}
.about-strength-item__body { padding-left: 0; }


/* =========================================
BUSINESSページ
========================================= */
.business-page { padding-top: 100px; }
	
.biz-intro { 
	padding: 0 0 40px; 
	background-color: transparent; 
}
.biz-intro__lead { font-size: 2.0rem; margin-bottom: 50px; text-align: left; }

/* フロー図を横並び2段に */
.biz-flow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between; 
	gap: 15px 0;
	margin-bottom: 60px;
}
.biz-flow__step {
	width: 42%; 
	display: flex;
	justify-content: center;
}
.biz-flow__circle {
width: 140px;
height: 140px;
font-size: 1.4rem;
}
.biz-flow__circle::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='49' fill='none' stroke='%231D3994' stroke-width='1.5' stroke-dasharray='5 6'/%3E%3C/svg%3E");
}

/* 横の矢印（1番目、3番目の後） */
.biz-flow__arrow {
	width: 16%;
	max-width: none;
	height: 2px;
	margin: auto 0;
}
.biz-flow__arrow::after {
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(45deg); 
}

.biz-flow__arrow.biz-flow__arrow--wrap {
	width: 100%;
	height: 40px;
	background-color: transparent; 
	position: relative;
}
.biz-flow__arrow.biz-flow__arrow--wrap::after {
	right: 50%;
	top: 50%;
	transform: translate(50%, -50%) rotate(135deg); 
}

.biz-container {
	flex-direction: column;
	gap: 40px;
	padding-bottom: 80px;
}
.biz-sidebar {
	width: 100%;
	position: static; 
}

/* -------------------------------------
   BUSINESS実績
------------------------------------- */
.biz-works {
	margin-top: 40px;
}
.biz-works__list {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 20px;
	margin: 0 -4%;
	padding: 0 4% 20px;
	gap: 15px;
}
.biz-works__list::-webkit-scrollbar {
	display: none;
}
.biz-works__item {
	width: 160px;
	flex-shrink: 0;
}
.biz-works__text span {
	font-size: 1.4rem;
}

.biz-anchor {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
.biz-anchor__item-group {
	grid-column: span 2; 
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.biz-anchor__link {
	padding: 15px;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.biz-anchor__info {
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}
.biz-anchor__icon {
	align-self: center;
	margin-top: 0;
}

.biz-sidebar__btn-wrap { 
	margin-top: 0; 
	display: flex;
}
.btn-pdf { 
	width: 100%; 
	margin: 0; 
	padding: 15px 10px; 
	flex-direction: row;
	text-align: center;
	gap: 8px;
}

.biz-main { width: 100%; }

.biz-detail {
	padding: 40px 20px;
	margin-bottom: 30px;
	scroll-margin-top: 80px; 
}
.biz-detail__inner {
	display: block;
}
.biz-detail__header { 
	margin-bottom: 20px; 
}
.biz-detail__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.biz-detail__img,
.biz-detail__content { 
	width: 100%; 
}

.biz-detail__num { font-size: 4.0rem; }
.biz-detail__title { font-size: 2.4rem; }


/* =========================================
   個人情報保護方針
========================================= */
.privacy-page {
	padding-top: 100px; 
}

.privacy-container {
	padding: 0 0 80px;
}

/* スマホ時はカードのパディングを狭くする */
.privacy__body {
	padding: 40px 20px;
	border-radius: 8px;
}

.privacy__section {
	margin-top: 40px;
}

.privacy__heading {
	font-size: 1.6rem;
	margin-bottom: 15px;
}

.privacy__text {
	font-size: 1.4rem;
	line-height: 1.8;
}

.privacy__list li {
	font-size: 1.4rem;
	line-height: 1.8;
	margin-bottom: 12px;
}

/* =========================================
   COMPANYページ
========================================= */
.company-page { padding-top: 100px; }

.comp-container {
	flex-direction: column;
	gap: 40px;
	padding-bottom: 80px;
}
.comp-sidebar {
	width: 100%;
	position: static; 
}

.comp-anchor {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
.comp-anchor__link {
	padding: 15px;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.comp-anchor__icon {
	align-self: center;
}

.comp-main { width: 100%; }

.comp-section {
	padding: 60px 20px;
	margin-bottom: 30px;
	scroll-margin-top: 80px;
}
.comp-section__heading {
	font-size: 2.4rem;
	margin-bottom: 20px;
}

/* 代表挨拶 */

.comp-greeting__img img {
    width: 72%;
    margin: 0 auto;
    display: block;
}

.comp-greeting {
	flex-direction: column-reverse;
	gap: 30px;
}
.comp-greeting__img {
	width: 100%;
}
.comp-greeting__text {
	font-size: 1.4rem;
}

/* テーブル */
.comp-table__row {
	flex-direction: column;
	gap: 10px;
	padding: 15px 0;
}
.comp-table__dt {
	width: 100%;
	color: #1D3994; 
}
.comp-table__dd {
	font-size: 1.4rem;
}

/* アクセス */
.comp-access-item {
	flex-direction: column;
	gap: 20px;
	margin-bottom: 60px;
}
.comp-access-info {
	width: 100%;
}
.comp-access-map {
	width: 100%;
	aspect-ratio: 4 / 3; 
}


/* =========================================
   RECRUITページ
========================================= */
.recruit-page { padding-top: 100px; }

.section-title--recruit .section-title__en { font-size: 3.6rem; }
.section-title--center {
    margin-bottom: 40px;
    align-items: flex-start;
}
/* トップメッセージ（h2 -> img -> text の順） */
.recruit-message { padding: 60px 0; }
.recruit-message__content {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.recruit-message__title { order: 1; margin-bottom: 0; }
.recruit-message__img { order: 2; width: 100%; }
.recruit-message__text-wrap { order: 3; width: 100%; padding-top: 0; }

.recruit-message__img img {
    aspect-ratio: 4 / 3.2;
}

/* インタビュー */
.recruit-interview { padding: 60px 0; }
.recruit-interview__list { gap: 80px; }

/* スマホ時は見出しサイズを縮小 */
.recruit-interview__header {
	margin-bottom: 24px;
	padding-bottom: 12px;
}
.recruit-interview__num { font-size: 3.2rem; }
.recruit-interview__job {
    font-size: 2rem;
    line-height: 1.4;
}

/* 縦並びの強制と画像の高さ調整 */
.recruit-interview__body, html body .recruit-interview__item:nth-child(even) .recruit-interview__body {
    flex-direction: column;
    gap: 40px;
}
.recruit-interview__img-wrap,
.recruit-interview__qa-list {
	width: 100%;
}

.recruit-interview__img-wrap img {
    aspect-ratio: 16 / 7.2;
}

.recruit-interview__name-box {
    padding: 0;
    position: unset;
    margin-top: 16px;
    gap: 4px;
}

.recruit-interview__name { font-size: 1.8rem; }

.recruit-message__text-wrap { order: 3; width: 100%; padding-top: 0; }

.recruit-message__catch {
	font-size: 2.0rem;
	margin-bottom: 16px;
}

.recruit-interview__img-wrap,
.recruit-interview__qa-list {
	width: 100%;
}

.recruit-interview__img-wrap {
	position: static;
}

.recruit-qa__q {
    font-size: 1.8rem;
}

.recruit-qa__a {
    font-size: 1.4rem;
}

/* 募集要項 */
.recruit-req { padding: 60px 0; }
.recruit-accordion__header { padding: 20px; }
.recruit-accordion__content-inner { padding: 0 20px 30px; }

.recruit-table__row {
	flex-direction: column;
	gap: 5px;
	padding: 15px 0;
}
.recruit-table__row dt {
	width: 100%;
	color: #1D3994;
	font-size: 1.4rem;
}
.recruit-table__row dd { font-size: 1.4rem; }

/* エントリー */
.recruit-entry { padding: 60px 0; }
.recruit-entry__inner {
	padding: 40px 20px;
}
.btn-entry {
	width: 100%;
	padding: 16px 0;
	box-sizing: border-box;
}

.marquee--recruit {
	top: auto;
	bottom: 10px;
	transform: translateY(0);
}

.news-page { padding-top: 100px; }
.news-container { padding: 0 0 80px; }

.news-body {
	padding: 40px 20px;
	border-radius: 8px;
}

.news-nav {
    gap: 16px 24px;
    margin-bottom: 40px;
}

.news-list {
	grid-template-columns: 1fr;
	gap: 30px;
}

.news-card__content {}
.news-card__title {}

/* ページネーション */
.news-pagination {
    margin-top: 32px;
}
.news-pagination .page-numbers {
	width: 40px;
	height: 40px;
	margin: 0 3px;
}

/* =========================================
   CONTACTページ
========================================= */
.contact-page { padding-top: 100px; }
.contact-container { padding: 0 0 80px; }

.contact-body {
	padding: 40px 20px;
	border-radius: 8px;
}

.contact-form__row {
	flex-direction: column;
	gap: 15px;
	padding: 20px 0;
}
.contact-form__label {
	width: 100%;
	padding-top: 0;
	font-size: 1.4rem;
}
.contact-form__input {
	width: 100%;
}
.contact-form__radio-group {
	flex-direction: column;
	gap: 15px;
	padding-top: 0;
}

.contact-input, .contact-textarea { font-size: 1.6rem; }

.contact-checkbox__text { font-size: 1.4rem; }

.btn-submit {
	width: 100%;
	padding: 20px 0;
	box-sizing: border-box;
}

/* =========================================
   記事詳細ページ
========================================= */
.single-page { padding-top: 100px; }

.single-container {
	flex-direction: column;
	gap: 40px;
	padding-bottom: 80px;
}

.single-main,
.single-sidebar {
	width: 100%;
}

.single-body {
	padding: 30px 20px;
	margin-bottom: 40px;
}

.single-title { font-size: 2.0rem; }

.single-content h1 { font-size: 2.4rem; }
.single-content h2 { font-size: 2.0rem; }
.single-content h3 { font-size: 1.8rem; }
.single-content h4 { font-size: 1.6rem; }
.single-content { font-size: 1.5rem; }

.single-content th,
.single-content td {
	padding: 8px;
}
.single-content th {
	width: 30%;
}

.single-nav {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.single-nav__prev,
.single-nav__next,
.single-nav__center {
	width: auto;
	text-align: center;
}
.single-nav__center {
	flex-grow: 1;
}

.single-nav .nav-text {
	display: none;
}

.single-nav__prev a,
.single-nav__next a {
	padding: 10px; 
}

.btn-archive { 
	width: 100%; 
	max-width: 240px; 
	margin: 0 auto; 
	box-sizing: border-box; 
}











}






@media (min-width: 800px) {

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

.sp_view{
	display: none;
}

}