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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    font-feature-settings: "palt";
}

/* ヘッダー */
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: 0 40px;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    overflow: visible;
}

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

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

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

.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;
    top: 32px;
}

.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;
    align-self: center;
}

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: 17px;
    font-weight: 500;
}

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

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

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 800px;
    z-index: 1;
    text-align: center;
}

.hero-text-bg {
    position: relative;
    display: block;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 25px 60px;
}

.hero h1 {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #333333;
    line-height: 1.5;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 20px;
    color: #555555;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: none;
    white-space: nowrap;
}

.hero-badge {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: #2E8B57;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.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;
}

/* メッセージセクション */
.message-section {
    /* background: #FBE3D6; */
    background: #EDF2FB; 
    padding: 60px 0;
}

.message-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 2;
    text-align: center;
    color: #333;
    margin: 0 0 40px;
}

.message-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.message-icons img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

.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: rgb(255,255,166); */
    background: #1F5ECB;
    border: 20px solid white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* .news-wrapper * {
    color:#333 !important;
} */

.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; */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    /* background-color: rgba(245, 194, 66, 0.8) !important; */
    background-color: #1F5ECB !important; 
}

.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, 166, 0.8); */
    background: rgba(230, 241, 252, 0.9); 
    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: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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;
    border: 8px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.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);
}

/* RECRUIT セクション */
.recruit {
    /* background: url(../img/top/recruit-bg.jpg) no-repeat; */
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* background-color: rgba(245, 194, 66, 0.8); */
    background-color: #1F5ECB; 
}

/* .recruit * {
    color: #333 !important;
} */

.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.4) !important;
    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: #333;
}

.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: 34px;
    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; */
    color: #1F5ECB;
    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; */
    background: #fff;
}

.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;
}

footer * {
    color: #333 !important;
    background: white !important;
}

.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: rgba(255, 255, 255, 0.8);
}

.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: #000;
    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: rgba(255, 255, 255, 0.8);
    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: #000;
    text-align: center;
    padding: 20px 0;
    color: #fff;
    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;
        left: 50%;
        top: 50%;
        width: 100%;
        text-align: center;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -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: 90px;
    }
    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;
    }
    .message-icons {
        display: block;
    }

    .message-icons img{
        width: 300px;
        margin: -60px auto 0;
    }

    .message-icons img:first-of-type {
        margin-top: 0;
    }
}

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

/* LINEフローティングバナー */
.floating-line-banner {
    position: fixed;
    top: 90px; /* ヘッダー高さ分 */
    right: 20px;
    z-index: 999;
    width: 360px;
    transition: opacity 0.3s ease;
}

.floating-line-banner:hover {
    opacity: 0.85;
}

.floating-line-banner img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .floating-line-banner {
        top: auto;
        bottom: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 340px;
    }
}

.greeting-signature {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
}

.greeting-signature-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.greeting-signature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
}

.greeting-signature-role {
    font-size: 13px;
    color: #666;
    letter-spacing: 1px;
}

.greeting-signature-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .greeting-signature-img {
        width: 80px;
        height: 80px;
    }
    .greeting-signature-name {
        font-size: 18px;
    }
}
.header-container {
    margin: 0 auto;
    padding: 0 40px;
    height: 90px;
    display: flex;
    justify-content: flex-start;   /* 旧 space-between */
    align-items: flex-start;
    gap: 40px;                      /* 追加：ナビとバナーの間隔 */
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto;            /* 追加：ロゴを左固定、ナビ＋バナーを右へ */
}

/* ヘッダー内 LINEバナー */
.header-line-banner {
    align-self: center;
    flex-shrink: 0;
    display: block;
    height: 52px;
    transition: opacity 0.3s ease;
}
.header-line-banner img {
    height: 100%;
    width: auto;
    display: block;
}
.header-line-banner:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .header-line-banner {
        display: none;   /* スマホはハンバーガー優先で非表示 */
    }
}

/* スマホメニュー内 LINEバナー（PCでは非表示） */
.nav-line-banner {
    display: none;
}

@media (max-width: 768px) {
    .nav-line-banner {
        display: block;
        margin: 10px 30px 30px;   /* nav ul の左右padding(30px)に揃える */
    }
    .nav-line-banner img {
        width: calc(100% - 60px); /* nav ul の左右padding(30px)を考慮 */
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .scrolled .logo img {
        height: 90px;   /* スクロールしても縮小させず通常時と同じに */
    }
}

/* ===== 施工事例 Before / After ===== */
/* ===== 施工事例 After / Before ===== */
.work-ba {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0 0 60px;
}

.work-ba-item {
    position: relative;
    width: 100%;
}

/* ラベル */
.work-ba-label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: #333;
}

.work-ba-after .work-ba-label {
    background: #1F5ECB;
}

/* 画像枠（3:2 固定） */
.work-ba-image {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
}

.work-ba-image::before {
    content: "";
    display: block;
    padding-top: 66.7%;
}

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

