/*
Theme Name: ORIGINAL-theme2
Author: ORIGINAL
Version: 1.0.0
Text Domain: ORIGINAL
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Corporate Blue Color Palette */
    --color-primary: #018def;
    --color-primary-light: #6caddb;
    --color-primary-dark: #f3fafc;
    --color-secondary: #3498db;
    --color-accent: #e74c3c;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    
    /* Neutral Colors */
    --color-text: #222222;
    --color-text-light: #7f8c8d;
    --color-text-muted: #95a5a6;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-alt: #ecf0f1;
    --color-border: #cccccc;
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* Typography */
    --font-heading: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --font-english: 'Inter', 'Helvetica Neue', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-xxl: 4rem;
    --space-section: 6rem;
    
    /* Layout */
    --container-width: 1200px;
    --container-narrow: 800px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 30px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg);
}

body.content-hidden {
    overflow: hidden;
}

body.content-hidden > *:not(.opening-screen) {
    opacity: 0;
}

body.content-visible > *:not(.opening-screen):not(.service-modal):not(.credo-modal):not(.image-lightbox):not(.license-modal) {
    opacity: 0;
    animation: fadeInContent 1s ease-in-out 0.5s forwards;
}

/* Opening Screen */
.opening-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available; /* iOS Safari fix */
    min-height: 100vh;
    min-height: -webkit-fill-available; /* iOS Safari fix */
    background-color: #fff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation: fadeOutOpening 2s ease-in-out 4.5s forwards;
    animation: fadeOutOpening 2s ease-in-out 4.5s forwards;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.opening-content {
    width: 100%;
    max-width: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.opening-image {
    width: 100%;
    max-width: 750px;
    height: auto;
    opacity: 0;
    -webkit-animation: fadeInOpening 2s ease-in-out 1s forwards;
    animation: fadeInOpening 2s ease-in-out 1s forwards;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}


@media (max-width: 1023px) {
    .opening-image {
    width: 80%;
    max-width: 750px;
    height: auto;
    opacity: 0;
    -webkit-animation: fadeInOpening 2s ease-in-out 1s forwards;
    animation: fadeInOpening 2s ease-in-out 1s forwards;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}
}

@-webkit-keyframes fadeInOpening {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInOpening {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeOutOpening {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes fadeOutOpening {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@-webkit-keyframes fadeInContent {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInContent {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


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

a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    list-style: none;
}

::selection {
    background: var(--color-secondary);
    color: var(--color-white);
}


/* ========================================
   改行スタイル
   ======================================== */
   .sp-hide {
    display: block !important;
}

@media screen and (max-width:767px) {
    .sp-hide {
        display: none !important;
    }
    .pc-hide {
        display: block !important;
    }
}

/* ========================================
   PCSP出し分け
   ======================================== */
@media screen and (min-width: 1024px){   
    .pc { display:block; }
    .sp { display:none; }
  }
  @media screen and (max-width: 1024px){
    .pc { display:none; }
    .sp { display:block; }
  }

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
}

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

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (max-width: 1240px) {
	.container {
    	padding: 0 var(--space-lg);
	}
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-section) 0;
}

@media (max-width: 1023px) {
	.section {
    	padding: 2rem 0;
	}
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.section-title {
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: var(--space-lg) auto 0;
}

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

/* ========================================
   Header
   ======================================== */
.site-header {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}


.site-header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.site-header .container{
	width: 100%;
	max-width: 100%;
    margin: 0 auto;
	padding: 0 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

@media (max-width: 1023px) {
	.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 55px;
	}
}


.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--color-primary);
}

@media (max-width: 1023px) {
	.site-title img{
		width: 140px;
	}
}


@media screen and (min-width:1024px) and ( max-width:1300px) {
	.site-title img{
		width: 155px;
	}
}

/* Navigation */
.main-navigation {
    display: none;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: block;
        margin-left: auto;
        margin-right: 40px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-fast);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
    width: 100%;
}

.nav-menu > li .accordion_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.nav-menu > li .accordion_nav::-webkit-details-marker {
    display: none;
}

.nav-menu > li .accordion_nav::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

/* Dropdown Menu 矢印 */
.nav-menu .arrow {
  position: relative;
  display: inline-block;
}

.nav-menu .arrow::before,
.nav-menu .arrow::after {
  content: "";
  position: absolute;
  top: 11px;
  left: calc(50% - -60%);
  width: 2px;
  height: 8px;
  border-radius: 9999px;
  background: var(--color-text);
  transform-origin: 50% calc(100% - 0px);
}

.nav-menu .arrow::before {
  transform: rotate(45deg);
}

.nav-menu .arrow::after {
  transform: rotate(-45deg);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 140%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text);
    font-size: 0.875rem;
}

.nav-menu .sub-menu a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}



@media screen and (min-width:1024px) {
    .sub-menu li a {
	  display: inline-flex;
	  position: relative;
	  align-items: center;
	  gap: 15px;
	  color: var(--color-text);
	  font-size: 18px;
	  font-weight: normal;
	  letter-spacing: 1px;
	  transition: gap 0.3s;
	  flex-direction: row;
	  flex-wrap: wrap;
	  align-content: center;
	  justify-content: center;
	}
	.sub-menu li a:hover {
	  transition: all 0.3s;
	  display: block;
	}
	.sub-menu li a::before {
	  content: "";
	  position: absolute;
	  right: 17px;
	  top: 21px;
	  width: 25px;
	  height: 1px;
	  background: var(--color-text);
	  display: inline-block;
	}
	.sub-menu li a:hover::before {
	  content: "";
	  position: absolute;
	  right: 9px;
	  background: var(--color-white);
	  transition: all 0.3s;
	}
	.sub-menu li a::after {
	  content: "";
	  position: absolute;
	  right: 19px;
	  top: 17px;
	  display: block;
	  width: 7px;
	  height: 7px;
	  border-top: 1px solid var(--color-text);
	  ;
	  transform: rotate(45deg);
	}
	.sub-menu li a:hover::after {
	  content: "";
	  position: absolute;
	  right: 11px;
	  border-top: 1px solid var(--color-white);
	  display: block;
	  transition: all 0.3s;
	}
}


/* Header CTA Button */
.header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-navigation {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
	height: 400px;
}

@media (max-width: 1023px) {
	.mobile-navigation {;
    top: 55px;
}
}

.mobile-navigation.active {
    transform: translateX(0);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-menu a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-white);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
	display: block;
}

/* Mobile Menu Accordion */
.mobile-menu .menu-item-has-children {
    position: relative;
}

.mobile-menu .menu-item-has-children > a {
    padding-right: 50px;
}

.mobile-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 60px;
    padding:10px;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: right;
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle svg {
    transition: transform 0.3s ease;
}

.menu-item-has-children.submenu-open > .mobile-submenu-toggle svg {
    transform: rotate(180deg);
}

.mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    margin: 0;
    list-style: none;
}

.mobile-menu .sub-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .sub-menu li:last-child {
    border-bottom: none;
}

.mobile-menu .sub-menu a {
    font-size: 1rem;
    padding: 12px 15px;
    border-bottom: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 var(--space-section);
    overflow: hidden;
/*	background: url("./assets/img/image1.jpg");
    padding: 7% 0;*/
    background-size: cover;
}


.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/*キャッチコピー2*/
.hero-layout{
	width: 1500px;
	position: relative;
	z-index: 20;
	margin: 0 auto;
}


.copy-cards {
	position: absolute;
	/*right: 40px;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	grid-template-columns: repeat(2, 340px);
	grid-template-rows: repeat(2, 320px);
	gap: 20px;*/
	z-index: 20;
}


.copy-card_box {
			width: 370px;
			height: 370px;
            padding: 30px 20px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: all 0.3s;
        }

        .copy-card_box:hover {
            transform: translateY(-5px);
        }

		.copy-card_box::before,
        .copy-card_box::after,
        .copy-card_box .corner-tl,
        .copy-card_box .corner-tr,
        .copy-card_box .corner-bl,
        .copy-card_box .corner-br {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-color: white;
            border-style: solid;
        }

        .copy-card_box .corner-tl {
            top: 25px;
            left: 15px;
            border-width: 1px 0 0 1px;
        }

        .copy-card_box .corner-tr {
            top: 25px;
            right: 15px;
            border-width: 1px 1px 0 0;
        }

        .copy-card_box .corner-bl {
            bottom: 25px;
            left: 15px;
            border-width: 0 0 1px 1px;
        }

        .copy-card_box .corner-br {
            bottom: 25px;
            right: 15px;
            border-width: 0 1px 1px 0;
        }

        .copy-card_box::before,
        .copy-card_box::after {
            display: none;
        }

        .copy-card {
            background: rgba(153, 153, 153, 0.6);
			width: 100%;
			height: 100%;
            padding: 30px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
			text-align: center;
            transition: all 0.3s;
        }

        .copy-card:hover {
            background: rgba(90, 90, 90, 0.6);
			backdrop-filter: blur(10px);
        }

        .copy-card::before,
        .copy-card::after,
        .copy-card .corner-tl,
        .copy-card .corner-tr,
        .copy-card .corner-bl,
        .copy-card .corner-br {
            content: '';
            position: absolute;
            width: 35px;
            height: 35px;
            border-color: white;
            border-style: solid;
        }

        .copy-card .corner-tl {
            top: 10px;
            left: 10px;
            border-width: 2px 0 0 2px;
        }

        .copy-card .corner-tr {
            top: 10px;
            right: 10px;
            border-width: 2px 2px 0 0;
        }

        .copy-card .corner-bl {
            bottom: 10px;
            left: 10px;
            border-width: 0 0 2px 2px;
        }

        .copy-card .corner-br {
            bottom: 10px;
            right: 10px;
            border-width: 0 2px 2px 0;
        }

        .copy-card::before,
        .copy-card::after {
            display: none;
        }

        .copy-card-icon {
            margin: -20px auto 0px auto;
        }

        .copy-card-title {
            font-size: 42px;
            font-weight: 500;
            color: var(--color-white);
            letter-spacing: 2px;
            margin-bottom: 5px;
        }

        .copy-card-subtitle {
            font-size: 16px;
            color: var(--color-white);
            margin-bottom: 20px;
        }


/*キャッチコピー*/

.hero-content {
	position: relative;
	left: 100px;
    color: var(--color-white);
	z-index: 20;
}

.hero-content img {
}

@media (max-width: 1550px) {
    .hero-content {
		display: block;
		position: relative;
		top:-200px;
		z-index: 20;
	}

	.hero-content img {
	}
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-image {
    display: none;
}


.img-frame{
   position: relative;
   width: 70%;
   height: 300px;
   overflow: hidden;
   margin: 0 auto;
}
@media screen and (max-width: 767px){
.img-frame{
   width: 100%;
   height: auto;
}
}
.img-01, .img-02{
   position: absolute;
   top:0;
   left:0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.img-01{
   background: url("./assets/img/image1.jpg");
   animation: slide-animation-01 24s infinite;
}
.img-02{
    background: url("./assets/img/image2.jpg");
   animation: slide-animation-02 24s infinite;
}

@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.15);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.1);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}


/* スライダー全体 */
.slider{
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
}

/* スライダー画像 */
.slider .image{
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/*
  ①スライド画像
  表示する画像を定義
*/
.slider .image:nth-of-type(1){
  background: url("./assets/img/image1.jpg");
}
.slider .image:nth-of-type(2){
  animation-delay: 5s;
  background: url("./assets/img/image2.jpg");
}

/*
  ②アニメーション設定
  animation-durationのみ変更
*/
.slider .image{
  animation-name: anime;
  animation-delay: 0;
  animation-iteration-count: infinite;
  animation-duration: 15s;  /* ①で設定したanimation-delayを合計を挿入 */
}

/* アニメーション定義 */
@keyframes anime {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.view-more-btn {
            display: inline-flex;
			position: relative;
            align-items: center;
            gap: 15px;
            color: var(--color-white);
            font-size: 18px;
			font-weight: normal;
            letter-spacing: 1px;
            transition: gap 0.3s;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
		}

        .view-more-btn:hover {
			transition: all 0.3s;
			display: block;
        }

        .view-more-btn::before{
			content: "";
			 position: absolute;
			right: 9px;
  			top: 21px;
            width: 50px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
        }

		.view-more-btn:hover::before{
			content: "";
			 position: absolute;
			right: 0px;
            background: var(--color-primary);
			transition: all 0.3s;
        }

        .view-more-btn::after {
			content: "";
            position: absolute;
		  right: 10px;
		  top: 16px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);;
		  transform: rotate(45deg);
        }

		.view-more-btn:hover::after{
			content: "";
			 position: absolute;
			right: 0px;
		  border-top: 1px solid var(--color-primary);
			display: block;
			transition: all 0.3s;
        }


		@media screen and (min-width:1335px) and ( max-width:1650px) {
			.view-more-btn {
            display: inline-flex;
			position: relative;
            align-items: center;
            gap: 15px;
            color: var(--color-white);
            font-size: 14px;
			font-weight: normal;
            letter-spacing: 1px;
            transition: gap 0.3s;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
		}

        .view-more-btn:hover {
			transition: all 0.3s;
			display: block;
        }

        .view-more-btn::before{
			content: "";
			 position: absolute;
			right: 9px;
  			top: 17px;
            width: 30px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
        }

		.view-more-btn:hover::before{
			content: "";
			 position: absolute;
			right: 0px;
            background: var(--color-primary);
			transition: all 0.3s;
        }

        .view-more-btn::after {
			content: "";
            position: absolute;
		  right: 10px;
		  top: 12px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);;
		  transform: rotate(45deg);
        }

		.view-more-btn:hover::after{
			content: "";
			 position: absolute;
			right: 0px;
		  border-top: 1px solid var(--color-primary);
			display: block;
			transition: all 0.3s;
        }
	}


	@media screen and (min-width:1024px) and ( max-width:1335px) {
			.view-more-btn {
            display: inline-flex;
			position: relative;
            align-items: center;
            gap: 15px;
            color: var(--color-white);
            font-size: 12px;
			font-weight: normal;
            letter-spacing: 1px;
            transition: gap 0.3s;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
		}

        .view-more-btn:hover {
			transition: all 0.3s;
			display: block;
        }

        .view-more-btn::before{
			content: "";
			 position: absolute;
			right: 9px;
  			top: 14px;
            width: 25px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
        }

		.view-more-btn:hover::before{
			content: "";
			 position: absolute;
			right: 0px;
            background: var(--color-primary);
			transition: all 0.3s;
        }

        .view-more-btn::after {
			content: "";
            position: absolute;
		  right: 10px;
		  top: 9px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);
		  transform: rotate(45deg);
        }

		.view-more-btn:hover::after{
			content: "";
			 position: absolute;
			right: 0px;
		  border-top: 1px solid var(--color-primary);
			display: block;
			transition: all 0.3s;
        }
	}


