@charset "utf-8";

/* ========================================
   CSS変数の定義（SASSライクな管理）
   ======================================== */



/* 共有 */

html{
    font-size: 100%;
}

a{
    text-decoration: none;
	transition: 0.5s; 
}
a:hover {
	opacity: 0.7;
}

img{
    width: 100%;
    vertical-align: top;
}
p{
    color: black;
}
#pc_only{
    display: block;
}
#sp_only {
	display: none;
}



/* --------------------------------
 * レスポンシブ設定
 * -------------------------------- */
@media (max-width: 768px) {
    /* -----　共有設定　----- */
    #pc_only {
        display: none;
    }
    
    #sp_only {
        display: block;
    }
}



/* ========================================
   ヘッダーセクション
   ======================================== */

.site-header {
    background-color: #0066CC;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.header-logo a {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-menu li a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-contact {
    margin-left: 50px;
}

.contact-btn {
    background-color: #fff;
    color: #0066CC;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #0052A3;
    opacity: 1;
}

@media screen and (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 30px;
    }
}

/* ハンバーガーメニューボタン */
.hamburger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(179, 217, 255, 0.98);
    z-index: 1000;
    padding-top: 80px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.hamburger-menu.active {
    transform: translateX(0);
}

.hamburger-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hamburger-nav-menu li {
    width: 100%;
    text-align: center;
}

.hamburger-nav-menu li a {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    transition: opacity 0.3s ease;
}

.hamburger-contact-btn {
    background-color: #0066CC;
    color: #ffffff !important;
    padding: 15px 40px !important;
    border-radius: 25px;
    display: inline-block !important;
    margin-top: 20px;
}

.hamburger-contact-btn:hover {
    background-color: #0052A3;
    opacity: 1;
}

/* ハンバーガーボタンがアクティブな時のアニメーション */
.hamburger-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media screen and (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .header-logo a {
        font-size: 20px;
    }
    
    /* PC用ナビゲーションを非表示 */
    .header-nav {
        display: none;
    }
    
    .header-contact {
        display: none;
    }
    
    /* ハンバーガーメニューボタンを表示 */
    .hamburger-menu-btn {
        display: flex;
    }
    
    /* ハンバーガーメニューを表示可能にする */
    .hamburger-menu {
        display: block;
    }
}
/* ========================================
   top
   ======================================== */
/* ========================================
   Heroセクション
   ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s ease-out infinite;
    transform-origin: center center;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1400px;
    margin: auto;
}

.hero-content {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 200px;
}

.hero-text-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 30px;;
    max-width: 500px;
}

.hero-text {
    font-size: 50px;
    font-weight: 700;
    color: #0066CC;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 0.05em;
}

/* ========================================
   Hero Scrollセクション
   ======================================== */

.hero-scroll-section {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #000000;
}

.scroll-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ========================================
   Serviceセクション
   ======================================== */

.service-section {
    background-color: #ffffff;
    padding: 100px 0;
}

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

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.service-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-header {
    position: relative;
}

.service-title {
    font-size: 72px;
    font-weight: 700;
    color: #0066CC;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.05em;
}

