@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}



/* root */
:root {
	--main-bg-color: #ffffff;
	--sub-bg-color: #f5f5f5;

	--main-txt-color :#333333;
	--sub-txt-color :#595756;
	--bs-white:#ffffff;
	--bs-white-rgb:255,255,255;
	--bs-gray: #B5B5B5;
	--bs-gray-dark: #757575;
	--bs-gray-light: #cecccb;

	--bs-light: #f8f8f8;
	--bs-dark: #333333;
	--bs-dark-rgb: 51, 51, 51;


	--bs-primary: #0FA54C;
	--bs-primary-rgb: 15, 165, 76;
	--bs-primary-light: #6FC994;
	--bs-primary-light-02: #CFEDDB;


	--bs-secondary:#F29B0A;
	--bs-secondary-rgb: 242, 155, 10;
	--bs-secondary-light: #F7C36C;
	--bs-secondary-light-02: #FCEBCE;

	--bs-success: #198754;
	--bs-info: #0dcaf0;
	--bs-warning: #f2eb00;
	--bs-warning-rgb: 242, 235, 0;
	--bs-danger: #EB2000;
	--bs-danger-light: #F37966;

	--bs-danger-rgb: 235, 31, 0;

	--def-width: 92%;
	--def-max-width: 1200px;
	--def-max-width-mini: 600px;

	--def-font-family: 'Noto Sans JP', sans-serif;
	--en-font-family: 'Poppins', sans-serif;

	--font-size--bs: 16px;
	--font-size--sm: 12px;
	--font-size--md: 20px;
	--font-size--lg: 30px;
	--font-size--xl: 40px;
	--font-size--xxl: 50px;
	--font-size--xxxl: 60px;

	--filter-box-shadow: drop-shadow(0 3px 5px rgba(var(--bs-dark-rgb), 0.1));

	--box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);

	--sec-padding: 100px 0;
	--sec-sub-padding: 80px 0;
	--border-radius-bg: 100px 100px 0 0;
	--border-radius-bg-single: 100px;
	--border-radius-bs: 20px;
	--border-radius-bs-triple: 20px 20px 20px 0;

	--bs-padding: 100px;

	--bs-inner-padding: 60px;

    --main-padding: 8rem 2rem 5rem;
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
	:root {
		--sec-padding: 80px 0;
		--sec-sub-padding: 60px 0;
		--bs-padding: 80px;
		--bs-inner-padding: 30px;
        --main-padding: 6rem 1rem 3rem;
	}
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.1em;
}

/* ===================================================================
	全ページ　共通設定
=================================================================== */
/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.header-inner {
    max-width: var(--def-max-width);
    width: var(--def-width);
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: auto;
    max-width: inherit;
    height: 40px;
}
.header_sp_btn,
.sp_nav {
    display: none;
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.global-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.global-nav a:hover {
    color: var(--bs-primary);
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: var(--def-max-width);
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 2rem;
}
.footer-info h2 {
    margin-bottom: 0.5rem;
}
.footer-info p {
    font-size: 0.8rem;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-bottom: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--bs-primary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}
@media ( max-width : 1200px ){
}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    header {
        position: fixed;
    }
    .header-inner {
        padding: 15px 0;
    }
    .logo img {
        height: 30px;
    }

    .global-nav {
        display: none;
    }
    .header_sp_btn {
        display: block;
		position: relative;
		padding: 0;
		font-size: var(--font-size--sm);
		font-weight: 700;
		letter-spacing: 0;
	}
	.sp_menu_line {
		display: block;
		width: 30px;
		height: 30px;
		margin: 0 auto;
		position: relative;
	}
	.sp_menu_line span,
	.sp_menu_line::before,
	.sp_menu_line::after {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		background-color: var(--bs-primary);
		width: 30px;
		height: 2px;
		border-radius: 2px;
		transition: 0.3s;
	}
	.sp_menu_line span {
		top: calc(50% - 1px);
	}
	.sp_menu_line::before {
		top: calc(50% - 11px);
	}
	.sp_menu_line::after {
		top: calc(50% + 9px);
	}
	.header_sp_btn.open .sp_menu_line span {
		opacity: 0;
	}
	.header_sp_btn.open .sp_menu_line::before {
		transform: translateY(10px) rotate(-45deg);
	}
	.header_sp_btn.open .sp_menu_line::after {
		transform: translateY(-10px) rotate(45deg);
	}

    .sp_nav {
        display: none;
/*        opacity: 0;*/
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 60px 4%;
        background: var(--bs-primary);
        z-index: 10;
        overflow-y: auto;
        transition: all .6s;
    }
    .sp_nav.open {
        display: block;
        opacity: 1;
    }
    .sp_nav_inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .global-nav-sp {
        width: 100%;
    }
    .global-nav-sp ul {
        list-style: none;
    }
    .global-nav-sp ul li {
        border-bottom: 1px solid rgba(var(--bs-white-rgb), 0.5);
    }
    .global-nav-sp ul li a {
        display: block;
        padding: 0.6em 0.5em;
        font-family: var(--en-font-family);
        font-size: 2rem;
        font-weight: 700;
        color: var(--bs-white);
        text-decoration: none;
    }

}
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
}