@media (max-width: 1023px) {
	.view-more-btn {
            display: inline-flex;
			position: relative;
            align-items: center;
            gap: 15px;
            color: var(--color-white);
            font-size: 18px;
			font-weight: normal;
            letter-spacing: 1px;
            transition: gap 0.3s;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
		}

        .view-more-btn:hover {
			transition: all 0.3s;
			display: block;
			color: var(--color-text);
        }

        .view-more-btn::before{
			content: "";
			 position: absolute;
			right: 9px;
  			top: 21px;
            width: 50px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
        }

		.view-more-btn:hover::before{
			content: "";
			 position: absolute;
			right: 0px;
            background: var(--color-text);
			transition: all 0.3s;
        }

        .view-more-btn::after {
			content: "";
            position: absolute;
		  right: 10px;
		  top: 16px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);
		  transform: rotate(45deg);
        }

		.view-more-btn:hover::after{
			content: "";
			 position: absolute;
			right: 0px;
		  border-top: 1px solid var(--color-text);
			display: block;
			transition: all 0.3s;
        }
}


	.view-more-btn2 {
            display: block;
			position: relative;
			text-align: right;
			right: 60px;
            align-items: center;
            color: var(--color-white);
            font-size: 14px;
			font-weight: normal;
            letter-spacing: 1px;
			text-shadow: 
				0px 0px 8px #027798, 0px 0px 8px #027798,
				0px 0px 8px #027798, 0px 0px 8px #027798,
				0px 0px 8px #027798, 0px 0px 8px #027798,
				0px 0px 8px #027798, 0px 0px 8px #027798;
		}

        .view-more-btn2:hover {
			display: block;
			color: var(--color-white);
        }

        .view-more-btn2::before{
			content: "";
			 position: absolute;
  			top: 21px;
            width: 50px;
			right: -60px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
			box-shadow: 
				0px 0px 8px #027798, 0px 0px 8px #027798,
				0px 0px 8px #027798, 0px 0px 8px #027798,
				0px 0px 8px #027798, 0px 0px 8px #027798,
				0px 0px 8px #027798, 0px 0px 8px #027798;
        }

		.view-more-btn2:hover::before{
			right: -70px;
            background: var(--color-white);
			transition: all 0.3s;
        }

        .view-more-btn2::after {
			content: "";
            position: absolute;
		  top: 16px;
			right: -58px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);
		  transform: rotate(45deg);
        }

		.view-more-btn2:hover::after{
			right: -68px;
		  border-top: 1px solid var(--color-white);
			transition: all 0.3s;
        }



		.view-more-btn3 {
            display: inline-flex;
			position: relative;
            align-items: center;
            gap: 15px;
            color: var(--color-white);
            font-size: 16px;
			font-weight: normal;
            letter-spacing: 1px;
            transition: gap 0.3s;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
		}

        .view-more-btn3:hover {
			transition: all 0.3s;
			display: block;
        }

        .view-more-btn3::before{
			content: "";
			 position: absolute;
			right: -20px;
  			top: 21px;
            width: 50px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
        }

		.view-more-btn3:hover::before{
			content: "";
			 position: absolute;
			right: -29px;
            background: var(--color-primary);
			transition: all 0.3s;
        }

        .view-more-btn3::after {
			content: "";
            position: absolute;
		  right: -19px;
		  top: 16px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);;
		  transform: rotate(45deg);
        }

		.view-more-btn3:hover::after{
			content: "";
			 position: absolute;
			right: -28px;
		  border-top: 1px solid var(--color-primary);
			display: block;
			transition: all 0.3s;
        }


		@media screen and (min-width:1350px) and ( max-width:1650px) {
			.view-more-btn3 {
            display: inline-flex;
			position: relative;
            align-items: center;
            gap: 15px;
            color: var(--color-white);
            font-size: 14px;
			font-weight: normal;
            letter-spacing: 1px;
            transition: gap 0.3s;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
		}

        .view-more-btn3:hover {
			transition: all 0.3s;
			display: block;
        }

        .view-more-btn3::before{
			content: "";
			 position: absolute;
			right: -20px;
  			top: 21px;
            width: 25px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
        }

		.view-more-btn3:hover::before{
			content: "";
			 position: absolute;
			right: -29px;
            background: var(--color-primary);
			transition: all 0.3s;
        }

        .view-more-btn3::after {
			content: "";
            position: absolute;
		  right: -19px;
		  top: 16px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);
		  transform: rotate(45deg);
        }

		.view-more-btn3:hover::after{
			content: "";
			 position: absolute;
			right: -28px;
		  border-top: 1px solid var(--color-primary);
			display: block;
			transition: all 0.3s;
        }
	}


	@media screen and (min-width:1024px) and ( max-width:1350px) {
			.view-more-btn3 {
            display: inline-flex;
			position: relative;
            align-items: center;
            gap: 15px;
            color: var(--color-white);
            font-size: 10px;
			font-weight: normal;
            letter-spacing: 1px;
            transition: gap 0.3s;
			flex-direction: row;
			flex-wrap: wrap;
			align-content: center;
			justify-content: center;
			padding-bottom: 10px;
		}

        .view-more-btn3:hover {
			transition: all 0.3s;
			display: block;
        }

        .view-more-btn3::before{
			content: "";
			 position: absolute;
			right: -20px;
  			top: 12px;
            width: 25px;
            height: 1px;
            background: var(--color-white);
			display: inline-block;
        }

		.view-more-btn3:hover::before{
			content: "";
			 position: absolute;
			right: -29px;
            background: var(--color-primary);
			transition: all 0.3s;
        }

        .view-more-btn3::after {
			content: "";
            position: absolute;
		  right: -19px;
		  top: 7px;
		  display: block;
		  width: 11px;
		  height: 11px;
		  border-top: 1px solid var(--color-white);
		  transform: rotate(45deg);
        }

		.view-more-btn3:hover::after{
			content: "";
			 position: absolute;
			right: -28px;
		  border-top: 1px solid var(--color-primary);
			display: block;
			transition: all 0.3s;
        }
	}

	@media screen and (max-width: 1024px){
		.view-more-btn3 {
				display: inline-flex;
				position: relative;
				align-items: center;
				gap: 15px;
				color: var(--color-white);
				font-size: 18px;
				font-weight: normal;
				letter-spacing: 1px;
				transition: gap 0.3s;
				flex-direction: row;
				flex-wrap: wrap;
				align-content: center;
				justify-content: center;
			}

			.view-more-btn3:hover {
				transition: all 0.3s;
				display: block;
				color: var(--color-text);
			}

			.view-more-btn3::before{
				content: "";
				 position: absolute;
				right: 9px;
				top: 21px;
				width: 50px;
				height: 1px;
				background: var(--color-white);
				display: inline-block;
			}

			.view-more-btn3:hover::before{
				content: "";
				 position: absolute;
				right: 0px;
				background: var(--color-text);
				transition: all 0.3s;
			}

			.view-more-btn3::after {
				content: "";
				position: absolute;
			  right: 10px;
			  top: 16px;
			  display: block;
			  width: 11px;
			  height: 11px;
			  border-top: 1px solid var(--color-white);
			  transform: rotate(45deg);
			}

			.view-more-btn3:hover::after{
				content: "";
				 position: absolute;
				right: 0px;
			  border-top: 1px solid var(--color-text);
				display: block;
				transition: all 0.3s;
			}
		}

		@media screen and (max-width: 450px){
		.view-more-btn3 {
				display: inline-flex;
				position: relative;
				align-items: center;
				gap: 15px;
				color: var(--color-white);
				font-size: 14px;
				font-weight: normal;
				letter-spacing: 1px;
				transition: gap 0.3s;
				flex-direction: row;
				flex-wrap: wrap;
				align-content: center;
				justify-content: center;
			}

			.view-more-btn3:hover {
				transition: all 0.3s;
				display: block;
				color: var(--color-text);
			}

			.view-more-btn3::before{
				content: "";
				 position: absolute;
				right: 9px;
				top: 21px;
				width: 30px;
				height: 1px;
				background: var(--color-white);
				display: inline-block;
			}

			.view-more-btn3:hover::before{
				content: "";
				 position: absolute;
				right: 0px;
				background:  var(--color-text);
				transition: all 0.3s;
			}

			.view-more-btn3::after {
				content: "";
				position: absolute;
			  right: 10px;
			  top: 16px;
			  display: block;
			  width: 11px;
			  height: 11px;
			  border-top: 1px solid var(--color-white);
			  transform: rotate(45deg);
			}

			.view-more-btn3:hover::after{
				content: "";
				 position: absolute;
				right: 0px;
			  border-top: 1px solid var(--color-text);
				display: block;
				transition: all 0.3s;
			}
		}

        /* Feature Cards */
		@media screen and (max-width: 1550px){/*以下*/
			.feature-cards {
				display:none;
			}
		}

		@media screen and (min-width: 1549px){/*以上*/
			.feature-cards {
				position: absolute;
				right: 40px;
				top: 50%;
				transform: translateY(-50%);
				display: grid;
				grid-template-columns: repeat(2, 340px);
				grid-template-rows: repeat(2, 320px);
				gap: 20px;
				z-index: 20;
			}
		}

		@media screen and (max-width: 1550px){/*以下*/
			.feature-cards_sp {
				position: absolute;
				right: 40px;
				top: 50%;
				transform: translateY(-50%);
				display: grid;
				grid-template-columns: repeat(2, 50%);
				grid-template-rows: repeat(2, 50%);
				gap: 20px;
				z-index: 20;
        	}
		}

		@media screen and (min-width: 1549px){/*以上*/
			.feature-cards_sp {
				display:none;
			}
		}


		@media screen and (max-width: 1550px){/*以下*/
			.feature-cards_sp2 {
				position: absolute;
				right: 40px;
				top: 50%;
				transform: translateY(-50%);
				display: grid;
				grid-template-columns: repeat(2, 50%);
				grid-template-rows: repeat(2, 50%);
				gap: 20px;
				z-index: 20;
        	}
		}

		.feature-card_box {
			width: 370px;
			height: 370px;
            padding: 30px 20px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: all 0.3s;
        }

        .feature-card_box:hover {
            transform: translateY(-5px);
        }

		.feature-card_box::before,
        .feature-card_box::after,
        .feature-card_box .corner-tl,
        .feature-card_box .corner-tr,
        .feature-card_box .corner-bl,
        .feature-card_box .corner-br {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-color: white;
            border-style: solid;
        }

        .feature-card_box .corner-tl {
            top: 25px;
            left: 15px;
            border-width: 1px 0 0 1px;
        }

        .feature-card_box .corner-tr {
            top: 25px;
            right: 15px;
            border-width: 1px 1px 0 0;
        }

        .feature-card_box .corner-bl {
            bottom: 25px;
            left: 15px;
            border-width: 0 0 1px 1px;
        }

        .feature-card_box .corner-br {
            bottom: 25px;
            right: 15px;
            border-width: 0 1px 1px 0;
        }

        .feature-card_box::before,
        .feature-card_box::after {
            display: none;
        }

        .feature-card {
            background: rgba(153, 153, 153, 0.6);
			width: 100%;
			height: 100%;
            padding: 30px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
			text-align: center;
            transition: all 0.3s;
        }

        .feature-card:hover {
            background: rgba(90, 90, 90, 0.6);
			backdrop-filter: blur(10px);
        }

        .feature-card::before,
        .feature-card::after,
        .feature-card .corner-tl,
        .feature-card .corner-tr,
        .feature-card .corner-bl,
        .feature-card .corner-br {
            content: '';
            position: absolute;
            width: 35px;
            height: 35px;
            border-color: white;
            border-style: solid;
        }

        .feature-card .corner-tl {
            top: 10px;
            left: 10px;
            border-width: 2px 0 0 2px;
        }

        .feature-card .corner-tr {
            top: 10px;
            right: 10px;
            border-width: 2px 2px 0 0;
        }

        .feature-card .corner-bl {
            bottom: 10px;
            left: 10px;
            border-width: 0 0 2px 2px;
        }

        .feature-card .corner-br {
            bottom: 10px;
            right: 10px;
            border-width: 0 2px 2px 0;
        }

        .feature-card::before,
        .feature-card::after {
            display: none;
        }

        .feature-card-icon {
            margin: -20px auto 0px auto;
        }

        .feature-card-title {
            font-size: 42px;
            font-weight: 500;
            color: var(--color-white);
            letter-spacing: 2px;
            margin-bottom: 5px;
        }

        .feature-card-subtitle {
            font-size: 16px;
            color: var(--color-white);
            margin-bottom: 20px;
        }

	
		.feature-cards_sp .feature-card_box {
				width: 80%;
				height: 200px;
				padding: 30px 20px;
				position: relative;
				display: flex;
				flex-direction: column;
				justify-content: center;
				transition: all 0.3s;
			}
			.feature-cards_sp .feature-card {
				background: rgba(153, 153, 153, 0.6);
				width: 100%;
				height: 100%;
				padding: 30px;
				position: relative;
				display: flex;
				flex-direction: column;
				justify-content: center;
				text-align: center;
				transition: all 0.3s;
        	}

		.feature-cards_sp .feature-card-title {
            font-size: 18px;
            font-weight: 500;
            color: var(--color-white);
            letter-spacing: 2px;
            margin-bottom: 2px;
        }

        .feature-cards_sp .feature-card-subtitle {
            font-size: 12px;
            color: var(--color-white);
            margin-bottom: 5px;
        }


        /* Contact Card Special */
        .feature-card.contact-card .contact-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 15px;
        }

        .contact-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
            font-size: 12px;
            padding: 5px 0;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        .contact-link .arrow {
            width: 25px;
            height: 1px;
            background: white;
            position: relative;
        }

        .contact-link .arrow::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
            width: 5px;
            height: 5px;
            border-top: 1px solid white;
            border-right: 1px solid white;
        }


