/* Design System */
:root {
  --primary-color: #003d6c;     /* メインカラー（深いブルー） */
  --background-color: #f8f6f5;  /* 背景A（ウォームベージュ） */
  --link-color: #4972da;        /* リンクカラー（ブルー） */
  --link-hover: #003d6c;        /* リンクホバー時 */
  --text-dark: #333;            /* テキスト（濃） */
  --text-light: #666;           /* テキスト（薄） */
}

body {
  font-family: "Optima", "りょうゴシック PlusN", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text-dark);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6, .font-ryo-text {
  font-family: "りょう Text PlusN", "Optima", serif;
  font-weight: normal;
}

a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none !important;
}
p{
	margin-bottom: 0 !important;
}
.breadcrumb-sec{
	text-align: center;
}
.breadcrumbs{
	font-size: 80%;
}
.pagenavi{
	margin-top: 100px;
}
.ffw{
	width: 100% !important;
}
.sponly{
	display: none;
}
/* Breakpoints */
/* スマートフォン */
 @media (max-width: 430px) { /* モバイルレイアウト */
    body {
        overflow-x: hidden;
    }
 }

/* タブレット */
 @media (min-width: 431px) and (max-width: 1099px) { /* タブレットレイアウト */ }

/* PC */
 @media (min-width: 1100px) { /* デスクトップレイアウト */
    .concept-content-row.row.align-items-center {
        align-items: flex-start;
    }
 }


/* カンパニー */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

.page-header .section-title-bg {
    font-size: 13vw;
}

/* Greeting Section */
.greeting-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.greeting-img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

.greeting-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.greeting-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.greeting-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.greeting-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.greeting-signature {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: right;
}

/* About Us Section */
.about-us-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.about-us-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.about-us-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.company-info-table {
    border-top: 1px solid #4972da;
    border-bottom: 1px solid #4972da;
}

.company-info-table th, .company-info-table td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6; /* Internal row separator */
    text-align: left;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
    border-bottom: none; /* Remove border from last row to avoid double border */
}

.company-info-table th {
    width: 40%;
    font-weight: normal;
    background-color: #ffffff;
}

