* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
  pointer-events: none; /* マウス操作を無視 */
  -webkit-user-select: none; /* 選択不可 */
  user-select: none;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    font-feature-settings: "palt";
    zoom: 1.05;  /* 5%拡大、控えめ */
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-container {
    margin: 0 auto;
    padding: 0px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 100px;
    width: auto;
}

.scrolled .logo img{
    height: 40px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #1F5ECB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

nav {
    transition: all 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

nav a:hover {
    color: #1F5ECB;
}

.nav-jp {
    font-size: 14px;
    font-weight: 500;
}

.nav-en {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    max-height: 970px;
    position: relative;
    overflow: hidden;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    filter: brightness(0.8);
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    padding: 0 30px;
    z-index: 1;
}

.hero-text-bg {
    position: relative;
    display: inline-block;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: white;
    line-height: 1.5;
    text-shadow: 0 0 10px #000;
}

.hero-subtitle {
    font-size: 20px;
    color: white;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 50, 4, 0.50);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* セクション共通 */
section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1F5ECB;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 2px;
}

/* NEWS セクション */
.news {
    position: relative;
    margin-top: -100px;
    z-index: 30;
    padding: 0 0 100px 0;
}

.news .container {
    padding: 0;
    margin: 0 0 0 auto;
}

.news-wrapper {
    background: #1F5ECB;
    border: 20px solid white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.news-left {
    width: 30%;
    padding: 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-right {
    width: 70%;
    padding: 20px 60px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 72px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 4px;
    line-height: 1;
}

.news-back-btn {
    color: #333;
    background: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}

.news-back-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-back-btn .arrow {
    font-size: 12px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    transform: translateX(10px);
}

.news-date {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    min-width: 120px;
    font-weight: 500;
}

.news-text {
    flex: 1;
    font-size: 18px;
    color: white;
    font-weight: 400;
}

/* SERVICE セクション */
.service {
    padding: 100px 0;
    position: relative;
    background: url(../img/top/service-bg.jpg) no-repeat;
    overflow: hidden;
}

.service-bg-text {
    position: absolute;
    top: 30px;
    left: 0;
    font-family: 'League Gothic', sans-serif;
    font-size: 300px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    letter-spacing: 20px;
    pointer-events: none;
    z-index: 1;
}

.service-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-catchphrase {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1.6;
    position: relative;
    text-align: center;
}

.service-top {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-content {
    flex: 1;
}

.dot-text {
    position: relative;
    display: inline-block;
}

.dot-text::before {
    content: '•';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: #1F5ECB;
    font-size: 20px;
}

.service-description {
    font-size: 16px;
    line-height: 2.2;
    color: #333;
    margin-bottom: 40px;
}

.service-image {
    flex: 0 0 450px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-bottom {
    text-align: center;
}

.service-title {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.service-title-en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    display: inline-block;
    position: relative;
    padding: 0 60px;
}

.service-title-en::before,
.service-title-en::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: #333;
}

.service-title-en::before {
    left: 0;
}

.service-title-en::after {
    right: 0;
}

.service-title-jp {
    font-size: 18px;
    color: #666;
}

.service-intro {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.service-item {
    text-align: center;
    padding: 50px 20px 40px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-number {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #1F5ECB;
}

.service-icon {
    margin-bottom: 20px;
    height: 300px;
    overflow: hidden;
}
.service-icon.top {
    height: 100px !important;
}
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-credit {
    font-size: 11px;
    color: #888;
    text-align: right;
    margin-top: -10px;
    margin-bottom: 15px;
}

.service-name {
    font-size: 16px;
    font-weight: 700;
    color: #1F5ECB;
}

.service-link-wrapper {
    text-align: center;
}

.service-detail-link {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #000;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-detail-link:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* MEMBER セクション */
.member {
    background: white;
    position: relative;
    overflow: hidden;
}

.member-bg-text {
    position: absolute;
    top: 30px;
    right: 0;
    font-family: 'League Gothic', sans-serif;
    font-size: 300px;
    font-weight: 900;
    color: #003C8F;
    opacity: 0.1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    letter-spacing: 20px;
    pointer-events: none;
    z-index: 1;
}

.member-title {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.member-title-en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    display: inline-block;
    position: relative;
    padding: 0 60px;
}

.member-title-en::before,
.member-title-en::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: #333;
}

.member-title-en::before {
    left: 0;
}

.member-title-en::after {
    right: 0;
}

.member-title-jp {
    font-size: 18px;
    color: #666;
}

.member-content {
    display: flex;
    gap: 60px;
    /* align-items: center; */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.member-image {
    flex: 1;
    min-width: 60%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
}

.member-text {
    flex: 1;
}

.member-text h3 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.member-text p {
    font-size: 16px;
    line-height: 2.2;
    color: #333;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #000;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* WORKS セクション */
.works {
    background: #E3E3E3;
    position: relative;
    overflow: hidden;
}

.works-bg-text {
    position: absolute;
    top: 30px;
    left: 0;
    font-family: 'League Gothic', sans-serif;
    font-size: 300px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    letter-spacing: 20px;
    pointer-events: none;
    z-index: 1;
}

.works-title {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.works-title-en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    display: inline-block;
    position: relative;
    padding: 0 60px;
}

.works-title-en::before,
.works-title-en::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: #333;
}

.works-title-en::before {
    left: 0;
}

.works-title-en::after {
    right: 0;
}

.works-title-jp {
    font-size: 18px;
    color: #666;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}
.work-image img{
    max-width: 100%;
}
.work-item {
    position: relative;
    transition: all 0.3s ease;
}
.work-link{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-image {
    position: relative;
    overflow: hidden;
}
.work-image::before{
    content: "";
    display: block;
    padding-top: 67%;
}
.work-image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info {
    padding: 20px;
}

.work-date {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 700;
}

.work-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.works-link-wrapper {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.works-detail-link {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #000;
    font-weight: 500;
    transition: all 0.3s ease;
}

.works-detail-link:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}
.back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2E7CD6;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-bottom: 30px;
    font-size: 14px;
}

.back-to-list:hover {
    background: #1a5cb8;
}

.back-to-list::before {
    content: '←';
    font-size: 16px;
}

/* RECRUIT セクション */
.recruit {
    background: url(../img/top/recruit-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.recruit-bg-text {
    position: absolute;
    top: 30px;
    right: 0;
    font-family: 'League Gothic', sans-serif;
    font-size: 300px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    letter-spacing: 20px;
    pointer-events: none;
    z-index: 1;
}

.recruit-title {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.recruit-title-en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: white;
    display: inline-block;
    position: relative;
    padding: 0 60px;
}

.recruit-title-en::before,
.recruit-title-en::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: white;
}

.recruit-title-en::before {
    left: 0;
}

.recruit-title-en::after {
    right: 0;
}

.recruit-title-jp {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.recruit-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.recruit-text-area {
    flex: 1;
}

.recruit-subtitle {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.recruit-description {
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.recruit-btn {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: #2c5530;
    text-decoration: none;
    border: 1px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.recruit-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.recruit-image {
    flex: 0 0 500px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.recruit-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* INSTAGRAM セクション */
.instagram {
    padding: 100px 0;
    background: white;
}

.instagram-title {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.instagram-title-en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    display: inline-block;
    position: relative;
    padding: 0 60px;
}

.instagram-title-en::before,
.instagram-title-en::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: #333;
}

.instagram-title-en::before {
    left: 0;
}

.instagram-title-en::after {
    right: 0;
}

.instagram-title-jp {
    font-size: 18px;
    color: #666;
}

.instagram-account {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 50px;
}

.instagram-icon {
    width: 50px;
    height: 50px;
    background: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.instagram-handle {
    font-size: 18px;
    color: #333;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.instagram-item {
    position: relative;
    display: block;
    overflow: hidden;
    transition: transform 0.3s;
}

.instagram-item:hover {
    transform: scale(1.05);
}

.instagram-image-wrapper {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

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

/* フッター */
footer {
    padding: 0;
    background: #FFF;
    color: black;
}

.footer-map {
    width: 100%;
    position: relative;
}

.footer-overlay {
    width: 100%;

}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 40px;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
  width: 320px;
  height: auto;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: #1F5ECB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.footer-logo-text {
    color: white;
}

.footer-logo-en {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1F5ECB;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-logo-text p {
    font-size: 12px;
    margin: 0;
    color: white;
}

.footer-logo-text h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
    color: white;
}

.footer-info {
    color: black;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    margin: 5px 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-actions {
    display: flex;
    gap: 20px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 16px;
    background: #fff;
}

.footer-phone {
    background: white;
    color: #1F5ECB;
}

.footer-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.footer-contact {
    background: #1F5ECB;
    color: white;
}

.footer-contact:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.footer-social {
    margin-top: 20px;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    color: #000;
    transition: all 0.3s ease;
    padding: 15px;
}
.footer-instagram2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    color: #000;
    transition: all 0.3s ease;
    padding: 15px;
}


.footer-nav {
    background: #FFF;
    color: black;
    padding: 0px 0;
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    border-right: 1px solid #ccc;
    padding: 0 30px;
}

.footer-nav a:hover {
    color: #1F5ECB;
}

.footer-nav li {
    position: relative;

}

.slider-dots{
    display: none;
}


.footer-bottom {
    background: #FFF;
    text-align: center;
    padding: 20px 0;
    color: black;
    font-size: 13px;
}

.footer-bottom p {
    padding: 20px 0;
    border-top: 1px solid #333;
    margin: 0;
}
.u-br--sp{
    display: none;
}

/* レスポンシブ */
@media (max-width: 1099.98px){

    .hero-content {
        position: absolute;
        right: 0;
        top: 50%;
        width: 100%;
        text-align: center;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        padding: 0 20px;
        z-index: 1;
    }
    .hero-text-bg::before,.hero-text-bg::after{
        width: 30px;
        height: 30px;
    }
    .hero h1{
        font-size: 34px;
    }
    .hero-subtitle{
        font-size: 18px;
    }
    .instagram {
        padding: 50px 0;
        overflow: hidden;
    }
    section{
        padding: 60px 0;
    }
    .works-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .news-wrapper {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }
    .news-left{
        width: 100%;
        display: block;
        text-align: center;
    }
    .news-right{
        width: 100%;
        padding:0 20px 20px 20px ;
    }
    .news-title{
        margin-bottom: 20px;
    }
    .header-container{
        padding: 20px 15px;
    }
    .logo img{
        height: 45px;
    }
    nav ul{
        gap: 15px;
    }
    .member-content,
    .recruit-content {
        flex-direction: column;
        gap: 40px;
    }
    .service-top {
        flex-direction: column;
    }
    .service-image{
        max-width: 500px;
        margin: 0 auto;
        overflow: visible;
        flex: 0;
    }
    .recruit-image{
        max-width: 500px;
        margin: 0 auto;
        overflow: visible;
        flex: 0;
    }
}
@media (max-width: 768px) {

    .hero {
        /* height: 50vh; */
    }
    .service-bg-text{
        font-size: 150px;
    }
    nav ul li{
        width: 100%;
    }
    nav a{
        justify-content: space-between;
    }
    .u-br--sp{
        display: block;
    }
    .member-title,.recruit-title{
        margin-bottom: 40px;
    }
    .instagram-title-en,.recruit-title-en,.works-title-en,.member-title-en,.service-title-en{
        font-size: 28px;
        padding: 0 30px;
    }
    .instagram-title-jp,.recruit-title-jp,.works-title-jp,.member-title-jp,.service-title-jp{
        font-size: 14px;
    }
    .hamburger {
        display: block;
    }
    .service-top{
        margin-bottom: 40px;
    }
    .recruit-bg-text{
        font-size: 150px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        align-items: flex-start;
    }

    nav a {
        flex-direction: row;
        gap: 15px;
        font-size: 16px;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-jp {
        font-size: 16px;
    }

    .nav-en {
        font-size: 12px;
    }

    .header-container {
        padding: 15px 20px;
    }

    .hero-content {
    }

    .hero h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-text-bg {
        padding: 25px ;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .news {
        /* margin-top: -50px; */
        padding: 0 0 30px 0;
    }

    .news-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .news-left {
        width: 100%;
        padding: 30px 20px 10px 20px;
        gap: 30px;
    }
    .news-text{
        font-size: 14px;
    }
    .news-date{
        font-size: 14px;
    }
    .news-item{
        padding: 15px 0;
    }

    .news-right {
        width: 100%;
        padding: 0 20px 20px;
    }

    .news-title {
        font-size: 48px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-inner {
        padding: 40px 20px;
    }

    .service-bg-text,
    .member-bg-text,
    .works-bg-text {
        font-size: 150px;
    }

    .service-catchphrase {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .service-image {
        flex: 1;
        width: 100%;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .member-title-en::before,
    .member-title-en::after,
    .works-title-en::before,
    .works-title-en::after,
    .recruit-title-en::before,
    .recruit-title-en::after,
    .instagram-title-en::before,
    .instagram-title-en::after,
    .service-title-en::before,
    .service-title-en::after {
        width: 20px;
    }

    .instagram-handle{
        font-size: 14px;
    }
    .member-text h3,
    .recruit-subtitle {
        font-size: 24px;
    }
    .recruit-description{
        font-size: 14px;
    }

    .recruit-image,
    .member-image {
        flex: 1;
        width: 100%;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .instagram-account {
        justify-content: center;
    }

    .footer-overlay {
        position: relative;
        bottom: auto;
    }

    .footer-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .footer-info {
        margin-left: 0;
    }

    .footer-right {
        align-items: stretch;
    }

    .footer-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-nav li:not(:last-child)::after {
        display: none;
    }

    .footer-map {
        padding-top: 90%;
    }
    .footer-map iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
}

.text-center{
    text-align: center !important;
}

/* ========== GALLERY ========== */
.gallery {
    position: relative;
    padding: 100px 0;
    background: #f8f8f8;
    overflow: hidden;
}

.gallery-bg-text {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    font-family: 'League Gothic', sans-serif;
    font-size: 180px;
    color: rgba(31, 94, 203, 0.06);
    writing-mode: vertical-rl;
    line-height: 1;
    pointer-events: none;
}

.gallery-title {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-title-en {
    display: block;
    font-family: 'League Gothic', sans-serif;
    font-size: 42px;
    color: #1F5ECB;
    letter-spacing: 0.1em;
    line-height: 1;
}

.gallery-title-en::before,
.gallery-title-en::after {
    content: '－';
    color: #1F5ECB;
    margin: 0 10px;
}

.gallery-title-jp {
    display: block;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-flow: dense; /* 空きスペースを綺麗に詰める */
}

/* --- 全てのアイテム共通 --- */
.gallery-item {
    display: block;
    position: relative; /* 子要素を絶対配置するための基準 */
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* ★ 16:9 の縦横比を完璧に作る (9 / 16 = 56.25%) */
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 画像・動画は枠の中に絶対配置でピッタリ敷き詰める */
.gallery-item img,
.gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- 1つ目の動画枠（画像縦2個分） --- */
.gallery-item:first-child {
    grid-row: span 2;
    /* 画像2枚分(56.25% × 2) ＋ グリッドの余白(gap: 20px) の高さを厳密に指定 */
    padding-top: calc(112.5% + 20px);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery {
        padding: 60px 0;
    }

    .gallery-bg-text {
        font-size: 100px;
    }

    .gallery-title-en {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ========== Lightbox ========== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 10px;
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 40px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .lightbox { padding: 20px; }
    .lightbox-close { top: 10px; right: 15px; font-size: 32px; }
    .lightbox-prev, .lightbox-next { font-size: 24px; width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* スクロールロック用 */
body.lightbox-open {
    overflow: hidden;
}

/* ===========================================
   お知らせ一覧ページ
   =========================================== */
.news-archive {
    padding: 160px 0 100px;
    background: #fff;
    position: relative;
}

/* タイトル：既存の member-title / works-title と同じデザインパターン */
.news-archive-title {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.news-archive-title-en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    display: inline-block;
    position: relative;
    padding: 0 60px;
}

.news-archive-title-en::before,
.news-archive-title-en::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: #333;
}

.news-archive-title-en::before {
    left: 0;
}

.news-archive-title-en::after {
    right: 0;
}

.news-archive-title-jp {
    font-size: 18px;
    color: #666;
}

/* リスト */
.news-archive-list {
    max-width: 1000px;
    margin: 0 auto 60px;
    border-top: 1px solid #ddd;
}

.news-archive-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 10px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.news-archive-item:hover {
    background: rgba(31, 94, 203, 0.04);
    padding-left: 20px;
}

.news-archive-item:hover .news-archive-text {
    color: #1F5ECB;
}

.news-archive-date {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
}

.news-archive-category {
    display: inline-block;
    padding: 4px 12px;
    background: #1F5ECB;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.news-archive-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* ページネーション */
.news-archive-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.news-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-archive-pagination .page-numbers:hover,
.news-archive-pagination .page-numbers.current {
    background: #1F5ECB;
    border-color: #1F5ECB;
    color: #fff;
}

.news-archive-pagination .page-numbers.dots {
    background: transparent;
    border: none;
}

.news-archive-pagination .page-numbers.dots:hover {
    background: transparent;
    color: #333;
}

/* お知らせなしの状態 */
.news-archive-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* ====== レスポンシブ ====== */
@media (max-width: 1099.98px) {
    .news-archive {
        padding: 120px 0 60px;
    }
}

@media (max-width: 768px) {
    .news-archive {
        padding: 100px 0 50px;
    }

    .news-archive-title {
        margin-bottom: 40px;
    }

    .news-archive-title-en {
        font-size: 28px;
        padding: 0 30px;
    }

    .news-archive-title-en::before,
    .news-archive-title-en::after {
        width: 20px;
    }

    .news-archive-title-jp {
        font-size: 14px;
    }

    .news-archive-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 18px 10px;
    }

    .news-archive-item:hover {
        padding-left: 10px;
    }

    .news-archive-date {
        font-size: 13px;
        min-width: auto;
    }

    .news-archive-category {
        font-size: 11px;
        padding: 3px 10px;
        min-width: auto;
    }

    .news-archive-text {
        font-size: 14px;
    }

    .news-archive-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* ===========================================
   NEWS セクション（シンプル版）
   =========================================== */
.news-simple {
    padding: 80px 0;
    background: #fff;
}

.news-simple-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヘッダー */
.news-simple-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-simple-title {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin: 0;
}

.news-simple-title-en {
    font-size: 32px;
    font-weight: 700;
    color: #1F5ECB;
    letter-spacing: 0.05em;
}

.news-simple-title-jp {
    font-size: 15px;
    color: #666;
}

/* 一覧を見る */
.news-simple-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-simple-more:hover {
    color: #1F5ECB;
}

.news-simple-more-arrow {
    transition: transform 0.3s ease;
}

.news-simple-more:hover .news-simple-more-arrow {
    transform: translateX(4px);
}

/* リスト */
.news-simple-list {
    border-top: 1px solid #e5e5e5;
}

.news-simple-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.news-simple-item:hover {
    color: #1F5ECB;
}

.news-simple-date {
    font-size: 14px;
    color: #888;
    font-weight: 500;
    min-width: 90px;
    flex-shrink: 0;
}

.news-simple-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    min-width: 90px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.news-simple-item:hover .news-simple-category {
    background: #1F5ECB;
    color: #fff;
}

.news-simple-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
}

.news-simple-empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .news-simple {
        padding: 50px 0;
    }

    .news-simple-inner {
        padding: 0 20px;
    }

    .news-simple-header {
        margin-bottom: 25px;
    }

    .news-simple-title-en {
        font-size: 24px;
    }

    .news-simple-title-jp {
        font-size: 13px;
    }

    .news-simple-more {
        font-size: 13px;
    }

    .news-simple-item {
        flex-wrap: wrap;
        gap: 10px 15px;
        padding: 16px 0;
    }

    .news-simple-date {
        font-size: 13px;
        min-width: auto;
    }

    .news-simple-category {
        font-size: 11px;
        padding: 3px 10px;
        min-width: auto;
    }

    .news-simple-text {
        flex-basis: 100%;
        font-size: 14px;
    }
}

/* ===========================================
   営業日カレンダー
   =========================================== */
.schedule-block {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
}

.schedule-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #1F5ECB;
}

/* ====== 凡例 ====== */
.schedule-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 35px;
    padding: 18px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.schedule-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.schedule-legend-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.schedule-legend-open {
    background: #fff;
    border-color: #ccc;
}

.schedule-legend-reserve {
    background: #fff8e1;
    border-color: #f9c74f;
}

.schedule-legend-close {
    background: #ffebee;
    border-color: #ef9a9a;
}

/* ====== カレンダー本体 ====== */
.schedule-calendar-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.schedule-calendar {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
}

.schedule-calendar-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.schedule-calendar-year {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.schedule-calendar-month {
    font-size: 24px;
    font-weight: 700;
    color: #1F5ECB;
}

.schedule-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.schedule-day-label {
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f5f5f5;
    border-radius: 4px;
}

.schedule-day-label.schedule-day-sun {
    color: #e57373;
}

.schedule-day-label.schedule-day-sat {
    color: #64b5f6;
}

.schedule-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #f0f0f0;
    background: #fff;
    transition: transform 0.2s ease;
}

.schedule-day-num {
    font-weight: 500;
    color: #333;
}

.schedule-day-empty {
    background: transparent;
    border: none;
}

/* 営業状態別の色分け */
.schedule-day-open {
    background: #fff;
}

.schedule-day-reserve {
    background: #fff8e1;
    border-color: #f9c74f;
}

.schedule-day-reserve .schedule-day-num {
    color: #b8860b;
}

.schedule-day-close {
    background: #ffebee;
    border-color: #ef9a9a;
}

.schedule-day-close .schedule-day-num {
    color: #c62828;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

/* 今日のマーク */
.schedule-day-today {
    position: relative;
    box-shadow: 0 0 0 2px #1F5ECB inset;
}

.schedule-day-today .schedule-day-num {
    font-weight: 700;
    color: #1F5ECB;
}

/* ====== 営業時間詳細 ====== */
.schedule-detail {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.schedule-list {
    margin: 0;
}

.schedule-list-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
}

.schedule-list-row:last-child {
    border-bottom: none;
}

.schedule-list-term {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.schedule-list-mark {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.schedule-list-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.schedule-list-desc strong {
    color: #1F5ECB;
    font-weight: 700;
}

.schedule-list-desc small {
    font-size: 12px;
    color: #888;
}

/* ====== レスポンシブ ====== */
@media (max-width: 768px) {
    .schedule-block {
        padding: 25px 20px;
    }

    .schedule-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .schedule-legend {
        gap: 12px 20px;
        padding: 12px 15px;
    }

    .schedule-legend-item {
        font-size: 12px;
    }

    .schedule-calendar-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .schedule-calendar {
        padding: 15px;
    }

    .schedule-day {
        font-size: 12px;
    }

    .schedule-day-label {
        font-size: 11px;
        padding: 6px 0;
    }

    .schedule-list-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .schedule-detail {
        padding: 20px;
    }
}

/* ===========================================
   Nuage Business Calendar を元カレンダーのデザインに合わせる
   （プラグイン出力 .nbcal-* を .schedule-calendar 風に上書き）
   =========================================== */

/* --- 外枠：schedule-calendar と同じカード --- */
.schedule-block .nbcal-front-wrapper {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    max-width: 520px;
    margin: 0 auto 40px;
}

.schedule-block .nbcal-front-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1F5ECB;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* --- ヘッダー：年月表示 --- */
.schedule-block .nbcal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 0;
}

.schedule-block .nbcal-current-month {
    flex: 1;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1F5ECB;
    padding: 2px 8px;
    border-radius: 4px;
}

.schedule-block .nbcal-current-month:hover {
    background: transparent;
    color: #1F5ECB;
}

.schedule-block #nbcal-prev,
.schedule-block #nbcal-next {
    width: 30px;
    height: 30px;
    padding: 0;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    color: #1F5ECB;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.schedule-block #nbcal-prev:hover,
.schedule-block #nbcal-next:hover {
    background: #e9eef9;
}

/* --- カレンダー本体（table を grid 風に） --- */
.schedule-block .nbcal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    table-layout: fixed;
}

/* 曜日ラベル：グレーのチップ、日=赤 / 土=青 */
.schedule-block .nbcal-table thead th {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 8px 0;
}

.schedule-block .nbcal-table thead th:first-child {
    color: #e57373;
}

.schedule-block .nbcal-table thead th:last-child {
    color: #64b5f6;
}

/* 日付セル */
.schedule-block .nbcal-table tbody td {
    padding: 0;
    vertical-align: middle;
}

/* 前後の空白セルは枠なし */
.schedule-block .nbcal-table tbody td:empty {
    background: transparent;
    border: none;
}

/* 各日：schedule-day 相当の四角セル（circle を枠いっぱいに） */
.schedule-block .nbcal-table tbody td .nbcal-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: transform 0.2s ease;
}

/* マーク日：管理画面で設定した色をそのまま四角セルの背景に（文字は白） */
.schedule-block .nbcal-table tbody td.is-holiday .nbcal-circle {
    color: #fff;
    border-color: transparent;
}

/* --- 凡例：schedule-legend と同じトーン --- */
.schedule-block .nbcal-legend {
    justify-content: center;
    gap: 12px 30px;
    margin-top: 20px;
    padding: 14px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
}

.schedule-block .nbcal-legend-item {
    gap: 8px;
    font-size: 13px;
}

.schedule-block .nbcal-legend .nbcal-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-top: 0;
}

@media (max-width: 768px) {
    .schedule-block .nbcal-front-wrapper {
        padding: 15px;
    }

    .schedule-block .nbcal-current-month,
    .schedule-block .nbcal-front-title {
        font-size: 20px;
    }

    .schedule-block .nbcal-table tbody td .nbcal-circle {
        font-size: 12px;
    }

    .schedule-block .nbcal-table thead th {
        font-size: 11px;
        padding: 6px 0;
    }
}

/* ===========================================
   ショールーム ギャラリー（3枚並び）
   =========================================== */
.schedule-gallery {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}

.schedule-gallery-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.schedule-gallery-title::before,
.schedule-gallery-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: #1F5ECB;
}

.schedule-gallery-title::before {
    right: 100%;
    margin-right: 16px;
}

.schedule-gallery-title::after {
    left: 100%;
    margin-left: 16px;
}

.schedule-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.schedule-gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.schedule-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.schedule-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.schedule-gallery-item:hover img {
    transform: scale(1.08);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .schedule-gallery {
        margin-top: 30px;
        padding-top: 30px;
    }

    .schedule-gallery-title {
        font-size: 16px;
    }

    .schedule-gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===========================================
   健康経営優良法人 認定セクション
   =========================================== */
.kenko-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    position: relative;
}

/* 装飾：上部にアクセントライン */
.kenko-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1F5ECB, #00B0FF);
    border-radius: 2px;
}

/* ====== ヘッダー ====== */
.kenko-header {
    text-align: center;
    margin-bottom: 60px;
}

.kenko-badge {
    display: inline-block;
    font-family: 'League Gothic', sans-serif;
    font-size: 14px;
    letter-spacing: 0.25em;
    color: #1F5ECB;
    background: rgba(31, 94, 203, 0.08);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}

.kenko-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.kenko-subtitle {
    font-size: 14px;
    color: #888;
    letter-spacing: 0.15em;
    font-weight: 500;
    margin: 0;
}

/* ====== コンテンツ ====== */
.kenko-content {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* ====== 認定証画像 ====== */
.kenko-image {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kenko-image::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(31, 94, 203, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

.kenko-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(31, 94, 203, 0.15);
}

.kenko-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ====== テキスト ====== */
.kenko-text {
    padding-top: 10px;
}

.kenko-lead {
    font-size: 18px;
    font-weight: 700;
    color: #1F5ECB;
    line-height: 1.8;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.kenko-description {
    margin-bottom: 32px;
}

.kenko-description p {
    font-size: 15px;
    line-height: 2;
    color: #555;
    margin-bottom: 16px;
}

.kenko-description p:last-child {
    margin-bottom: 0;
}

/* ====== 認定情報 ====== */
.kenko-info {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0;
}

.kenko-info-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.kenko-info-row:last-child {
    border-bottom: none;
}

.kenko-info-row dt {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin: 0;
    letter-spacing: 0.05em;
}

.kenko-info-row dd {
    font-size: 14px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* ====== レスポンシブ ====== */
@media (max-width: 1024px) {
    .kenko-content {
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .kenko-section {
        padding: 60px 0 70px;
    }

    .kenko-header {
        margin-bottom: 40px;
    }

    .kenko-title {
        font-size: 24px;
    }

    .kenko-badge {
        font-size: 12px;
        padding: 5px 14px;
    }

    .kenko-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .kenko-image {
        max-width: 320px;
        margin: 0 auto;
        padding: 15px;
    }

    .kenko-text {
        padding-top: 0;
    }

    .kenko-lead {
        font-size: 16px;
        margin-bottom: 24px;
        padding-bottom: 20px;
        text-align: center;
    }

    .kenko-description p {
        font-size: 14px;
        line-height: 1.9;
    }

    .kenko-info {
        padding: 16px 18px;
    }

    .kenko-info-row {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

    .kenko-info-row dt {
        font-size: 12px;
    }

    .kenko-info-row dd {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .kenko-title {
        font-size: 20px;
    }

    .kenko-image {
        padding: 10px;
    }
}

/* YouTube動画ブロック - ショールームブロックと同じレイアウト */
.service-grid:has(.service-youtube) {
    display: block;
}

.service-youtube {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.service-youtube-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .service-youtube {
        max-width: 100%;
        padding: 0 20px;
    }

    .service-youtube-video {
        border-radius: 4px;
    }
}

.schedule-list-tel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1F5ECB;
    font-size: 24px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.schedule-list-tel:hover {
    opacity: 0.7;
}

.schedule-list-tel svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.schedule-legend-contact {
    background: #e3f2fd;
    border-color: #64b5f6;
}

/* ===========================================
   数字で見る北見タイル商会
   =========================================== */
.recruit-numbers {
    margin-top: 80px;
}

.recruit-numbers-intro {
    text-align: center;
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recruit-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.recruit-number-item {
    padding: 50px 30px;
    text-align: center;
    position: relative;
}

/* 縦線:2,3列目の左side */
.recruit-number-item:nth-child(3n+2)::before,
.recruit-number-item:nth-child(3n)::before {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 0;
    width: 1px;
    background: #1F5ECB;
    opacity: 0.4;
}

/* 横線:2行目以降のアイテム(4個目以降)の上に */
.recruit-number-item:nth-child(n+4)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #1F5ECB;
    opacity: 0.4;
}

.recruit-number-label {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.recruit-number-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 24px;
    color: #1F5ECB;
    font-family: 'Times New Roman', 'Noto Serif JP', serif;
}

.recruit-number-prefix {
    font-size: 16px;
    font-weight: 500;
    margin-right: 6px;
}

.recruit-number-main {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.recruit-number-unit {
    font-size: 20px;
    font-weight: 500;
}

.recruit-number-text {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    max-width: 260px;
    margin: 0 auto;
}

/* タブレット:2列 */
@media (max-width: 1024px) {
    .recruit-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* リセット */
    .recruit-number-item::before,
    .recruit-number-item::after {
        display: none;
    }

    /* 縦線:偶数番目の左に */
    .recruit-number-item:nth-child(2n)::before {
        content: '';
        position: absolute;
        top: 20%;
        bottom: 20%;
        left: 0;
        width: 1px;
        background: #1F5ECB;
        opacity: 0.4;
        display: block;
    }

    /* 横線:3個目以降 */
    .recruit-number-item:nth-child(n+3)::after {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: #1F5ECB;
        opacity: 0.4;
        display: block;
    }
}

/* スマホ:1列 */
@media (max-width: 768px) {
    .recruit-numbers {
        margin-top: 50px;
    }

    .recruit-numbers-intro {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .recruit-numbers-grid {
        grid-template-columns: 1fr;
    }

    .recruit-number-item {
        padding: 35px 20px;
    }

    /* リセット:すべての縦線・横線を非表示 */
    .recruit-number-item::before {
        display: none !important;
    }

    .recruit-number-item::after {
        display: none;
    }

    /* 横線のみ:2個目以降の上に */
    .recruit-number-item:nth-child(n+2)::after {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: #1F5ECB;
        opacity: 0.4;
        display: block;
    }

    .recruit-number-label {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .recruit-number-main {
        font-size: 60px;
    }

    .recruit-number-unit {
        font-size: 20px;
    }

    .recruit-number-prefix {
        font-size: 14px;
    }

    .recruit-number-text {
        font-size: 13px;
    }
}

/* ===========================================
   ごあいさつセクション
   =========================================== */
.greeting-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.greeting-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

/* 画像＋テキスト全体を囲む装飾枠 */
.greeting-inner::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid #1F5ECB;
    border-radius: 8px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* 画像とテキストを枠より前面に */
.greeting-image,
.greeting-content {
    position: relative;
    z-index: 1;
}

/* メイン画像 */
.greeting-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* タイトルと本文 */
.greeting-title {
    grid-column: 1 / -1;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.greeting-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1F5ECB;
}

.greeting-content {
    font-size: 15px;
    line-height: 2;
    color: #444;
}

.greeting-content p {
    margin-bottom: 24px;
}

.greeting-content p:last-child {
    margin-bottom: 0;
}

/* タブレット */
@media (max-width: 1024px) {
    .greeting-section {
        padding: 70px 0;
    }

    .greeting-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 700px;
    }

    /* 装飾枠はPC2列レイアウト前提なので非表示 */
    .greeting-inner::before {
        display: none;
    }

    .greeting-image img {
        aspect-ratio: 16 / 9;
        max-height: 450px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .greeting-section {
        padding: 50px 0;
    }

    .greeting-inner {
        padding: 0 20px;
        gap: 30px;
    }

    .greeting-title {
        font-size: 24px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        text-align: center;
    }

    .greeting-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }

    .greeting-content {
        font-size: 14px;
        line-height: 1.9;
    }

    .greeting-content p {
        margin-bottom: 18px;
    }

    .greeting-image img {
        aspect-ratio: 4 / 3;
        border-radius: 4px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* SHOWROOM セクション */
.showroom {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.showroom-bg-text {
    position: absolute;
    top: 30px;
    left: 0;
    font-family: 'League Gothic', sans-serif;
    font-size: 300px;
    font-weight: 900;
    color: #003C8F;
    opacity: 0.1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    letter-spacing: 20px;
    pointer-events: none;
    z-index: 1;
}

.showroom-title {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.showroom-title-en {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    display: inline-block;
    position: relative;
    padding: 0 60px;
}

.showroom-title-en::before,
.showroom-title-en::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: #333;
}

.showroom-title-en::before { left: 0; }
.showroom-title-en::after { right: 0; }

.showroom-title-jp {
    font-size: 18px;
    color: #666;
}

.showroom-content {
    display: flex;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.showroom-image {
    flex: 1;
    min-width: 60%;
    overflow: hidden;
}

.showroom-image img {
    width: 100%;
    height: auto;
    display: block;
}

.showroom-text {
    flex: 1;
}

.showroom-text h3 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.showroom-text p {
    font-size: 16px;
    line-height: 2.2;
    color: #333;
    margin-bottom: 40px;
}

/* レスポンシブ */
@media (max-width: 1099.98px) {
    .showroom-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .showroom-title {
        margin-bottom: 40px;
    }

    .showroom-title-en {
        font-size: 28px;
        padding: 0 30px;
    }

    .showroom-title-en::before,
    .showroom-title-en::after {
        width: 20px;
    }

    .showroom-title-jp {
        font-size: 14px;
    }

    .showroom-bg-text {
        font-size: 150px;
    }

    .showroom-text h3 {
        font-size: 24px;
    }

    .showroom-image {
        flex: 1;
        width: 100%;
    }
}

/* ===========================================
   Indeed 応募ボタン
   =========================================== */

/* --- 募集職種カード内 --- */
.indeed-apply {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #ddd;
    text-align: center;
}

.indeed-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 40px;
    background: #2557A7;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 87, 167, 0.3);
}

.indeed-apply-btn:hover {
    background: #1d4587;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 87, 167, 0.4);
}

.indeed-apply-logo {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.02em;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.indeed-apply-arrow {
    transition: transform 0.3s ease;
}

.indeed-apply-btn:hover .indeed-apply-arrow {
    transform: translateX(5px);
}

.indeed-apply-note {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    color: #999;
}

/* --- 下部CTA内 --- */
.cta-button--indeed {
    background: #2557A7 !important;
    color: #fff !important;
}

.cta-button--indeed:hover {
    background: #1d4587 !important;
}

.cta-indeed-logo {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.02em;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .indeed-apply-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* ===========================================
   ヒーロー右上 TOTO特約店リボン
   =========================================== */
.hero-ribbon {
    position: absolute;
    top: 60px;
    right: 30px;
    z-index: 25;
    width: 380px;
    max-width: 400px;
    pointer-events: none;
}

.hero-ribbon img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

@media (max-width: 768px) {
    .hero-ribbon {
        top: 40px;
        right: 20px;
        max-width: 280px;
    }
}

.service-image img {
    height: 320px !important;
    object-fit: cover;
}

/* リフォーム画像のクレジット表記 */
.service-photo-credit {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin: -30px 0 30px;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .service-photo-credit {
        font-size: 11px;
        margin: -10px 0 25px;
    }
}

/* ホームの施工事例：4列表示（7件＋余白） */
@media (min-width: 1100px) {
    .works-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .works .work-info {
        padding: 15px 5px;
    }

    .works .work-title {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* 施工事例：元請／下請の表記 */
.work-meta {
    margin-top: 24px;
}

.work-meta-row {
    display: flex;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

.work-meta-row dt {
    flex-shrink: 0;
}

/* ラベル直後のコロン */
.work-meta-row dt::after {
    content: '：';
}

.work-meta-row dd {
    margin: 0;
    flex: 1;
}

.work-overview-text p {
    margin-bottom: 1em;
}

.work-overview-text p:last-child {
    margin-bottom: 0;
}

.work-overview-text p:empty {
    display: none;
}

/* ===========================================
   営業日カレンダー：定休日の取り消し線を削除
   ※末尾に追記。既存ルールは変更しない
   =========================================== */
.schedule-day-close .schedule-day-num {
    text-decoration: none;
}