@media (min-width: 992px) {
    .hero-image {
        display: block;
    }
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Stats Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-english);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-top: var(--space-xs);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    border: 1px solid var(--color-text);
    color: var(--color-text);
}

.btn-primary:hover {
    border: 1px solid var(--color-text-light);
	color: var(--color-text-light);
}

@media screen and (min-width:1024px) and ( max-width:1300px) {
	.btn {
    padding: var(--space-md) var(--space-sm);
    font-size: 0.65rem;
}
}

@media screen and (max-width: 1024px){
	.btn-primary {
		border: 1px solid var(--color-white);;
		color: var(--color-white);;
	}
	.btn-primary:hover {
    	border: 1px solid var(--color-text-light);
		color: var(--color-text-light);
	}
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-lg {
    padding: var(--space-lg) var(--space-xxl);
    font-size: 1rem;
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    color: var(--color-white);
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.service-description {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.service-link {
    font-weight: 600;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.service-link:hover {
    color: var(--color-primary);
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-secondary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-success);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ========================================
   News Section
   ======================================== */

.news-header {
    flex-shrink: 0;
}

.news-header .news-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-header .news-subtitle {
    font-size: 16px;
    color: var(--color-text);
}

.news-scroll {
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 10px;
}

/* カスタムスクロールバー */
.news-scroll::-webkit-scrollbar {
    width: 6px;
}

.news-scroll::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
}

.news-scroll::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}

.news-scroll::-webkit-scrollbar-thumb:hover {
    background: #666;
}

@media screen and (max-width: 600px){
    .news-scroll {
        width: 100%;
        max-height: 250px;
        overflow-y: auto;
    }
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

article h3{
    border-bottom: 0px solid #162779;
}

.news-item {
    display: block;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

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

.news-item-link {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.news-item-link:hover {
    color: var(--color-secondary);
}

.news-item-link:hover .news-title-text {
    color: var(--color-secondary);
}

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

.news-title-text {
    font-size: 15px;
    font-weight: normal;
    color: var(--color-text);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-category {
    display: none;
}

/* 旧スタイル互換用（単独ページなど） */
.news-title {
    font-size: 16px;
    font-weight: normal;
}

.news-title a {
    color: var(--color-text);
    border-bottom: 0px solid #cccccc;
}

.news-title a:hover {
    color: var(--color-secondary);
}

@media screen and (max-width: 768px) {
    .news-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .news-date {
        min-width: auto;
    }
}

/* News Archive Styles */
.news-archive-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.news-archive-wrapper .news-list {
    flex: 1;
}

.news-archive-sidebar {
    flex-shrink: 0;
    padding-top: 20px;
}

.news-archive-link {
    color: #d63384;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.news-archive-link:hover {
    text-decoration: underline;
}

/* News Item Card Style */
.news-item {
    display: block;
    background: var(--color-white);
    padding: 40px 0;
    transition: all var(--transition-fast);
}

.news-item:first-child {
    padding-top: 20px;
}

.news-item-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-title a {
    color: var(--color-text);
    text-decoration: none;
    border-bottom: none;
}

.news-title a:hover {
    color: var(--color-secondary);
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.news-read-more {
    display: flex;
    justify-content: center;
}

.news-read-more-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    border: 2px solid var(--color-primary) !important;
    color: var(--color-primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-read-more-btn span {
    flex: 1;
    text-align: center;
}

.news-read-more-btn:hover {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    color: #fff;
}

.news-read-more-arrow {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.news-read-more-btn:hover .news-read-more-arrow {
    transform: translateX(5px);
}

/* ========================================
   トップページ ニュースセクション
   ======================================== */

.top-news-section {
    padding: 60px 0 80px;
    background: var(--color-white);
}

.top-news-header {
    flex-shrink: 0;
}

.top-news-heading {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.top-news-subheading {
    font-size: 16px;
    color: var(--color-text);
}

.top-news-scroll {
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 15px;
}

/* カスタムスクロールバー */
.top-news-scroll::-webkit-scrollbar {
    width: 6px;
}

.top-news-scroll::-webkit-scrollbar-track {
    background: #e5e5e5;
    border-radius: 3px;
}

.top-news-scroll::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}

.top-news-scroll::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.top-news-list {
    display: flex;
    flex-direction: column;
}

.top-news-item {
    border-bottom: 1px solid #ddd;
}

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

.top-news-link {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 18px 0;
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.top-news-link:hover {
    color: var(--color-secondary);
}

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

.top-news-date {
    flex-shrink: 0;
    font-size: 15px;
    color: #333;
    min-width: 100px;
}

.top-news-title {
    font-size: 15px;
    font-weight: normal;
    color: var(--color-text);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* トップページニュース レスポンシブ */
@media screen and (max-width: 768px) {
    .top-news-section {
        padding: 40px 0 60px;
    }

    .top-news-heading {
        font-size: 36px;
    }

    .top-news-scroll {
        max-height: 250px;
        margin-top: 20px;
    }

    .top-news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }
    
    .top-news-date {
        min-width: auto;
        font-size: 14px;
    }

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

/* News H1 Hero Line */
.news_h1-hero-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--color-text);
    vertical-align: middle;
    margin-left: 10px;
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    padding-bottom: 60px;
}

.news-pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-pagination-arrow .pagination-arrow-icon {
    width: 24px;
    height: 24px;
}

.news-pagination-arrow:hover {
    color: #ccc;
}

.news-pagination-arrow.disabled {
    color: #ccc;
    pointer-events: none;
}

.news-pagination-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.news-pagination-num:hover {
    background: #f0f0f0;
}

.news-pagination-num.current {
    background: var(--color-primary);
    color: #fff;
}

/* Responsive News Archive */
@media (max-width: 1023px) {
    .news-archive-wrapper {
        flex-direction: column;
    }
    
    .news-archive-sidebar {
        order: -1;
        text-align: right;
        width: 100%;
        padding-top: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .news-item {
        padding: 30px 0;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-read-more-btn {
        min-width: 240px;
        padding: 15px 30px;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: var(--space-section) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.cta-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xxl);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h3 {
    margin-bottom: var(--space-lg);
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.contact-item-text {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text);
}

.form-label .required {
    color: var(--color-accent);
    margin-left: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--color-primary-dark);
    color: var(--color-text);
    padding: var(--space-section) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: var(--space-lg) 0;
    font-size: 0.9375rem;
}

.footer-brand img{
	display: inline-block!important;
	padding-right: 5px;
}

.footer-brand .foot_logo{
	display: inline-block!important;
	width: 256px;
	padding-right: 0px;
}

.footer-brand span{
	font-size: 12px;
}

.footer-brand a {
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.footer-brand a:hover {
    color:var(--color-text-light);
}


.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--color-text);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
	font-weight: normal;
}

.footer-text{
    font-size: 18px;
    color: var(--color-text);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-menu a {
    color: var(--color-text);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color:var(--color-text-light);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

/*@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}*/

.copyright {
    font-size: 0.875rem;
    color: var(--color-text);
}

.footer-links {
    gap: var(--space-lg);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text);
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-links a:not(:first-child):before {
    content: "|";
    margin-right: 1em;
    margin-left: 1em;
  }

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 50px 0 20px;
    text-align: center;
}

.page-header .page-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.page-header .page-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.0625rem;
}

.breadcrumb {
    margin-top: var(--space-sm);
	margin-bottom: var(--space-lg);
}

.breadcrumb ol {
    display: flex;
    /*justify-content: center;*/
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-text);
    font-size: 0.875rem;
}

.breadcrumb a:hover {
    color: var(--color-text);
}

.breadcrumb span {
    color: var(--color-text);
    font-size: 0.875rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-sm);
    color: var(--color-text);
}

/* ========================================
   Single Post
   ======================================== */
.single-content {
    padding: var(--space-section) 0;
}

.post-content {
    font-size: 1.0625rem;
    line-height: 2;
}

.post-content h2 {
    margin: var(--space-xxl) 0 var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
}

.post-content h3 {
    margin: var(--space-xl) 0 var(--space-md);
}

.post-content p {
    margin-bottom: var(--space-lg);
}

.post-content ul,
.post-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: var(--space-sm); }

.post-content blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-secondary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-content img {
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
}

/* Single Article Styles */
.single-article {
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

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

.single-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.single-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    color: var(--color-text);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.single-thumbnail {
    margin-bottom: 40px;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.single-content-body {
    font-size: 15px;
    line-height: 2;
    color: var(--color-text);
}

/* Single Navigation */
.single-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 40px;
}

.single-nav-prev,
.single-nav-next,
.single-nav-list {
    flex: 1;
    display: flex;
}

.single-nav-prev {
    justify-content: flex-start;
}

.single-nav-list {
    justify-content: center;
}

.single-nav-next {
    justify-content: flex-end;
}

.single-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    border: 2px solid var(--color-primary) !important;
    color: var(--color-primary);
    transition: all 0.3s ease;
    gap: 10px;
}

.single-nav-btn.list-btn {
    min-width: 200px;
}

.single-nav-btn span {
    flex: 1;
    text-align: center;
}

.single-nav-btn:hover {
    background: var(--color-primary);
    border: 2px solid var(--color-primary) !important;
    color: #fff;
}

.single-nav-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.single-nav-arrow.prev {
    order: -1;
}

.single-nav-btn:hover .single-nav-arrow {
    transform: translateX(5px);
}

.single-nav-btn:hover .single-nav-arrow.prev {
    transform: translateX(-5px);
}

/* Single Page Responsive */
@media (max-width: 768px) {
    .single-article {
        padding: 30px;
    }

    .single-title {
        font-size: 20px;
    }

    .single-navigation {
        flex-direction: row;
        gap: 10px;
        padding-top: 30px;
    }

    .single-nav-prev,
    .single-nav-next,
    .single-nav-list {
        flex: 1;
    }

    .single-nav-btn {
        padding: 8px 12px;
        font-size: 10px;
        gap: 5px;
    }

    .single-nav-btn.list-btn {
        min-width: auto;
    }

    .single-nav-arrow {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .single-navigation {
        gap: 8px;
    }

    .single-nav-btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .single-nav-btn span {
        display: block;
    }

    .single-nav-arrow {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   Sidebar
   ======================================== */
.with-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xxl);
}

@media (min-width: 1024px) {
    .with-sidebar {
        
    }
}

.sidebar .widget {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

.widget-title {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-secondary);
}

/* ========================================
   404 Page
   ======================================== */
.error-404-section {
    padding: var(--space-lg) 0 var(--space-section);
}

.error-404-content {
    max-width: 900px;
}

.error-404-message {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
}

.error-404-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.error-404-links-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.error-404-link-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.error-404-link-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-404-link-main:hover {
    color: var(--color-primary);
}

.error-404-link-sub {
    font-size: 0.9375rem;
    color: var(--color-text);
    text-decoration: none;
    padding-left: 0;
    transition: color 0.3s ease;
}

.error-404-link-sub:hover {
    color: var(--color-primary);
}

/* 404 Page Responsive */
@media (max-width: 768px) {
    .error-404-section {
        padding: var(--space-md) 0 var(--space-lg);
    }
    
    .error-404-message {
        font-size: 1rem;
    }
    
    .error-404-links {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .error-404-link-main {
        font-size: 1.125rem;
    }
    
    .error-404-link-sub {
        font-size: 0.875rem;
    }
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
}

/* WordPress Classes */
.alignleft { float: left; margin-right: var(--space-lg); margin-bottom: var(--space-md); }
.alignright { float: right; margin-left: var(--space-lg); margin-bottom: var(--space-md); }
.aligncenter { display: block; margin: var(--space-lg) auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--color-text-muted); text-align: center; margin-top: var(--space-sm); }

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }



/* Main Visual Section */
.main-visual {
    position: relative;
    width: 100%;
    height: 1000px;
    overflow: hidden;
}

.main-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-visual-bg-1 {
    background-image: url('./assets/img/image1.jpg');
    animation-name: anime1;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-duration: 15s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    opacity: 1;
}

.main-visual-bg-2 {
    background-image: url('./assets/img/image1.jpg');
    animation-name: anime2;
    animation-delay: 7.5s;
    animation-iteration-count: infinite;
    animation-duration: 30s;
    animation-timing-function: linear;
    opacity: 0;
}

/*.main-visual-bg-2 {
    background-image: url('./assets/img/image2.jpg');
    animation-name: anime2;
    animation-delay: 7.5s;
    animation-iteration-count: infinite;
    animation-duration: 15s;
    animation-timing-function: linear;
    opacity: 0;
}*/


@media (max-width: 1023px) {
	.main-visual-bg-1 {
		background-image: url('./assets/img/sp_image1.jpg');
		animation-name: anime1;
		animation-delay: 0s;
		animation-iteration-count: 1;
		animation-duration: 15s;
		animation-timing-function: ease-out;
		animation-fill-mode: forwards;
		opacity: 1;
	}
}

@keyframes anime1 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.25);
    }
}

@keyframes anime2 {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.09);
    }
    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

/* Main Visual Content */
.main-visual-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    box-sizing: border-box;
    padding: 0 25px;
}

.main-visual-text {
    align-items: center;
    align-content: center;
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    max-width: 50%;
    overflow: hidden;
}

.main-visual-text > div {
    position: relative;
    width: fit-content;
    /*max-width: 100%;*/
    margin: 0;
    margin-right: auto;
    text-align: right;
}

.main-visual-text img {
    display: block;
    max-width: none;
    height: auto;
}

.main-visual-text a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.main-visual-grid {
    flex-shrink: 1;
    display: grid;
    grid-template-columns: auto auto;
    gap: 30px;
    max-width: 100%;
    box-sizing: border-box;
	margin-top: 70px;
}

@media (max-width: 1023px) {
	.main-visual-grid {
		margin-top: 0px;
	}
}

@media (max-width: 1023px) {
	.site-title img{
		width: 140px;
	}
}

.angle-box {
    position: relative;
    padding: 13px;
    box-sizing: border-box;
    background-image: 
        url('./assets/img/angle-tr.png'),
        url('./assets/img/angle-tl.png'),
        url('./assets/img/angle-br.png'),
        url('./assets/img/angle-bl.png');
    background-position:
        top right,
        top left,
        bottom right,
        bottom left;
    background-repeat: no-repeat;
    background-size: auto;
	transition: all 0.3s;
}

.angle-box:hover {
    transform: translateY(-5px);
}

.angle-box-inner {
    background: rgba(153, 153, 153, 0.6);
    position: relative;
    width: 375px;
    height: 375px;
    padding: 65px;
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: center;
	transition: all 0.3s;
}

.angle-box-inner:hover {
	background: rgba(90, 90, 90, 0.8);
	backdrop-filter: blur(10px);
}

.main-visual-grid .angle-box:nth-child(2) .angle-box-inner {
        padding: 75px 45px !important;
    }

@media screen and (min-width:1200px) and ( max-width:1350px) {
	padding: 75px 35px !important;
}

@media (max-width: 1200px) {
	.main-visual-grid .angle-box:nth-child(2) .angle-box-inner {
        padding: 60px 30px !important;
    }
}

@media (max-width: 1024px) {
	.main-visual-grid .angle-box:nth-child(2) .angle-box-inner {
        padding: 25px 15px !important;
    }
}

.main-visual-grid .angle-box:nth-child(4) .angle-box-inner {
        padding: 45px 45px !important;
    }

@media (max-width: 1200px) {
	.main-visual-grid .angle-box:nth-child(4) .angle-box-inner {
        padding: 35px 42px !important;
    }
}

@media (max-width: 1024px) {
	.main-visual-grid .angle-box:nth-child(4) .angle-box-inner {
        padding: 25px 15px !important;
    }
}

.box-spacer {
    height: 36px;
}

.box-icon {
    width: 41px;
    height: 31px;
    margin-bottom: 15px;
    display: block;
    margin: 0 auto;
}

.box-icon2 {
    width: 50px;
    height: 36px;
    margin-bottom: 15px;
    display: block;
    margin: 0 auto;
}

.box-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.box-subtitle {
    font-size: 16px;
    color: #fff;
    margin: 0 0 0 0;
    font-weight: 400;
}

.box-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 30px;
    justify-content: center;
}

.box-arrow {
    width: 57px;
    height: 12px;
    flex-shrink: 0;
}

.box-arrow::hover {
    margin-right: 30px;
}

.box-contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.box-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    gap: 10px;
}