/* ===================================================================
	コンテンツ内共通設定
=================================================================== */
/* 共通 */
main {
    overflow-x: clip;
}

.sec_inner {
    max-width: var(--def-max-width);
    width: var(--def-width);
    margin: 0 auto;
}
.sec_title {
    margin-bottom: 3rem;
    text-align: center;
}
.sec_title .sec_title_en {
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: var(--bs-primary);
    letter-spacing: 0.1em;
}
.sec_title h2 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.intro_txt {
    margin-bottom: 2rem;
    text-align: center;
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}
@media ( max-width : 1200px ){
}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .sec_title .sec_title_en {
        font-size: 0.8rem;
    }
    .sec_title h2 {
        font-size: 2rem;
    }
}
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
}



/* ===================================================================
	トップページ
=================================================================== */
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    color: #fff;
    transform: translateY(-10%);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-content p {
    font-size: 1.5rem;
    line-height: 1.6;
}




/* Service Section */
.service {
    padding: var(--sec-padding);
    background: var(--sub-bg-color);
}
.service-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-item {
    background: #fff;
    border-radius: var(--border-radius-bs-triple);
/*    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);*/
/*    filter: var(--filter-box-shadow);*/
    box-shadow: var(--box-shadow);
    text-align: center;
}
.service-item a {
    display: block;
    padding: 2rem;
    border-radius: var(--border-radius-bs-triple);
    text-decoration: none;
}
.service-item a:hover {
    background: var(--bs-primary-light-02);
}
.service-item h3 {
    margin-bottom: 2rem;
    color: var(--bs-primary);
    font-size: 1.4rem;
}
.service-item a h3 img {
	transition: all .3s ease;
}
.service-item a:hover h3 img {
	transform: scale(1.08);
}
.service-item .service_txt {
    font-size: 1.2rem;
}
.view_more_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border-radius: 1.5rem;
    background: var(--bs-primary);
    font-size: 0.8rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    text-decoration: none;
}
.view_more_link .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-size: 1rem;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0 0 1rem;
    border-radius: 50%;
    transition: all .3s ease;
}
.service-item a:hover .view_more_link .arrow,
a.view_more_link:hover .arrow  {
    transform: scale(1.1);
}
.view_more_link .arrow span {
    font-size: 1rem;
    color: var(--bs-primary);
    transition: all .3s ease;
}
.service-item a:hover .view_more_link span {
}

/* Blog Section */
.blog {
    padding: var(--sec-padding);
}
.blog-grid {
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-item {
    background: #fff;
    border-radius: var(--border-radius-bs-triple);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.blog-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    
}
.blog-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}
.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-item:hover .blog-image img {
    transform: scale(1.05);
}
.blog-txt {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-txt time {
    display: block;
    color: var(--sub-txt-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.blog-txt h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #333;
    text-wrap: auto;
}
.blog-txt p {
    /*
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;*/
}

.more_btn_area {
    text-align: center;
}

.more-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
    width: fit-content;
    margin:  0 auto;
    padding: 1rem 1rem 1rem 1.5rem;
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 2rem;
    transition: background-color 0.3s;
}
.more-btn .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-size: 1rem;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0 0 1rem;
    border-radius: 50%;
    transition: all .3s ease;
}
.more-btn:hover .arrow {
    transform: scale(1.4);
}
.more-btn .arrow span {
    font-size: 1rem;
    color: var(--bs-primary);
    transition: all .3s ease;
}