.service-diagonal {
    width: 200px;
    height: 8px;
    background: linear-gradient(to bottom right, #FFD700 0%, #FFD700 50%, transparent 50%);
    margin-top: 10px;
    transform: skewY(-2deg);
}

.service-description {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-desc-item {
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 1.6;
}

.service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.service-btn {
    background-color: #0066CC;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.service-btn:hover {
    background-color: #0052A3;
    opacity: 1;
}

.service-right {
    position: relative;
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

/* ========================================
   施工事例セクション
   ======================================== */

.works-section {
    background-color: #ffffff;
    padding: 100px 0;
}

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

.works-title {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 40px 0;
    letter-spacing: 0.05em;
}

.works-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.works-intro-text {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

.works-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #0066CC;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.works-btn:hover {
    background-color: #0052A3;
    opacity: 1;
}

.works-btn .arrow-icon {
    width: 20px;
    height: 20px;
}

.works-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.works-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.works-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.works-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.works-card:hover .works-card-image img {
    transform: scale(1.05);
}

.works-card-content {
    padding: 20px;
}

.works-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.works-card-title .arrow-icon {
    width: 16px;
    height: 16px;
}

.works-card-subtitle {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* ========================================
   Aboutセクション
   ======================================== */

.about-section {
    background-color: #ffffff;
    padding: 100px 0;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-header {
    position: relative;
}

.about-title {
    font-size: 72px;
    font-weight: 700;
    color: #0066CC;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.05em;
}

.about-diagonal {
    width: 200px;
    height: 8px;
    background: linear-gradient(to bottom right, #FFD700 0%, #FFD700 50%, transparent 50%);
    margin-top: 10px;
    transform: skewY(-2deg);
}

.about-tagline {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.6;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text p {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

.about-right {
    position: relative;
}

.about-image-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 5px 5px 0 0 #FFD700, 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    margin-right: 8px;
    margin-bottom: 8px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ========================================
   Contactセクション
   ======================================== */

.contact-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.contact-envelope-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    opacity: 0.7;
}

.contact-envelope-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='2'%3E%3Cpath d='M4 4H20C21.1 4 22 4.9 22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6C2 4.9 2.9 4 4 4Z'/%3E%3Cpath d='M22 6L12 13L2 6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-envelope-icon:nth-child(1) {
    top: 20%;
    left: 15%;
    animation: float 6s ease-in-out infinite;
}

.contact-envelope-icon:nth-child(2) {
    top: 50%;
    right: 20%;
    animation: float 8s ease-in-out infinite 2s;
}

.contact-envelope-icon:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation: float 7s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.contact-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: auto;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.contact-content {
    max-width: 700px;
}

.contact-title {
    font-size: 72px;
    font-weight: 700;
    color: #0066CC;
    margin: 0 0 30px 0;
    letter-spacing: 0.05em;
}

.contact-text {
    font-size: 18px;
    color: #333333;
    line-height: 1.8;
    margin: 0 0 40px 0;
}

.contact-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0066CC;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-btn-link:hover {
    background-color: #0052A3;
    opacity: 1;
}

.contact-btn-link .arrow-icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   フッターセクション
   ======================================== */

.site-footer {
    background-color: #0066CC;
    padding: 10px 0;
}

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

.footer-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media screen and (max-width: 1024px) {
    
    .service-content,
    .about-content {
        gap: 60px;
    }
    
    .service-title,
    .about-title {
        font-size: 56px;
    }
    
    .contact-title {
        font-size: 56px;
    }
}

@media screen and (max-width: 768px) {

    .hero-section {
        height: 85vh;
    }
    
    .hero-container {
        padding: 0 20px 30px;
    }
    
    .hero-content {
        padding-bottom: 60px;
        height: 80%;
    }
    
    .hero-text-box {
        padding: 20px 25px;
        max-width: 100%;
    }
    
    .hero-text {
        font-size: 24px;
    }
    
    .service-section,
    .works-section,
    .about-section {
        padding: 60px 0;
    }
    
    .service-container,
    .works-container,
    .about-container {
        padding: 0 20px;
    }
    
    .service-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-title,
    .about-title {
        font-size: 48px;
    }
    
    .service-image-wrapper {
        height: 300px;
        clip-path: none;
    }
    
    .works-title {
        font-size: 36px;
    }
    
    .works-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .works-cards {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        height: 300px;
    }
    
    .contact-container {
        padding: 0px 20px;
    }
    
    .contact-content {
        padding: 40px 25px;
    }
    
    .contact-title {
        font-size: 48px;
    }
    
    .contact-text {
        font-size: 16px;
    }
    
    .contact-btn-link {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* ========================================
   Aboutページセクション
   ======================================== */

.about-page-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.about-page-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.about-page-header {
    position: relative;
    background-color: #ffffff;
    padding: 80px 40px 60px;
    z-index: 2;
}

.about-page-title {
    font-size: 50px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.05em;
    display: flex;
    align-items: baseline;
    gap: 0;
    justify-content: center;
}

.about-title-a {
    color: #0066CC;
}

.about-title-bout {
    color: #000000;
}

.about-page-diagonal {
    width: 100px;
    height: 4px;
    background: linear-gradient(to top right, #FFD700 0%, transparent 100%);
    margin: 20px auto 0;
    transform: skewY(-2deg);
}

.about-page-background {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.about-page-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1024px) {
    .about-page-title {
        font-size: 96px;
    }
    
    .about-page-header {
        padding: 60px 30px 50px;
    }
}

@media screen and (max-width: 768px) {
    .about-page-title {
        font-size: 34px;
    }
    
    .about-page-header {
        padding: 40px 20px 30px;
    }
    
    .about-page-diagonal {
        width: 150px;
        height: 3px;
    }
    
}

/* ========================================
   Messageセクション
   ======================================== */

.message-section {
    background-color: #ffffff;
    padding: 100px 0;
}

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

.message-header {
    text-align: center;
    margin-bottom: 80px;
}

.message-title {
    font-size: 72px;
    font-weight: 700;
    color: #0066CC;
    margin: 0 0 15px 0;
    letter-spacing: 0.05em;
}

.message-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    letter-spacing: 0.05em;
}

.message-content {
    width: 700px;
    margin: auto;
}

.message-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.message-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.message-text p {
    font-size: 16px;
    line-height: 2;
    color: #000000;
    margin: 0;
    text-align: left;
}

.message-signature {
    margin-top: 20px;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.signature-company {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    display: flex;
    align-items: flex-end;
    margin: 20px;
}

.message-image-wrapper {
    position: sticky;
    top: 100px;
}

.message-image-placeholder {
    width: 100px;
    aspect-ratio: 3 / 4;
    background-color: #CCCCCC;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.message-image-placeholder span {
    font-size: 16px;
    color: #666666;
    font-weight: 500;
}

.message-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

@media screen and (max-width: 1024px) {
    .message-title {
        font-size: 56px;
    }
    
    .message-container {
        padding: 0 30px;
    }
    
    .message-content {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .message-section {
        padding: 60px 0;
    }
    
    .message-container {
        padding: 0 20px;
    }
    
    .message-header {
        margin-bottom: 50px;
    }
    
    .message-title {
        font-size: 48px;
    }
    
    .message-subtitle {
        font-size: 18px;
    }
    
    .message-content {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 95%;
    }
    
    .message-image-wrapper {
        position: static;
        order: -1;
    }
    
    .message-image-placeholder {
        aspect-ratio: 4 / 3;
    }
    
    .message-text p {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* ========================================
   Outlineセクション
   ======================================== */

.outline-section {
    background-color: #ffffff;
    padding: 100px 0;
}

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

.outline-header {
    text-align: center;
    margin-bottom: 60px;
}

.outline-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin: 0 0 10px 0;
}

.outline-title-o {
    color: #0066CC;
}

.outline-title-ther {
    color: #000000;
}

.outline-subtitle {
    font-size: 14px;
    color: #000000;
    margin: 0;
    letter-spacing: 0.2em;
}

.outline-table {
    width: 100%;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

.outline-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid #E5E5E5;
}

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

.outline-label,
.outline-value {
    font-size: 13px;
    line-height: 1.8;
    padding: 18px 20px;
}

.outline-label {
    font-weight: 600;
    background-color: #F9F9F9;
}

.outline-row-history .outline-value {
    line-height: 1.9;
}

@media screen and (max-width: 768px) {
    .outline-section {
        padding: 60px 0;
    }

    .outline-container {
        padding: 0 20px;
    }

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

    .outline-row {
        grid-template-columns: 120px 1fr;
    }

    .outline-label,
    .outline-value {
        padding: 14px 12px;
        font-size: 12px;
    }
}

/* ========================================
   Aboutページ Google Map
   ======================================== */

.about-map-section {
    background-color: #ffffff;
    padding: 60px 0 100px;
}

.about-map-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-map-inner {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.about-map-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 768px) {
    .about-map-section {
        padding: 40px 0 60px;
    }

    .about-map-container {
        padding: 0 20px;
    }
}

/* ========================================
   Serviceページ 詳細セクション
   ======================================== */

.service-detail-section {
    background-color: #ffffff;
    padding: 100px 0;
    scroll-margin-top: 100px;
}

html {
    scroll-behavior: smooth;
}

.service-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
    gap: 40px;
    padding: 40px 0;
}

.service-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.service-detail-lead {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 16px 0;
}

.service-detail-body {
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
}

.service-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.9;
}

.service-detail-list li::before {
    content: "・";
}

.service-detail-visual {
    background-color: #2C6DFF;
}

.service-detail-divider {
    height: 2px;
    border-bottom: 2px dotted #2C6DFF;
}

@media screen and (max-width: 768px) {
    .service-detail-section {
        padding: 60px 0;
    }

    .service-detail-container {
        padding: 0 20px;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-detail-visual {
        height: 160px;
    }
}

/* ========================================
   Recruitページ 協力会社募集
   ======================================== */

.recruit-coop-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.recruit-coop-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.recruit-coop-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.recruit-coop-icon-circle {
    width: 120px;
    margin: auto;
}

.recruit-coop-icon-handshake {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
}

.recruit-coop-open {
    margin: 24px 0 40px;
}

.recruit-coop-open-btn {
    display: inline-block;
    padding: 10px 32px;
    border-radius: 999px;
    background-color: #0066CC;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.recruit-coop-card {
    margin: 0 auto;
    max-width: 900px;
    background-color: #fffdf5;
    border-radius: 24px;
    padding: 40px 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid #FFE6A3;
    text-align: left;
    display: none;
}

.recruit-coop-card.is-open {
    display: block;
}

#recruit-coop-detail,
#recruit-staff-detail {
    display: block;
}

.recruit-coop-intro {
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
    margin: 0 0 32px 0;
}

.recruit-coop-highlight {
    font-weight: 700;
    color: #0066CC;
    text-decoration: underline;
}

.recruit-coop-table {
    width: 100%;
    border-top: 1px solid #FFE6A3;
}

.recruit-coop-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-bottom: 1px solid #FFE6A3;
}

.recruit-coop-label,
.recruit-coop-value {
    font-size: 13px;
    line-height: 1.9;
    padding: 14px 16px;
}

.recruit-coop-label {
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .recruit-coop-section {
        padding: 60px 0;
    }

    .recruit-coop-container {
        padding: 0 20px;
    }

    .recruit-coop-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .recruit-coop-row {
        grid-template-columns: 110px 1fr;
    }

    .recruit-coop-label,
    .recruit-coop-value {
        font-size: 12px;
        padding: 10px 8px;
    }
}

/* ========================================
   工事実績詳細セクション
   ======================================== */
.works-detail-section {
    padding: 100px 0;
    background-color: #ffffff;
}

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

.works-detail-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.works-detail-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.works-detail-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.works-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.4;
    position: relative;
    padding-bottom: 8px;
}

.works-detail-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
}

.works-detail-subtitle {
    font-size: 16px;
    color: #000000;
    margin: 0;
    line-height: 1.6;
}

.works-detail-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #000000;
    overflow: hidden;
}

.works-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.works-detail-note {
    font-size: 12px;
    color: #666666;
    margin: 0;
    text-align: left;
}

.works-detail-divider {
    margin-top: 60px;
    height: 2px;
    border-bottom: 2px dotted #2C6DFF;
}

/* 工事実績詳細セクション レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .works-detail-section {
        padding: 60px 0;
    }
    
    .works-detail-container {
        padding: 0 20px 30px;
    }
    
    .works-detail-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .works-detail-item {
        gap: 15px;
    }
    
    .works-detail-title {
        font-size: 24px;
    }
    
    .works-detail-subtitle {
        font-size: 14px;
    }
    
    .works-detail-note {
        font-size: 11px;
    }
    
    .works-detail-divider {
        margin-top: 40px;
    }
}

/* ========================================
   お問い合わせフォームセクション
   ======================================== */
.contact-form-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Contact Form 7のスタイル調整 */
.contact-form-section .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-section .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.contact-form-section .wpcf7-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form-section .wpcf7-form-control:focus {
    outline: none;
    border-color: #0066CC;
}

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

.contact-form-section .wpcf7-submit {
    background-color: #0066CC;
    color: #ffffff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    align-self: flex-start;
}

.contact-form-section .wpcf7-submit:hover {
    opacity: 0.8;
    background-color: #0052A3;
}

.contact-form-section .wpcf7-response-output {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
}

.contact-form-section .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-form-section .wpcf7-mail-sent-ng,
.contact-form-section .wpcf7-aborted {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-form-section .wpcf7-spam {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.contact-form-section .wpcf7-validation-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-form-section label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.contact-form-section .wpcf7-required {
    color: #ff0000;
}

/* お問い合わせフォームセクション レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 0 20px;
    }
    
    .contact-form-section .wpcf7-form-control {
        font-size: 14px;
    }
    
    .contact-form-section .wpcf7-submit {
        width: 100%;
        padding: 14px 40px;
    }
}