.box-contact-link .box-arrow {
    width: 57px;
    height: 12px;
    flex-shrink: 0;
}



/* Responsive Styles - Proportional scaling below 1920px */
@media (max-width: 1919px) {
    .main-visual {
        height: calc(1100px * (100vw / 1920px));
    }
    
    .main-visual-content {
        max-width: calc(1800px * (100vw / 1920px));
        padding: 0 calc(25px * (100vw / 1920px));
        gap: calc(40px * (100vw / 1920px));
        box-sizing: border-box;
    }
    
    .main-visual-grid {
        gap: calc(30px * (100vw / 1920px));
        max-width: 100%;
        width: fit-content;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .main-visual-text {
        flex-shrink: 1;
        min-width: 0;
        max-width: 50%;
        overflow: hidden;
    }
    
    .main-visual-text > div {
        /*max-width: 100%;*/
        width: fit-content;
        /*transform: scale(calc(100vw / 1920px));*/
        transform-origin: left center;
        margin: 0;
        margin-right: auto;
    }
    
    .main-visual-text img {
        max-width: none;
        height: auto;
    }
    
    .main-visual-text a {

    }
    
    .angle-box {
        padding: calc(13px * (100vw / 1920px));
        box-sizing: border-box;
    }
    
    .angle-box-inner {
        width: calc(375px * (100vw / 1920px));
        height: calc(375px * (100vw / 1920px));
        padding: calc(55px * (100vw / 1920px));
        box-sizing: border-box;
        white-space: nowrap;
    }
    
    .box-title {
        font-size: calc(38px * (100vw / 1920px));
    }
    
    .box-subtitle {
        font-size: calc(16px * (100vw / 1920px));
    }
    
    .box-link {
        font-size: calc(18px * (100vw / 1920px));
    }
    
    .box-icon {
        width: calc(41px * (100vw / 1920px));
        height: calc(31px * (100vw / 1920px));
    }
	
	.box-icon2 {
        width: calc(50px * (100vw / 1920px));
        height: calc(36px * (100vw / 1920px));
    }
    
    .box-arrow {
        width: calc(57px * (100vw / 1920px));
        height: calc(12px * (100vw / 1920px));
    }
    
    .box-contact-link {
        font-size: calc(16px * (100vw / 1920px));
    }
}

/* Reduce main-visual-text width when screen is below 1500px */
@media (max-width: 1550px) {
    .main-visual-text {
        max-width: 40%;
        flex-grow: 0;
        overflow: visible;
        justify-content: flex-start;
    }
    
    .main-visual-text > div {
        /*max-width: 100%;*/
        transform: scale(calc(100vw / 1920px));
        transform-origin: left center;
        margin: 0;
        margin-right: auto;
    }
    
    .main-visual-text img {
        max-width: none;
        height: auto;
    }
    
    .main-visual-content {
        gap: calc(40px * (100vw / 1920px));
        justify-content: space-between;
    }
    
    .main-visual-grid {
        margin-left: auto;
    }
}

/* Responsive Styles - Tablet and smaller screens */
@media (max-width: 1280px) {
    .logo-img {
        height: 45px;
    }
    .nav-link {
        padding: 10px 10px;
        font-size: 13px;
    }
    
    .contact-button {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .contact-button span {
        font-size: 11px;
    }
}

/* Responsive Styles - Mobile (less than 1024px) */
@media (max-width: 1023px) {
    /* Main Visual - Mobile Layout */
    .main-visual {
        height: auto;
        min-height: 600px;
        padding-bottom: 0px;
    }
    
    .main-visual-content {
        flex-direction: column;
        padding: 20px;
        gap: 250px;
        align-items: center;
        justify-content: center;
        max-width: 100%;
    }
    
    .main-visual-text {
        width: 100%;
        max-width: 100%;
        flex-grow: 0;
        display: flex;
        justify-content: center;
        align-items: center;
		 margin-top: 100px;
    }
    
    .main-visual-text > div {
        transform: none !important;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .main-visual-text img {
        max-width: 100%;
        height: auto;
    }
    
    .main-visual-text a {
        font-size: 18px !important;
    }
    
    .main-visual-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .angle-box {
        width: 100%;
        max-width: 90%;
    }
    
    .angle-box-inner {
		background: rgba(1, 140, 252, 0.4);
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 25px 15px !important;
        white-space: normal;
        gap: 8px;
    }
    
    .box-spacer {
        display: none !important;
    }
    
    .box-title {
		color: var(--color-white);
        font-size: 24px !important;
        margin: 0 !important;
    }
    
    .box-subtitle {
		color: var(--color-white);
        font-size: 13px !important;
        margin: 0 !important;
    }
    
    .box-link {
        font-size: 14px !important;
        margin-top: 12px !important;
        justify-content: center !important;
        margin-left: 0 !important;
    }
    
    .box-icon {
        width: 41px !important;
        height: 31px !important;
    }
	
	.box-icon2 {
        width: 50px !important;
        height: 36px !important;
    }
    
    .box-arrow {
        width: 57px !important;
        height: 12px !important;
    }
    
    /* Contact box specific styles - target the 4th angle-box */
    .main-visual-grid .angle-box:nth-child(4) .angle-box-inner {
        padding: 30px 20px !important;
    }
    
    .main-visual-grid .angle-box:nth-child(4) .box-title {
        font-size: 24px !important;
    }
    
    .main-visual-grid .angle-box:nth-child(4) .box-subtitle {
        font-size: 13px !important;
    }
    
    .box-contact-list {
        margin-top: 10px;
        gap: 8px;
    }
    
    .box-contact-link {
        font-size: 13px !important;
    }
    
    .box-contact-link .box-arrow {
        width: 57px !important;
        height: 12px !important;
    }
    
    .angle-box {
        padding: 13px !important;
    }
    
    .header-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .logo-section {
        gap: 10px;
    }

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

#target {
  visibility: hidden;
}
	
#target .visible {
    visibility: visible;
    animation-duration: 0.5s;
    animation-name: fade-in;
}
	
@keyframes fade-in {
  0% {
    visibility: hidden;
    opacity: 0;
  }

  50% {
    visibility: visible;
    opacity: 0.5;
  }

  100% {
    visibility: visible;
    opacity: 1;
  }
}
	
@media(min-width:1024px){
    .sp{
        display: none !important;
    }
}
@media(max-width:1023px){
    .pc{
        display: none !important;
    }
}

/* ========================================
   h1 Styles
   ======================================== */

/* h1 Hero Section */
.h1-hero {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 81px;
}

.h1-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/img/h1_bg.jpg') center center / cover no-repeat;
    z-index: 1;
}

.h1-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100% ;
    margin: 0 auto;
}

.h1-hero-title {
    font-family: var(--font-english);
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--color-text);
    text-shadow: 
	rgb(255, 255, 255) 2px 0px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 0px -2px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 2px 2px 2px, rgb(255, 255, 255) -2px 2px 2px,
	rgb(255, 255, 255) 2px -2px 2px, rgb(255, 255, 255) -2px -2px 2px,
	rgb(255, 255, 255) 1px 2px 2px, rgb(255, 255, 255) -1px 2px 2px,
	rgb(255, 255, 255) 1px -2px 2px, rgb(255, 255, 255) -1px -2px 2px,
	rgb(255, 255, 255) 2px 1px 2px, rgb(255, 255, 255) -2px 1px 2px,
	rgb(255, 255, 255) 2px -1px 2px, rgb(255, 255, 255) 2px -1px 2px,
	rgb(255, 255, 255) 1px 1px 2px, rgb(255, 255, 255) -1px 1px 2px,
	rgb(255, 255, 255) 1px -1px 2px, rgb(255, 255, 255) -1px -1px 2px;
}

.h1-hero-title-sub{
    font-size: 22px;
}

.h1-hero-subtitle {
    font-size: 18px;
    letter-spacing: 0.1em;
    color: var(--color-text);
    text-shadow: 
	rgb(255, 255, 255) 2px 0px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 0px -2px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 2px 2px 2px, rgb(255, 255, 255) -2px 2px 2px,
	rgb(255, 255, 255) 2px -2px 2px, rgb(255, 255, 255) -2px -2px 2px,
	rgb(255, 255, 255) 1px 2px 2px, rgb(255, 255, 255) -1px 2px 2px,
	rgb(255, 255, 255) 1px -2px 2px, rgb(255, 255, 255) -1px -2px 2px,
	rgb(255, 255, 255) 2px 1px 2px, rgb(255, 255, 255) -2px 1px 2px,
	rgb(255, 255, 255) 2px -1px 2px, rgb(255, 255, 255) 2px -1px 2px,
	rgb(255, 255, 255) 1px 1px 2px, rgb(255, 255, 255) -1px 1px 2px,
	rgb(255, 255, 255) 1px -1px 2px, rgb(255, 255, 255) -1px -1px 2px;
}

/* Tablet */
@media (max-width: 1023px) {
    .h1-hero {
        height: 220px;
        margin-top: 56px;
    }
    
    .h1-hero-content {
        padding-left: 50px;
    }
    
    .h1-hero-title {
        font-size: 48px;
    }

    .h1-hero-title-sub{
    font-size: 20px;
}
    
    .h1-hero-subtitle {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .h1-hero {
        height: 180px;
    }
    
    .h1-hero-content {
        padding-left: 25px;
    }
    
    .h1-hero-title {
        font-size: 36px;
    }
    
    .h1-hero-subtitle {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .h1-hero {
        height: 150px;
    }
    
    .h1-hero-content {
        padding-left: 20px;
    }
    
    .h1-hero-title {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .h1-hero-title-sub{
    font-size: 14px;
}
    
    .h1-hero-subtitle {
        font-size: 12px;
    }
}


/* ========================================
   news_h1 Styles
   ======================================== */

/* news_h1 Hero Section */
.news_h1-hero {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 81px;
}

.news_h1-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/img/h1_bg.jpg') center center / cover no-repeat;
    z-index: 1;
}

.news_h1-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100% ;
    margin: 0 auto;
}

.news_h1-hero-title {
    font-family: var(--font-english);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--color-text);
    text-shadow: 
	rgb(255, 255, 255) 2px 0px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 0px -2px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 2px 2px 2px, rgb(255, 255, 255) -2px 2px 2px,
	rgb(255, 255, 255) 2px -2px 2px, rgb(255, 255, 255) -2px -2px 2px,
	rgb(255, 255, 255) 1px 2px 2px, rgb(255, 255, 255) -1px 2px 2px,
	rgb(255, 255, 255) 1px -2px 2px, rgb(255, 255, 255) -1px -2px 2px,
	rgb(255, 255, 255) 2px 1px 2px, rgb(255, 255, 255) -2px 1px 2px,
	rgb(255, 255, 255) 2px -1px 2px, rgb(255, 255, 255) 2px -1px 2px,
	rgb(255, 255, 255) 1px 1px 2px, rgb(255, 255, 255) -1px 1px 2px,
	rgb(255, 255, 255) 1px -1px 2px, rgb(255, 255, 255) -1px -1px 2px;
}


.news_h1-hero-subtitle {
    font-size: 16px;
    letter-spacing: 0.1em;
    color: var(--color-text);
    text-shadow: 
	rgb(255, 255, 255) 2px 0px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 0px -2px 2px, rgb(255, 255, 255) -2px 0px 2px,
	rgb(255, 255, 255) 2px 2px 2px, rgb(255, 255, 255) -2px 2px 2px,
	rgb(255, 255, 255) 2px -2px 2px, rgb(255, 255, 255) -2px -2px 2px,
	rgb(255, 255, 255) 1px 2px 2px, rgb(255, 255, 255) -1px 2px 2px,
	rgb(255, 255, 255) 1px -2px 2px, rgb(255, 255, 255) -1px -2px 2px,
	rgb(255, 255, 255) 2px 1px 2px, rgb(255, 255, 255) -2px 1px 2px,
	rgb(255, 255, 255) 2px -1px 2px, rgb(255, 255, 255) 2px -1px 2px,
	rgb(255, 255, 255) 1px 1px 2px, rgb(255, 255, 255) -1px 1px 2px,
	rgb(255, 255, 255) 1px -1px 2px, rgb(255, 255, 255) -1px -1px 2px;
}