/* About Section */
.about {
    padding: var(--sec-padding);
    background: var(--sub-bg-color);
}
.about_inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: var(--def-max-width);
    margin: 0 auto;
}
.top_about_txt {
    width: 60%;
}
.top_about_menu {
    width: 36%;
    min-width: 16em;
}

.top_about_txt .sec_title {
    text-align: left;
}
.top_about_hero {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.top_about_p {
    line-height: 1.8;
}

.top_about_link {
    list-style: none;
}
.top_about_link li {
    border-bottom: 1px solid #dedede;
}
.top_about_link li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0.5em;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}
.top_about_link li a:hover {
    color: var(--bs-primary);
}
.top_about_link li a .arrow {
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bs-primary);
    font-size: 1rem;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0 0 1rem;
    border-radius: 50%;
    transition: all .3s ease;
}
.top_about_link li a:hover .arrow {
    transform: scale(1.4);
}
.top_about_link li a .arrow span {
    font-size: 1rem;
    color: #fff;
}

.about-content {
    max-width: var(--def-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.company-info h3,
.philosophy h3 {
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

.company-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.company-info dt {
    font-weight: bold;
}




/* ページ共通 */
.page_title {
    margin-bottom: 4rem;
}
.page_title h1 {
    font-size: 3rem;
    letter-spacing: 0.2em;
}
.page_title_en {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: var(--bs-primary);
    letter-spacing: 0.2em;
}



/* ===================================================================
	サービス　Service Detail Page
=================================================================== */
.service-detail {
    padding: var(--main-padding);
    max-width: var(--def-max-width);
    margin: 0 auto;
}
.page_link {
}
.page_link ul {
	list-style: none;
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
	align-items: center;
	gap: 20px 30px;
}
.page_link ul li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.05em;
}
.page_link ul li a:hover {
    color: var(--bs-primary);
}
.page_link ul li a .arrow {
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bs-primary);
    font-size: 1rem;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0 0 1rem;
    border-radius: 50%;
    transition: all .3s ease;
}
.page_link ul li a:hover .arrow {
    transform: scale(1.4);
}
.page_link ul li a .arrow span {
    font-size: 1rem;
    color: #fff;
}

.service_box {
    padding: var(--sec-padding);
}

.service_name {
    margin-bottom: 20px;
    text-align: center;
}
.service_name img {
    max-width: 310px;
    margin: 0 auto;
}
.service_box .service-description {
	width: fit-content;
	margin: 10px auto 60px;
	padding: 0.3em 2em;
	border-radius: 2em;
    text-align: center;
    font-size: 1rem;
	font-weight: 500;
    color: #fff;
	background: var(--bs-primary);
}

.service_sub_title {
	margin: 0 0 1.5rem;
}
.service_sub_title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}
.service_sub_title p {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: var(--bs-primary);
    letter-spacing: 0.1em;
}

.service-features {
	display: flex;
	gap: 80px;
	padding: var(--bs-inner-padding);
	border-radius: var(--border-radius-bs);
	background: var(--bs-primary) url(../images/feature_bk.png) no-repeat left -20%;
	background-size: auto 120%;
	color: var(--bs-white);
}
.service-features .service_sub_title {
	flex-shrink: 0;
	flex-grow: 0;
}
.service-features .service_sub_title p {
	color: var(--bs-white);
}
.service-features ol {
    list-style: none;
}
.service-features li {
	margin:0 0 2.5rem;
	position: relative;
	line-height: 1.6;
	counter-increment: message;
}
.service-features li:last-of-type {
	margin-bottom: 0;
}
.service-features li h4 {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-weight: 500;
	font-size: 1.6rem;
    line-height: 1.4;
	letter-spacing: 0.1em;
    text-wrap: auto;
}
.service-features li h4::before {
	content: counter(message, decimal-leading-zero);
	color: var(--bs-white);
	font-weight: 500;
	font-size: 1rem;
	font-family: var(--en-font-family);
	white-space: nowrap;
    line-height: 1;
}



