@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
		/* アンカー処置 */
		scroll-padding-top: 132px;
		scroll-behavior: smooth;
}
/* スマホだけ改行 */
.br-sp {
    display: none;
}

body {
    font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
    color: #2c3e50;
    line-height: 1.6;
    background-color: #ffffff;
    font-size: 18px;
}

p {
    font-size: 18px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(52, 152, 219, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #3498db;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-space {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
}

.tel-info {
    text-align: right;
}

.tel-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 5px;
}

.tel-label {
    font-size: 18px;
    color: #5dade2;
}

.tel-number {
    font-size: 24px;
    font-weight: bold;
    color: #2980b9;
}

.tel-hours {
    font-size: 18px;
    color: #7fb3d3;
    text-align: right;
}

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

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2c3e50;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* メニューオーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

nav {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 86px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.3);
}

nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul li {
    text-align: center;
    flex: 1;
}

nav ul li a {
    display: block;
    color: #ffffff;
    padding: 15px 0;
    transition: background-color 0.3s, color 0.3s;
    border-bottom: 3px solid transparent;
}

nav ul li a:hover {
    background-color: rgba(52, 152, 219, 0.2);
    border-bottom-color: #3498db;
}

/* メインビジュアル */
.main-visual {
    height: 500px;
    background: linear-gradient(rgba(52, 152, 219, 0.7), rgba(41, 128, 185, 0.8)), url('../images/topimage01.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    margin-top: 132px;
}

.main-visual h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.main-visual p {
    font-size: 20px;
    max-width: 800px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: #2980b9;
}

.section-title h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.section-title p {
    color: #7fb3d3;
}

/* 会社紹介 */
.company-intro {
    background-color: #ffffff;
}

.company-intro-content {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.company-intro-text {
    flex: 1;
    min-width: 300px;
    padding: 0 30px;
    color: #34495e;
}

.company-intro-image {
    flex: 1;
    min-width: 300px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.1);
}
.company-intro-image img{
    border-radius: 10px;
    width:100%;
}

/* 製品紹介 */
.products {
    background: linear-gradient(135deg, #f8fbff, #ebf3fd);
}

.products-container {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-card {
    width: calc(33.333% - 20px);
    margin-bottom: 30px;
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img{
		border-radius: 10px 10px 0 0;
    width:100%;
}
.product-info {
    padding: 20px;
}

.product-info h3 {
		text-align: center;
    margin-bottom: 10px;
    color: #2980b9;
}

.product-info p {
    color: #5a6c7d;
    font-size: 16px;
}

/* 制作実績 */
.portfolio {
    background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.portfolio-container {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.portfolio-card {
    width: calc(33.333% - 20px);
    margin-bottom: 30px;
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.2);
}

.portfolio-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img {
    border-radius: 10px 10px 0 0;
    width: 100%;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
}

.portfolio-info p {
    color: #5a6c7d;
    font-size: 16px;
}

/* 職人技 */
.craftsmanship {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
}

.craftsmanship .section-title h2 {
    color: #ffffff;
}

.craftsmanship .section-title h2:after {
    background: linear-gradient(90deg, #3498db, #5dade2);
}

.craftsmanship .section-title p {
    color: #aed6f1;
}

.craftsmanship-content {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.craftsmanship-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
    color: #ecf0f1;
}

.craftsmanship-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.craftsmanship-image img{
    border-radius: 10px;
    width:100%;
		filter: brightness(70%)
}

/* 会社概要 */
.company-info {
    background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.company-info-container {
    max-width: 60%;
    margin: 0 auto;
}

.company-info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.1);
}

.company-info-table th,
.company-info-table td {
    padding: 15px;
    border-bottom: 1px solid #e8f4f8;
}

.company-info-table th {
    width: 30%;
    text-align: left;
    color: #2980b9;
    background: linear-gradient(135deg, #f8fbff, #ebf3fd);
    font-weight: bold;
}

.company-info-table td {
    color: #34495e;
}

.affiliated-companies {
    margin-top: 50px;
}

.affiliated-companies h3 {
    margin-bottom: 20px;
    color: #2980b9;
    font-size: 22px;
}

.affiliated-company {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s, box-shadow 0.3s;
}

.affiliated-company:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.affiliated-company-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background: linear-gradient(135deg, #ebf3fd, #d6eaf8);
    color: #5dade2;
    font-size: 12px;
    border-radius: 8px;
}

.affiliated-company-info {
    flex: 1;
}

.affiliated-company-info h4 {
    margin-bottom: 5px;
    color: #2980b9;
}

.affiliated-company-info a {
    color: #3498db;
    font-size: 16px;
    text-decoration: underline;
    transition: color 0.3s;
}

.affiliated-company-info a:hover {
    color: #2980b9;
}

/* page_top */
#page_top {
		position: fixed;
		right: 10px;
		width: 55px;
		height: 55px;
		background: rgba(102, 102, 102, 0.5) no-repeat;
}

#page_top a::before {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		width: 25px;
		height: 40px;
		margin: auto;
		color: #fff;
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
		content: '\f077';
		font-size: 25px;
		text-align: center;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    padding: 50px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-info {
		width: 50%;
    flex: 1;
    min-width: 300px;
    text-align: center;
    margin-bottom: 30px;
}

.footer-info h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #ffffff;
}

.footer-info p {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 18px;
}

.footer-map {
		width: 50%;
    position: relative;
    padding-top: 25%; /* 縦横の比率 */
    height: 0;
    overflow: hidden;
}
.footer-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.copyright {
    background-color: #1a252f;
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    color: #85c1e9;
    margin-top: 50px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
		/* スマホだけ改行 */
		.br-sp {
		    display: block;
		}

    header {
        flex-direction: column;
        padding: 10px 5%;
        align-items: flex-start;
    }
    
    .header-top {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .logo-space {
        width: 50px;
        height: 35px;
        margin-right: 15px;
    }
    .logo-space img{
		    width:auto;
        height: 25px;
		}
    .company-name {
        font-size: 25px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .tel-info {
        width: 100%;
        margin-top: 10px;
    }
    
    .tel-number {
        font-size: 20px;
    }
    
    /* モバイルナビゲーション */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.98), rgba(52, 73, 94, 0.98));
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding: 100px 30px 30px;
        transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        max-width: none;
        margin: 0;
    }

    nav ul li {
        text-align: left;
        flex: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
    }

    nav.active ul li {
        opacity: 1;
        transform: translateX(0);
    }

    nav.active ul li:nth-child(1) { transition-delay: 0.1s; }
    nav.active ul li:nth-child(2) { transition-delay: 0.2s; }
    nav.active ul li:nth-child(3) { transition-delay: 0.3s; }
    nav.active ul li:nth-child(4) { transition-delay: 0.4s; }
    nav.active ul li:nth-child(5) { transition-delay: 0.5s; }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        padding: 15px 0;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding-left: 10px;
        transition: all 0.3s ease;
    }

    nav ul li a:hover {
        background-color: rgba(52, 152, 219, 0.2);
        border-left-color: #3498db;
        padding-left: 20px;
    }
    
    .main-visual {
        margin-top: 140px;
        height: 350px;
        scroll-padding-top: 140px;
    }
    
    .main-visual h1 {
        font-size: 28px;
    }
    
    .main-visual p {
        font-size: 18px;
        padding: 0 20px;
    }
    
    * {
        scroll-padding-top: 140px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .company-intro-content, 
    .company-info-container {
        max-width: 90%;
    }
    
    .product-card {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .portfolio-card {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .company-info-table th {
        width: 40%;
    }
    
    .craftsmanship-content {
        flex-direction: column;
    }
    
    .craftsmanship-text {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        padding: 0 20px;
    }
		.footer-map {
				width: 100%;
		    padding-top: 100%; /* 縦横の比率 */
		}
}

@media (max-width: 480px) {
    nav {
        width: 100vw;
        right: -100vw;
    }
}