/* Tablet */
@media (max-width: 1023px) {
    .news_h1-hero {
        height: 220px;
        margin-top: 56px;
    }
    
    .news_h1-hero-content {
        padding-left: 50px;
    }
    
    .news_h1-hero-title {
        font-size: 24px;
    }
    
    .news_h1-hero-subtitle {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .news_h1-hero {
        height: 180px;
    }
    
    .news_h1-hero-content {
        padding-left: 25px;
    }
    
    .news_h1-hero-title {
        font-size: 20px;
    }
    
    .news_h1-hero-subtitle {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .news_h1-hero {
        height: 150px;
    }
    
    .news_h1-hero-content {
        padding-left: 20px;
    }
    
    .news_h1-hero-title {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .news_h1-hero-subtitle {
        font-size: 12px;
    }
}


/* ========================================
   h2 Styles
   ======================================== */
.h2-section-header{
    margin-bottom: var(--space-xl);
}

.h2-section-title {
    font-family: var(--font-english);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.h2-section-subtitle {
        font-size: 16px;
        color: var(--color-text);
}


/* Responsive - Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .h2-section-title {
            font-size: 36px;
            text-align: left;
        }
}


/* Responsive - Mobile (480px - 767px) */
@media (max-width: 767px) {
    .h2-section-title {
        font-size: 28px;
    }
    
    .service-section-subtitle {
        font-size: 14px;
    }
}


/* Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .h2-section-title {
        font-size: 24px;
    }
    
    .h2-section-subtitle {
        font-size: 13px;
    }
}


/* ========================================
   Credo Section Styles
   ======================================== */
   .lower-page-section {
    padding: 80px 0 100px;
    background: #fff;
}

/* Tablet Responsive */
@media (max-width: 1023px) {
    .lower-page-section  {
        padding: 60px 0 80px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .lower-page-section {
        padding: 50px 0 60px;
    }
}

/* ========================================
   Credo Section Styles
   ======================================== */
.credo-section {
    padding: 80px 0 100px;
    background: #fff;
}

.credo-header {
    position:relative;
    text-align: center;
    margin-bottom: 30px;
}


.credo-title {
    position:relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}

.credo-title::after {
    content:url('assets/img/h2_ico.png'); /*表示する画像のURL*/
    position:absolute;
    bottom:-40px; /*見出しから下40pxの位置に配置*/
    left:0;
    right:0;
    transform: scale(0.7); /*高解像度ディスプレイ対応のサイズで作成した画像を半分の大きさで表示*/
    }

.credo-title-small {
    font-size: 28px;
    font-weight: 500;
    color: var(--color-text);
}

.credo-title-large {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-text);
}

.credo-description {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text);
    text-align: center;
}

.credo-instruction {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 50px;
}

/* Credo Visual - Tree and Puzzles */
.credo-visual {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 120px;
}

/* Birds */
.credo-bird {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.credo-bird-left {
    left: -50px;
    top: -50px;
}

@media (max-width: 1240px) {
    .credo-bird-left {
        left: 0px;
        top: -50px;
    }
}

.credo-bird-right {
    right: -50px;
    top: -50px;
}

.bird-image {
    width: auto;
    height: auto;
    max-width: none;
    margin-bottom: -15px;
}

.bird-sign {
    background: #f5e6d3;
    border: 3px solid #8b7355;
    border-radius: 5px;
    padding: 15px 22px;
    text-align: center;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.bird-sign::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #8b7355;
}

.bird-sign span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* Tree Wrapper */
.credo-tree-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.credo-tree {
    width: 100%;
    height: auto;
    display: block;
}

/* Puzzle Pieces */
.puzzle-piece {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.puzzle-piece:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.puzzle-piece span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.3;
}

/* Puzzle piece positions */
.puzzle-kokoro {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.puzzle-kyoukan {
    top: 25%;
    left: 30%;
    transform: translateX(-50%);
}

.puzzle-seichou {
    top: 28%;
    left: 68%;
    transform: translateX(-50%);
}

.puzzle-taitou {
    top: 52%;
    left: 18%;
    transform: translateX(-50%);
}

.puzzle-team {
    top: 49%;
    left: 85%;
    transform: translateX(-50%);
}

/* Puzzle images - PC original size */
.puzzle-piece img {
    width: auto;
    height: auto;
    max-width: none;
    display: block;
}

.puzzle-piece span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.puzzle-piece:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Tablet Responsive */
@media (max-width: 1023px) {
    .credo-section {
        padding: 60px 0 80px;
    }
    
    .credo-title-small {
        font-size: 22px;
    }
    
    .credo-title-large {
        font-size: 44px;
    }
    
    .credo-description {
        font-size: 15px;
    }
    
    .credo-visual {
        max-width: 700px;
        padding-top: 10px;
    }
    
    .credo-bird-left {
        left: 20px;
    }
    
    .credo-bird-right {
        right: 20px;
    }
    
    .bird-image {
        width: 130px;
    }
    
    .bird-sign {
        padding: 10px 14px;
    }
    
    .bird-sign span {
        font-size: 13px;
    }
    
    .credo-tree-wrapper {
        max-width: 100%;
    }
    
    .puzzle-piece img{
        width: 90px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .credo-section {
        padding: 50px 0 60px;
    }
    
    .credo-title {
        gap: 0;
        position:relative;
        margin-bottom: 40px;
    }
    .credo-title::after {
        content:url('assets/img/h2_ico.png'); /*表示する画像のURL*/
        position:absolute;
        bottom:-55px; /*見出しから下40pxの位置に配置*/
        left:0;
        right:0;
        transform: scale(0.4); /*高解像度ディスプレイ対応のサイズで作成した画像を半分の大きさで表示*/
        }
    
    .credo-title-small {
        font-size: 18px;
    }
    
    .credo-title-large {
        font-size: 36px;
    }
    
    .credo-description {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .credo-instruction {
        font-size: 12px;
        margin-bottom: 30px;
        padding-bottom: 50px;
    }
    
    .credo-visual {
        padding-top: 15px;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .credo-bird-left {
        left: 5px;
    }
    
    .credo-bird-right {
        right: 5px;
    }
    
    .credo-tree-wrapper {
        max-width: 100%;
    }
    
    .bird-image {
        width: 105px;
    }
    
    .bird-sign {
        padding: 8px 10px;
        border-width: 2px;
    }
    
    .bird-sign::before {
        height: 12px;
        top: -12px;
    }
    
    .bird-sign span {
        font-size: 11px;
    }
    
    .puzzle-piece img{
        width: 90px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .credo-visual {
        padding-top: 0px;
    }
    
    .credo-bird-left {
        left: 0;
    }
    
    .credo-bird-right {
        right: 0;
    }
    
    .credo-tree-wrapper {
        max-width: 100%;
    }
    
    .bird-image {
        width: 85px;
    }
    
    .bird-sign {
        padding: 5px 7px;
    }
    
    .bird-sign span {
        font-size: 9px;
    }

    .puzzle-piece img{
        width: 45px;
    }
}

/* ========================================
   Credo Modal Styles
   ======================================== */
.credo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.credo-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.credo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.credo-modal-content {
    position: relative;
    background: #fff url('assets/img/h2_ico.png') center center no-repeat;
    background-size: 200px auto;
    border: 35px solid #f5d76e;
    border-radius: 50px;
    padding: 50px 60px;
    max-width: 1000px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.credo-modal.is-active .credo-modal-content {
    transform: translateY(0);
}

.credo-modal-close {
    position: absolute;
    top: -25px;
    right: -25px;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 10;
    padding: 0;
}

.credo-modal-close:hover {
    color: #999;
}

.credo-modal-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-text);
}

.credo-modal-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--color-text);
}

/* Modal Responsive */
@media (max-width: 767px) {
    .credo-modal-content {
        border: 10px solid #f5d76e;
        border-radius: 20px;
        padding: 20px 20px;
        width: 90%;
    }
    
    .credo-modal-title {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .credo-modal-text {
        font-size: 18px;
    }
    
    .credo-modal-close {
        top: 0px;
        right: 0px;
        font-size: 28px;
    }
}

/* Modal Border Colors by Puzzle */
.credo-modal.modal-kokoro .credo-modal-content {
    border-color: #f2c799;
}

.credo-modal.modal-kyoukan .credo-modal-content {
    border-color: #fd9eb4;
}

.credo-modal.modal-seichou .credo-modal-content {
    border-color: #d6a5f8;
}

.credo-modal.modal-taitou .credo-modal-content {
    border-color: #a2b1f8;
}

.credo-modal.modal-team .credo-modal-content {
    border-color: #eddf95;
}

/* ========================================
   Service Modal Styles
   ======================================== */

   .service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.service-modal-content {
    position: relative;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50% auto;
    border: 35px solid #f5d76e;
    border-radius: 50px;
    padding: 50px 60px;
    max-width: 1000px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.service-modal.is-active .service-modal-content {
    transform: translateY(0);
}

.service-modal-close {
    position: absolute;
    top: -25px;
    right: -25px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 10;
    padding: 0;
}

.service-modal-close:hover {
    color: #999;
}

.service-modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.service-modal-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 25px;
    text-align: left;
}

.service-modal-text .modal-paragraph,
.service-modal-text2 .modal-paragraph {
    margin-top: 20px;
}

.service-modal-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
    padding: 20px 0 10px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.service-modal-text2 {
    line-height: 1.4;
    color: var(--color-text);
    text-align: left;
}

.service-modal-subtitle2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
    padding: 20px 0 10px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.service-modal-text3 {
    line-height: 0.8;
    color: var(--color-text);
    text-align: left;
}

.service-modal-text3 .modal-paragraph {
    margin-top: 20px;
}

/* Modal Responsive */
@media (max-width: 767px) {
    .service-modal-content {
        border: 10px solid #f5d76e;
        border-radius: 20px;
        padding: 20px 20px;
        width: 90%;
        background-size: 70% auto;
    }
    
    .service-modal-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .service-modal-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .service-modal-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
        padding-top: 15px;
    }
    
    .service-modal-text2 {
        font-size: 13px;
        line-height: 1.2;
    }
    
    .service-modal-subtitle2 {
        font-size: 16px;
        margin-bottom: 12px;
        padding: 15px 0 8px 0;
    }
    
    .service-modal-text3 {
        font-size: 13px;
    }
    
    .service-modal-close {
        top: 0px;
        right: 0px;
        font-size: 28px;
    }
}

/* Modal Border Colors by Card Color */
.service-modal.modal-pink .service-modal-content {
    border-color: #f283a5;
}

.service-modal.modal-orange .service-modal-content {
    border-color: #fcbd4c;
}

.service-modal.modal-green .service-modal-content {
    border-color: #9ad852;
}

.service-modal.modal-cyan .service-modal-content {
    border-color: #57c9a8;
}

.service-modal.modal-blue .service-modal-content {
    border-color: #62b2d1;
}

.service-modal.modal-deepblue .service-modal-content {
    border-color: #739fdd;
}

.service-modal.modal-purple .service-modal-content {
    border-color: #dda6da;
}

/* Modal Background Images by Service ID */
/* PROTEAN Services */
.service-modal.modal-p-consulting .service-modal-content {
    background-image: url('assets/img/service_bg_p001.png');
}

.service-modal.modal-p-salary .service-modal-content {
    background-image: url('assets/img/service_bg_p002.png');
}

.service-modal.modal-p-hr-management .service-modal-content {
    background-image: url('assets/img/service_bg_p003.png');
}

.service-modal.modal-p-recruitment .service-modal-content {
    background-image: url('assets/img/service_bg_p004.png');
}

.service-modal.modal-p-hr-intro .service-modal-content {
    background-image: url('assets/img/service_bg_p005.png');
}

.service-modal.modal-p-hr-training .service-modal-content {
    background-image: url('assets/img/service_bg_p006.png');
}

.service-modal.modal-p-hr-diagnosis .service-modal-content {
    background-image: url('assets/img/service_bg_p007.png');
}

/* AOKI Services */
.service-modal.modal-a-corporate .service-modal-content {
    background-image: url('assets/img/service_bg_a001.png');
}

.service-modal.modal-a-foreigner .service-modal-content {
    background-image: url('assets/img/service_bg_a002.png');
}

.service-modal.modal-a-license .service-modal-content {
    background-image: url('assets/img/service_bg_a003.png');
}

.service-modal.modal-a-subsidy .service-modal-content {
    background-image: url('assets/img/service_bg_a004.png');
}

.service-modal.modal-a-civil .service-modal-content {
    background-image: url('assets/img/service_bg_a005.png');
}

.service-modal.modal-a-coming .service-modal-content {
    background-image: url('assets/img/service_bg_a006.png');
}


/* ========================================
   SERVICE Page Styles
   ======================================== */

/* Service Business Section */
.service-business-section {
    padding: 0px 0;
    background: #fff;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
}

.service-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 50%;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: #fff;
    cursor: pointer;
    font-family: inherit;
}

.service-tab span {
    flex: 1;
    text-align: center;
}

.service-tab.active {
    background: var(--color-primary);
    color: #fff;
}

.service-tab:hover {
    background: var(--color-primary);
    color: #fff;
}

.service-tab .tab-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-tab:hover .tab-arrow {
    transform: translateX(5px);
}

/* Tab Content */
.service-tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-tab-content.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Section Header */
.service-section-header {
    margin-bottom: 50px;
}

/* Business Cards Grid */
.business-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 100%;
}

/* Business Card */
.business-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.business-card-inner {
    padding: 50px 35px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 280px;
}

/* Card Colors */
.business-card-pink {
    background: #f283a5;
}

.business-card-pink .business-card-icon {
    color: #e91e63;
}

.business-card-orange {
    background: #fcbd4c;
}

.business-card-orange .business-card-icon {
    color: #ff9800;
}

.business-card-green {
    background: #9ad852;
}

.business-card-green .business-card-icon {
    color: #4caf50;
}

.business-card-cyan {
    background: #57c9a8;
}

.business-card-cyan .business-card-icon {
    color: #00bcd4;
}

.business-card-blue {
    background: #62b2d1;
}

.business-card-blue .business-card-icon {
    color: #62b2d1;
}


.business-card-deepblue {
    background: #739fdd;
}

.business-card-deepblue .business-card-icon {
    color: #739fdd;
}


.business-card-purple {
    background: #dda6da;
}

.business-card-purple .business-card-icon {
    color: #dda6da;
}

/* Card Icon */
.business-card-icon {
    margin-bottom: 20px;
}

.business-card-icon svg {
    width: 80px;
    height: 80px;
}

/* Card Title */
.business-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Card Link */
.business-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
}

.business-card-link span {
    flex: 1;
    text-align: center;
}

.business-card-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.business-card-link:hover svg {
    transform: translateX(3px);
}

/* Card Link Colors - Match each card color */
.business-card-pink .business-card-link {
    color: #f283a5;
}

.business-card-pink .business-card-link:hover {
    background: #db5f85;
    color: #fff;
}

.business-card-orange .business-card-link {
    color: #fcbd4c;
}

.business-card-orange .business-card-link:hover {
    background: #dc9a23;
    color: #fff;
}

.business-card-green .business-card-link {
    color: #9ad852;
}

.business-card-green .business-card-link:hover {
    background: #7ac720;
    color: #fff;
}

.business-card-cyan .business-card-link {
    color: #57c9a8;
}

.business-card-cyan .business-card-link:hover {
    background: #2ebf95;
    color: #fff;
}

.business-card-blue .business-card-link {
    color: #62b2d1;
}

.business-card-blue .business-card-link:hover {
    background: #3197be;
    color: #fff;
}

.business-card-deepblue .business-card-link {
    color: #739fdd;
}

.business-card-deepblue .business-card-link:hover {
    background: #3d77c8;
    color: #fff;
}

.business-card-purple .business-card-link {
    color: #dda6da;
}

.business-card-purple .business-card-link:hover {
    background: #c476c0;
    color: #fff;
}

/* Responsive - Large Tablet (1024px - 1200px) */
@media (max-width: 1200px) {
    .business-cards-grid {
        gap: 20px;
        max-width: 100%;
    }
    
    .business-card-inner {
        padding: 45px 30px;
        min-height: 260px;
    }
    
    .business-card-icon svg {
        width: 70px;
        height: 70px;
    }
    
    .business-card-title {
        font-size: 20px;
    }
    
    .business-card-link {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* Responsive - Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .service-business-section {
        padding: 50px 0 0px;
    }
    
    .service-tabs {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    .service-tab {
        flex: 1;
        max-width: 50%;
        min-width: 0;
        padding: 16px 20px;
        font-size: 14px;
        justify-content: space-between;
    }

    
    .business-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .business-card-inner {
        padding: 40px 30px;
        min-height: 240px;
    }
    
    .business-card-icon svg {
        width: 65px;
        height: 65px;
    }
    
    .business-card-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .business-card-link {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Responsive - Mobile (480px - 767px) */
@media (max-width: 767px) {
    .service-business-section {
        padding: 40px 0 0px;
    }
    
    .service-tabs {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 35px;
        gap: 10px;
        padding: 0 10px;
    }
    
    .service-tab {
        flex: 1;
        min-width: 0;
        max-width: 50%;
        padding: 12px 15px;
        font-size: 12px;
        justify-content: space-between;
    }
    
    .service-tab .tab-arrow {
        width: 16px;
        height: 16px;
        margin-left: 5px;
    }
    
    .service-section-header {
        margin-bottom: 30px;
        text-align: center;
    }

    .business-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
        margin: 0;
    }
    
    .business-card-inner {
        padding: 30px 20px;
        min-height: 200px;
    }
    
    .business-card-icon {
        margin-bottom: 12px;
    }

    .business-card-icon img{
        width: 120px;
        height: 120px;
    }
    
    .business-card-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .business-card-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .business-card-link {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .business-card-link svg {
        width: 14px;
        height: 14px;
        margin-left: 5px;
    }
}

/* Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .service-business-section {
        padding: 30px 0 20px;
    }
    
    .service-tabs {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 30px;
        gap: 8px;
        padding: 0 8px;
    }
    
    .service-tab {
        flex: 1;
        min-width: 0;
        max-width: 50%;
        padding: 10px 8px;
        font-size: 11px;
        border-radius: 30px;
    }
    
    .service-tab .tab-arrow {
        width: 14px;
        height: 14px;
        margin-left: 3px;
    }

    
    .business-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        width: 100%;
    }
    
    .business-card-inner {
        padding: 10px 10px;
        min-height: 160px;
        min-width: 160px;
    }

    .business-card-icon img{
        width: 65px;
        height: 65px;
    }
    
    .business-card-icon svg {
        width: 45px;
        height: 45px;
    }
    
    .business-card-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .business-card-link {
        padding: 8px 14px;
        font-size: 10px;
    }
    
    .business-card-link svg {
        width: 12px;
        height: 12px;
    }
}

/* ========================================
   Service Concern Section
   ======================================== */
.service-concern-section {
    padding: 80px 0 0px;
    background: #fff;
}

.concern-header {
    text-align: center;
    margin-bottom: 0px;
}

.concern-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.concern-highlight {
    color: var(--color-primary);
    font-weight: 700;
}

.concern-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
}

/* Concern Illustration */
.concern-illustration {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.concern-bubbles-left,
.concern-bubbles-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 300px;
}

.concern-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 400px;
}

.concern-people {
    width: 100%;
    display: flex;
    justify-content: center;
}

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

.concern-cta {
    margin-top: 30px;
}

.concern-cta-text {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    text-align: center;
}

/* Concern Bubbles */
.concern-bubble {
    padding: 20px 25px;
    border-radius: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
}

.concern-bubble p {
    margin: 0;
}

.bubble-highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.bubble-blue {
    background: #e3f2fd;
    border: 2px solid #90caf9;
}

.bubble-pink {
    background: #fce4ec;
    border: 2px solid #f48fb1;
}

.bubble-yellow {
    background: #fffde7;
    border: 2px solid #fff59d;
}

/* Mobile Bubbles - Hidden by default */
.concern-bubbles-mobile {
    display: none;
}

.concern-center-mobile {
    display: none;
}

/* Responsive - Large Tablet (1024px - 1200px) */
@media (max-width: 1200px) {
    .concern-illustration {
        gap: 20px;
    }
    
    .concern-bubbles-left,
    .concern-bubbles-right {
        max-width: 260px;
    }
    
    .concern-bubble {
        padding: 15px 20px;
        font-size: 13px;
    }
    
    .concern-center {
        max-width: 350px;
    }
    
    .concern-people-img {
        width: 250px;
        height: auto;
    }
    
    .concern-cta-text {
        font-size: 20px;
    }
}

/* Responsive - Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .service-concern-section {
        padding: 60px 0 0px;
    }
    
    .concern-header {
        margin-bottom: 0px;
    }
    
    .concern-title {
        font-size: 26px;
    }
    
    .concern-subtitle {
        font-size: 24px;
    }
    
    .concern-illustration {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .concern-bubbles-left,
    .concern-bubbles-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
        gap: 15px;
    }
    
    .concern-bubble {
        max-width: 280px;
        flex: 0 1 calc(50% - 10px);
        padding: 18px 22px;
        font-size: 13px;
    }
    
    .concern-center {
        order: 3;
        max-width: 100%;
        margin-top: 20px;
    }
    
    .concern-people-img {
        width: 280px;
    }
    
    .concern-cta-text {
        font-size: 22px;
    }
}

/* Responsive - Mobile (480px - 767px) */
@media (max-width: 767px) {
    .service-concern-section {
        padding: 50px 0 0px;
    }
    
    .concern-header {
        margin-bottom: 0px;
        padding: 0 15px;
    }
    
    .concern-title {
        font-size: 20px;
        line-height: 1.6;
    }
    
    .concern-subtitle {
        font-size: 18px;
    }
    
    .concern-illustration {
        display: none;
    }
    
    .concern-bubbles-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        padding: 0 15px;
    }
    
    .concern-center-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
    }
    
    .concern-bubble {
        padding: 15px 20px;
        font-size: 13px;
        max-width: 100%;
        width: 100%;
        border-radius: 15px;
    }
    
    .concern-people-img {
        width: 220px;
    }
    
    .concern-cta {
        margin-top: 20px;
    }
    
    .concern-cta-text {
        font-size: 18px;
    }
}

/* Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .service-concern-section {
        padding: 40px 0 0px;
    }
    
    .concern-header {
        margin-bottom: 0px;
    }
    
    .concern-title {
        font-size: 18px;
    }
    
    .concern-subtitle {
        font-size: 16px;
    }
    
    .concern-bubbles-mobile {
        gap: 10px;
    }
    
    .concern-bubble {
        padding: 12px 15px;
        font-size: 12px;
        border-radius: 12px;
    }
    
    .concern-people-img {
        width: 180px;
    }
    
    .concern-cta-text {
        font-size: 16px;
    }
}

/* ========================================
   Service Contact Section
   ======================================== */
.service-contact-section {
    padding: 60px 0;
    margin-top: 80px;
    background: #063e97;
}

.service-contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    gap: 30px;
}

.service-contact-header {
    display: flex;
    flex-direction: column;
}

.service-contact-title {
    font-family: var(--font-english);
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.service-contact-subtitle {
    font-size: 16px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.service-contact-button-wrapper {
    flex-shrink: 0;
}

.service-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 680px;
    max-width: 100%;
    padding: 18px 30px;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-contact-button span {
    flex: 1;
    text-align: center;
}

.service-contact-button:hover {
    background: var(--color-primary);
    color: #fff;
}

.service-contact-button svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-contact-button:hover svg {
    transform: translateX(5px);
}

/* Responsive - Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .service-contact-section {
        padding: 50px 0;
        margin-top: 40px;
    }
    
    .service-contact-content {
        max-width: 100%;
        gap: 25px;
        padding: 0 20px;
    }
    
    .service-contact-title {
        font-size: 36px;
    }
    
    .service-contact-button {
        width: 500px;
        padding: 16px 25px;
        font-size: 15px;
    }
}

/* Responsive - Mobile (480px - 767px) */
@media (max-width: 767px) {
    .service-contact-section {
        padding: 40px 0;
        margin-top: 20px;
    }
    
    .service-contact-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 0 15px;
    }
    
    .service-contact-header {
        align-items: center;
    }
    
    .service-contact-title {
        font-size: 32px;
    }
    
    .service-contact-subtitle {
        font-size: 14px;
    }
    
    .service-contact-button {
        width: 400px;
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .service-contact-section {
        padding: 35px 0;
        margin-top: 20px;
    }
    
    .service-contact-content {
        gap: 20px;
        padding: 0 10px;
    }
    
    .service-contact-title {
        font-size: 28px;
    }
    
    .service-contact-subtitle {
        font-size: 13px;
    }
    
    .service-contact-button {
        width: 320px;
        padding: 14px 15px;
        font-size: 13px;
    }
    
    .service-contact-button svg {
        width: 18px;
        height: 18px;
    }
}


/* ==========================================================================
   FAQ PAGE STYLES
   ========================================================================== */

/* FAQ Business Section */
.faq-business-section {
    padding: 80px 0;
}

/* FAQ Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.faq-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 50%;
    padding: 20px 30px;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-tab span {
    flex: 1;
    text-align: center;
}

.faq-tab:hover {
    background: var(--color-primary);
    color: #fff;
}

.faq-tab.active {
    background: var(--color-primary);
    color: #fff;
}

.faq-tab .tab-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* FAQ Navigation Buttons */
.faq-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.faq-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 33.333%;
    padding: 18px 30px;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-nav-btn span {
    flex: 1;
    text-align: center;
}

.faq-nav-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.faq-nav-btn .btn-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    transform: rotate(90deg);
}

.faq-tab:hover .tab-arrow,
.faq-tab.active .tab-arrow {
    transform: translateX(3px);
}

/* FAQ Tab Content */
.faq-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-tab-content.active {
    display: block;
}


/* FAQ Concern Section */
.faq-concern-section {
    padding: 60px 0;
    background: #fff;
    border-radius: 20px;
    margin-top: 40px;
}

.faq-concern-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-concern-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.faq-concern-highlight {
    color: var(--color-primary);
}

.faq-concern-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.faq-concern-section .pc {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.faq-concern-section .sp {
    display: none;
}

/* FAQ Responsive - Large Tablet (1024px - 1200px) */
@media (max-width: 1200px) {
    .faq-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .faq-card-inner {
        padding: 25px 15px;
        min-height: 260px;
    }
    
    .faq-card-icon {
        width: 70px;
        height: 70px;
    }
    
    .faq-card-title {
        font-size: 15px;
    }
    
    .faq-card-link {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* FAQ Responsive - Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .faq-business-section {
        padding: 60px 0;
    }
    
    .faq-tabs {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    .faq-tab {
        flex: 1;
        max-width: 50%;
        min-width: 0;
        padding: 16px 20px;
        font-size: 14px;
        justify-content: space-between;
    }
    
    .faq-tab span {
        flex: 1;
        text-align: center;
    }

    .faq-nav-buttons {
        gap: 15px;
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    .faq-nav-btn {
        padding: 16px 20px;
        font-size: 14px;
    }
}

/* FAQ Responsive - Mobile (480px - 767px) */
@media (max-width: 767px) {
    .faq-business-section {
        padding: 50px 0;
    }
    
    .faq-tabs {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .faq-tab {
        flex: 1;
        max-width: 50%;
        padding: 14px 15px;
        font-size: 12px;
        border-radius: 30px;
        justify-content: space-between;
    }
    
    .faq-tab span {
        flex: 1;
        text-align: center;
    }
    
    .faq-tab .tab-arrow {
        width: 18px;
        height: 18px;
    }

    .faq-nav-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .faq-nav-btn {
        max-width: 100%;
        padding: 12px 15px;
        font-size: 12px;
        border-radius: 30px;
    }
    
    .faq-nav-btn .btn-arrow {
        width: 18px;
        height: 18px;
    }
}

/* FAQ Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .faq-business-section {
        padding: 40px 0;
    }
    
    .faq-tabs {
        gap: 8px;
        padding: 0 8px;
    }
    
    .faq-tab {
        padding: 12px 10px;
        font-size: 11px;
        border-radius: 25px;
    }
    
    .faq-tab .tab-arrow {
        width: 16px;
        height: 16px;
    }

       .faq-nav-btn {
        max-width: 100%;
        padding: 8px 10px;
        font-size: 10px;
        border-radius: 30px;
    }
}

.faq-accordion-section {
    margin: 40px 0 24px 0;
    scroll-margin-top: 100px;
}

.faq-accordion-item {
    margin-bottom: 15px;
}

.faq-accordion-question {
    width: 100%;
    text-align: left;
    background: #f3fafc;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    padding: 20px 50px 20px 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-accordion-question::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border: solid #888;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transition: transform 0.3s;
}

.faq-accordion-question.active::after {
    transform: translateY(-50%) rotate(-135deg);
}

.faq-accordion-question.active {
    border-radius: 10px 10px 0 0;
}

/* Q&A アイコン共通スタイル */
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-icon-q {
    background: var(--color-primary-light);
    color: #fff;
}

.faq-icon-a {
    background: var(--color-accent);
    color: #fff;
}

.faq-accordion-question .faq-text {
    flex: 1;
    line-height: 1.6;
    padding-top: 6px;
}

.faq-accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
    border-radius: 0 0 10px 10px;
}

.faq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-top: 1px dashed #ddd;
}

.faq-answer-inner .faq-text {
    flex: 1;
    margin: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.8;
    padding-top: 6px;
}

.faq-answer-inner .faq-text span{
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* ========================================
   COMPANY Page Styles
   ======================================== */

/* Company Content Section */
.company-content-section {
    padding: 80px 0;
}

/* Company Navigation Buttons */
.company-nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

.company-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    padding: 18px 25px;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 40px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.company-nav-btn span {
    flex: 1;
    text-align: center;
}

.company-nav-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.company-nav-btn .btn-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    transform: rotate(90deg);
}

/* Company Section Common */
.company-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

/* MESSAGE Section */
.message-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.message-image {
    flex-shrink: 0;
    width: 30%;
}

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

.message-text {
    flex: 1;
}

.message-title {
    margin-bottom: 20px;
}

.message-position {
    display: block;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.message-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.message-name-en {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-light);
    font-family: var(--font-english);
}

.message-name-en2 {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    font-family: var(--font-english);
}

.message-description {
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 25px;
}

.message-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 20px 0 0 0;
}

.message-link:hover {
    opacity: 0.7;
}

.message-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.message-link:hover .message-link-arrow {
    transform: translateX(3px);
}

/* Company Info Grid */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.company-info-block {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid var(--color-border);
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th,
.company-table td {
    padding: 15px 10px;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 100px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.company-table td {
    color: var(--color-text);
}

/* Licenses Section */
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.licenses-grid .license-item img {
    border: 1px solid var(--color-border);
}

.license-item {
    text-align: center;
    width: 100%;
}

.license-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.license-item-clickable img {
    cursor: pointer;
}

.license-item-clickable img:hover {
    opacity: 0.8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.license-item p {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.6;
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* タブレット以下でクリック可能な画像のカーソル */
@media (max-width: 1024px) {
    .direction-image img {
        cursor: pointer;
    }
    
    .direction-image {
        position: relative;
    }
    
    .direction-image::after {
        content: 'タップで拡大';
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 4px;
        pointer-events: none;
    }
}

/* License Image Modal */
.license-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.license-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.license-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.license-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.license-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.license-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.license-modal-close:hover {
    opacity: 0.7;
}

/* SDGs Section */
.sdgs-content {
    text-align: left;
}

.sdgs-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 600px;
}

.sdgs-icons img {
    width: 100%;
    height: auto;
}

.sdgs-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.sdgs-link:hover {
    opacity: 0.7;
}

/* Access Section */
.access-map {
    margin-bottom: 50px;
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.access-map iframe {
    display: block;
}

.directions-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--color-text);
}

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

.direction-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.direction-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

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

.direction-text {
    padding: 15px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text);
}

/* Tablet Responsive */
@media (max-width: 1023px) {
    .company-nav-buttons {
        gap: 15px;
        margin-bottom: 50px;
        padding: 0 15px;
        max-width: 600px;
    }

    .company-nav-btn {
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        padding: 16px 20px;
        font-size: 14px;
    }

    .message-content {
        flex-direction: column;
        padding: 30px;
    }

    .message-image {
        width: 350px;
        margin: 0 auto;
    }

    .message-text {
    }

    .message-name {
        flex-wrap: wrap;
    }

    .message-description {
        text-align: left;
    }


    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-info-block {
        padding: 30px;
    }

    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .company-content-section {
        padding: 40px 0 60px;
    }

    .company-nav-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
        padding: 0 10px;
        max-width: 100%;
    }

    .company-nav-btn {
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding: 14px 15px;
        font-size: 12px;
        border-radius: 30px;
    }

    .company-nav-btn .btn-arrow {
        width: 16px;
        height: 16px;
    }

    .company-section {
        margin-bottom: 50px;
    }

    .message-content {
        padding: 25px 20px;
    }

    .message-image {
        width: 250px;
    }

    .message-name {
        font-size: 22px;
    }

    .message-description {
        font-size: 14px;
        text-align: left;
    }

    .company-info-block {
        padding: 25px 20px;
    }

    .company-table th {
        width: 80px;
        font-size: 13px;
    }

    .company-table td {
        font-size: 13px;
    }

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

    .license-item img {
        width: 100%;
    }

    .sdgs-icons {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }

    .sdgs-icons img {
        width: 100%;
    }

    .access-map iframe {
        height: 300px;
    }

    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .direction-text {
        font-size: 12px;
        padding: 12px;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .company-nav-btn {
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding: 10px 12px;
        font-size: 11px;
    }

    .company-nav-btn .btn-arrow {
        width: 14px;
        height: 14px;
    }

    .message-image {
        width: 220px;
    }

    .message-name {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }

    .company-table th,
    .company-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .company-table th {
        width: 70px;
    }

    .sdgs-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 250px;
    }

    .sdgs-icons img {
        width: 100%;
    }
}




/* ========================================
   MESSAGE Page Styles
   ======================================== */

/* Message Page Section */
.message-page-section {
    padding: 80px 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 13px;
    color: var(--color-text-light);
}

.breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

/* MESSAGE Section Common */
.message-greeting-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

/* MESSAGE Section */
.greeting-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.greeting-image {
    flex-shrink: 0;
    width: 30%;
}

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

.greeting-text {
    flex: 1;
}

.greeting-title {
    margin-bottom: 20px;
}

.greeting-position {
    display: block;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.greeting-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.greeting-name-en {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-light);
    font-family: var(--font-english);
}

.greeting-description {
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 25px;
}


.greeting-text-image {
    text-align: right;
}

.greeting-text-image img {
    max-width: 200px;
    height: auto;
    text-align: right;
    display: inline;
}

.greeting-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 20px 0 0 0;
}

.greeting-link:hover {
    opacity: 0.7;
}

.greeting-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.greeting-link:hover .greeting-link-arrow {
    transform: translateX(3px);
}


/* Tablet Responsive */
@media (max-width: 1023px) {
    .greeting-content {
        flex-direction: column;
        padding: 30px;
    }

    .greeting-image {
        width: 350px;
        margin: 0 auto;
    }

    .greeting-text {
        text-align: center;
    }

    .greeting-name {
        justify-content: center;
        flex-wrap: wrap;
    }

    .greeting-description {
        text-align: left;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .greeting-section {
        margin-bottom: 50px;
    }

    .greeting-content {
        padding: 25px 20px;
    }

    .greeting-image {
        width: 250px;
    }

    .greeting-name {
        font-size: 22px;
    }

    .greeting-description {
        font-size: 14px;
        text-align: left;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .greeting-image {
        width: 220px;
    }

    .greeting-name {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }
}

/* Grid Content Section */
.message-grid-section {
    margin-bottom: 80px;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.grid-item {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.radius-item01{
    border-radius: 30px 0 0 0px;
}

.radius-item02{
    border-radius: 0 30px 0 0px;
}

.radius-item03{
    border-radius: 0 0 0px 30px;
}

.radius-item04{
    border-radius: 0 0 30px 0px;
}

.radius-item05{
        border-radius: 0 0 0px 0px;
}

.radius-item06{
        border-radius: 0 0 0px 0px;
}

.radius-item07{
        border-radius: 0 0 0px 0px;
}

.radius-item08{
        border-radius: 0 0 0px 0px;
}

@media (max-width: 1023px) {
    .radius-item01{
        border-radius: 0px 0 0 0px;
    }

    .radius-item02{
        border-radius: 0 30px 0 0px;
    }

    .radius-item03{
        border-radius: 0 0 0px 0px;
    }

    .radius-item04{
        border-radius: 0 0 0px 0px;
    }
    .radius-item05{
        border-radius: 0 0px 0 0px;
    }

    .radius-item06{
        border-radius: 0 0 0px 30px;
    }
    .radius-item07{
        border-radius: 30px 0 0 0px;
    }
    .radius-item08{
        border-radius: 0 0 30px 0px;
    }
}

.grid-item.grid-image {
    overflow: hidden;
}

.grid-item.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
}



.grid-item.grid-text {
    padding: 30px;
}

.grid-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-white);
}

.grid-desc {
    line-height: 1.8;
    color: var(--color-white);
}

/* Grid Background Colors */
.grid-item.bg-orange {
    background-color: #fcbd4c;
}

.grid-item.bg-pink {
    background-color: #f283a5;
}

.grid-item.bg-cyan {
    background-color: #739fdd;
}

.grid-item.bg-green {
    background-color: #9ad852;
}

/* Grid Responsive - Tablet */
@media (max-width: 1023px) {
    .grid-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item {
        min-height: 350px;
    }

    /* タブレット以下の配置調整 */
    /* Row 1: 画像001, 祭り → そのまま */
    /* Row 2: 暗い昔の写真, 画像002 → 3と4を入れ替え */
    .grid-row:nth-child(1) .grid-item:nth-child(3) { order: 2; }
    .grid-row:nth-child(1) .grid-item:nth-child(4) { order: 1; }
    /* 3段目: 画像003 → 明るい昔の写真 */
    .grid-row:nth-child(2) .grid-item:nth-child(1) { order: 2; }
    .grid-row:nth-child(2) .grid-item:nth-child(2) { order: 1; }
    /* 4段目: 猫 → 画像004 → そのまま */

    .grid-item.grid-text {
        padding: 25px;
    }

    .grid-title {
        font-size: 20px;
    }

    .grid-desc {
        font-size: 12px;
    }
}

/* Grid Responsive - Mobile */
@media (max-width: 767px) {
    .grid-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item {
        min-height: 180px;
    }

    .grid-item.grid-text {
        padding: 20px;
    }

    .grid-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .grid-desc {
        font-size: 11px;
        line-height: 1.6;
    }
}

/* Grid Responsive - Small Mobile */
@media (max-width: 480px) {
    .grid-item {
        min-height: 150px;
    }

    .grid-item.grid-text {
        padding: 15px;
    }

    .grid-title {
        font-size: 16px;
    }

    .grid-desc {
        font-size: 10px;
    }
}

/* Profile Section */
.message-profile-section {
    margin-bottom: 80px;
}

.profile-main-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-text);
}

.profile-grid {
    display: block;
}

.profile-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 15px;
}

.profile-photo-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
}

.profile-photo-item.photo-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.profile-photo-item.photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.profile-photo-item.photo-sub1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.profile-photo-item.photo-sub2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.profile-photo-item.photo-sub3 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.profile-photo-item.photo-sub4 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.profile-photo-item.photo-sub4 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
}