/* Service Strengths */
.service-strengths {
    margin: var(--sec-sub-padding);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.strength-item {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius-bs-triple);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	box-shadow: var(--box-shadow);
}

.strength-item h4 {
    color: var(--bs-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
}

.strength-item p {
/*    color: #666;*/
	font-weight: 500;
    line-height: 1.6;
}
.marker {
	background: linear-gradient(transparent 60%, #FFF080 60%);
}


/* Service Plans */
.service-plans {
	margin: var(--sec-sub-padding);
/*    margin-top: 3rem;
    padding: 2rem;
    background: var(--sub-bg-color);
    border-radius: 10px;*/
}
/*
.service-plans h3 {
    margin-bottom: 2rem;
    color: var(--bs-primary);
}*/

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.plan-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.plan-item h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.plan-item .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.plan-item p:last-child {
    color: #666;
    font-size: 0.9rem;
}


/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}
@media ( max-width : 1200px ){
}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .service-features {
        flex-direction: column;
        gap: 20px;
        background: var(--bs-primary) url(../images/feature_bk.png) no-repeat left center;
        background-size : 50% auto;
            
    }
    
}
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .page_link ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}





/* About Detail Page */
.about-detail {
    padding: var(--main-padding);
    max-width: var(--def-max-width);
    margin: 0 auto;
}

.about-detail h1 {
/*    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;*/
}

.company-profile,
.philosophy,
.message,
.history {
/*    margin-bottom: 4rem;*/
}

.company-profile h2,
.philosophy h2,
.message h2,
.history h2 {
}

.philosophy-item {
    margin-bottom: 2rem;
}

.philosophy-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.message-content p {
    margin-bottom: 1rem;
}

.history ul {
    list-style: none;
}

.history li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.history li::before {
    content: "•";
    color: var(--bs-primary);
    position: absolute;
    left: 0;
}

/* Contact Page */
.contact {
    padding: var(--main-padding);
    max-width: var(--def-max-width);
    margin: 0 auto;
}
.contact-info {
    padding: var(--sec-padding);
    position: relative;
}
.contact-info::before {
    content: "";
    background-color: var(--sub-bg-color);
    width: 150vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: -50vw;
    z-index: -1;
}

.contact_info_select {
    display: grid;
    flex-wrap: wrap;
/*    grid-template-columns: repeat(3, 1fr);*/
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact_type {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius-bs-triple);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    box-shadow: var(--box-shadow);
    text-align: center;
}
.contact_type h3 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bs-primary);
    text-align: center;
}
.contact_type a {
    text-decoration: none;
}
a.contact_link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--en-font-family);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-txt-color);
    text-decoration: none;
}
a.contact_link span {
    margin-right: 0.3em;
    color: var(--bs-primary);
}
a.contact_link:hover {
    color: var(--bs-primary);
}

.contact_link_btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 260px;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 1.5rem 1rem 2rem;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2rem;
    transition: background-color 0.3s;
}
.contact_link_btn .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bs-white);
    font-size: 1.2rem;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0 0 1rem;
    border-radius: 50%;
    transition: all .3s ease;
}
.contact_link_btn:hover .arrow {
    transform: scale(1.4);
}
.contact_link_btn .arrow span {
    font-size: 1rem;
    color: var(--bs-primary);
    transition: all .3s ease;
}


/* フォーム */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--sec-padding);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label,
.form-group .label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    outline: none;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input[type="radio"] {
    width: auto;
}
.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border: 1px solid rgba(var(--bs-primary-rgb),0.5);
	box-shadow:0px 0px 5px rgba(var(--bs-primary-rgb),0.4);
}

.radio_group {
    display: flex;
    gap: 1em;
}

.required {
    color: #ff0000;
}

.submit-btn {
    background: var(--bs-primary);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #0d8a3f;
}


/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}
@media ( max-width : 1200px ){
}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .contact_type h3 {
        margin-bottom: 1rem;
    }
}
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
}