/* Business Section */
.business-section {
    position: relative;
    padding: 100px 0;
    background-image: url(../img/corpbg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.business-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay to darken the background */
    z-index: 1;
}

.business-section .container {
    position: relative;
    z-index: 2;
}

.business-sub-title {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.business-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.business-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
}

/* Business Items */
.business-item {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.business-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.business-icon i {
    font-size: 2rem; /* Icon size */
    margin-bottom: 1rem;
    display: inline-block;
}

.business-item-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.business-item-text {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

/* Map Section */
.map-section {
    line-height: 0; /* Remove extra space below iframe */
}

.map-section iframe {
    width: 100vw;
    height: 450px;
    margin-left: calc(50% - 50vw);
    border: none; /* Remove default border */
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

.page-content {
    position: relative;
}

.concept-lead-section {
    padding: 100px 0 0;
}

.hero-title {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "りょう Text PlusN", "Optima", serif;
        color: var(--primary-color);
    text-align: center;
    width: 100%;
    margin: 0 auto;
    font-weight: normal;
}

.hero-title-main {
    font-size: 6vw; /* vwベースのフォントサイズ */
    font-weight: normal;
    display: block;
    margin-bottom: -25px;
}

.hero-title-sub {
    font-size: 2.5vw; /* vwベースのフォントサイズ */
}

.hero-title .char {
    display: inline-block;
}

.concept-text-section {
    padding: 50px 0 0;
}

.concept-text {
    font-family: "りょう Text PlusN", "Optima", serif;
    font-weight: normal;
    text-align: center;
    font-size: 1.2rem;
    line-height: 2.5;
}

.infinite-scroll-section {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 100px 0;
}

.scroll-container {
    width: 100%;
    overflow: hidden;
}

.scroll-content {
    display: flex;
    width: calc((300px + 40px) * 10); /* (画像幅 + マージン) * 画像数 */
    animation: scroll 30s linear infinite;
}

.scroll-content img {
    width: 300px;
    height: auto;
    margin-right: 40px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc((-300px - 40px) * 5)); /* (画像幅 + マージン) * 画像数/2 */
    }
}

.technique-section {
    padding: 100px 0 0;
}

.technique-item-section {
    padding: 150px 0;
    position: relative;
}

.technique-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.technique-bg-image-01 {
    width: 35%;
    left: 83%;
    top: 15%;
    transform: translate(-50%, -30%);
    height: 40%;
}

.technique-bg-image-02 {
    width: 37%;
    left: 0;
    top: 26%;
    transform: translate(0, -55%);
    height: 40%;
}

.technique-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.technique-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.container-custom {
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.technique-item {
    margin-bottom: 100px;
}

.technique-item:last-child {
    margin-bottom: 0;
}

.technique-item-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: "りょう Text PlusN", "Optima", serif;
    font-weight: normal;
}

.technique-item-lead {
    font-size: 1.2rem;
    font-family: "りょう Text PlusN", "Optima", serif;
    font-weight: normal;
    margin: 20px 0 50px;
    line-height: 1.7;
}

.technique-item-text {
    font-family: "りょうゴシック PlusN", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.technique-item-logo {
    width: 250px;
    margin-bottom: 40px;
}

.technique-item-sub-title {
    font-family: "りょう Text PlusN", "Optima", serif;
    font-size: 1.6rem;
    font-weight: normal;
    margin: 24px 0;
}

.technique-item-point {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.technique-item-point h6 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 10px;
    font-family: "りょう Text PlusN", "Optima", serif;
    color: #dc733f;
    background-color: #ffffff;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex
;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    margin-right: 20px;
    flex-shrink: 0;
}

.technique-item-point p {
    font-size: 1rem;
    line-height: 1.8;
    font-family: "りょうゴシック PlusN", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.technique-item .col-md-6 {
    position: relative;
}

.technique-image-01 {
    position: absolute;
    width: 60%;
    top: 0;
    left: 40%;
    transform: translate(-50%, 10%);
}

.technique-image-02 {
    position: absolute;
    width: 60%;
    top: 0;
    left: 60%;
    transform: translate(-50%, 10%);
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 9999;
}

/* Greeting Section */
.greeting-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.greeting-img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

.greeting-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.greeting-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.greeting-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.greeting-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.greeting-signature {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: right;
}

/* About Us Section */
.about-us-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.about-us-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.about-us-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.company-info-table {
    border-top: 1px solid #4972da;
    border-bottom: 1px solid #4972da;
}

.company-info-table th, .company-info-table td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6; /* Internal row separator */
    text-align: left;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
    border-bottom: none; /* Remove border from last row to avoid double border */
}

.company-info-table th {
    width: 40%;
    font-weight: normal;
    background-color: #ffffff;
}

/* Business Section */
.business-section {
    position: relative;
    padding: 100px 0;
    background-image: url(../img/corpbg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.business-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay to darken the background */
    z-index: 1;
}

.business-section .container {
    position: relative;
    z-index: 2;
}

.business-sub-title {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.business-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.business-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
}

/* Business Items */
.business-item {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.business-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.business-icon i {
    font-size: 2rem; /* Icon size */
    margin-bottom: 1rem;
    display: inline-block;
}

.business-item-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.business-item-text {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

/* Map Section */
.map-section {
    line-height: 0; /* Remove extra space below iframe */
}

.map-section iframe {
    width: 100vw;
    height: 450px;
    margin-left: calc(50% - 50vw);
    border: none; /* Remove default border */
}

/* Contact Lead Section */
.contact-lead-section {
    background-color: #ffffff;
    padding: 80px 0;
    font-family: "りょう Text PlusN", "Optima", serif;
    font-weight: normal;
}

.contact-lead-text-large {
    font-size: 1.4rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-lead-tel-info {
    color: var(--link-color);
    font-size: 1rem;
    margin-bottom: 0;
}

.contact-lead-tel {
    color: var(--link-color);
    font-size: 3rem;
    font-weight: normal;
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 1px;
    margin-bottom: 1.5rem !important;
}

.contact-lead-tel .tel-label {
    font-size: 1.6rem; /* Smaller size for TEL: */
    font-weight: normal;
}

.contact-lead-text-small {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Form Section */
.contact-form-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.contact-form-section .form-label {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form-section .form-control {
    border-radius: 0;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
}

.contact-form-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 61, 108, 0.25);
}

.contact-form-section .reg-btn {
    margin-top: 2rem;
}

/* Recruit Lead Section */
.recruit-lead-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.recruit-lead-title {
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.recruit-lead-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-family: "りょう Text PlusN", "Optima", serif;
    font-weight: normal;
}

.recruit-large-text {
    font-size: 1.3rem;
    line-height: 2;
}

.recruit-lead-icon {
    max-width: 250px; /* Adjust size as needed */
    height: auto;
    margin: 0 auto;
    display: block;
}

.recruit-full-width-img {
    width: 100vw;
    height: auto;
    display: block;
    margin-left: calc(50% - 50vw);
    margin-top: 50px; /* Add some space above the image */
}

/* Job Postings Section */
.job-postings-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.job-postings-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.job-postings-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.job-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.job-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: "りょう Text PlusN", "Optima", serif;
    font-weight: normal;
}

.job-qa-container {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.job-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-details-list dt {
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.job-details-list dt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.job-details-list dd {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.job-details-list dd:last-of-type {
    margin-bottom: 0;
}

.no-job-postings {
    color: var(--text-dark);
}

.recruit-icon-section {
    background-color: #ffffff;
}

/* Contact Section */
.contact-section {
    position: relative;
    background-color: #fff;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-bg-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 1;
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

/* Page Lead Section */
.page-lead-section {
    background-color: #f8f6f5;
    padding: 80px 0;
}

.page-lead-title {
    font-size: 2rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.news-title-archive {
    color: var(--text-dark);
    transition: color 0.3s ease;
    font-family: "りょう Text PlusN", "Optima", serif;
}

/* Event Archive Content */
.event-archive-content {
    background-color: #ffffff; /* 背景色を白に */
    position: relative;
    overflow: hidden;
}

.event-section-title {
    font-size: 2rem;
    font-weight: normal;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.event-cards-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.event-card .card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.event-card .card-body {
    padding: 1.5rem;
}

.event-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.event-card .card-text {
    color: var(--text-light);
    line-height: 1.6;
}

.event-card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.event-card .btn-primary:hover {
    background-color: var(--link-hover);
    border-color: var(--link-hover);
}

/* Event Detail Styles */
.event-detail-title {
    font-size: 2rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.event-detail-meta {
    margin-bottom: 1.5rem;
}

.event-detail-date {
    font-size: 1rem;
    color: var(--text-dark);
}

.event-detail-reserve-link {
    color: #4972da;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.event-detail-reserve-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #4972da;
    transition: transform 0.3s ease;
    transform: scaleX(1);
}

.event-detail-reserve-link:hover::after {
    transform: scaleX(0);
}

.event-detail-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

/* Event Single Content */
.event-single-content {
    background-color: #fff; /* 白背景 */
    position: relative;
    overflow: hidden;
}

.event-single-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* 画像の幅を%で指定 */
    height: 100%; /* 画像の高さを%で指定 */
    background-image: url(../img/pagetbg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.05; /* 画像の透明度 */
    z-index: 0;
}

.event-single-content > .container {
    position: relative;
    z-index: 1;
}

.event-single-title {
    font-size: 2rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.event-single-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px !important;
}

.event-detail-item {
    margin-bottom: 3rem;
    text-align: center;
}

.event-detail-label {
    font-weight: normal;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
    font-size: 1.6rem;
    letter-spacing: 3px;
}

.event-detail-value {
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 0;
    font-size: 1.8rem;
}

/* Map Section */
.map-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 450px; /* Adjust height as needed */
    display: block;
}

/* Booking Section */
.booking-section {
    background-color: #f8f6f5;
    padding: 80px 0;
}

.booking-title {
    font-size: 2rem;
    font-weight: normal;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.booking-calendar-placeholder {
    border: 1px dashed #ccc;
    padding: 50px;
    text-align: center;
    color: #666;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

/* 404page */
.nf-imgbox {
    padding: 5% 20% 5%;
}

/* News Archive Content */
.news-archive-content {
    background-color: #fff; /* 白背景 */
    position: relative;
    overflow: hidden;
}

.news-archive-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: auto;
    opacity: 1;
    z-index: 0;
}

.news-list-archive {
    padding: 0;
    border-top: 1px solid #dee2e6;
}

.news-item-archive {
    list-style: none;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.news-item-archive:hover {
    background-color: #f8f6f5;
}

.news-date-archive {
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-title-archive {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "りょう Text PlusN", "Optima", serif;
}

.news-title-archive:hover {
    color: var(--link-color);
}

.news-archive-content .container {
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

/* News Single Content */
.news-single-content {
    background-color: #fff; /* 白背景 */
    position: relative;
    overflow: hidden;
}

.news-single-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: auto;
    opacity: 1;
    z-index: 0;
}

/* News Article */
.news-article-header {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.news-article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.news-article-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-article-category {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--text-light);
}

.news-article-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.news-article-body p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Article Headings */
.news-article-body h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.news-article-body h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}

.news-article-body h4 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px; /* ボーダーの幅 + 余白 */
}

.news-article-body h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px; /* この値で長さを調整 */
    height: 2px; /* この値で太さを調整 */
    background-color: var(--primary-color);
}

/* Back to List Link */
.back-to-list-container {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.back-to-list-link {
    color: #4972da;
    font-size: 1.2rem;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.back-to-list-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #4972da;
    transition: transform 0.3s ease;
    transform: scaleX(1);
}

.back-to-list-link:hover::after {
    transform: scaleX(0);
}

.news-single-content .container {
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

/* Greeting Section */
.greeting-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 50px;
}

.greeting-img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    padding: 0 50px;
}

.greeting-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.greeting-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.greeting-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.greeting-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.greeting-signature {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: right;
}

/* About Us Section */
.about-us-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.about-us-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.about-us-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.company-info-table {
    border-top: 1px solid #4972da;
    border-bottom: 1px solid #4972da;
}

.company-info-table th, .company-info-table td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6; /* Internal row separator */
    text-align: left;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
    border-bottom: none; /* Remove border from last row to avoid double border */
}

.company-info-table th {
    width: 40%;
    font-weight: normal;
    background-color: #ffffff;
}

/* Business Section */
.business-section {
    position: relative;
    padding: 100px 0;
    background-image: url(../img/corpbg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.business-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay to darken the background */
    z-index: 1;
}

.business-section .container {
    position: relative;
    z-index: 2;
}

.business-sub-title {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.business-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.business-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
}

/* Business Items */
.business-item {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.business-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.business-icon i {
    font-size: 2rem; /* Icon size */
    margin-bottom: 1rem;
    display: inline-block;
}

.business-item-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.business-item-text {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

/* Map Section */
.map-section {
    line-height: 0; /* Remove extra space below iframe */
}

.map-section iframe {
    width: 100vw;
    height: 450px;
    margin-left: calc(50% - 50vw);
    border: none; /* Remove default border */
}

/* Recruit Lead Section */
.recruit-lead-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.recruit-lead-title {
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.recruit-lead-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-family: "りょう Text PlusN", "Optima", serif;
}

.recruit-large-text {
    font-size: 1.3rem;
    line-height: 2;
}

.recruit-lead-icon {
    max-width: 250px !important; /* Adjust size as needed */
    height: auto;
    margin: 0 auto;
    display: block;
}

.recruit-full-width-img {
    width: 100vw;
    height: auto;
    display: block;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
}

/* Job Postings Section */
.job-postings-sub-title {
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.job-postings-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.job-postings-main-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.job-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.job-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: "りょう Text PlusN", "Optima", serif;
    font-weight: normal;
}

.job-qa-container {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.job-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-details-list dt {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.job-details-list dt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.job-details-list dd {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.job-details-list dd:last-of-type {
    margin-bottom: 0;
}

.no-job-postings {
    color: var(--text-dark);
    width: 80%;
    margin: 2rem auto 0;
}

.recruit-icon-section {
    background-color: #ffffff;
}

/* Contact Section */
.contact-section {
    position: relative;
    background-color: transparent;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-bg-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 1;
}

.recruit-full-width-img {
    width: 100vw;
    height: auto;
    display: block;
    margin-left: calc(50% - 50vw);
}

/* Page Header */
.page-header {
    background-color: #ffffff; /* 背景色を白に */
    padding: 100px 0; /* 上下のパディング */
    text-align: center;
    position: relative; /* positionを設定 */
    overflow: hidden; /* はみ出したロゴを隠す */
}

.page-header .section-title-container {
    margin-bottom: 0; /* ページヘッダーでは下マージンをなくす */
}

.page-header .section-title-fg {
    color: #231815; /* ページヘッダーのサブタイトルは#231815に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}

/* Works Archive Content */
.works-categories{
    margin-bottom: 5rem;
}

.works-archive-content {
    background-color: #ffffff; /* 背景色を白に */
    position: relative;
    overflow: hidden;
}

.works-archive-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: auto;
    opacity: 1;
    z-index: 0;
}

.works-archive-content .container {
    position: relative;
    z-index: 1;
}

/* New Work Item Row Styles */
.work-item-link-wrapper {
    display: block;
    color: inherit;
}

.work-item-row {
    background: linear-gradient(to left, #e1dbd8, #f9f8f8);
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.work-item-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.work-item-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.work-item-title {
    font-family: "りょう Text PlusN", "Optima", serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: normal;
    line-height: 1.4;
    text-decoration: none;
}

.work-item-image-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: 350px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .work-item-row .row {
        flex-direction: column;
    }
    .work-item-image-col {
        order: 1 !important; /* Ensure image is always first on mobile */
    }
    .work-item-text-col {
        order: 2 !important; /* Ensure text is always second on mobile */
    }
    .work-item-text-content {
        padding: 2rem !important; /* Adjust padding for smaller screens */
    }
    .work-item-title {
        font-size: 1.8rem;
    }
}


/* Works Categories */
.works-categories .btn {
    margin: 0 5px;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 1rem;
}

.works-categories .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.works-categories .btn-outline-primary:hover,
.works-categories .btn-outline-primary.active {
    background-color: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color) !important;

}

/* Page Header */
.page-header {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-color: #ffffff; /* 背景色を白に */
}

.page-header-logo {
    position: absolute;
    top: 70%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 5;
}
.works-single-content {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 10rem !important; /* ネガティブマージンを相殺するための追加の余白 */
}

.works-single-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: auto;
    opacity: 1;
    z-index: 0;
}

.work-header .work-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.work-header .work-category {
    font-size: 1rem;
    color: #6c757d;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid #6c757d;
    border-radius: 15px;
}

.work-main-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.work-description {
    line-height: 1.8;
}

.work-details-table th {
    width: 150px;
    background-color: #f8f9fa;
    font-weight: bold;
}

.work-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.work-point .point-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.work-point .point-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #0d6efd;
}

.btn-primary-outline {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: #0d6efd;
    color: #fff;
}

.section-sub-title-b {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    /* border-bottom: 2px solid #0d6efd; */
    padding-bottom: 0.5rem;
    display: inline-block;
}

.spec-list {
    margin-bottom: 1.5rem;
}

.spec-list dt {
    font-weight: bold;
    float: left;
    clear: left;
    width: 100px;
}

.spec-list dd {
    margin-left: 110px;
    margin-bottom: 0.5rem;
}

.spec-badges .badge {
    background-color: #f8f6f5;
    border: 1px solid #333333;
    color: #333333;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    font-size: 1rem;
}



/* Swiper Slider */
.swiper-fade .swiper-slide {
  transition-property: opacity !important;
}

.gallery-slider {
    width: 100%;
    height: auto;
}

.gallery-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.gallery-thumbs {
    height: 10%;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-thumbs .swiper-slide:hover {
    transform: translateY(-5px);
    opacity: 0.7;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: translateY(-5px);
}

.gallery-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .work-header .work-title {
        font-size: 2rem;
    }

    .work-details-table th {
        width: 100px;
    }
}

.floor-plan-link a {
    color: var(--link-color);
}

.floor-plan-link a:hover {
    color: var(--link-hover);
}

.owner-voice-section {
    background-color: #f8f6f5;
    padding-top: 3rem; /* 画像の半分が重なるように調整 */
    padding-bottom: 3rem;
}

.owner-voice-section .container {
    padding: 0 15px;
}

.owner-voice-qa-img {
    display: block;
    margin: -10rem auto 2rem auto;
    max-width: 30% !important;
    position: relative;
    z-index: 1;
}

.owner-voice-content {
    margin: 5rem auto 1rem;
    width: 1000px;
}

.owner-voice-q {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.owner-voice-q {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.owner-voice-q .q-prefix {
    color: #4972da;
}

.owner-voice-a {
    line-height: 1.8;
}

.section-sub-title-b {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    /* border-bottom: 2px solid #0d6efd; */
    padding-bottom: 0.5rem;
    display: inline-block;
    text-align: left; /* Center the title */
    width: 100%; /* Ensure it takes full width for centering */
}

.related-works-section .work-item-row {
    background: linear-gradient(to left, #e1dbd8, #f9f8f8);
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-works-section .work-item-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.related-works-section .work-item-text-content {
    display: flex
;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    margin-left: 20px;
}

.related-works-section .work-item-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.related-works-section .work-item-title {
    font-family: "りょう Text PlusN", "Optima", serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: normal;
    line-height: 1.4;
    white-space: normal;
}

.related-works-section .work-item-image-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: 200px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.related-works-section {
    background-color: #eeeef0;
    padding: 3rem 0;
}

/* Infinite Scroll for Related Works */
.infinite-scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.infinite-scroll-content {
    display: inline-block;
    animation: infiniteScroll 30s linear infinite;
}

.infinite-scroll-content:hover {
    animation-play-state: paused;
}

.infinite-scroll-container .work-item-link-wrapper {
    display: inline-block;
    width: 800px; /* Adjust as needed */
    margin-right: 30px; /* Spacing between items */
    vertical-align: top;
}

@keyframes infiniteScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .infinite-scroll-container .work-item-link-wrapper {
        width: 300px; /* Adjust for smaller screens */
    }
}

.works-single-content .container {
    position: relative;
    z-index: 1;
}


/* Hero Section */
.no-ma{
	margin: 0 !important;
}
.hero {
    position: relative;
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f6f5;
}

.hero-bg {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/topimg.jpg);
    background-size: 83%;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    filter: blur(10px);
}

.hero-title {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "りょう Text PlusN", "Optima", serif;
    color: var(--primary-color);
    z-index: 1;
    text-align: center;
    width: 80%;
}

.hero-title-main {
    font-size: 6vw; /* vwベースのフォントサイズ */
    font-weight: normal;
    display: block;
    margin-bottom: -40px;
}

.hero-title-sub {
    font-size: 2.5vw; /* vwベースのフォントサイズ */
}

.hero-title .char {
    display: inline-block;
}

.hero-script-logo {
    position: absolute;
    width: 15%;
    bottom: 6%;
    right: -2%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Mobile adjustments for Hero Section */
@media (max-width: 430px) {
    .hero {
        height: 55vh; /* Adjust height for mobile */
    }
    .hero-title-main {
        font-size: 7vw; /* Larger on mobile */
        margin-bottom: -35px; /* Adjust spacing */
    }
    .hero-title-sub {
        font-size: 4vw; /* Larger on mobile */
    }
    .hero-script-logo {
        width: 25%; /* Larger on mobile */
        bottom: 3%;
        right: 0%;
        transform: translateX(0%); /* Reset transform if needed */
    }
}

/* Tablet adjustments for Hero Section */
@media (min-width: 431px) and (max-width: 1099px) {
    .hero {
        min-height: 55vh; /* Adjust height for tablet */
    }
    .hero-title-main {
        font-size: 7vw; /* Slightly larger on tablet than PC */
        margin-bottom: -35px;
    }
    .hero-title-sub {
        font-size: 3.5vw; /* Slightly larger on tablet than PC */
    }
    .hero-script-logo {
        width: 20%; /* Larger on tablet */
        bottom: 5%;
        right: -1%;
    }
}


/* Concept Section */
.concept {
    position: relative;
    padding: 100px 0;
    color: #fff; /* テキストが見やすいように白にします */
}

#vanta-bg {
    position: relative;
    z-index: 1;
    min-height: 500px; /* Vanta.jsが表示される最低限の高さを確保 */
}

.concept .container {
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin: 0 auto;
    padding: 50px 0;
}

.concept-bg-image {
    position: absolute;
    width: 50%;
    height: auto;
    bottom: -6%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 1;
}
.trs-ml{
	margin-left: 10%;
}
.trs-ml2{
	margin-left: 15%;
}


/* Reusable Section Title */
.section-title-container {
    width: 95vw;
    position: relative;
    display: grid;
    place-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.section-title-bg, .section-title-fg {
    grid-area: 1 / 1 / 2 / 2; /* グリッドの同じ位置に配置して重ねる */
    font-family: "りょう Text PlusN", "Optima", serif;
    text-align: center;
}

.section-title-bg {
    font-size: 14vw;
    font-weight: normal;
    color: rgba(255, 255, 255, 1);
    text-transform: uppercase;
    letter-spacing: 5vw;
    z-index: 1;
    line-height: 1;
    width: 100%;
    overflow: hidden;
}

.section-title-bg.is-light {
    color: var(--background-color);
}

.section-title-fg {
    font-size: 2.5vw;
    color: #000000;
    letter-spacing: 1.1vw;
    z-index: 2;
}

/* Concept Content */
.concept-content-row {
    opacity: 0; /* 初期状態は非表示 */
    transform: translateY(50px); /* 下からフェードイン */
    margin-bottom: 6rem; /* 間隔を広げる */
}

.concept-text-line {
    font-size: 2.8rem;
    line-height: 1.8;
    overflow: hidden;
    color: var(--primary-color);
}

@media (max-width: 1366px) {
    .concept-text-line {
        font-size: 1.8rem;
    }
    .concept .container {
        max-width: 70%;
    }
}


/* スマートフォン */
@media (max-width: 430px) {
    .concept {
        padding: 50px 0; /* Adjust padding for mobile */
    }
    .concept-content-row {
        flex-direction: column; /* Stack columns on mobile */
        margin-bottom: 3rem; /* Adjust spacing */
    }
    .concept-content-row:nth-child(odd) .col-md-6:first-child {
        order: 2; /* Image first, then text for odd rows */
    }
    .concept-content-row:nth-child(odd) .col-md-6:last-child {
        order: 1;
    }
    .concept-text-line {
        font-size: 2rem;
    }
    .concept-bg-image {
        display: none; /* SPでは背景画像を非表示にして表示崩れを解消 */
    }
    .concept .container {
        max-width: 80%;
        margin: 0 auto;
        padding: 40px 0;
    }
}

/* タブレット */
@media (min-width: 431px) and (max-width: 1099px) {
    .concept {
        padding: 70px 0; /* Adjust padding for tablet */
    }
    .concept-content-row {
        margin-bottom: 4rem; /* Adjust spacing */
    }
    .concept-text-line {
        font-size: 2rem;
    }
    .concept-large-text {
        font-size: 2.2rem;
    }
    .concept-bg-image {
        position: absolute;
        width: 45%;
        height: auto;
        bottom: -5%;
        right: 5%;
        transform: translateY(-50%);
        z-index: 1;
    }
    .concept .container {
        max-width: 80%;
        margin: 0 auto;
        padding: 40px 0;
    }
    .hero {
        height: 50vh !important;
    }
}


/* Button Section */
.button-section {
    background-color: var(--background-color);
}

.section-button-link {
    background-color: #ffffff;
    color: var(--link-color);
    border: 1px solid #b3b3b3;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-button-link:hover {
    background-color: var(--link-color);
    color: #ffffff;
}

.section-button-title {
    font-family: "りょう Text PlusN", "Optima", serif;
    font-size: 1.6rem;
    margin-bottom: 0;
    letter-spacing: 4px;
}

/* Mobile adjustments for Button Section */
@media (max-width: 430px) {
    .button-section .row {
        flex-direction: column; /* Stack columns on mobile */
    }
    .section-button-link {
        padding: 30px 0; /* Adjust padding for mobile */
    }
    .section-button-title {
        font-size: 1.2rem;
    }
}

/* Tablet adjustments for Button Section */
@media (min-width: 431px) and (max-width: 1099px) {
    .section-button-link {
        padding: 40px 0; /* Adjust padding for tablet */
    }
    .section-button-title {
        font-size: 1.4rem;
    }
}

/* News & Event Section */
.news-event-section {
    padding: 0;
    background: #f8f8f8;
}
.news-column,
.event-column {
    display: flex;
    flex-direction: column;
}

.news-event-section > .row > .col-6 {
    display: flex;
    flex-direction: column;
}

.news-column, .event-column {
    padding: 70px 30px;
    width: 85%;
    margin: 0 auto;
    /* min-height: 450px; */ /* 削除 */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    flex-grow: 1; /* 親の高さに合わせて伸縮 */
}

.news-column {
    background-color: #f8f6f5; /* 背景A */
}

.section-sub-title {
    font-family: "りょう Text PlusN", "Optima", serif;
    font-size: 1.6rem;
    color: var(--link-color);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.section-sub-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%; /* 親要素の幅に合わせる */
    height: 2px; /* アンダーバーの高さ */
    background-color: var(--link-color);
}

.works-section .section-sub-title {
    margin: 40px auto 50px; /* 上下左右のマージンを調整 */
}

.news-list,
.event-list {
    flex-grow: 1;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.news-list li, .event-list li {
    margin-bottom: 15px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.event-list li {
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
    background-color: white;
}

.news-list li:last-child, .event-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-date, .event-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.news-title, .event-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title:hover, .event-title:hover {
    color: var(--link-color);
}

/* News Archive Content styles for index.html */
.news-list-archive {
    padding: 0;
    border-top: 1px solid #dee2e6;
}

.news-item-archive {
    list-style: none;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.news-item-archive:hover {
    background-color: #f8f6f5;
}

.news-date-archive {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: "りょう Text PlusN", "Optima", serif;
}

.news-title-archive {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "りょう Text PlusN", "Optima", serif;
}

.news-title-archive:hover {
    color: var(--link-color);
}

.event-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}

.event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.event-item-img-wrapper {
    flex-shrink: 0;
    width: 230px;
    height: 150px;
    overflow: hidden;
}

.event-item-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-item-content {
    flex-grow: 1;
    background-color: #FFFFFF;
    padding: 10px;
}

.event-item-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.event-item-date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
}

.btn-primary-a.btn-sm {
    padding: 5px 10px;
    font-size: 0.9rem;
    color: #e93861;
    text-decoration: none;
    border-bottom: 1px solid #e93861;
    padding-bottom: 5px;
    display: inline-block; /* ボーダーをテキスト幅に合わせる */
}

.btn-primary-a.btn-sm:hover {
    color: #9c2240;
    border-color: #9c2240;
}

.btn-primary-a.btn-sm i {
    margin-right: 10px;
}

/* Mobile adjustments for News & Event Section */
@media (max-width: 430px) {
    .news-event-section > .row {
        flex-direction: column; /* Stack columns on mobile */
    }
    .news-column, .event-column {
        width: 100%; /* Full width on mobile */
        padding: 30px 15px; /* Adjust padding */
    }
    .event-item-img-wrapper {
        width: 150px; /* Smaller image on mobile */
        height: 100px;
    }
    .works-container {
        /* height: 600px !important; */ /* Adjust height for mobile */
    }
}

/* Tablet adjustments for News & Event Section */
@media (min-width: 431px) and (max-width: 1099px) {
    .news-column, .event-column {
        width: 95%; /* Adjust width for tablet */
        padding: 50px 20px;
    }
    .event-item-img-wrapper {
        width: 200px; /* Adjust image size for tablet */
        height: 130px;
    }
    .works-container {
        /* height: 700px !important; */ /* Adjust height for tablet */
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* Bootstrapの固定要素のz-indexに合わせる */
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

main {
    padding-top: 70px; /* ヘッダーの高さ分だけ余白を設ける */
}

.navbar-brand img {
    height: 60px;
}

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    position: relative;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.toggler-icon.top-bar {
    top: 0px;
}

.toggler-icon.middle-bar {
    top: 9px;
}

.toggler-icon.bottom-bar {
    top: 18px;
}

.navbar-toggler[aria-expanded="true"] .top-bar {
    top: 9px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .middle-bar {
    opacity: 0;
    left: -50%;
}

.navbar-toggler[aria-expanded="true"] .bottom-bar {
    top: 9px;
    transform: rotate(-135deg);
}

/* Offcanvas */
.offcanvas-header {
    border-bottom: 1px solid #eee;
}

.works-section {
    position: relative;
    background-color: #e0e0e0;
    text-align: center; /* 子要素を中央揃えにする */
}

.works-container {
    position: relative;
    width: 100%;
    height: 100vh; /* ビューポートの高さに設定 */
    overflow: hidden;
}

.work-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    --overlay-opacity: 0.6; /* デフォルトの不透明度 */
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 24, 21, var(--overlay-opacity)); /* CSS変数を使用 */
    z-index: 1; /* 画像の上に表示 */
}

.image-container > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-caption {
    position: absolute;
    top: 50%; /* 上から50% */
    left: 0; /* 左端 */
    transform: translateY(-50%); /* 垂直方向中央揃え */
    width: 100%;
    z-index: 2;
    color: white;
    background-color: transparent; /* 背景色を透明に */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* 左揃え */
    padding-left: 5%; /* 左からの余白 */
}

.work-caption-logo {
    width: 15%; /* ロゴの幅を15%に設定 */
    margin-bottom: 20px;
}

.work-caption-tag {
    font-size: 1.6rem;
    margin-bottom: 10px !important;
    letter-spacing: 1px;
}

.work-caption-title {
    font-size: 2.6rem;
    font-weight: normal;
    margin-bottom: 0;
}

.work-caption-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 2.2rem;
    letter-spacing: 3px;
}


.offcanvas-title {
    font-family: "りょう Text PlusN", "Optima", serif;
    color: var(--primary-color);
    font-weight: normal;
}

.offcanvas-body .nav-link {
    font-size: 1.2rem;
    color: var(--text-dark);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    color: var(--link-hover);
}

.recruit-section {
    position: relative;
    padding: 0;
    color: #fff;
    text-align: center; /* 子要素を中央揃えにする */
}

.recruit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/recbg.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.recruit-section .container {
    background-color: rgba(0, 61, 108, 0.8);
    padding: 100px;
    border-radius: 10px;
}

.recruit-sub-title {
    color: #fff;
    margin: 0 auto 4rem; /* センタリングと下マージンを4remに */
}

.recruit-sub-title::after {
    background-color: #fff;
}

.recruit-main-title {
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 3rem;
}

.recruit-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}

.recruit-section-button {
    display: inline-block;
    padding: 15px 40px; /* ある程度のパディング */
    border: 1px solid #ffffff; /* 白ボーダー */
    color: #ffffff; /* 白文字 */
    background-color: transparent; /* 背景色なし */
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 5px; /* 必要であれば */
    font-size: 2rem; /* section-button-titleと同じフォントサイズ */
}

.recruit-section-button:hover,
.recruit-section-button:active {
    background-color: #ffffff; /* hover/active時背景白 */
    color: var(--link-color); /* hover/active時文字色#4972da */
}

.contact-section {
    position: relative;
    background-color: #fff;
    padding: 100px 0;
    overflow: hidden; /* Ensures the logo doesn't overflow the section */
    text-align: center; /* 子要素を中央揃えにする */
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-bg-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15%;
    height: auto;
    opacity: 1;
    z-index: 1;
}

.contact-title {
    color: var(--link-color);
    margin: 0 auto 4rem;
}

.contact-subtitle {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.reg-btn {
    background-color: transparent !important;
    color: var(--link-color) !important;
    padding: 15px 40px !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin-bottom: 2rem !important;
    border: 1px solid var(--link-color) !important;
    font-size: 1.5rem !important;
}

.reg-btn:hover {
    background-color: var(--link-color) !important;
    color: #fff !important;
}

.contact-tel {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 60px 20px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-address a {
    color: #fff;
}

.footer-sns {
    margin-bottom: 20px;
}

.footer-sns a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin-bottom: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 1.4rem;
}

.footer-nav li {
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-nav li:last-child {
    margin-bottom: 0;
    margin-right: 0;
}

.footer-nav a {
    color: #fff;
    font-size: 1rem;
}

.privacy-policy {
    color: #fff;
    display: block;
    margin-bottom: 20px;
    font-weight: 100;
    font-size: 0.8rem;
}

.copyright {
    font-size: 0.8rem;
    text-align: right;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .footer .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-left, .footer-right {
        text-align: center;
    }

    .footer-right {
        margin-top: 40px;
    }
}

.footer-right {
    text-align: right;
}


/* --- Responsive Typography --- */

/* PCの基本サイズ (1100px以上) */
body {
  font-size: 16px; /* 基本の文字サイズ */
}
h1, .h1 { font-size: 2.5rem; }  /* 40px相当 */
h2, .h2 { font-size: 2rem; }    /* 32px相当 */
h3, .h3 { font-size: 1.75rem; } /* 28px相当 */
h4, .h4 { font-size: 1.5rem; }   /* 24px相当 */
h5, .h5 { font-size: 1.25rem; }  /* 20px相当 */
h6, .h6 { font-size: 1rem; }     /* 16px相当 */


/* タブレット (431px ~ 1099px) */
@media (min-width: 431px) and (max-width: 1099px) {
  body {
    font-size: 15px;
  }
  h1, .h1 { font-size: 2.2rem; }
  h2, .h2 { font-size: 1.8rem; }
  h3, .h3 { font-size: 1.6rem; }
  h4, .h4 { font-size: 1.4rem; }
  h5, .h5 { font-size: 1.1rem; }
  h6, .h6 { font-size: 1rem; }
}

/* スマートフォン (430px以下) */
@media (max-width: 430px) {
  body {
    font-size: 14px;
  }
  h1, .h1 { font-size: 1.8rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.4rem; }
  h4, .h4 { font-size: 1.2rem; }
  h5, .h5 { font-size: 1.1rem; }
  h6, .h6 { font-size: 1rem; }
}

/* リクルートとコンタクトセクション */
@media screen and (max-width: 1366px) {
    .page-header {
        padding: 60px 0;
    }
    /* イベント一覧 */
    .event-cards-wrapper {
        max-width: 800px;
        margin: 0 auto;
    }
    /* 施工事例一覧 */
    .works-list{
        width: 100%;
        margin: 0 auto;
    }
    .work-item-title {
        font-size: 1.8rem;
    }
    /* コンセプト */
    .container-custom {
        max-width: 1200px;
    }
    .technique-item-sub-title {
        font-size: 1.4rem;
    }
    .technique-item-title {
        font-size: 2rem;
    }
    .technique-bg-image-01 {
        height: 30%;
        width: 45;
    }
    .technique-bg-image-02 {
        width: 45%;
        height: 40%;
    }
    .technique-item-point h6 {
        font-size: 1.6rem;
        width: 120px;
        height: 120px;
    }
    /* リクルート */
    .recruit-lead-icon {
        max-width: 200px;
    }
    .recruit-lead-title {
        font-size: 2.4rem;
    }
    .job-postings-main-title {
        font-size: 2rem;
    }

}
@media screen and (max-width: 1100px) {
    /* トップページ */
    .concept-text-line {
        font-size: 1.9rem;
    }
    .work-caption-title a {
        font-size: 1.8rem;
    }
    .work-caption-tag {
        font-size: 1.2rem;
        margin-bottom: 0px;
    }
    .section-button-link {
        padding: 25px 0 !important;
    }
    .trs-ml {
	    margin-left: 0%;
	}
	.event-item-title {
	    font-size: 1rem;
	}
	.work-caption-logo {
	    width: 40%;
	    margin-bottom: 20px;
	}
	.work-caption-tag {
        font-size: 1.6rem;
    }
    /* イベント一覧 */
    .event-cards-wrapper {
        max-width: 700px;
    }
    .event-detail-title {
        font-size: 1.6rem;
    }
    .page-lead-text{
        text-align: left;
    }
    /* イベント詳細 */
    .event-detail-item {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    .event-single-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    /* 施工事例一覧 */
    .works-list {
        width: 100%;
    }
    .recruit-section .container {
        padding: 50px;
        max-width: 80%;
    }
    /* 施工事例詳細 */
    .owner-voice-content {
        width: 100％;
    }
    .contact-subtitle {
        font-size: 1.6rem;
    }
    .contact-bg-logo {
        width: 22%;
    }
    .owner-voice-content {
        width: 90% !important;
    }
    .work-header .work-title {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    .section-sub-title-b {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .infinite-scroll-container .work-item-link-wrapper {
        width: 500px;
    }
    /* 施工事例詳細 */
    .owner-voice-qa-img {
        display: block;
        margin: -10rem auto 2rem auto;
        max-width: 45%;
        position: relative;
        z-index: 1;
    }
    .recruit-main-title {
        font-size: 2.5rem;
    }
    .recruit-text {
        font-size: 1.2rem;
        line-height: 1.6;
        font-weight: 200;
    }
    /* コンセプト */
    .container-custom {
        max-width: 85%;
    }
    .technique-image-01 {
        left: 55%;
        width: 80%;
    }
    .technique-image-02 {
        width: 80%;
        left: 50%;
        transform: translate(-50%, 20%);
    }
    /* カンパニー */
    .greeting-main-title,.about-us-main-title,.business-main-title {
        font-size: 2rem;
    }
    .business-section .container {
        width: 75%;
    }
    .scroll-content img {
        width: 250px;
    }
    .infinite-scroll-section {
        padding: 100px 0 20px;
    }
    .technique-item-section {
        padding: 50px 0;
    }
    /* リクルート */
    .recruit-large-text {
        font-size: 1rem;
    }
    .job-title {
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 820px) {
	.concept-text-line {
        font-size: 1.4rem;
    }
    .event-item{
	    display: flex !important;
	    flex-direction: column;
    }
    .event-item-img-wrapper {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .page-lead-title {
        font-size: 1.8rem;
    }
    .event-cards-wrapper {
        max-width: 500px;
    }
    /* イベント詳細 */
    .event-detail-label {
        font-size: 1.4rem;
    }
    .event-detail-value {
        font-size: 1.6rem;
    }
    /* 施工事例一覧 */
    .work-item-image-col img {
        min-height: 270px;
    }
    /* 施工事例詳細 */
    .owner-voice-qa-img {
        max-width: 85% !important;
        margin-bottom: 0;
    }
    .owner-voice-section {
	    margin-top: 5rem;
	}
    /* コンセプト */
    .container-custom {
        max-width: 90%;
    }
    .technique-bg-image-01 {
        height: 18%;
        width: 55%;
        top: 15%;
    }
    .technique-image-01 {
        left: 56%;
        width: 90%;
    }
    .technique-bg-image-02 {
        width: 45%;
        height: 25%;
        transform: translate(0%, -40%);
    }
    .technique-item-section {
        padding: 100px 0;
    }
    .greeting-img {
	    padding: 0;
	}
    /* リクルート */
    .recruit-lead-icon {
        max-width: 170px;
    }
    .job-postings-sub-title {
        font-size: 1.4rem;
    }
    .recruit-lead-title {
        font-size: 1.8rem;
    }
    .recruit-large-text {
        font-size: 0.9rem;
    }
    .job-postings-main-title {
        font-size: 1.8rem;
        letter-spacing: 10px;
    }
    .job-title {
        font-size: 1.6rem;
    }
    main {
	    padding-top: 40px;
	}
}
@media screen and (max-width: 430px) {
	.sponly{
		display: block;
	}
    /* トップページ */
    .hero {
        height: 50vh;
    }
    main {
	    padding-top: 40px;
	}
    .trs-ml2 {
	    margin-left: 0;
	    padding-bottom: 20px;
	}
    .hero-title {
        top: 32%;
    }
    .hero-bg {
	    top: 18%;
    }
    .hero-script-logo {
        bottom: 5%;
        right: 5%;
    }
    .section-button-link {
        padding: 30px 0 !important;
    }
    .news-column, .event-column {
        padding: 50px 30px 20px 30px;
    }
    .event-item {
        display: flex !important;
        flex-direction: column;
    }
    .event-list li,.event-item-content {
        background-color: rgba(255, 255, 255, 0);
    }
    .event-item-img-wrapper {
        width: 290px;
        height: 190px;
        margin-bottom: 5px;
    }
    .work-caption-title a {
        font-size: 1rem;
    }
    .work-caption-tag {
        font-size: 1rem;
        margin-bottom: -10px;
    }
    .work-caption-logo {
        width: 40%;
        margin-bottom: 15px;
    }
    .hero-title-main {
        font-size: 12vw;
    }
    .hero-title-sub {
        font-size: 5.5vw;
    }
    .concept-text-line {
        font-size: 1.4rem;
        line-height: 1.8;
        text-align: center;
    }
    .container {
        padding: 0;
        width: 90%;
    }
    
    /* ニュース詳細 */
    .news-archive-content {
	    margin-bottom: 7rem;
	}
    .news-article-title {
        font-size: 1.4rem;
    }
    .news-article-header {
        padding-bottom: 1rem;
        margin-bottom: 1.7rem;
    }
    .recruit-section .container {
        padding: 50px 30px;
        max-width: 100%;
    }
    .news-article-body h2 {
        font-size: 1.6rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    .news-article-body h3 {
        font-size: 1.3rem;
    }
    .news-single-content .row{
        width: 95%;
        margin: 0 auto;
    }
    /* イベント一覧 */
    .page-lead-title {
        font-size: 1.4rem;
    }
    .event-section-title {
        font-size: 1.6rem;
    }
    .event-detail-title {
        font-size: 1.4rem;
    }
    .event-detail-meta {
        display: block !important;
    }
    .event-detail-date {
        margin-bottom: 5px;
        display: block;
    }
    /* イベント詳細 */
    .event-single-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    .booking-title{
        font-size: 1.6rem;
    }
    .event-detail-value {
        font-size: 1.2rem;
    }
    .event-detail-label {
        font-size: 1.2rem;
    }
    .recruit-main-title {
        font-size: 1.8rem;
        line-height: 1.6;
    }
    .recruit-sub-title {
        margin: 0 auto 2.5rem;
    }
    /* 施工事例一覧 */
    .work-item-image-col img {
        min-height: 150px;
    }
    .work-item-title {
        font-size: 1.2rem;
    }
    .work-item-subtitle {
        font-size: 1rem;
    }
    .works-categories {
        margin-bottom: 3rem;
    }
    .contact-subtitle {
        font-size: 1.1rem;
    }
    .contact-title {
        margin: 0 auto 2.5rem;
    }
    .page-header {
        padding: 20px 0 20px !important;
    }
    .work-item-text-content {
        padding: 0 2rem 1rem 2rem !important;
    }
    .related-works-section .work-item-text-content {
        padding: 2rem 2rem 0 2rem !important;
    }
    .works-list {
        display: contents !important;
    }
    .works-single-content .container{
	    width: 90%;
    }
    /* 施工事例詳細 */
    .work-header .work-title {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
    .infinite-scroll-container .work-item-link-wrapper {
        width: 350px;
    }
    /* コンセプト */
    .concept-text {
        font-size: 0.9rem;
        line-height: 2;
    }
    .infinite-scroll-section {
        padding: 50px 0;
    }
    .concept-lead-section {
        padding: 50px 0 0;
    }
    .scroll-content img {
        width: 250px;
        margin-right: 20px;
    }
    .technique-section {
        padding: 50px 0 0;
    }
    .technique-sub-title {
        font-size: 1.2rem;
    }
    .technique-item-section {
        padding: 50px 0;
    }
    .technique-item {
        margin-top: 200px;
    }
    .technique-bg-image-01 {
        height: 16%;
        width: 100%;
        top: 5%;
    }
    .technique-item {
        margin: 250px 0;
        padding: 0 0 90px 0;
    }
    .technique-bg-image-02 {
        width: 70%;
        height: 16%;
        transform: translate(0%, -75%);
    }
    .technique-item-section-02{
        padding: 100px 0;
    }
    .technique-bg-image-02 {
        width: 75%;
        height: 15%;
        transform: translate(0%, -100%);
        top: 29%;
    }
    .technique-item-section-02 {
        padding: 250px 0;
    }
    .technique-item-point h6 {
        font-size: 1.4rem;
        width: 100px;
        height: 100px;
    }
    .technique-image-01 {
        left: 56%;
        width: 90%;
        transform: translate(-50%, 15%);
    }
    .technique-item-section {
        padding: 300px 0 50px;
    }
    .technique-item-section-02 {
        padding: 470px 0 230px;
    }
    /* カンパニー */
    .greeting-sub-title,.about-us-sub-title,.business-sub-title,.section-sub-title,.job-postings-sub-title,.section-sub-title {
        font-size: 1rem;
    }
    .greeting-main-title,.business-main-title,.about-us-main-title {
        font-size: 2rem;
        margin-bottom: 0;
    }
    .greeting-img{
        margin-bottom: 30px;
    }
    .business-item-title {
        margin-bottom: 3rem;
    }
    .greeting-text {
        line-height: 1.7;
    }
    .business-section .container {
        width: 90%;
    }
    .technique-bg-image-01 {
        height: 15%;
        width: 70%;
        top: 6%;
        left: 65%;
    }
    .scroll-content img {
        width: 200px;
    }
    .greeting-section .container,.about-us-section .container{
	    width: 90%;
    }
	/*     404page */
	.nf-text .contact-subtitle{
		font-size: 0.8rem;
	}

    /* リクルート */
    .recruit-large-text {
        font-size: 1rem;
        text-align: left;
    }
    .recruit-lead-icon {
	    max-width: 170px !important;
	}
	.recruit-lead-section .container,.contact-form-section .container {
		width: 90%;
	}
    /* お問い合わせ */
    .contact-lead-tel {
        font-size: 2rem;
    }
    .contact-lead-text-large {
        font-size: 1.3rem;
    }

    .news-title-archive {
        font-size: 1rem !important;
    }
    .recruit-main-title {
        font-size: 1.5rem;
    }
    .reg-btn {
        font-size: 1.2rem !important;
    }
    .recruit-text {
        font-size: 1rem;
    }
    .navbar-brand img {
        height: 45px;
    }
    .recruit-main-title {
        margin-bottom: 2rem;
    }
    .footer {
        padding: 40px 30px 20px;
    }
}
@media screen and (max-width: 375px) {
    /* イベント一覧 */
    .page-lead-title {
        font-size: 1.3rem;
    }
	/*     コンセプト */
    .technique-bg-image-02 {
        top: 27%;
    }
}