/* ダミー（Before未登録時） */
.work-ba-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #b8c4d6;
    background: repeating-linear-gradient(
        -45deg,
        #eef2f8,
        #eef2f8 12px,
        #e4eaf3 12px,
        #e4eaf3 24px
    );
}

.work-ba-placeholder svg {
    width: 56px;
    height: 56px;
}

.work-ba-placeholder p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #9aa9be;
}

/* 中央の矢印（下向き） */
.work-ba-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1F5ECB;
    color: #fff;
    flex-shrink: 0;
    transform: rotate(90deg);
}

.work-ba-arrow svg {
    width: 28px;
    height: 28px;
}

/* SP */
@media (max-width: 768px) {
    .work-ba {
        gap: 16px;
        margin-bottom: 40px;
    }
    .work-ba-arrow {
        width: 40px;
        height: 40px;
    }
    .work-ba-label {
        height: 34px;
        padding: 0 18px;
        font-size: 14px;
    }
    .work-ba-placeholder svg {
        width: 40px;
        height: 40px;
    }
}

/* ===== 採用CTA LINEボタン ===== */
.cta-button.line {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 32px 14px 24px;
    background: #06C755;
    color: #fff;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.cta-button.line:hover {
    background: #05b04c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.cta-button.line .line-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.cta-button.line .line-icon svg {
    width: 26px;
    height: 26px;
}

.cta-button.line .line-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
    text-align: left;
}

.cta-button.line .line-label-sub {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.cta-button.line .line-label-main {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .cta-button.line {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    .cta-button.line .line-label-main {
        font-size: 17px;
    }
}
/* ===== 施工事例CTA LINEボタン（緑） ===== */
.work-cta .work-cta-button.line {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 32px 14px 24px;
    background: #06C755 !important;
    background-color: #06C755 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.work-cta .work-cta-button.line:hover {
    background: #05b04c !important;
    background-color: #05b04c !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

/* アイコン丸 */
.work-cta .work-cta-button.line .line-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.work-cta .work-cta-button.line .line-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

/* テキスト2段 */
.work-cta .work-cta-button.line .line-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
    text-align: left;
}

.work-cta .work-cta-button.line .line-label-sub {
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.work-cta .work-cta-button.line .line-label-main {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

@media (max-width: 768px) {
    /* ボタン群を縦積み＋幅揃え */
    .work-cta .work-cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .work-cta .work-cta-button,
    .work-cta .work-cta-button.secondary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    /* LINEボタン */
    .work-cta .work-cta-button.line {
        width: 100%;
        justify-content: center;   /* 左右padding差を解消 */
        padding: 14px 20px;        /* 左右均等に */
        gap: 12px;
        box-sizing: border-box;
    }

    .work-cta .work-cta-button.line .line-icon {
        width: 34px;
        height: 34px;
    }

    .work-cta .work-cta-button.line .line-icon svg {
        width: 22px;
        height: 22px;
    }

    .work-cta .work-cta-button.line .line-label-sub {
        font-size: 11px;
    }

    .work-cta .work-cta-button.line .line-label-main {
        font-size: 17px;
    }
}
@media (max-width: 768px) {
    /* ボタン群を縦積み＋幅揃え */
    .recruit-cta .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .recruit-cta .cta-button {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    /* LINEボタン */
    .recruit-cta .cta-button.line {
        width: 100%;
        justify-content: center;   /* 左寄りを解消 */
        padding: 14px 20px;        /* 左右均等 */
        gap: 12px;
        box-sizing: border-box;
    }

    .recruit-cta .cta-button.line .line-icon {
        width: 34px;
        height: 34px;
    }

    .recruit-cta .cta-button.line .line-icon svg {
        width: 22px;
        height: 22px;
    }

    .recruit-cta .cta-button.line .line-label-sub {
        font-size: 11px;
    }

    .recruit-cta .cta-button.line .line-label-main {
        font-size: 17px;
    }
}

/* ===== フッター 縦方向の余白圧縮 ===== */

/* LINEバナー周り */
.footer-icons {
    padding: 0;
    margin: 0;
}

.footer-icon-link {
    margin: 0;
}

/* ロゴ・住所ブロック */
.footer-content {
    padding: 24px 40px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-info p {
    line-height: 1.7;
    margin: 2px 0;
}

/* ナビ */
.footer-nav {
    padding: 12px 0;
}

.footer-nav a {
    display: inline-block;
    padding: 4px 30px;
}

/* コピーライト */
.footer-bottom {
    padding: 0;
}

.footer-bottom p {
    padding: 14px 0;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 20px;
        gap: 20px;
    }
}

/* ===== Before は小さく中央に ===== */
.work-ba-before {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* 縮んだ分ラベルも控えめに */
.work-ba-before .work-ba-label {
    height: 32px;
    padding: 0 18px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .work-ba-before {
        max-width: 100%;
    }

    .work-ba-before .work-ba-label {
        height: 30px;
        padding: 0 14px;
        font-size: 13px;
    }
}