/* Recruit Page */
.recruit {
    padding: var(--main-padding);
    max-width: var(--def-max-width);
    margin: 0 auto;
}

.recruit-message {
    text-align: center;
    margin-bottom: 4rem;
}

.recruit-message p {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 700;
    color: var(--bs-primary);
}

.recruit-values {
    padding: var(--sec-padding);
    position: relative;
}
.recruit-values::before {
    content: "";
    background-color: var(--sub-bg-color);
    width: 150vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: -50vw;
    z-index: -1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--bs-white);
    padding: 2rem;
    border-radius: var(--border-radius-bs-triple);
    border: 1px solid var(--bs-primary)
}

.value-item h3 {
    color: var(--bs-primary);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    text-align: center;
}
.value-item .value_img {
    margin-bottom: 1rem;
}

.position-list {
    margin-bottom: 4rem;
}

.position-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.position-item h3 {
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.position-item dl {
    display: grid;
    gap: 1rem;
}

.position-item dt {
    font-weight: bold;
    color: #333;
}

.position-item dd ul {
    list-style: none;
    padding-left: 1.5rem;
}

.position-item dd li {
    position: relative;
    margin-bottom: 0.5rem;
}

.position-item dd li::before {
    content: "•";
    color: var(--bs-primary);
    position: absolute;
    left: -1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-item {
    background: var(--sub-bg-color);
    padding: 2rem;
    border-radius: 10px;
}

.benefit-item h3 {
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.benefit-item ul {
    list-style: none;
}

.benefit-item li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-item li::before {
    content: "•";
    color: var(--bs-primary);
    position: absolute;
    left: 0;
}

.recruit-contact {
    text-align: center;
    margin-bottom: 4rem;
}

.recruit-contact p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-button {
    display: inline-block;
}

.contact-button .submit-btn {
    display: inline-block;
    text-decoration: none;
    padding: 1rem 3rem;
}


/* Blog List Page */
.blog-list {
    padding: var(--main-padding);
    max-width: var(--def-max-width);
    margin: 0 auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--sub-bg-color);
}

.pagination a.active {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

.pagination a.next {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}




/* Category Tabs */
.category-tabs {
    margin-bottom: 3rem;
    text-align: center;
}

.category-tabs ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tabs li {
    margin: 0;
    padding: 0;
}

.category-tabs li::before {
    display: none;
}

.category-tabs a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--sub-bg-color);
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-tabs a:hover {
    background: #e0e0e0;
}

.category-tabs li.active a {
    background: var(--bs-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .global-nav ul {
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info dl {
        grid-template-columns: 1fr;
    }

    .recruit {
        padding: 6rem 1rem 3rem;
    }

    .recruit h1 {
        font-size: 2rem;
    }

    .recruit h2 {
        font-size: 1.5rem;
    }

    .recruit-message p {
        font-size: 1.1rem;
    }

    .position-item {
        padding: 1.5rem;
    }

    .blog {
/*        padding: 3rem 1rem;*/
    }

    .blog h2 {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-content h3 {
        font-size: 1.1rem;
    }

    .blog-list {
        padding: 6rem 1rem 3rem;
    }

    .blog-list h1 {
        font-size: 2rem;
    }

    .pagination {
        gap: 0.3rem;
    }

    .pagination a {
        padding: 0.4rem 0.8rem;
    }

    .pagination a.next {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .service-plans {
        padding: 1.5rem;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .plan-item {
        padding: 1.5rem;
    }

    .plan-item .price {
        font-size: 1.5rem;
    }

    .service-strengths {
        margin-top: 3rem;
        padding: 2rem 0;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .strength-item {
        padding: 1.5rem;
    }

    .category-tabs ul {
        gap: 0.5rem;
    }

    .category-tabs a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Blog Detail Page */
.blog-detail {
    padding: var(--main-padding);
    max-width: 900px;
    margin: 0 auto;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.blog-meta time {
    font-size: 0.9rem;
}

.blog-meta .category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 4px;
    font-size: 0.9rem;
}

.blog-header h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.blog-main-image {
    margin-bottom: 3rem;
}

.blog-main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-content {
/*    margin-bottom: 4rem;*/
}

.blog-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: #333;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.blog-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.blog-tags .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--sub-bg-color);
    color: #666;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.blog-share {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--sub-bg-color);
    border-radius: 8px;
    text-align: center;
}

.blog-share h3 {
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--bs-primary);
    color: #fff;
}

.related-posts {
    margin-bottom: 4rem;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--bs-primary);
}

.blog-navigation {
    text-align: center;
    margin-bottom: 3rem;
}

.back-to-list {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--bs-white);
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 2rem;
    transition: background-color 0.3s;
}

.back-to-list:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 768px) {

    .blog-header h1 {
        font-size: 1.8rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.3rem;
    }

    .share-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-button {
        width: 100%;
    }
}

/* About Page Styles */
.about-hero {
    /*
    background: linear-gradient(rgba(15, 165, 76, 0.9), rgba(15, 165, 76, 0.9)), url('../images/about-hero.jpg');
    background-size: cover;
    background-position: center; */
    color: #fff;
    padding: 80px 0;
/*    margin-bottom: 80px;*/
    position: relative;
}
.about-hero::before {
    content: "";
    background-color: var(--bs-primary);
    background: var(--bs-primary) url(../images/about_intro_bk.png) no-repeat right center;
    background-size: auto 100%;
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: calc(50% - 50vw );
    z-index: -2;
}
.about-hero::after {
    content: "";
    background-color: rgba(var(--bs-primary-rgb),0.5);
    mix-blend-mode: multiply ;
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: calc(50% - 50vw );
    z-index: -1;
}

.about-hero-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
}

.about-hero-content p {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8;
}

.company-profile {
    padding: var(--sec-padding);
/*    background-color: #f8f9fa;*/
}

.company-profile h2,
.philosophy h2,
.message h2,
.history h2 {
/*    text-align: center;
    margin-bottom: 40px;
    color: var(--bs-primary);
    font-size: 2rem;
    font-weight: bold;*/
}

.profile-content {
    max-width: 1000px;
    width: fit-content;
    margin: 0 auto;
/*    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;*/
}

.profile-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
/*    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

.profile-info dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: baseline;
}

.profile-info dt {
    font-weight: 700;
    color: var(--bs-primary);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.profile-info dt:last-of-type {
    border-bottom: none;
}
.profile-info dd {
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

.profile-info dd:last-child {
    border-bottom: none;
}

.profile-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-info li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.2em;
    line-height: 1.6;
}

.profile-info li:last-child {
    margin-bottom: 0;
}

.profile-info li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: -0.1em;
    color: var(--bs-primary);
    font-size: 1.2em;
}

.philosophy {
    padding: var(--sec-padding);
    position: relative;
}
.philosophy::before {
    content: "";
    background-color: var(--sub-bg-color);
    width: 150vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: -50vw;
    z-index: -1;
}
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.philosophy-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
/*
.philosophy-item:hover {
    transform: translateY(-5px);
}*/

.philosophy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.philosophy-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.philosophy-item h3 {
    color: var(--bs-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.message {
    padding: var(--sec-padding);
/*    background-color: #f8f9fa;*/
}

.message-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    margin-top: 40px;
}
.message-image {
    max-width: 300px;
}
.message-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0 150px 180px 0 / 0 110px 150px 0;
}

.message-text p {
    margin-bottom: 1.5rem;
    line-height: 2;
    font-size: 1.2rem;
}
.message-text p.ceo_name {
    text-align: right;
}

.message-text p:last-child {
    font-weight: bold;
    margin-top: 2rem;
}

.history {
    padding: var(--sec-padding);
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 50px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--bs-primary);
}

.history-item {
    position: relative;
    margin-bottom: 40px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -54px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bs-primary);
}

.history-year {
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.history-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0 100px;
    }

    .about-hero::before {
        background: var(--bs-primary) url(../images/about_intro_bk_sp.png) no-repeat right bottom;
        background-size: auto 450px;
    }


    .about-hero-content h2 {
        font-size: 2rem;
    }
    .about-hero-content p {
        font-size: 1.2rem;
    }

    .profile-content,
    .message-content {
        grid-template-columns: 1fr;
    }
    .message-image {
        margin: 0 auto;
    }
    .profile-image img,
    .message-image img {
        height: 300px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .history-timeline {
        padding-left: 30px;
    }

    .history-item::before {
        left: -34px;
    }

    .company-profile {
        padding: 40px 0;
    }

    .company-profile h2 {
        margin-bottom: 30px;
        font-size: 1.8rem;
    }

    .profile-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-image {
        padding-bottom: 60%;
    }

    .profile-info {
        padding: 15px;
    }

    .profile-info dl {
        grid-template-columns: 100px 1fr;
        gap: 15px;
    }

    .profile-info dt {
        font-size: 1rem;
        padding-bottom: 10px;
    }

    .profile-info dd {
        padding-bottom: 10px;
    }

    .message-text p .pc {
        display: none;
    }
}

/* 求人詳細ページ */
.recruit-detail {
    max-width: var(--def-max-width);
    margin: 0 auto;
    padding: var(--main-padding);
}

.recruit-detail .job-header {
    text-align: center;
    margin-bottom: 40px;
}
.recruit-detail .job-header h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.job-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.job-tag, .job-location {
    background: var(--bs-primary-light-02);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--bs-primary);
}