.photo-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.photo-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.profile-table tr {
    border-bottom: 1px solid var(--color-border);
}

.profile-table th,
.profile-table td {
    padding: 15px 10px;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}

.profile-table th {
    width: 100px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.profile-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.results-item {
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.results-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text);
}

.results-item ul {
    list-style: disc;
    padding-left: 20px;
    line-height: 1.8;
}

.results-item p {
    line-height: 1.8;
}

.profile-sdgs {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}


/* Story Section */
.message-story-section {
    margin-bottom: 80px;
}

.story-main-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.story-date {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.story-intro {
    line-height: 2;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--color-primary-dark);
    border-radius: 10px;
}

.story-accordion {
    display: flex;
    flex-direction: column;
}


/* MESSAGE Page Responsive - Tablet */
@media (max-width: 1023px) {
    .message-page-section {
        padding: 40px 0 80px;
    }

    .greeting-content {
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 30px;
    }

    .greeting-image {
        width: 350px;
    }

    .greeting-text {
        text-align: center;
    }

    .greeting-text p {
        text-align: left;
    }

    .greeting-signature {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .profile-grid {
        display: block;
    }

    .profile-results {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* MESSAGE Page Responsive - Mobile */
@media (max-width: 767px) {
    .message-page-section {
        padding: 30px 0 60px;
    }

    .breadcrumb {
        font-size: 12px;
        gap: 8px;
        margin-bottom: 30px;
    }

    .message-greeting-section {
        margin-bottom: 50px;
    }

    .greeting-content {
        padding: 25px 20px;
    }

    .greeting-image {
        width: 250px;
    }

    .greeting-name {
        font-size: 20px;
    }

    .profile-main-title,
    .story-main-title {
        font-size: 18px;
    }

    .profile-photos {
        grid-template-columns: 1fr;
    }

    .profile-photo-item.photo-main {
        grid-column: 1;
        grid-row: auto;
    }

    .profile-photo-item.photo-sub1,
    .profile-photo-item.photo-sub2,
    .profile-photo-item.photo-sub3,
    .profile-photo-item.photo-sub4 {
        grid-column: 1;
        grid-row: auto;
    }

    .profile-table th {
        width: 80px;
        font-size: 13px;
    }

    .profile-table td {
        font-size: 13px;
    }

    .story-accordion-question {
        padding: 15px 10px;
        gap: 15px;
        font-size: 14px;
    }

    .story-number {
        font-size: 13px;
        min-width: 25px;
    }

    .story-answer-inner {
        padding: 0 10px 20px 50px;
    }

    .story-intro {
        font-size: 13px;
        padding: 20px;
    }
}

/* MESSAGE Page Responsive - Small Mobile */
@media (max-width: 480px) {
    .greeting-image {
        width: 220px;
    }

    .profile-table th,
    .profile-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .profile-table th {
        width: 70px;
    }

    .story-accordion-question {
        gap: 10px;
        font-size: 13px;
    }

    .story-answer-inner {
        padding: 0 10px 15px 45px;
    }

    .story-answer-inner p {
        font-size: 13px;
    }
}

/* ========================================
   Privacy Policy Page Styles
   ======================================== */

.privacy-content-section {
    padding: 60px 0 100px;
    background-color: #fff;
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-main-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-text);
}

.privacy-intro {
    margin-bottom: 40px;
    line-height: 1.9;
    font-size: 15px;
}

.privacy-intro p {
    margin-bottom: 15px;
}

.privacy-section {
    margin-bottom: 35px;
}

.privacy-section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-text);
}

