/* リセットとベース */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* 共通スタイル */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(15px, 4vw, 40px);
    position: relative;
    margin: 0 auto;
}

.btn-primary {
    display: block;
    margin: 0 auto;
    background: #1bac47;
    color: #fff;
    padding: clamp(6px, 1vw, 9px) clamp(54px, 9vw, 90px);
    border-radius: clamp(20px, 4vw, 30px);
    text-decoration: none;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(27,172,71,0.4);
    transition: transform 0.3s;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.section-title {
    color: #fff;
    background: #002559;
    display: block;
    text-align: center;
    padding: clamp(15px, 2vw, 20px) clamp(30px, 4vw, 40px);
    margin: 0 clamp(-60px, -8vw, -80px) clamp(30px, 5vw, 50px) clamp(-60px, -8vw, -80px);
    font-size: clamp(24px, 4vw, 56px);
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* 横幅上半部分 */
.hero-top {
    background: #ffffff;
    padding: clamp(15px, 3vw, 25px) 0;
    position: relative;
    height: clamp(400px, 55vw + 155px, 1055px);
    min-height: 400px;
}

.hero-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #00a54f 95%, #00a54f 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-badge {
    text-align: left;
    color: #333;
    font-size: clamp(21px, 2.25vw, 31.5px);
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
    padding-left: clamp(20px, 3vw, 50px);
    position: relative;
    z-index: 100;
}

.hero-logo-big {
    width: clamp(320px, 48vw, 640px);
    height: clamp(160px, 24vw, 320px);
    text-align: left;
    padding-left: clamp(20px, 3vw, 50px);
    margin-bottom: 5px;
    display: block;
    position: relative;
    z-index: 100;
    text-shadow: 4px 4px 0px #000000;
    filter: drop-shadow(4px 4px 0px #000000);
}

.hero-logo-sub {
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: bold;
    color: #fff;
    background: #000;
    text-align: left;
    padding: clamp(5px, 0.8vw, 8px) 70px;
    margin-left: clamp(50px, 6vw, 80px);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 100;
    line-height: 1;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(55vw + 60px);
    max-height: 960px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
    background-color: transparent;
    border-radius: 15px;
    opacity: 0.85;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    transform: scale(1.2) translate(80px, 100px);
    mix-blend-mode: multiply;
}

.hero-text-container {
    position: absolute;
    top: 220px;
    right: 0;
    width: 15vw;
    height: 55vw;
    max-height: 900px;
    z-index: 100;
}

.hero-big-text {
    position: absolute;
    top: -250px;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 100;
    font-size: clamp(72px, 10vw, 160px);
    font-weight: bold;
    color: #fff;
    text-shadow: none;
    line-height: 1.3;
    writing-mode: vertical-rl;
    text-orientation: upright;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-right: 0;
    margin: 0;
    gap: 0;
    transform: none;
}

.hero-big-text .line1 {
    display: block;
    margin-right: 0;
}

.hero-tag-text {
    position: absolute;
    top: -10px;
    right: 150px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
    font-size: clamp(72px, 10vw, 160px);
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.3;
    writing-mode: vertical-rl;
    text-orientation: upright;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-right: 0;
}

.hero-tag-text .line2 {
    display: block;
}

.helmet-showcase {
    display: flex;
    gap: 15px;
    position: absolute;
    bottom: 6vw;
    left: 8.5vw;
    z-index: 100;
}

.helmet-item {
    width: 35vw;
    height: 35vw;
    max-width: 583px;
    max-height: 583px;
    background-color: transparent;
    border-radius: 10px;
}

.helmet-item:nth-child(2) {
    position: absolute;
    top: 5.8vw;
    left: -11.5vw;
    width: 32vw;
    height: 32vw;
    max-width: 525px;
    max-height: 525px;
}

.helmet-item:nth-child(3) {
    position: absolute;
    top: 4.5vw;
    left: -13.5vw;
    width: 58vw;
    height: 58vw;
    max-width: 954px;
    max-height: 954px;
}

/* 横幅下半部分 */
.hero-bottom-section {
    background: url('横幅区域下半部分背景图.jpg');
    background-size: clamp(100%, 120%, 150%) clamp(100%, 110%, 120%);
    background-position: clamp(-50px, -150px, 0) bottom;
    background-repeat: no-repeat;
    padding: clamp(30px, 5vw, 80px) 0 clamp(20px, 3vw, 50px);
    position: relative;
}

.hero-bottom-section::after {
    content: '';
    position: absolute;
    right: -65px;
    top: 50%;
    transform: translateY(calc(-50% - 50px)) scale(0.9);
    width: 40%;
    height: 80%;
    background-image: url('横幅区域头盔展示图3.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bottom-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,0.05) 100%);
    z-index: 0;
    clip-path: polygon(0 0, 35% 0, 100% 100%, 0% 100%);
}

.hero-bottom-section .helmet-image-4 {
    position: absolute;
    right: 135px;
    top: 70%;
    transform: translateY(calc(-50% + 50px)) scale(1.4);
    width: 40%;
    height: 80%;
    background-image: url('横幅区域头盔展示图4.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bottom-section .container {
    position: relative;
    z-index: 100;
}

.hero-bottom-title {
    text-align: left;
    color: #000;
    font-size: clamp(24px, 3vw, 43.2px);
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.hero-bottom-subtitle {
    color: #000;
    margin-bottom: 30px;
}

.hero-bottom-subtitle .subtitle-line1 {
    font-size: clamp(21px, 2.25vw, 33px);
    font-weight: bold;
    margin-bottom: 0;
    color: #000;
    letter-spacing: 12px;
    line-height: 0.8;
}

.hero-bottom-subtitle .subtitle-line2 {
    font-size: clamp(16px, 1.8vw, 26px);
    font-weight: bold;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 0.8;
}

.hero-bottom-subtitle .subtitle-line2-part1 {
    font-size: clamp(72px, 10vw, 160px);
    font-weight: bold;
    color: #00295f;
    letter-spacing: 4px;
}

.hero-bottom-subtitle .subtitle-line2-dx {
    font-size: clamp(96px, 14vw, 200px);
    font-weight: bold;
    color: #00295f;
    letter-spacing: 4px;
    transform: translateY(-10px);
}

.hero-bottom-subtitle .subtitle-line2-part2 {
    font-size: clamp(36px, 4.5vw, 72px);
    font-weight: bold;
    margin-bottom: 20px;
    color: #00295f;
    letter-spacing: 10px;
    line-height: 0.8;
}

.hero-bottom-subtitle .subtitle-line3,
.hero-bottom-subtitle .subtitle-line3-part2,
.hero-bottom-subtitle .subtitle-line4,
.hero-bottom-subtitle .subtitle-line5 {
    font-size: clamp(19.2px, 1.8vw, 28.8px);
    margin-bottom: 5px;
    line-height: 1.2;
    font-weight: bold;
}

.hero-bottom-subtitle .subtitle-line5 {
    margin-bottom: 0;
}

.hero-bottom-btn {
    margin-top: clamp(15px, 3vw, 30px);
    padding: clamp(10px, 2vw, 19px) clamp(25px, 5vw, 50px);
    width: 57%;
    margin-left: 0;
    margin-right: auto;
    border-radius: clamp(50px, 10vw, 100px);
    font-size: clamp(19.2px, 4vw, 43.2px);
}

/* 基本機能セクション */
.features-section {
    padding: clamp(30px, 5vw, 80px) 0;
    background: url('产品特性区域背景图.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 確保所有主要容器都有一致的左右留白 */
.features-grid,
.cases-grid,
.contact-form,
.hero-bottom {
    padding-left: clamp(20px, 5vw, 80px);
    padding-right: clamp(20px, 5vw, 80px);
}

.helmet-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    position: relative;
}

.center-helmet {
    background-color: transparent;
    margin: 0;
    display: block;
    padding: 2vw;
    transform: scale(12);
    position: relative;
    width: 5vw;
    height: 5vw;
    top: calc(5vw - 30px);
    left: calc(-10vw + 50px);
    z-index: 3;
}

.center-logo {
    background-color: transparent;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2vw;
    transform: scale(2.4);
    position: relative;
    width: 13vw;
    height: 13vw;
    top: 3vw;
    left: calc(18vw - 140px);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.logo-text {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0 20px;
    position: relative;
}

.text-item {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.text-item span {
    font-size: 7px;
    font-style: italic;
    display: block;
}

.text-item:first-child {
    position: absolute;
    top: -60px;
    left: calc(50% + 5px);
    transform: translateX(-50%);
}

.text-item:nth-child(2) {
    position: absolute;
    bottom: -50px;
    left: -5px;
}

.text-item:nth-child(3) {
    position: absolute;
    bottom: -50px;
    right: 5px;
}

/* 機能グリッド */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(15px, 3vw, 30px);
    margin: calc(10vw + 10px) auto 15px;
    padding: 0 clamp(20px, 5vw, 80px);
    width: 100%;
    max-width: 100%;
}

.feature-box {
    text-align: left;
    padding: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px) 180px;
    border-radius: clamp(18px, 2vw, 28px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #333;
    text-shadow: none;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    aspect-ratio: 3.42/1;
}

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

.feature-box h3 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #000;
    text-shadow: none;
    line-height: 0.9;
}

.feature-box p {
    font-size: clamp(15.4px, 1.65vw, 19.8px);
    font-weight: bold;
    line-height: 1.2;
    color: #000;
    text-shadow: none;
}

/* 機能サマリー */
.features-summary {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    margin: 0 auto;
}

.features-summary h3 {
    font-size: clamp(14px, 2vw, 22px);
    margin-bottom: 15px;
    color: #333;
}

.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.summary-text {
    flex: 1;
    text-align: left;
    margin-right: 30px;
    padding-left: 60px;
}

.summary-text h3 {
    font-size: clamp(28px, 5vw, 58px);
    margin-bottom: 5px;
    color: #333;
    letter-spacing: 1px;
}

.summary-text .merit-container {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
}

.summary-text h4.merit-title {
    font-size: clamp(15px, 3vw, 30px);
    color: #fff;
    padding: 10px 45px;
    border: 3px solid #437f35;
    border-right: none;
    background-color: #437f35;
    margin: 0;
    line-height: 1;
}

.summary-text h4.merit-subtitle {
    font-size: clamp(15px, 3vw, 30px);
    color: #333;
    margin: 0;
    padding: 10px 30px;
    border: 3px solid #437f35;
    border-left: none;
    letter-spacing: 7px;
    font-weight: bold;
    line-height: 1;
}

.summary-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.summary-text li {
    font-size: 30.72px;
    line-height: 1.3;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-weight: bold;
}

.summary-text li::before {
    content: "";
    position: absolute;
    left: 15px;
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.benefit-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
    transform: translateX(-50px);
}

.benefit-tags span {
    padding: 10px 50px;
    border-radius: 60px;
    font-size: 34.56px;
    font-weight: 900;
    text-align: center;
    width: 313.5px;
    border: 3px solid #8c8a8d;
    color: #000;
    line-height: 1;
}

.tag-blue, .tag-green {
    background: #e8e98c;
    color: #000;
}

.tag-orange, .tag-purple {
    background: #efb5a1;
    color: #000;
}

.tag-cyan {
    background: #b7dde6;
    color: #000;
}

.features-summary .btn-primary {
    margin-top: 30px;
    padding: clamp(10px, 2vw, 19px) clamp(25px, 5vw, 50px);
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    border-radius: clamp(50px, 10vw, 100px);
    font-size: clamp(24px, 5vw, 54px);
}

/* 活用例セクション */
.cases-section {
    padding: 40px 0 120px;
    background-color: #62c09b;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 50px);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

.case-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

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

.case-image {
    width: 100%;
    aspect-ratio: 1.61/1;
    position: relative;
    overflow: hidden;
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.case-title {
    position: absolute;
    top: clamp(10px, 2vw, 20px);
    left: 0;
    background: #fff;
    color: #000;
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 3vw, 30px) clamp(8px, 1.5vw, 12px) clamp(15px, 2vw, 20px);
    font-size: clamp(16px, 2.5vw, 32px);
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    z-index: 2;
    width: clamp(200px, 35vw, 450px);
}

/* 管理システムセクション */
.system-section {
    padding: 80px 0 0 0;
    background-color: #fff;
}

.system-top-section {
    display: flex;
    max-width: 100%;
    margin: 0 0 30px 0;
    padding: 0;
    gap: 60px;
    align-items: flex-start;
}

.system-top-left {
    flex: 3.0;
    background-color: #f8dcd0;
    padding: clamp(30px, 5vw, 50px) clamp(30px, 5vw, 50px) clamp(3px, 0.5vw, 5px) clamp(30px, 5vw, 50px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-right: 0;
    margin-left: 0;
}

.system-top-left:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.system-top-left h3 {
    position: absolute;
    top: clamp(10px, 2vw, 20px);
    right: 0;
    background: transparent;
    color: #000;
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 2.5vw, 20px) clamp(8px, 1.5vw, 12px) clamp(20px, 3vw, 30px);
    font-size: clamp(13.5px, 1.9vw, 24px);
    font-weight: bold;
    box-shadow: none;
    clip-path: none;
    z-index: 2;
    width: auto;
}

.system-top-right {
    flex: 2.4;
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vw, 30px);
    padding: clamp(20px, 4vw, 40px);
    background-color: #d6f0f1;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    height: 550px;
    z-index: 10;
}

.system-top-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.section-arrow {
    text-align: center;
    font-size: 40px;
    color: #ff6600;
    font-weight: bold;
    padding: 10px 0;
    display: block;
    width: 100%;
    width: 200px;
    height: 40px;
    position: relative;
    margin: 20px auto 20px -250px;
    background: none;
    padding: 0;
}

.section-arrow::before,
.section-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

.section-arrow::before {
    left: 0;
    border-right: 39px solid #ff6600;
}

.section-arrow::after {
    right: 0;
    border-left: 39px solid #ff6600;
}

.section-arrow .arrow-line {
    position: absolute;
    top: 50%;
    left: 16px;
    right: 16px;
    height: 8px;
    background-color: #ff6600;
    transform: translateY(-50%);
}

.system-top-section .section-arrow {
    display: block;
}

.system-bottom-section {
    width: 100%;
    padding: clamp(3px, 0.5vw, 5px);
    background-color: #cfebdf;
    position: relative;
    height: clamp(80px, 30vw, 320px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.circle-element {
    width: 150px;
    height: 150px;
    border: 2px solid #ff6600;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    right: 20px;
    bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    color: black;
    line-height: 1.4;
    padding: 5px;
    box-sizing: border-box;
}

.system-bottom-section .site-images {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    flex: 1;
}

.system-bottom-section .bottom-right-area {
    position: absolute;
    top: 40px;
    right: 30px;
    z-index: 10;
    width: 760px;
}

.system-bottom-section .bottom-right-area .section-arrow {
    position: absolute;
    bottom: 60px;
    left: calc(50% + 70px);
    transform: translateX(-50%) rotate(35deg);
}

.system-bottom-section .bottom-right-area .section-arrow-2 {
    position: absolute;
    bottom: 30px;
    left: calc(50% + 10px);
    width: 120px;
    transform: translateX(-50%) rotate(65deg) translateY(50px);
}

.system-bottom-section .bottom-right-area .section-arrow-3 {
    position: absolute;
    top: -600px;
    left: calc(50% + 240px);
    width: 384px;
    transform: translateX(-50%) rotate(85deg);
}

.system-bottom-section .bottom-right-area .section-arrow-3::before {
    border-right-color: #62c09b;
}

.system-bottom-section .bottom-right-area .section-arrow-3::after {
    border-left-color: transparent;
}

.system-bottom-section .bottom-right-area .section-arrow-3 .arrow-line {
    background-color: #62c09b;
}

.system-bottom-section .semicircle-section {
    width: 620px;
    height: 335px;
    background-color: #cfebdf;
    border-radius: 335px 335px 0 0;
    margin-bottom: 0;
    position: absolute;
    bottom: 40px;
    right: -30px;
}

.system-bottom-section .site-section {
    width: 100%;
    position: relative;
    top: -41px;
}

.cloud-content,
.site-section {
    transition: transform 0.3s ease;
}

.cloud-content:hover,
.site-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.dbase-logo {
    width: 300px;
    height: 120px;
    margin: -5px 0 30px -40px;
    align-self: flex-start;
    position: relative;
}

.dbase-logo-sub {
    position: absolute;
    bottom: -20px;
    left: 25px;
    font-size: clamp(13.2px, 1.32vw, 19.8px);
    font-weight: bold;
    color: #fff;
    background: #000;
    text-align: left;
    padding: clamp(5px, 0.8vw, 8px) 70px;
    line-height: 1;
    white-space: nowrap;
    z-index: 0;
}

.system-subtitle {
    position: absolute;
    top: clamp(80px, 12vw, 130px);
    right: 0;
    background: #f27942;
    color: #fff;
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 2.5vw, 20px) clamp(8px, 1.5vw, 12px) clamp(20px, 3.5vw, 30px);
    font-size: clamp(12px, 2.25vw, 24px);
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%);
    z-index: 2;
    width: auto;
    line-height: 1;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-title {
    position: absolute;
    top: clamp(30px, 5vw, 50px);
    right: 0;
    background: #00adef;
    color: #fff;
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 2.5vw, 20px) clamp(8px, 1.5vw, 12px) clamp(10px, 2vw, 15px);
    font-size: clamp(12px, 2.25vw, 24px);
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%);
    z-index: 2;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0.8;
    letter-spacing: -2px;
}

.site-title {
    position: absolute;
    top: clamp(-40px, -5vw, -10px);
    right: 0;
    background: #62c09b;
    color: #fff;
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 2.5vw, 20px) clamp(8px, 1.5vw, 12px) clamp(10px, 2vw, 15px);
    font-size: clamp(12px, 2.25vw, 24px);
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%);
    z-index: 2;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0.8;
    letter-spacing: -2px;
}

.logo-container {
    position: absolute;
    bottom: 30px;
    right: -20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}

.semicircle-logo {
    width: 256px;
    height: 128px;
    text-shadow: 2px 2px 0px #000000;
    filter: drop-shadow(2px 2px 0px #000000);
    margin-bottom: 8px;
}

.semicircle-sub {
    font-size: clamp(10px, 1.6vw, 14px);
    font-weight: bold;
    color: #fff;
    background: #000;
    padding: 1.2px clamp(12px, 3vw, 24px);
    line-height: 1.1;
    margin-left: 32px;
}

.system-devices {
    width: 100%;
    height: clamp(200px, 40vw, 400px);
    margin-bottom: clamp(30px, 5vw, 50px);
    transform: scale(1.2) translateX(40px) translateY(40px);
    transform-origin: center;
}

.system-note {
    text-align: center;
    font-size: clamp(12px, 2vw, 20px);
    color: #000;
    margin-bottom: clamp(3px, 0.5vw, 5px) !important;
    font-weight: bold;
}

.office-section {
    background-color: transparent;
    border-radius: 30px;
    padding: clamp(3px, 0.5vw, 5px);
}

.office-tag {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    padding: clamp(10px, 2vw, 15px) clamp(30px, 5vw, 45px);
    border-radius: clamp(40px, 8vw, 60px);
    font-size: clamp(20px, 4vw, 42px);
    margin-bottom: clamp(30px, 5vw, 45px);
}

.office-section p {
    font-size: clamp(11px, 1.6vw, 17px);
    line-height: 1.5;
    color: #333;
    margin-bottom: clamp(3px, 0.5vw, 5px);
    font-weight: bold;
}

.cloud-section {
    text-align: center;
    margin-bottom: 30px;
}

.cloud-icon {
    position: absolute;
    top: 50px;
    left: -60px;
    width: 180px;
    height: 180px;
    margin: 0;
}

.cloud-text {
    font-size: 21.5px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #000;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 300px;
    margin-left: -66px;
    padding: 10px;
    border: 5px solid #00adef;
    border-radius: 32px;
    background-color: #fff;
    width: 184px;
    height: 174px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.cloud-text-secondary {
    font-size: 21.5px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #000;
    font-weight: bold;
    padding: 10px;
    border: none;
    background-color: transparent;
    width: auto;
    max-width: 350px;
    height: auto;
    display: inline-block;
    text-align: left;
    position: absolute;
    top: 120px;
    right: 10px;
}

.cloud-arrows {
    position: relative;
    height: 50px;
    margin-bottom: 20px;
}

.arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.arrow-down {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
}

.arrow-up {
    bottom: 0;
    transform: translateX(-50%) rotate(135deg);
}

.cloud-content {
    background-color: #e0f7fa;
    border-radius: 15px;
    padding: 20px;
}

.cloud-content h3 {
    font-size: clamp(12px, 1.8vw, 16px);
    margin-bottom: 15px;
    color: #006064;
}

.cloud-content p {
    font-size: clamp(10px, 1.5vw, 14px);
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.cloud-image {
    width: 100%;
    height: 258px;
    margin-bottom: 10px;
    position: absolute;
    top: 200px;
    right: -90px;
    margin: 0;
}

.cloud-note {
    font-size: 17.2px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #000;
    font-weight: bold;
    padding: 10px;
    border: none;
    background-color: transparent;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    text-align: left;
    position: absolute;
    top: 470px;
    right: -70px;
}

.site-section {
    background-color: transparent;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.site-section h3 {
    font-size: clamp(12px, 1.8vw, 16px);
    margin-bottom: 15px;
    color: #2e7d32;
}

.helmet-image {
    width: 800px;
    height: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% - 45px), calc(-50% + 40px));
}



.site-images {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 15px);
    width: 100%;
    margin: 0;
    padding: 0 clamp(15px, 3vw, 30px);
}

.site-image:last-child {
    margin-left: 0;
}

.site-image {
    flex: 1;
    max-width: none;
    background-color: #f5f5f5;
    border-radius: 0;
    padding: 0;
    aspect-ratio: 1.5 / 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.site-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.site-image-note {
    position: absolute;
    bottom: clamp(10px, 2vw, 20px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    padding: clamp(10px, 1.5vw, 15px) clamp(8px, 1.2vw, 10px);
    font-size: clamp(18px, 3vw, 42px);
    text-align: center;
    color: #000;
    font-weight: bold;
    line-height: 1.2;
    z-index: 2;
    min-height: clamp(80px, 10vw, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-image-note.smaller-line-height {
    line-height: 1;
}

/* お問い合わせセクション */
.contact-section {
    padding: clamp(40px, 6vw, 80px) 0;
    background-color: #fff;
}

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

.contact-header h2 {
    color: #fff;
    background: #002559;
    display: block;
    text-align: center;
    padding: clamp(15px, 3vw, 20px) clamp(30px, 5vw, 40px);
    margin: 0 clamp(-60px, -8vw, -80px) 10px clamp(-60px, -8vw, -80px);
    font-size: clamp(28px, 5vw, 56px);
}

.contact-header p {
    color: #666;
}

.contact-form {
    margin: 0;
    padding: clamp(20px, 4vw, 60px);
    width: 100%;
    max-width: 100%;
}



.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group label:first-child {
    flex: 0 0 25%;
    min-width: 200px;
    text-align: left;
}

.form-group > div,
.form-group > input,
.form-group > textarea {
    flex: 0 0 70%;
    min-width: 300px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: clamp(16px, 2vw, 24px);
    transition: border-color 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-group label {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: bold;
    color: #333;
    min-width: 200px;
    flex-shrink: 0;
    margin-bottom: 0;
    padding-top: 4px;
}

.form-group.full {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form-group.full textarea {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: clamp(16px, 2vw, 24px);
}

.required-text {
    color: #F44336;
    border: 2px solid #F44336;
    padding: 2px clamp(3px, 0.8vw, 5px);
    margin-left: 5px;
    font-size: clamp(7px, 1vw, 14.5px);
    border-radius: 0;
}

.privacy-check {
    text-align: center;
    margin-bottom: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.privacy-link {
    font-size: clamp(8px, 1.44vw, 16px);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-weight: normal;
}

.privacy-link:hover {
    color: inherit;
    text-decoration: none;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: clamp(13px, 2.4vw, 27px);
    font-weight: bold;
}

.inquiry-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    align-items: flex-start;
}

.option-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    text-align: left;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: clamp(16px, 2vw, 24px);
    flex: 0 1 auto;
    text-align: left;
    white-space: nowrap;
}

.radio-label.demo-option {
    flex: 0 1 auto;
    min-width: auto;
    white-space: nowrap;
}

.radio-label.demo-option input {
    margin-right: 8px;
}

.option-row input[type="text"] {
    flex: 2;
    width: 700px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: clamp(16px, 2vw, 24px);
}

.radio-label input {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    accent-color: #1bac47;
}

.checkbox-label input {
    width: 27px;
    height: 27px;
    accent-color: #1bac47;
}

.btn-submit {
    width: 46.875%;
    padding: clamp(6px, 1vw, 9px) clamp(54px, 9vw, 90px);
    background: #000;
    color: #fff;
    border: none;
    border-radius: clamp(20px, 4vw, 30px);
    font-size: clamp(22px, 3.2vw, 29px);
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.btn-submit:hover {
    background: #1bac47;
    transform: translateY(-3px);
}

/* フッター */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: clamp(20px, 4vw, 40px) 0 clamp(10px, 2vw, 20px);
}

.footer-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(15px, 3vw, 30px);
}

.footer-logo h3 {
    font-size: clamp(16px, 2.5vw, 24px);
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-info {
    text-align: right;
    font-size: clamp(10px, 1.5vw, 13px);
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(10px, 2vw, 20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: clamp(9px, 1.2vw, 12px);
    opacity: 0.6;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .container,
    .features-grid,
    .cases-grid,
    .contact-form,
    .hero-bottom,
    .system-layout,
    .site-images {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .contact-form {
        padding: 40px 60px;
    }
    
    .system-layout {
        flex-direction: column;
        align-items: center;
    }
    
    .system-left,
    .system-right {
        width: 100%;
        max-width: 600px;
    }
    
    .site-images {
        flex-direction: column;
        align-items: center;
    }
    
    .site-image {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 1024px) {
    .hero-top {
        height: 50vw;
    }
    
    .hero-visual {
        width: 80%;
        height: 70%;
        justify-content: center;
    }
    
    .hero-big-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: clamp(48px, 8vw, 120px);
        gap: 20px;
        flex-direction: row;
    }
    
    .hero-bottom {
        padding: 0 30px;
    }
    
    .hero-bottom-section {
        padding: 3vw 0;
    }
    
    .helmet-showcase {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container,
    .features-grid,
    .cases-grid,
    .contact-form,
    .hero-bottom,
    .system-layout,
    .site-images {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-top {
        padding: 3vw 0;
        height: 40vw;
    }
    
    .hero-visual {
        width: 70%;
        height: 60%;
    }
    
    .hero-big-text {
        font-size: clamp(36px, 6vw, 80px);
        gap: 15px;
        flex-direction: row;
    }
    
    .hero-bottom-section {
        padding: 3vw 0;
    }
    
    .features-section {
        padding: 60px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cases-section {
        padding: 60px 0;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }
    
    .case-image {
        height: 200px;
    }
    
    .system-section {
        padding: 60px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 60px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .form-group label {
        min-width: 100%;
        margin-bottom: 8px;
    }
    
    .option-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .option-row input[type="text"] {
        width: 100%;
        margin-top: 10px;
    }
    
    .site-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .site-image {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }
    
    .footer {
        padding: 30px 20px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .helmet-center {
        flex-direction: column;
        padding: 0 2vw;
        gap: 2vw;
    }
    
    .center-helmet {
        position: static;
        width: 15vw;
        height: 15vw;
        transform: scale(6);
        margin: 0;
        top: 0;
        left: 0;
    }
    
    .center-logo {
        position: static;
        width: 30vw;
        height: 30vw;
        transform: scale(1.5);
        top: 0;
        left: 0;
    }
}

@media (max-width: 480px) {
    .container,
    .features-grid,
    .cases-grid,
    .contact-form,
    .hero-bottom,
    .system-layout,
    .site-images {
        padding: 0 15px;
    }
    
    .hero-top {
        padding: 4vw 0;
        height: 35vw;
    }
    
    .hero-visual {
        width: 80%;
        height: 50%;
    }
    
    .hero-big-text {
        font-size: clamp(28px, 5vw, 60px);
        gap: 10px;
        flex-direction: row;
    }
    
    .hero-bottom-section {
        padding: 4vw 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-box {
        padding: 20px;
    }
    
    .cases-grid {
        max-width: 300px;
    }
    
    .case-image {
        height: 180px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .site-image {
        width: 100%;
        max-width: 250px;
        height: 150px;
    }
    
    .system-layout {
        gap: 30px;
    }
    
    .system-left {
        padding: 20px;
    }
    
    .system-right {
        gap: 20px;
    }
    
    .section-title {
        font-size: 20px;
        padding: 15px 30px;
    }
    
    .btn-primary {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    .btn-submit {
        padding: 15px;
        font-size: 16px;
    }
}

/* 动画效果 */
.animate {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

/* 加载状态 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 表单提交状态 */
.form-status {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