.job-overview {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.overview-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.overview-item p {
    font-size: 1.2rem;
    color: var(--bs-primary);
    font-weight: bold;
}
.recruit-detail .job-content {
    margin-bottom: 40px;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bs-primary);
}

.content-section ul, .content-section ol {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.content-section ul li:before {
    content: "・";
    position: absolute;
    left: 0;
    top: -0.1em;
    color: var(--bs-primary);
    font-size: 1.2em;
}


.recruit_flow {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.recruit_flow li {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 5rem;
    border-radius: 2.5rem;
    padding: 2rem 0;
    border: 1px solid var(--bs-primary);
    position: relative;
}
.recruit_flow li::after {
    position: absolute;
    content: '';
    display: inline-block;
    top: calc(50% - 8px );
    right: -21px;
    width: 12px;
    height: 16px;
    background: var(--bs-primary);
    clip-path: polygon(0 0, 0 100%, 100% 50%);
}
.recruit_flow li:last-child::after {
    display: none;
}
.recruit_flow li .step {
    margin-bottom: 15px;
    color: var(--bs-primary);
    font-family: var(--en-font-family);
    font-weight: 700;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2;
}
.recruit_flow li .step span {
    display: block;
    font-size: 160%;
}
.recruit_flow li .flow_txt {
    font-size: 1.1rem;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-align: center;
}


.job-apply {
    background: #f9f9f9;
    background: var(--bs-primary) url(../images/feature_bk.png) no-repeat left -20%;
    background-size: auto 120%;
    padding: 40px;
    border-radius: var(--border-radius-bs);
    text-align: center;
    margin: 60px auto;
}

.job-apply h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--bs-white);
    line-height: 1.2;
}