.privacy-section > p {
    line-height: 1.9;
    font-size: 15px;
}

.privacy-subsection {
    margin: 20px 0 20px 0;
}

.privacy-subsection-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-text);
}

.privacy-list {
    list-style: disc;
    padding-left: 25px;
    line-height: 1.9;
    font-size: 15px;
}

.privacy-list li {
    margin-bottom: 5px;
}

.privacy-list-plain {
    list-style: none;
    padding-left: 0;
}

.privacy-detail {
    margin: 20px 0;
}

.privacy-detail-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-text);
}

.privacy-detail > p {
    line-height: 1.9;
    font-size: 15px;
}

.privacy-contact {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.privacy-contact-label {
    font-weight: bold;
    margin-bottom: 10px;
}

.privacy-contact p {
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 10px;
}

.privacy-contact p:last-child {
    margin-bottom: 0;
}

.privacy-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.privacy-footer p {
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 15px;
}

.privacy-footer p:last-child {
    margin-bottom: 0;
}

/* Privacy Policy Page Responsive - Tablet */
@media (max-width: 1024px) {
    .privacy-content-section {
        padding: 50px 0 80px;
    }

    .privacy-main-title {
        font-size: 22px;
    }
}

/* Privacy Policy Page Responsive - Mobile */
@media (max-width: 768px) {
    .privacy-content-section {
        padding: 40px 0 60px;
    }

    .privacy-main-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .privacy-section-title {
        font-size: 16px;
    }

    .privacy-intro,
    .privacy-section > p,
    .privacy-list,
    .privacy-detail > p,
    .privacy-contact p,
    .privacy-footer p {
        font-size: 14px;
    }

    .privacy-contact {
        padding: 15px;
    }
}

/* Privacy Policy Page Responsive - Small Mobile */
@media (max-width: 480px) {
    .privacy-content-section {
        padding: 30px 0 50px;
    }

    .privacy-main-title {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .privacy-section-title {
        font-size: 15px;
    }

    .privacy-intro,
    .privacy-section > p,
    .privacy-list,
    .privacy-detail > p,
    .privacy-contact p,
    .privacy-footer p {
        font-size: 13px;
    }

    .privacy-list {
        padding-left: 20px;
    }
}

/* ========================================
   Sitemap Page Styles
   ======================================== */

.sitemap-content-section {
    padding: 60px 0 100px;
    background-color: #fff;
}

.sitemap-content {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
}

.sitemap-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sitemap-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sitemap-link {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.sitemap-link:hover {
    color: #666;
}

.sitemap-link-main {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.sitemap-link-sub {
    font-size: 15px;
    font-weight: 400;
    color: #555;
}

.sitemap-link-sub:hover {
    color: #333;
}

.sitemap-sublist {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitemap-sublist li {
    position: relative;
    padding-left: 0;
}

/* Sitemap Page Responsive - Tablet */
@media (max-width: 768px) {
    .sitemap-content-section {
        padding: 40px 0 80px;
    }

    .sitemap-content {
        padding-top: 30px;
    }

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

    .sitemap-column {
        gap: 25px;
    }

    .sitemap-link-main {
        font-size: 18px;
    }

    .sitemap-link-sub {
        font-size: 14px;
    }
}

/* Sitemap Page Responsive - Mobile */
@media (max-width: 480px) {
    .sitemap-content-section {
        padding: 30px 0 60px;
    }

    .sitemap-content {
        padding-top: 20px;
    }

    .sitemap-column {
        gap: 20px;
    }

    .sitemap-link-main {
        font-size: 16px;
    }

    .sitemap-link-sub {
        font-size: 13px;
    }
}

/* ========================================
   Thanks Page Styles
   ======================================== */

/* Thanks Hero Title (Japanese) */
.thanks-hero-title {
    font-family: var(--font-japanese);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* Thanks Content Section */
.thanks-content-section {
    padding: 60px 0 120px;
    background-color: #fff;
}

.thanks-content {
    text-align: center;
    padding-top: 60px;
}

.thanks-main-title {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    color: var(--color-text);
}

.thanks-message {
    margin-bottom: 60px;
}

.thanks-message p {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text);
    margin: 0;
}

.thanks-button-wrap {
    display: flex;
    justify-content: center;
}

/* Thanks Home Button - inherits .service-tab styles */
.thanks-home-button {
    flex: none;
    max-width: 300px;
    width: 300px;
    text-decoration: none;
}

/* Thanks Page Responsive - Tablet */
@media (max-width: 1024px) {
    .thanks-hero-title {
        font-size: 32px;
    }

    .thanks-content-section {
        padding: 50px 0 100px;
    }

    .thanks-content {
        padding-top: 50px;
    }

    .thanks-main-title {
        font-size: 30px;
        margin-bottom: 35px;
    }

    .thanks-message {
        margin-bottom: 50px;
    }

    .thanks-home-button {
        max-width: 280px;
        width: 280px;
    }
}

/* Thanks Page Responsive - Mobile */
@media (max-width: 768px) {
    .thanks-hero-title {
        font-size: 24px;
    }

    .thanks-content-section {
        padding: 40px 0 80px;
    }

    .thanks-content {
        padding-top: 40px;
    }

    .thanks-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .thanks-message {
        margin-bottom: 40px;
    }

    .thanks-message p {
        font-size: 14px;
    }

    .thanks-home-button {
        max-width: 260px;
        width: 260px;
    }
}

/* Thanks Page Responsive - Small Mobile */
@media (max-width: 480px) {
    .thanks-hero-title {
        font-size: 20px;
    }

    .thanks-content-section {
        padding: 30px 0 60px;
    }

    .thanks-content {
        padding-top: 30px;
    }

    .thanks-main-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .thanks-message {
        margin-bottom: 35px;
    }

    .thanks-message p {
        font-size: 13px;
        line-height: 1.8;
    }

    .thanks-home-button {
        max-width: 240px;
        width: 240px;
    }
}



/* ========================================
   Contact PROTEAN Page Styles
   ======================================== */

/* Section Container */
.contact-protean-section {
    background-color: #fff;
    padding-bottom: 120px;
}

.contact-protean-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Intro */
.contact-protean-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
}

.contact-protean-intro {
    flex: 1;
}

.contact-protean-intro p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
}

.required-note {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: var(--color-text);
}

.required-mark {
    color: #e84a7f;
    font-weight: 500;
}

/* Form Link */
.contact-protean-link {
    flex-shrink: 0;
}

.contact-protean-link a {
    color: #e84a7f;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-protean-link a:hover {
    opacity: 0.7;
}

/* Form Container */
.contact-protean-form {
    margin-top: 20px;
}

/* Contact Form 7 - PROTEAN Styles */
.contact-protean-section .wpcf7 {
    width: 100%;
}

.contact-protean-section .wpcf7-form {
    display: flex;
    flex-direction: column;
}

/* Form Row */
.contact-protean-section .wpcf7-form > p {
    margin: 0;
    padding: 25px 0;
    border-bottom: 1px solid #e5e5e5;
}

.contact-protean-section .wpcf7-form > p:first-of-type {
    border-top: 1px solid #e5e5e5;
}

.contact-protean-section .wpcf7-form > p:last-of-type {
    border-bottom: none;
    padding-top: 40px;
    padding-bottom: 0;
}

/* Labels */
.contact-protean-section .wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
}

/* Required Mark - ※ */
.contact-protean-section .wpcf7-form .required-asterisk {
    color: #e84a7f;
    margin-left: 3px;
}

/* Input Fields */
.contact-protean-section .wpcf7-form input[type="text"],
.contact-protean-section .wpcf7-form input[type="email"],
.contact-protean-section .wpcf7-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

/* Select Box */
.contact-protean-section .wpcf7-form select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Textarea */
.contact-protean-section .wpcf7-form textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px 15px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
    line-height: 1.8;
}

/* Focus State */
.contact-protean-section .wpcf7-form input[type="text"]:focus,
.contact-protean-section .wpcf7-form input[type="email"]:focus,
.contact-protean-section .wpcf7-form input[type="tel"]:focus,
.contact-protean-section .wpcf7-form textarea:focus,
.contact-protean-section .wpcf7-form select:focus {
    outline: none;
    border-color: #999;
}

/* Placeholder */
.contact-protean-section .wpcf7-form ::placeholder {
    color: #aaa;
    font-size: 14px;
}

/* Privacy Policy Section */
.contact-protean-section .privacy-policy-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.contact-protean-section .privacy-policy-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 15px;
}