.job-apply p {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--bs-white);
}

.apply-button {
    margin-top: 30px;
}

.entry-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 260px;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 1.5rem 1rem 2rem;
    background: var(--bs-white);
    color: var(--bs-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2rem;
    transition: background-color 0.3s;
}
.entry-btn .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bs-primary);
    font-size: 1.2rem;
    width: 1.5em;
    height: 1.5em;
    margin: 0 0 0 1rem;
    border-radius: 50%;
    transition: all .3s ease;
}
.entry-btn:hover .arrow {
    transform: scale(1.4);
}
.entry-btn .arrow span {
    font-size: 1rem;
    color: var(--bs-white);
    transition: all .3s ease;
}

.job-navigation {
    text-align: center;
}


@media (max-width: 768px) {


    .job-header h1 {
        font-size: 2rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-overview {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 1.2rem;
    }

    .job-apply {
        padding: 20px;
    }


    .recruit_flow {
        flex-direction: column;
    }
    .recruit_flow li {
        width: auto;
        border-radius: 2.5rem;
        padding: 1rem;
    }
    .recruit_flow li::after {
        top: inherit;
        bottom: -21px;
        right: calc(50% - 8px );
        width: 16px;
        height: 12px;
        clip-path: polygon(0 0, 100% 0%, 50% 100%);
    }
    .recruit_flow li:last-child::after {
        display: none;
    }
    .recruit_flow li .step {
        margin-bottom: 10px;
    }
    .recruit_flow li .step span {
        display: inline;
        font-size: 160%;
    }
    .recruit_flow li .flow_txt {
        writing-mode: inherit;
    }


}

.job-list {
    padding: var(--sec-padding);
}
/* 募集職種カード */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
/*    margin-bottom: 60px;*/
}

.job-card {
    background: #fff;
    border-radius: var(--border-radius-bs-triple);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-card .job-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.job-card .job-header h3 {
    font-size: 1.4rem;
    margin: 10px 0 30px;
    color: #333;
}

.job-card .job-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--bs-primary-light-02);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--bs-primary);
}

.job-card .job-content {
    padding: 20px;
}

.job-card dl {
    margin-bottom: 20px;
}

.job-card dt {
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.job-card dd {
    margin-bottom: 15px;
    color: #333;
}

.job-card .job-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.job-card .job-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}
.job-card .job-footer .view_more_link {
    margin: 0 auto;
}
.job-detail-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.job-detail-btn:hover {
    background: #0d8a3f;
}

@media (max-width: 768px) {
    .job-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-card .job-header h3 {
        font-size: 1.2rem;
    }

    .job-card .job-content {
        padding: 15px;
    }

    .job-card .job-footer {
        padding: 15px;
    }

    .job-detail-btn {
        padding: 10px 25px;
    }
}

/* 応募フォーム */
.recruit-apply {
    padding: var(--main-padding);
    max-width: 800px;
    margin: 0 auto;
}

.recruit-apply h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--bs-primary);
}

.apply-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.job-info {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.job-info h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.selected-job h3 {
    font-size: 1.2rem;
    color: var(--bs-primary);
    margin-bottom: 5px;
}

.job-type {
    color: #666;
    font-size: 0.9rem;
}

.apply-form .form-group {
    margin-bottom: 25px;
}

.apply-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="date"],
.apply-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.apply-form input:focus,
.apply-form textarea:focus {
    border-color: var(--bs-primary);
    outline: none;
}

.apply-form textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload {
    display: grid;
    gap: 15px;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.upload-item label {
    margin-bottom: 0;
    min-width: 100px;
}

.upload-item input[type="file"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.form-buttons .submit-btn {
    flex: 1;
    padding: 15px;
    background: var(--bs-primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-buttons .submit-btn:hover {
    background: #0d8a3f;
}

.form-buttons .back-btn {
    flex: 1;
    padding: 15px;
    background: var(--sub-bg-color);
    color: #333;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.form-buttons .back-btn:hover {
    background: #e5e5e5;
}

@media (max-width: 768px) {
    .recruit-apply {
        padding: 6rem 1rem 3rem;
    }

    .recruit-apply h1 {
        font-size: 2rem;
    }

    .apply-content {
        padding: 20px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .upload-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .upload-item label {
        margin-bottom: 8px;
    }
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: var(--bs-primary);
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.job-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.job-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.selected-job h4 {
    font-size: 1.2rem;
    color: var(--bs-primary);
    margin-bottom: 5px;
}

.job-type {
    color: #666;
    font-size: 0.9rem;
}

.apply-form .form-group {
    margin-bottom: 20px;
}

.apply-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="date"],
.apply-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.apply-form input:focus,
.apply-form textarea:focus {
    border-color: var(--bs-primary);
    outline: none;
}

.apply-form textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload {
    display: grid;
    gap: 15px;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.upload-item label {
    margin-bottom: 0;
    min-width: 100px;
}

.upload-item input[type="file"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.form-buttons .submit-btn,
.form-buttons .cancel-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-buttons .submit-btn {
    background: var(--bs-primary);
    color: #fff;
}

.form-buttons .submit-btn:hover {
    background: #0d8a3f;
}

.form-buttons .cancel-btn {
    background: var(--sub-bg-color);
    color: #333;
}

.form-buttons .cancel-btn:hover {
    background: #e5e5e5;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px auto;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 20px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .upload-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .upload-item label {
        margin-bottom: 8px;
    }
} 







/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}
@media ( max-width : 1200px ){
}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
}
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
}