.contact-protean-section .privacy-policy-box {
    position: relative;
    width: 100%;
    height: 160px;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    box-sizing: border-box;
}

.contact-protean-section .privacy-policy-link {
    position: absolute;
    right: 0;
    top: -25px;
    color: #e84a7f;
    font-size: 13px;
    text-decoration: none;
}

.contact-protean-section .privacy-policy-link:hover {
    opacity: 0.7;
}

/* Checkbox - Agreement */
.contact-protean-section .wpcf7-form .agreement-wrapper {
    margin-top: 25px;
    text-align: center;
}

.contact-protean-section .wpcf7-form .wpcf7-acceptance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-protean-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.contact-protean-section .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #666;
}

.contact-protean-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: var(--color-text);
    cursor: pointer;
}

/* Submit Button */
.contact-protean-section .wpcf7-form .submit-wrapper {
    text-align: center;
    margin-top: 40px;
}

.contact-protean-section .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    padding: 18px 60px 18px 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--color-primary);
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.contact-protean-section .wpcf7-form input[type="submit"]:hover {
    background: var(--color-primary);
    color: #fff;
}

.contact-protean-section .wpcf7-form input[type="submit"]:disabled {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

/* Submit Button Wrapper with Arrow */
.contact-protean-section .submit-btn-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}

.contact-protean-section .submit-btn-wrapper .tab-arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
    transition: transform 0.3s ease;
    z-index: 1;
}

@media screen and (max-width: 767px){
.contact-protean-section .submit-btn-wrapper .tab-arrow {
    right: 10px;
}
}

.contact-protean-section .submit-btn-wrapper .tab-arrow path {
    stroke: var(--color-primary);
    transition: stroke 0.3s ease;
}

.contact-protean-section .submit-btn-wrapper:hover .tab-arrow {
    transform: translateY(-50%) translateX(5px);
}

.contact-protean-section .submit-btn-wrapper:hover .tab-arrow path {
    stroke: #fff;
}

/* Validation Error Messages */
.contact-protean-section .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 8px;
    display: block;
}

.contact-protean-section .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

/* Response Messages */
.contact-protean-section .wpcf7-response-output {
    margin: 30px 0 0 0;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.contact-protean-section .wpcf7 form.sent .wpcf7-response-output {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-protean-section .wpcf7 form.invalid .wpcf7-response-output,
.contact-protean-section .wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.contact-protean-section .wpcf7 form.failed .wpcf7-response-output,
.contact-protean-section .wpcf7 form.aborted .wpcf7-response-output {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Spinner */
.contact-protean-section .wpcf7-spinner {
}

.wpcf7-spinner{
    display: none;
}
/* ========================================
   Contact PROTEAN - Responsive
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .contact-protean-section {
        padding-bottom: 100px;
    }

    .contact-protean-content {
        max-width: 90%;
    }

    .contact-protean-section .wpcf7-form input[type="text"],
    .contact-protean-section .wpcf7-form input[type="email"],
    .contact-protean-section .wpcf7-form input[type="tel"],
    .contact-protean-section .wpcf7-form select,
    .contact-protean-section .wpcf7-form textarea,
    .contact-protean-section .privacy-policy-box,
    .contact-protean-section .wpcf7-response-output {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-protean-section {
        padding-bottom: 80px;
    }

    .contact-protean-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .contact-protean-header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .contact-protean-link {
        align-self: flex-end;
    }

    .contact-protean-intro p {
        font-size: 13px;
    }

    .contact-protean-section .wpcf7-form > p {
        padding: 20px 0;
    }

    .contact-protean-section .wpcf7-form label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .contact-protean-section .wpcf7-form input[type="text"],
    .contact-protean-section .wpcf7-form input[type="email"],
    .contact-protean-section .wpcf7-form input[type="tel"],
    .contact-protean-section .wpcf7-form select,
    .contact-protean-section .wpcf7-form textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .contact-protean-section .wpcf7-form textarea {
        min-height: 150px;
    }

    .contact-protean-section .privacy-policy-box {
        height: 140px;
        padding: 12px 15px;
        font-size: 12px;
    }

    .contact-protean-section .wpcf7-form input[type="submit"] {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: 16px 50px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-protean-section {
        padding-bottom: 60px;
    }

    .contact-protean-content {
        padding: 0 15px;
    }

    .contact-protean-intro p {
        font-size: 12px;
    }

    .contact-protean-section .wpcf7-form > p {
        padding: 18px 0;
    }

    .contact-protean-section .wpcf7-form label {
        font-size: 12px;
    }

    .contact-protean-section .wpcf7-form input[type="submit"] {
        padding: 14px 40px;
        font-size: 13px;
    }

    .contact-protean-section .privacy-policy-title {
        font-size: 12px;
    }

    .contact-protean-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
        font-size: 12px;
    }
}