/* 基本的なリセットとフォント設定 */
body {
    margin: 0;
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.page-wrapper {
    margin: 0 auto;
    background-color: #fff;
    box-shadow: none;
}

a {
    text-decoration: none;
    color: #333; /* 例 */
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section {
    padding: 80px 4%;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

/* Contact Page Styles */
#contact-guide-section {
    padding-bottom: 0;
}

#contact-guide {
    text-align: center;
    margin: 40px 0 32px 0;
}

#contact-guide-text {
    color: #333;
}

#contact-form-section {
    padding-top: 0;
}

#contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    font-weight: bold;
    text-align: left;
    display: block;
}

.required-mark {
    color: #fff;
    font-size: 0.8em;
    background-color: #c51d2a;
    border-radius: 5px;
    padding: 2px 10px;
    margin-left: 4px;
    display: inline-block;
    line-height: 1;
}

.form-select,
.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: #f6f6f6;
    font-size: 1em;
    box-sizing: border-box;
}

.form-textarea {
    min-height: 120px;
}

.privacy-checkbox-container {
    margin-bottom: 24px;
    text-align: center;
}

.privacy-checkbox {
    margin-right: 8px;
}

.privacy-label {
    font-size: 0.95em;
}

.submit-button-container {
    text-align: center;
}

.submit-button {
    background: linear-gradient(90deg, #ff4b2b 0%, #c51d2a 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 16px 64px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}

.footer-spacer {
    height: 48px;
}

.section-header {
    margin-bottom: 40px;
    text-align: left;
    padding-left: 0;
    position: relative;
}

.section-header::after {
    /* content: ''; */
    /* position: absolute; */
    /* bottom: -10px; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* width: 60px; */
    /* height: 3px; */
    /* background-color: #c51d2a; */
    display: none;
}

.section-header h2 {
    font-size: 3em;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: bold;
    text-align: left;
    position: relative;
}

/* 英字タイトルの下に線を追加 */
.section-header h2::after {
    /* content: ''; */
    /* position: absolute; */
    /* bottom: -10px; */
    /* left: 0; */
    /* width: 60px; */
    /* height: 4px; */
    /* background-color: #c51d2a; */
    display: none;
}

/* サブタイトルを線の下に配置 */
.section-header .subtitle {
    font-size: 1.1em;
    color: #555;
    margin: 25px 0 30px 0;
    padding-left: 0;
    text-align: left;
}

/* 各セクション固有の色調整 */
#case .section-header h2::after {
    background-color: #fff;
}

#case .section-header .subtitle {
    color: #fff;
}

#company-info .section-header h2::after {
    background-color: #c51d2a;
}

#company-info .section-header .subtitle {
    color: #fff;
}

#contact .section-header h2::after {
    background-color: #fff;
}

#contact .section-header .subtitle {
    color: #fff;
}

.arrow-button {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    padding-right: 45px;
    display: inline-block;
    margin-top: 40px;
}

.arrow-button::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff6b35 5%, rgba(197, 29, 42, 0.9) 85%, rgba(197, 29, 42, 0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.arrow-button::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
}

#sitemap-section .arrow-button::after ,#sitemap-section .arrow-button::before{
   top: -6px;
}

.arrow-button:hover {
    color: #c51d2a;
}

.arrow-button:hover::after {
    border-right: 3px solid #c51d2a;
    border-top: 3px solid #c51d2a;
}

.section-header .intro-text {
    flex: 1;
    max-width: 600px;
}

.section-header .intro-text h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.section-header .intro-text p {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-header .subtitle::before {
    display: none;
}

/* --- ヘッダー --- */
#main-header {
    background-color: transparent;
    border-bottom: none;
    padding: 10px 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

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

.company-name {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 2em;
}

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

.company-name h1 {
    margin: 0;
    font-size: 1em;
    color: #fff;
    font-weight: bold;
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: right;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 10px 15px;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s, left 0.3s;
}

.main-navigation ul li a:hover {
    color: #ffd700;
}

.main-navigation ul li a:hover::after {
    width: 100%;
    left: 0;
}
.site-title a{
  color: #fff !important;
}
.site-title a:active,.site-title a:visited{
  color: #fff !important;
}

/* ドロップダウンプラス記号 */
.dropdown-plus {
    color: #c51d2a;
    font-size: 1.2em;
    font-weight: bold;
    margin-left: 5px;
}

/* モバイルナビゲーション内のドロップダウンプラス記号 */
.mobile-nav .dropdown-plus {
    color: #fff;
}

/* ドロップダウンメニュー */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    border: 1px solid #999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
    font-weight: normal;
    background: #999;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.dropdown-menu li a:hover {
    background-color: #999 !important;
    color: #c51d2a !important;
}

.dropdown-menu li a::after {
    display: none;
}

.contact-button {
    background: linear-gradient(135deg, #ff6b35 0%, #ff6b35 5%, rgba(197, 29, 42, 0.9) 85%, rgba(197, 29, 42, 0.9) 100%);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    margin-left: 20px;
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.contact-button:hover {
    background: linear-gradient(135deg, #ff7a45 0%, #ff7a45 5%, rgba(197, 29, 42, 1) 85%, rgba(197, 29, 42, 1) 100%);
    text-decoration: none;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- Hero Section --- */
#hero {
    position: relative;
    height: 600px;
    background-image: url('../images/home1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 4%;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.diagonal-band {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 29, 42, 0.8);
    clip-path: polygon(15% 0, 35% 0, 20% 100%, 0% 100%);
    z-index: 2;
}

.white-band-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 29, 42, 0.2);
    clip-path: polygon(20% 0,40% 0,10% 100%,0 100%, 0% 60%);
    z-index: 1;
}

.white-band-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    clip-path: polygon(0 0, 20% 0, 30% 100%, 10% 100%);
    z-index: 1;
}

.hero-message {
    position: relative;
    z-index: 3;
    max-width: 500px;
    margin-top: 100px;
    margin-left: 50px;
}

.hero-message h2 {
    font-size: 2.5em;
    color: #fff;
    font-weight: 300;
    text-shadow: none;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* --- 事業内容 --- */
#business-content {
    background-color: #fff;
}

.business-items-top {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.business-items-top .business-item {
    flex: 0 1 380px;
    max-width: 400px;
}

.business-items-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.business-items-bottom .business-item {
    flex: 0 1 380px;
    max-width: 400px;
}

.business-item:nth-child(4),
.business-item:nth-child(5) {
    grid-column: span 1.5;
}

.business-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    padding: 25px;
    position: relative;
    padding-bottom: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.business-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.business-item h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.business-item p {
    font-size: 0.95em;
    line-height: 1.7;
}

.item-arrow {
    position: absolute;
    bottom: 35px;
    right: 30px;
    width: 30px;
    height: 30px;
    border: 1px solid #c51d2a;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-sizing: border-box;
}

.item-arrow::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #c51d2a;
    border-top: 2px solid #c51d2a;
    transform: rotate(45deg);
}

.business-card .item-arrow{
  border: 1px solid #c51d2a;
  background: #c51d2a;
}
.business-card .item-arrow::after{
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
}

.business-item:hover .item-arrow {
    background-color: #c51d2a;
    border-color: #c51d2a;
}

.business-item:hover .item-arrow::after {
    border-right-color: #fff;
    border-top-color: #fff;
}

/* --- 導入実績 --- */
#case {
    background-color: #c51d2a;
    border-radius: 0 80px 80px 0;
    margin: 0;
    padding: 80px 4%;
}

#case .section-header h2,
#case .section-header .subtitle {
    color: #fff;
}

#case .section-header .subtitle::before {
    background-color: #fff;
}

/* Case スライダー */
.case-slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    width: 100%;
}

.case-items {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
    width: 100%;
}

.case-group {
    display: flex;
    width: 100%;
    flex-shrink: 0;
    justify-content: center;
    gap: 15px;
}

.case-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
    position: relative;
    padding-bottom: 50px;
}

.case-category {
    display: block;
    background-color: #666;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: left;
    width: fit-content;
}

.case-content h5 {
    font-size: 1.1em;
    margin: 10px 0;
    color: #333;
    text-align: left;
}

.company-name-case {
    color: #666;
    font-size: 0.9em;
    margin: 10px 0;
    padding-left: 15px;
    position: relative;
    text-align: left;
}

.company-name-case::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 15px;
    background-color: #c51d2a;
}

#case .item-arrow {
    border-color: #e0e0e0;
}

#case .view-all-link {
    text-align: right;
    margin-top: 40px;
    margin-bottom: 0;
    padding-right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

#case .arrow-button {
    display: flex;
    align-items: center;
    position: relative;
    background: none;
    color: #fff;
    border-radius: 28px;
    width: auto;
    height: 56px;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 0;
    padding: 0 56px 0 32px;
    box-shadow: none;
    transition: background 0.3s, color 0.3s;
}

#case .arrow-button::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#case .arrow-button::before {
    content: '';
    position: absolute;
    right: 25px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 3px solid #c51d2a;
    border-top: 3px solid #c51d2a;
    transform: translateY(-50%) rotate(45deg);
    z-index: 3;
    background: none;
    pointer-events: none;
    transition: border-color 0.3s;
}

#case .arrow-button:hover::before {
    border-right: 3px solid #c51d2a;
    border-top: 3px solid #c51d2a;
}

/* --- ニュース --- */
#news .section-header {
    text-align: center;
}

#news .section-header .subtitle::before {
    left: 50%;
    transform: translate(-50%, -50%);
}

.news-list {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: left;
}

.news-list li {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.news-list li a {
    display: flex;
    flex-direction: column;
    padding: 25px 15px 25px 35px;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s;
    gap: 15px;
}

.news-list li a:hover {
    background-color: #f9f9f9;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.news-category {
    border: 1px solid #c51d2a;
    color: #c51d2a;
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 4px;
    min-width: 90px;
    text-align: center;
}

time {
    font-size: 0.9em;
    color: #666;
}

.news-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.news-title {
    margin: 0;
    font-weight: bold;
    line-height: 1.6;
    flex: 1;
}

.list-arrow {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
    position: relative;
    margin-left: 20px;
    flex-shrink: 0;
}

.list-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #c51d2a;
    border-top: 2px solid #c51d2a;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: border-color 0.3s;
}

.news-list li a:hover .list-arrow {
    background-color: #c51d2a;
    border-color: #c51d2a;
}

.news-list li a:hover .list-arrow::after {
    border-right-color: #fff;
    border-top-color: #fff;
}

#news .view-all-link {
    text-align: right;
}

#news .arrow-button {
    color: #c51d2a;
}

/* --- 企業概要 --- */
#company-info {
    background-color: #5b5758;
    color: #fff;
    border-radius: 80px 0 0 80px;
    margin: 80px 0 0;
    padding: 80px 5%;
}

#company-info .section-header h2,
#company-info .section-header .subtitle {
    color: #fff;
}

#company-info .section-header .subtitle::before {
    background-color: #fff;
}

.about-us-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.about-us-links {
    flex: 1;
}

.about-us-links ul li {
    border-bottom: 1px solid #666;
}

.about-us-links ul li:first-child {
    border-top: 1px solid #666;
}

.about-us-links ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.about-us-links ul li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.list-arrow-about {
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    border-radius: 50%;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

.list-arrow-about::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transition: border-color 0.3s;
}

.about-us-links ul li a:hover .list-arrow-about {
    background-color: #c51d2a;
    border-color: #c51d2a;
}

.about-us-links ul li a:hover .list-arrow-about::after {
    border-right-color: #fff;
    border-top-color: #fff;
}

.about-us-logo {
    flex: 1;
    text-align: center;
}

.about-us-logo img {
    max-width: 200px;
    height: auto;
    filter: none;
}

#company-info .view-all-link {
    text-align: right;
}

#company-info .arrow-button {
    color: #fff;
}

#company-info .arrow-button::after {
    background-color: #fff;
    color: #c51d2a;
}

/* --- ボタン共通スタイル --- */
.btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* --- フッター --- */
#main-footer {
    background-color: #5b5758;
    color: #bbb;
    padding: 40px 4%;
    border-radius: 80px 80px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #666;
    margin-bottom: 20px;
}

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

.footer-identity .company-logo {
    height: 40px;
    width: auto;
    filter: none;
}

.footer-identity p {
    margin: 0;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
}

.footer-navigation ul {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

.footer-navigation ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9em;
}

.footer-navigation ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-links li a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.8em;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #fff;
    text-decoration: none;
}

.copyright {
    font-size: 0.8em;
    color: #888;
    margin: 0;
}

/* --- レスポンシブ対応 (例: スマートフォン向け) --- */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column; /* メニューを縦並びにする */
    }

    .main-navigation ul li {
        margin: 10px 0;
    }

    .hero-message h2 {
        font-size: 1.4em;
        padding: 0 20px;
    }

    .hero-message {
        bottom: 20px;
        left: 20px;
        max-width: 300px;
    }

    .business-item, .company-section-item {
        flex: 1 1 100%; /* スマホでは1列表示 */
        min-width: unset; /* 最小幅を解除 */
    }

    .slide-item {
        width: 90%; /* スライダーアイテムを大きく表示 */
        margin: 0 auto; /* 中央寄せ */
    }

    /* ブログアイテムのモバイル表示 */
    .blog-item a {
        flex-direction: column;
        height: auto;
    }

    .blog-item img {
        width: 100%;
        height: 200px;
    }

    .blog-content {
        padding: 20px 25px 50px;
    }

    .blog-content .item-arrow {
        position: absolute;
        bottom: 20px;
        right: 25px;
    }
}

@media (max-width: 900px) {
    .business-items-top, .business-items-bottom {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    #case .view-all-link {
        justify-content: center;
        padding-right: 0;
    }
    .case-group {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .case-item {
        flex: 1 1 100%;
        width: 100%;
        min-width: unset;
    }
}

/* --- 採用情報 --- */
#career {
    background-color: #f9f9f9;
    margin-bottom: 60px;
}

#career .section-header {
    text-align: center;
}

#career .section-header .subtitle::before {
    left: 50%;
    transform: translate(-50%, -50%);
}

.career-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.career-text {
    flex: 1;
    text-align: left;
}

.career-text h3 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.career-text p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

#career .arrow-button {
    color: #333;
}

#career .arrow-button::after {
    background-color: #c51d2a;
    color: #fff;
}

.career-image {
    flex: 1.2;
}

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

/* --- お問い合わせ --- */
#contact {
    background-color: #c51d2a;
    color: #fff;
    padding: 0;
    border-radius: 40px;
    margin: 0 40px;
    margin-bottom: 48px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#contact .section-header {
    text-align: left;
    margin: 0;
    padding-left: 40px;
    max-width: 100%;
    box-sizing: border-box;
}

#contact .section-header h2,
#contact .section-header .subtitle {
    color: #fff;
}

#contact .section-header .subtitle::before {
    background-color: #fff;
}

.contact-info {
    text-align: left;
    margin-left: -300px;
    padding-right: 6vw;
}

.tel-label {
    font-size: 0.9em;
    margin: 0;
}

.tel-number {
    font-size: 2.5em;
    font-weight: bold;
    margin: 5px 0;
}

.reception-time {
    font-size: 0.9em;
    margin: 0 0 30px 0;
}

.contact-form-btn,
.target-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #c51d2a;
    border-radius: 32px;
    padding: 22px 48px;
    font-size: 1.15em;
    font-weight: bold;
    min-width: 260px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    gap: 10px;
}

.contact-form-btn:hover,
.target-btn-white:hover {
    background: #f5f5f5;
    color: #c51d2a;
}

.contact-form-link {
    margin-top: 20px;
}

.contact-form-link a {
    background-color: #fff;
    color: #c51d2a;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    position: relative;
    padding-right: 100px; /* ← 余白を拡大 */
    white-space: nowrap;
    min-width: 220px;
}

.contact-form-link a::after {
    content: '';
    position: absolute;
    right: 10px; /* ← 右端から40pxに変更 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #c51d2a;
    border-top: 2px solid #c51d2a;
    transition: right 0.3s;
}

.contact-form-link a:hover {
    background-color: #f0f0f0;
}

.contact-form-link a:hover::after {
    right: 20px;
}

/* --- ブログ --- */
#blog {
    background-color: #f9f9f9;
}

#blog .section-header {
    text-align: center;
}

#blog .section-header .subtitle::before {
    left: 50%;
    transform: translate(-50%, -50%);
}

.blog-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-item {
	grid-template-rows: subgrid;
}

.blog-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    height: auto;
}

.blog-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-content {
    padding: 20px 15px;
    text-align: left;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 200px;
    min-width: 0;
}

.blog-content time {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

.blog-content h5 {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 8px;
    line-height: 1.5;
    padding-right: 50px;
}

.blog-content p {
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0 0 40px;
    flex: 1;
    padding-right: 50px;
}

.blog-content .item-arrow {
    position: absolute;
    bottom: 20px;
    right: 30px;
}

#blog .item-arrow {
    border-color: #e0e0e0;
}

#blog a:hover .item-arrow {
    background-color: #c51d2a;
    border-color: #c51d2a;
}

#blog a:hover .item-arrow::after {
    border-right-color: #fff;
    border-top-color: #fff;
}

#blog .view-all-link {
    text-align: center;
}

#blog .arrow-button {
    color: #333;
}

#blog .arrow-button::after {
    background-color: #c51d2a;
    color: #fff;
}

#blog .arrow-button::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
}

/* Business intro スタイル */
.business-intro {
    margin-bottom: 40px;
}

.business-intro h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.business-intro p {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

#business-content .section-header {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}
#business-content .header-left {
    flex: 0 0 450px;
}
#business-content .header-right {
    min-width: 0;
    flex: 1 1 320px;
}
#business-content .header-right h3 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #333;
}
#business-content .header-right p {
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555;
    max-width: none;
    padding: 0 2vw;
    box-sizing: border-box;
    word-break: break-word;
}
@media (max-width: 900px) {
    #business-content .section-header {
        flex-direction: column;
        gap: 20px;
    }
    #business-content .header-left, #business-content .header-right {
        flex: unset;
        min-width: 0;
        width: 100%;
    }
}

#business-content .header-left h2 {
    white-space: nowrap;
}

/* 未定の画像（placeholder）のサイズ設定 */
.case-item img[src*="placeholder"] {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.blog-item img[src*="placeholder"] {
    width: 400px;
    height: 250px;
    object-fit: cover;
}

.case-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c51d2a;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: #a01721;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(245, 245, 245, 0.6); /* 薄い白で透過（非アクティブ） */
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #e0e0e0; /* 薄いグレー（アクティブ） */
}

@media (max-width: 900px) {
    #contact .section-header,
    #contact .contact-info {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
    }
    .site-title a:active,.site-title a:visited{
      color: #333 !important;
    }
}

#career .arrow-button::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
}

#business-content .arrow-button::before {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
}

/* --- Business Hero Section --- */
#business-hero {
    position: relative;
    height: 500px;
    background-image: url(../images/home1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    width: 100%;
    height: 500px;
    object-fit: cover;
    opacity: 1;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

#business-hero .diagonal-band {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 29, 42, 0.8);
    clip-path: polygon(15% 0, 35% 0, 20% 100%, 0% 100%);
    z-index: 2;
}

#business-hero .white-band-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 29, 42, 0.2);
    clip-path: polygon(20% 0, 40% 0, 10% 100%, 0 100%, 0% 60%);
    z-index: 1;
}

#business-hero .white-band-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    clip-path: polygon(0 0, 20% 0, 30% 100%, 10% 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-text-container {
    max-width: 1200px;
    margin: 0;
    margin-left: 165px;
    padding-left: 30px;
    color: #fff;
    text-align: left;
    position: relative;
}

.hero-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 0.2em;
    text-align: left;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1em;
    margin-bottom: 1.5em;
    text-align: left;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
}

#business-hero .breadcrumb {
    color: #fff;
    font-size: 0.95em;
    text-align: left;
    position: absolute;
    bottom: 30px;
    left: 165px;
    z-index: 4;
    padding: 8px 15px;
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#business-hero .breadcrumb a {
    color: #fff;
    text-decoration: underline;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* --- Business Cards Section --- */
#business-cards {
    background: #fff;
    padding: 60px 0;
    max-width: 1300px;
    margin: 0 auto;
}

.business-cards-container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.business-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 5px;
    gap: 32px;
    position: relative;
}

.business-card-image {
    width: 500px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.business-card-content {
    flex: 1;
    max-width: 500px;
    width: 85%;
    margin: 0 auto;    
    position: relative;
}

.business-card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 0.1em;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    text-align: center;
}

.business-card-description {
    font-size: 1.0em;
    color: #666;
    text-align: left;
    margin: 12px auto;
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
}

.business-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #c51d2a;
    position: absolute;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    overflow: hidden;
}

.business-card-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb347 0%, #ff6b35 60%, rgba(197,29,42,0) 100%);
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

.arrow-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #c51d2a;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

.arrow-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #c51d2a;
    border-top: 2px solid #c51d2a;
    transition: border-color 0.3s;
}

.case-card:hover .arrow-icon {
    background-color: #c51d2a;
    border-color: #c51d2a;
}

.case-card:hover .arrow-icon::after {
    border-right-color: #fff;
    border-top-color: #fff;
}

.course-title::after{
  content: '';
    display: block;
    margin: 16px auto 0 auto;
    width: 60px;
    height: 3px;
    background-color: #c51d2a;
    border-radius: 2px;
}

/* 2-2.html（AI経営者向け講座ページ）専用スタイル */

.lecture-section-white {
    background: #fff;
}
.lecture-section-gray {
    background: #f7f7f7;
}
.lecture-section-dark {
    background: #666;
    color: #fff;
    padding: 60px 0;
}
.lecture-lead-title {
    color: #c51d2a;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}
.lecture-lead-text {
    max-width: 800px;
    margin: 0 auto 2em;
    font-size: 1.1em;
    text-align: left;
}
.lecture-cards-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.lecture-card-col {
    flex-direction: column;
    align-items: center;
    width: 320px;
    min-width: 280px;
}
.lecture-card-img-sm {
    width: 280px;
    height: 120px;
}
.lecture-card-content-center {
    text-align: center;
    max-width: none;
}
.lecture-step-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.lecture-step {
    text-align: center;
}
.lecture-step-circle {
    background: #c51d2a;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin: 0 auto 10px;
}
.lecture-step-desc {
    font-size: 0.95em;
    color: #eee;
}
.lecture-price-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.lecture-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.lecture-price-badge {
    background: #c51d2a;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap;
}
.lecture-price-main {
    font-size: 3em;
    font-weight: bold;
    color: #333;
}
.lecture-price-note {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
    margin-top: 8px;
}
.lecture-price-btn {
    margin-top: 24px;
}
.lecture-price-btn a {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6b35 0%, #ff6b35 5%, rgba(197, 29, 42, 0.9) 85%, rgba(197, 29, 42, 0.9) 100%);
    color: #fff;
    padding: 35px 55px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 80px;
    box-shadow: 0 4px 16px rgba(197,29,42,0.15);
}

.lecture-price-btn a::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}

.lecture-price-btn a:hover {
    background: linear-gradient(135deg, #ff7a45 0%, #ff7a45 5%, rgba(197, 29, 42, 1) 85%, rgba(197, 29, 42, 1) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 24px rgba(197,29,42,0.22);
}

.lecture-price-btn a:hover::after {
    right: 16px;
}

.lecture-target-row {
    display: flex;
    justify-content: center;
}
.lecture-target-box {
    background: #c51d2a;
    color: #fff;
    border-radius: 20px;
    padding: 64px 0 64px 0;
    font-size: 1.2em;
    text-align: center;
    max-width: 1100px;
    width: 100%;
}
.lecture-target-list {
    margin: 1em 0 0 0;
    padding: 10px 80px;
    list-style: none;
    color: #fff;
    text-align: left;
    font-size: 0.9em;
}
.lecture-target-list li {
    margin-bottom: 0.5em;
    text-align: left;
}
.lecture-feature-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
}
.lecture-feature-card {
    flex-direction: column;
    align-items: center;
    width: 450px;
    min-width: 400px;
}
.lecture-feature-img {
    width: 500px;
    height: 320px;
}
.lecture-feature-title {
    color: #333;
    font-size: 1.8em;
}
.feature-label {
    color: #c51d2a;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 4px;
    text-align: center;
}
@media (max-width: 900px) {
    .lecture-cards-row, .lecture-feature-row, .lecture-step-row {
        flex-direction: column;
        align-items: center;
    }
    .lecture-card-col, .lecture-feature-card {
/*         width: 90vw; */
		width: 90%;
        min-width: 0;
    }
    .lecture-target-box {
        padding: 24px 8vw;
    }
}

/* --- 2-2.html 追加分 --- */
.lecture-img-sm {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    background: #fff;
}
.lecture-img-md {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 1em;
    object-fit: cover;
}
.lecture-feature-img {
    width: 400px;
    height: 200px;
}
.lecture-btn-round {
    background: #c51d2a;
    color: #fff;
    border-radius: 30px;
    padding: 16px 40px;
    font-size: 1.1em;
    display: inline-block;
}
.lecture-btn-round:hover {
    background: #a81a24;
}
.lecture-spacer-48 {
    height: 48px;
}
.lecture-list-none {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lecture-list-white li {
    color: #fff;
}
.lecture-list-gray li {
    color: #888;
}
.lecture-mb-1em {
    margin-bottom: 1em;
}
.lecture-mb-05em {
    margin-bottom: 0.5em;
}
.lecture-mt-2em {
    margin-top: 2em;
}
.lecture-text-center {
    text-align: center;
}
.lecture-fw-bold {
    font-weight: bold;
}
.lecture-fz-05em {
    font-size: 0.5em;
}
.lecture-fz-095em {
    font-size: 0.95em;
}
.lecture-fz-12em {
    font-size: 1.2em;
}
.lecture-fz-13em {
    font-size: 1.3em;
}
.lecture-fz-2em {
    font-size: 2em;
}
.lecture-maxw-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.lecture-maxw-none {
    max-width: none;
}
.lecture-minw-200 {
    min-width: 200px;
}
.lecture-py-32-48 {
    padding: 32px 48px;
}
.lecture-py-24-8vw {
    padding: 24px 8vw;
}
.lecture-bg-main {
    background: #c51d2a;
}
.lecture-color-main {
    color: #c51d2a;
}
.lecture-color-white {
    color: #fff;
}
.lecture-color-gray {
    color: #888;
}
@media (max-width: 900px) {
    .lecture-py-32-48 {
        padding: 24px 8vw;
    }
}

/* 実施までの流れ（flowセクション）デザイン */
.navigator-flow-box {
    background-color: transparent;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.navigator-flow-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 36px;
    color: #fff;
}
.navigator-flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    position: relative;
}
.navigator-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 0;
    min-width: 120px;
    max-width: 200px;
    position: relative;
    z-index: 2;
    height: 200px;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
    overflow: hidden;
    border-radius: 0 !important;
}
.navigator-flow-icon {
    width: 100px;
    height: 100px;
    border: 1px solid #c51d2a;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #c51d2a;
    margin-bottom: 12px;
    position: relative;
}
.navigator-flow-stepnum {
    position: absolute;
    top: -35px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.5em;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
    z-index: 2;
    pointer-events: none;
}
.navigator-flow-label {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
}
.navigator-flow-desc {
    font-size: 0.9em;
    color: #000;
    text-align: center;
    line-height: 1.5;
    max-width: 450px;
    margin: 0 auto;
}
.navigator-flow-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    z-index: 1;
}

.navigator-flow-arrow {
    position: absolute;
    top: 35px;
    left: 100%;
    width: calc(100% - 56px);
    height: 2px;
    background: #c51d2a;
    border-radius: 2px;
    z-index: 0;
}

.navigator-flow-step:not(:last-child) .navigator-flow-arrow {
    display: block;
}

.navigator-flow-step:last-child .navigator-flow-arrow {
    display: none;
}

@media (max-width: 900px) {
    .navigator-flow-steps {
        flex-direction: column;
        gap: 32px;
    }
    .navigator-flow-arrow {
        position: absolute;
        left: 28px;
        top: 100%;
        width: 2px;
        height: calc(100% - 56px);
    }
}

.section-header.lecture-text-center {
    position: relative;
}

.section-header.lecture-text-center::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #c51d2a;
}

/* 実施までの流れセクションの画像スタイル */
#flow-icon-1,
#flow-icon-2,
#flow-icon-3,
#flow-icon-4 {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* 2-3.html 研修目的セクション */
#training-purpose {
    padding-bottom: 40px;
}

#purpose-title {
    font-size: 2em;
    text-align: center;
}

.purpose-box-container {
    max-width: 600px;
    margin: 0 auto 24px auto;
}

.purpose-box {
    background: #888;
    color: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    font-size: 1.1em;
}

.purpose-subtitle {
    text-align: center;
    margin: 32px 0 16px 0;
    font-weight: bold;
    color: #c51d2a;
    font-size: 1.4em;
}

.purpose-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 24px auto;
}

/* 2-3.html 特徴セクション */
#training-features {
    padding-top: 0;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #eee;
    min-width: 250px;
    max-width: 300px;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px auto;
    background: #bbb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#feature-img-1,
#feature-img-2,
#feature-img-3,
#feature-img-4 {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* 2-3.html 対象者セクション */
.target-section {
    background: #c51d2a;
    color: #fff;
    border-radius: 32px;
    padding: 64px 0 64px 0;
}

.target-title {
    color: #fff;
    margin-bottom: 40px;
    position: relative;
}

.target-title::after {
    content: '';
    display: block;
    margin: 18px auto 0 auto;
    width: 60px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.target-box {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    background: #fff;
    color: #333;
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
    font-size: 1.2em;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.target-subtitle {
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 1.4em;
}

.target-list {
    text-align: left;
    display: inline-block;
    margin: 0 auto 0 auto;
    padding-left: 0;
    list-style: none;
    font-size: 1em;
}

.target-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 120px;
    justify-content: center;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    background: #888888;
    border-radius: 24px;
    padding: 32px;
    position: relative;
}

.target-buttons::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 80%;
    background-color: #fff;
    border-radius: 1px;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.button-label {
    color: #fff;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}

.subsidy-note {
    font-size: 0.8em;
    font-weight: normal;
}

.target-btn-white,
.target-btn-gradient {
    border-radius: 32px;
    padding: 22px 48px;
    font-size: 1.15em;
    font-weight: bold;
    min-width: 260px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s;
}

.target-btn-white {
    background: #fff;
    color: #c51d2a;
}

.target-btn-gradient {
    background: linear-gradient(90deg, #ff4b2b 0%, #c51d2a 100%);
    color: #fff !important;
    border-radius: 32px;
    padding: 22px 48px;
    font-size: 1.15em;
    font-weight: bold;
    min-width: 260px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.target-btn-gradient .arrow {
    color: #fff;
    margin-left: 8px;
    font-size: 1.2em;
}

/* 2-3.html お客様の声セクション */
#customer-voices {
    padding-bottom: 40px;
}

#voices-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}
#voices-title::after {
    content: '';
    display: block;
    margin: 18px auto 0 auto;
    width: 60px;
    height: 3px;
    background: #c51d2a;
    border-radius: 2px;
}

.voices-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1800px;
    margin: 0 auto;
}

.voice-card {
    flex: 1 1 350px;
    min-width: 320px;
    max-width: 380px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voice-company {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    color: #888888;
    margin-bottom: 8px;
    font-size: 1.1em;
    gap: 8px;
    position: relative;
    border: 2px solid #888888;
    border-radius: 10px;
    padding: 2px 10px 2px 16px;
    background: #fff;
    overflow: visible;
    width: auto;
    max-width: 180px;
}
.voice-company::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: #c51d2a;
    border-radius: 50%;
    margin-right: 0;
}

.voice-content {
    color: #666;
    font-size: 0.98em;
    line-height: 1.8;
    padding-left: -35px;
    text-align: left;
}

#voice-card-3 {
    flex: 0 1 820px;
    max-width: 820px;
    min-width: 600px;
}

.voice-company-bar {
    width: 100%;
    height: 1px;
    background: #888888;
    margin: 12px 0 16px 0;
    border-radius: 1px;
}

/* 2-4.html main内セクション用カスタムCSS */

#lead {
  padding-top: 56px;
  padding-bottom: 56px;
}
.accent-red {
  color: #c51d2a !important;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}
.lead-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15em;
}

#service.service-section {
  background: #888;
  color: #fff;
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.service-title {
  color: #fff !important;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
}
.service-card {
  background: #fff;
  color: #333;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  min-width: 220px;
  max-width: 280px;
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}
.service-card-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
}
.service-card-title {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
.service-card-desc {
  font-size: 1em;
  text-align: center;
  color: #444;
}
.service-flow-img {
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  overflow: hidden;
}
.service-flow-img img {
  width: 100%;
  display: block;
}

#reason.reason-section {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 56px;
}
.reason-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.reason-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  min-width: 220px;
  max-width: 600px;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  transition: box-shadow 0.2s;
}
.reason-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}
.reason-card-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
  display: block;
}
.reason-contact-btn {
  margin: 40px 0 0 0;
  text-align: center;
}

#plan.plan-section {
  background: #c51d2a;
  color: #fff;
  border-radius: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.plan-title {
  color: #fff !important;
}
.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.plan-card, .plan-option-card {
  max-width: 300px;
  min-width: 220px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .plan-card {
    flex: 1 1 45%;
    max-width: 48%;
  }
}
@media (max-width: 800px) {
  .plan-card {
    flex: 1 1 90%;
    max-width: 98%;
  }
}
.plan-price {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 8px;
  color: #111;
}
.plan-options {
  margin: 32px 0 0 0;
  text-align: center;
}
.plan-option-title {
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
}
.plan-option-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}
.plan-option-card {
  background: #fff;
  color: #c51d2a;
  min-width: 180px;
  max-width: 200px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 16px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.plan-option-price {
  font-size: 1.3em;
  font-weight: bold;
}
.plan-note {
  font-size: 0.9em;
  color: #fff;
  margin-top: 12px;
}

#flow.flow-section {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 56px;
}
.flow-box {
  margin: 0 auto;
  max-width: 1100px;
}
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.flow-step {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  min-width: 220px;
  max-width: 260px;
  padding: 24px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.flow-stepnum {
  background: #c51d2a;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 8px;
}
.flow-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.flow-label {
  font-weight: bold;
  color: #000;
  margin-top: 8px;
  margin-bottom: 4px;
}
.flow-desc {
  font-size: 0.98em;
  color: #333;
  margin-bottom: 8px;
}
.flow-arrow {
  width: 32px;
  height: 32px;
  margin: 0 auto;
}

#contact.contact-section {
  background: #c51d2a;
  color: #fff;
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.contact-header h2 {
  color: #fff !important;
  text-align: center;
}
.contact-header .subtitle {
  color: #fff;
  text-align: left;
}
.contact-info {
  text-align: center;
  margin-top: 32px;
}
.tel-label {
  font-size: 1.1em;
  margin-bottom: 8px;
}
.tel-number {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 8px;
}
.reception-time {
  font-size: 1em;
  margin-bottom: 16px;
}
.contact-form-link a {
  background: #fff;
  color: #c51d2a;
  border-radius: 24px;
  padding: 12px 32px;
  font-weight: bold;
  display: inline-block;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  min-width: 220px;
}
.contact-form-link a:hover {
  background: #c51d2a;
  color: #fff;
  border: 1px solid #fff;
}

@media (max-width: 900px) {
  #service.service-section, #plan.plan-section, #contact.contact-section, #reason.reason-section, #flow.flow-section {
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 16px;
  }
  .service-cards, .reason-cards, .plan-cards, .plan-option-cards, .flow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reason-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
  }
  .reason-card .business-card-content {
    text-align: center;
  }
  .reason-card .business-card-title {
    text-align: center;
  }
  .reason-card .business-card-description {
    text-align: center;
  }
  .service-flow-img, .plan-cards, .plan-option-cards, .flow-box {
    max-width: 100%;
  }
}

/* 選ばれる理由セクションのカード内フロー図を横並びに */
.reason-card .flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}
.reason-card .flow-step {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  min-width: 120px;
  max-width: 140px;
  padding: 12px 8px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.reason-card .flow-stepnum {
  background: #c51d2a;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 6px;
}
.reason-card .flow-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.reason-card .flow-label {
  font-weight: bold;
  margin-top: 4px;
  margin-bottom: 2px;
  font-size: 0.85em;
  text-align: center;
}
.reason-card .flow-desc {
  font-size: 0.75em;
  color: #333;
  margin-bottom: 4px;
  text-align: center;
}
.reason-card .flow-arrow {
  width: 16px;
  height: 16px;
  margin: 0 auto;
}

.flow-vertical-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  text-align: left;
}

.flow-step-vertical {
  width: 100%;
  margin-bottom: 16px;
}

.flow-step-divider {
  align-self: center;
}

.flow-step-label {
  min-width: 80px;
  color: #c51d2a;
  font-weight: bold;
  font-size: 1.1em;
  margin-right: 12px;
  text-align: left;
}

.flow-step-title {
  font-size: 1.05em;
  font-weight: bold;
  width: 500px;
  margin-bottom: 0;
  margin-right: 16px;
}

.flow-step-desc {
  font-size: 0.98em;
  color: #555;
  width: 1000px;
  margin-bottom: 0;
}

.flow-step-divider {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #888888;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.4em;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.flow-step-divider::before {
  content: "↓";
  color: #fff;
  font-size: 1.1em;
  display: block;
  line-height: 1;
}

@media (max-width: 700px) {
  .flow-step-vertical {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
  }
  .flow-step-label {
    margin-bottom: 8px;
    margin-right: 0;
  }
}

.service-card-label {
  font-size: 1.05em;
  font-weight: bold;
  color: #c51d2a;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-align: center;
  width: 100%;
  display: block;
}

.service-card-title {
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.red-circle {
  width: 36px;
  height: 36px;
  background: #c51d2a;
  border-radius: 50%;
  margin: 0 auto 6px auto;
  display: block;
}

.flow-stepnum-red {
  color: #c51d2a;
  font-weight: bold;
  text-align: center;
  font-size: 0.95em;
  margin-bottom: 4px;
}

.lecture-flow-label.flow-label {
  color: #000;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-top: 8px;
}

.flow-stepnum-red {
  color: #c51d2a;
  font-weight: bold;
  text-align: center;
  font-size: 0.95em;
  margin-bottom: 4px;
}

/* フロー図のステップを右向きに尖らせる */
.lecture-flow-step:not(:last-child) {
  position: relative;
}

.lecture-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #fff;
  z-index: 2;
  box-shadow: 2px 0 4px rgba(0,0,0,0.1);
}

.lecture-flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #e0e0e0;
  z-index: 1;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .lecture-flow-step:not(:last-child)::after,
  .lecture-flow-step:not(:last-child)::before {
    display: none;
  }
}

.lecture-flow-label.flow-label {
  color: #000;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-top: 8px;
}

/* --- stepごとのclip-path指定 --- */
/* step01: 右だけ尖り */
.lecture-flow-step:not(:last-child):first-child {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* step02, step03: 左も右も矢印型 */
.lecture-flow-step:not(:first-child):not(:last-child) {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%,20px 50%, 0 0);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* step04: 左のみ凹み */
.lecture-flow-step:last-child {
    clip-path: polygon(0 0, 100% 0,100% 100%, 0 100%,20px 50%, 0 0);
  overflow: visible;
}

.navigator-flow-label.flow-label {
  color: #000;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-top: 8px;
}

.flow-stepnum-red {
  color: #c51d2a;
  font-weight: bold;
  text-align: center;
  font-size: 0.95em;
  margin-bottom: 4px;
}

/* フロー図のステップを右向きに尖らせる */
.navigator-flow-step:not(:last-child) {
  position: relative;
}

.navigator-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #fff;
  z-index: 2;
  box-shadow: 2px 0 4px rgba(0,0,0,0.1);
}

.navigator-flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #e0e0e0;
  z-index: 1;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .navigator-flow-step:not(:last-child)::after,
  .navigator-flow-step:not(:last-child)::before {
    display: none;
  }
}

.navigator-flow-label.flow-label {
  color: #000;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-top: 8px;
}

/* --- stepごとのclip-path指定 --- */
/* step01: 右だけ尖り */
.navigator-flow-step:not(:last-child):first-child {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* step02, step03: 左も右も矢印型 */
.navigator-flow-step:not(:first-child):not(:last-child) {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%,20px 50%, 0 0);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* step04: 左のみ凹み */
.navigator-flow-step:last-child {
    clip-path: polygon(0 0, 100% 0,100% 100%, 0 100%,20px 50%, 0 0);
  overflow: visible;
}

/* === 2-2.html フロー用 lecture-flow-デザイン（backup.cssより転記） === */
.lecture-flow-box {
    background-color: #666;
    padding: 60px 40px;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.lecture-flow-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 36px;
    color: #fff;
    position: relative;
}
.lecture-flow-title::after {
    content: '';
    display: block;
    margin: 16px auto 0 auto;
    width: 60px;
    height: 3px;
    background-color: #c51d2a;
    border-radius: 2px;
}
.lecture-flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    position: relative;
}
.lecture-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 0;
    min-width: 120px;
    max-width: 200px;
    position: relative;
    z-index: 2;
    height: 200px;
}
.lecture-flow-icon {
    width: 70px;
    height: 70px;
    border: 1px solid #c51d2a;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
}
.lecture-flow-stepnum {
    position: absolute;
    top: -35px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.5em;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
    z-index: 2;
    pointer-events: none;
}
.lecture-flow-label {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
}
.lecture-flow-desc {
    font-size: 0.9em;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    max-width: 450px;
    margin: 0 auto;
}
.lecture-flow-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    z-index: 1;
}
.lecture-flow-arrow {
    position: absolute;
    top: 35px;
    left: 100%;
    width: calc(100% - 56px);
    height: 2px;
    background: #c51d2a;
    border-radius: 2px;
    z-index: 0;
}
.lecture-flow-step:not(:last-child) .lecture-flow-arrow {
    display: block;
}
.lecture-flow-step:last-child .lecture-flow-arrow {
    display: none;
}
@media (max-width: 900px) {
    .lecture-flow-steps {
        flex-direction: column;
        gap: 32px;
    }
    .lecture-flow-arrow {
        position: absolute;
        left: 28px;
        top: 100%;
        width: 2px;
        height: calc(100% - 56px);
    }
}

.reason-card .business-card-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.reason-card .business-card-title {
  text-align: left;
  margin-bottom: 8px;
}

.reason-card .business-card-description {
  text-align: left;
  margin: 12px 0 16px 0;
}

.navigator-flow-step:last-child {
    margin-right: 0;
}

.flow-note {
    color: #fff;
    font-size: 0.9em;
    text-align: right;
    margin-top: 20px;
    padding-right: 20px;
}

/* --- Reason Contact Button Custom --- */
.free-consult-label {
  color: #c51d2a;
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-align: center;
}

.reason-contact-btn .arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #ff4b2b 0%, #c51d2a 100%);
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 32px;
  padding: 22px 48px;
  min-width: 260px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  margin: 0 auto;
  margin-top: 0;
  position: relative;
}
.reason-contact-btn .arrow-button:hover {
  background: linear-gradient(90deg, #ff6b35 0%, #c51d2a 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(197,29,42,0.18);
}

.arrow-icon {
  display: inline-block;
  margin-left: 16px;
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
  transition: margin-left 0.2s;
}
.reason-contact-btn .arrow-button:hover .arrow-icon {
  margin-left: 22px;
}

.plan-desc-white {
  color: #fff;
  text-align: center;
  margin-top: 24px;
  font-size: 1.1em;
}

.plan-title-black {
  color: #111;
}

.plan-number {
  color: #e60012;
  font-weight: bold;
  text-align: center;
  margin-bottom: -50px;
}

.plan-title-underline {
  width: 200px;
  height: 3px;
  background: #e60012;
  margin: 1px auto;
  border-radius: 2px;
}

.plan-subtitle {
  text-align: center;
  color: #111;
  font-size: 0.98em;
  margin-bottom: 4px;
  font-weight: bold;
}

.plan-option-card .business-card-title,
.plan-option-card .plan-option-price {
  color: #111;
}

.plan-option-desc {
  text-align: left;
  color: #555;
  font-size: 0.95em;
  margin: 12px 10px 16px 10px;
}

.option-number {
  color: #e60012;
  font-weight: bold;
  text-align: center;
  margin-bottom: -50px;
}

.option-time {
  font-size: 0.8em;
  vertical-align: baseline;
}

.plan-option-card {
  max-width: 300px;
}

.flow-step-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.flow-step-label {
  min-width: 90px;
  font-weight: bold;
  font-size: 1.1em;
  margin-right: 12px;
  text-align: left;
  flex: 0 0 auto;
}

.flow-step-title {
  font-size: 1.05em;
  font-weight: bold;
  margin-bottom: 0;
  margin-right: 16px;
  flex: 0 0 220px;
  white-space: nowrap;
}

.flow-step-desc {
  font-size: 0.98em;
  color: #555;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.flow-step-vertical {
  width: 100%;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.flow-vertical-container {
  max-width: 900px;
}

.section-padding-bottom {
  padding-bottom: 40px;
}

.section-title-large {
  font-size: 2em;
}

/* 2-5.html用のスタイル */
.lead-content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 24px auto;
}

.lead-text-wrapper {
  flex: 1 1 320px;
  text-align: left;
  min-width: 260px;
}

.lead-accent-text {
  color: #c51d2a;
  font-weight: bold;
}

.lead-description {
  margin: 16px 0 0 0;
}

.section-no-padding-top {
  padding-top: 0;
}

.section-subtitle {
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #c51d2a;
  border-radius: 2px;
}

.example-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.example-card {
  background: #fff;
  flex: 1 1 22%;
  min-width: 220px;
  max-width: 260px;
}

.example-contact-section {
  margin: 32px 0 0 0;
  text-align: center;
}

.example-note {
  margin-bottom: 8px;
  color: #888;
  font-size: 1.2em;
  font-weight: bold;
}

.example-question {
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 8px;
  color: #fff;
  background: #c51d2a;
  padding: 12px 100px;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
}

.example-invitation {
  margin-bottom: 16px;
  font-size: 1.3em;
  font-weight: bold;
}

.contact-gradient-button {
  background: linear-gradient(90deg, #ff4b2b 0%, #c51d2a 100%);
  color: #fff;
  border-radius: 30px;
  padding: 18px 40px;
  font-weight: bold;
}

.production-examples-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.production-example-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.production-example-placeholder {
  width: 100%;
  max-width: 400px;
  background: #e0e0e0;
  height: 160px;
  border-radius: 12px;
}

.production-example-label {
  font-size: 1em;
  color: #333;
  text-align: center;
  font-weight: bold;
}

.production-examples-labels {
  display: none;
}

.pricing-section {
  background: #666;
  color: #fff;
  border-radius: 32px;
  margin: 0 40px;
  margin-bottom: 80px;
}

.pricing-title {
  color: #fff;
}

.pricing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pricing-box {
  background: #fff;
  color: #c51d2a;
  padding: 32px 48px;
  border-radius: 16px;
  font-size: 1.3em;
  font-weight: bold;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
}

.pricing-highlight {
  font-size: 1.5em;
  color: #c51d2a;
  font-weight: bold;
}

.pricing-note {
  font-size: 0.8em;
  color: #888;
}

.pricing-message {
  margin-top: 16px;
  font-size: 1em;
}

.title-lead-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.lead-accent-text {
  color: #c51d2a;
  font-weight: bold;
  font-size: 1.4em;
}

.title-lead-container .section-header {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.title-lead-container .lead-content-container {
  flex: 1;
  margin: 0;
}

.example-card .business-card-image {
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .production-examples-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .production-example-placeholder {
    max-width: 100%;
  }
}

/* ロジ☆アカ ページ専用スタイル */
#logiaca-lead {
  padding-bottom: 40px;
}

#lead-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px auto;
}

#lead-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 16px;
  text-align: center;
}

#lead-title ruby {
  color: #c51d2a;
}

#lead-title rt {
  color: #c51d2a;
  font-size: 0.7em;
}

#lead-description {
  font-size: 1.1em;
  line-height: 2;
  text-align: center;
}

#logiaca-overview {
  padding-top: 0;
}

#overview-title {
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

#overview-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #c51d2a;
  border-radius: 2px;
}

#overview-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

#overview-card-1,
#overview-card-2,
#overview-card-3,
#overview-card-4 {
  background: #fff;
  flex: 1;
  min-width: 0;
  max-width: none;
}

#overview-card-1 .business-card-image,
#overview-card-2 .business-card-image,
#overview-card-3 .business-card-image,
#overview-card-4 .business-card-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

#overview-card-1 .business-card-title,
#overview-card-2 .business-card-title,
#overview-card-3 .business-card-title,
#overview-card-4 .business-card-title {
  position: relative;
}

#overview-card-1 .business-card-title::after,
#overview-card-2 .business-card-title::after,
#overview-card-3 .business-card-title::after,
#overview-card-4 .business-card-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #c51d2a;
  border-radius: 1px;
}

#logiaca-age {
  padding-bottom: 40px;
}

#age-title {
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

#age-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #c51d2a;
  border-radius: 2px;
}

#age-content {
  text-align: center;
}

#age-range {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 8px;
}

#age-description {
  font-size: 1em;
  color: #333;
}

#logiaca-details {
  background: #666;
  color: #fff;
  border-radius: 32px;
  margin: 0 40px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

#logiaca-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/business-contents2-6-1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

#details-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

#details-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 16px;
}

#details-button {
  background: linear-gradient(90deg, #ff4b2b 0%, #c51d2a 100%);
  color: #fff;
  border-radius: 30px;
  padding: 18px 40px;
  font-weight: bold;
}

/* Case ページ専用スタイル */
#case-lead {
  padding-bottom: 40px;
}

#lead-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 24px auto;
}

#lead-title-section {
  flex: 1 1 420px;
  min-width: 260px;
}

#lead-title {
  font-size: 2em;
  position: relative;
  text-align: left;
}

#lead-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #c51d2a;
  border-radius: 2px;
}

#lead-content-section {
  flex: 2 1 600px;
  min-width: 320px;
  text-align: left;
}

#lead-subtitle {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: left;
}

#lead-highlight {
  color: #c51d2a;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: left;
}

#lead-description {
  font-size: 1em;
  text-align: left;
}

#highlight-number {
  font-size: 1.5em;
}

#case-cards {
  padding-top: 0;
}

#cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.case-card {
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0 0 16px 0;
  display: flex;
  flex-direction: column;
}

.card-image {
  background: #e0e0e0;
  height: 120px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.4;
}

.card-content {
  padding: 16px 16px 0 16px;
  text-align: left;
}

.card-category {
  display: inline-block;
  background: #c51d2a;
  color: #fff;
  font-size: 0.9em;
  padding: 2px 10px;
  border-radius: 8px 8px 8px 0;
  margin-bottom: 8px;
}

.card-title {
  font-weight: bold;
  margin-bottom: 4px;
  text-align: left;
}

.card-company {
  color: #888;
  font-size: 0.95em;
  text-align: left;
  position: relative;
  padding-left: 12px;
}

.card-company::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: #c51d2a;
  border-radius: 1px;
}

.card-arrow {
  text-align: right;
  padding: 8px 16px 0 0;
}

.arrow-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #c51d2a;
  color: #c51d2a;
  line-height: 32px;
  text-align: center;
  font-size: 1.2em;
}

.card-placeholder {
  color: #888;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

.main-navigation ul li a {
}

.main-navigation ul li a:hover {
  color: #c51d2a;
}

#breadcrumb-top {
  margin-top: 120px;
  margin-bottom: 0;
  font-size: 0.95em;
  color: #888;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
/*   padding-left: 40px; */
  padding:0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: none;
  overflow-x: scroll; /*横にはみ出した要素をスクロールする*/
  white-space: nowrap; /*自動改行しないようにする*/
  /* スクロールバーを常に非表示にする */
  -ms-overflow-style: none; /* IE, Edge */
  scrollbar-width: none; /* Firefox */
}

/* WebKit系（Chrome, Safari）のスクロールバーを非表示にする */
#breadcrumb-top::-webkit-scrollbar {
  display: none;
}

#breadcrumb-top a, #breadcrumb-top span {
  display: inline;
  color: #888;
  text-decoration: none;
}
#breadcrumb-top a:hover {
  text-decoration: underline;
  color: #c51d2a;
}

.company-name h1 {
  color: #222;
}

#case-detail-template {
    padding: 80px 5%;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.case-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    gap: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* 実績カードの赤いコンテナ */
.case-cards-wrapper {
    background: #c51d2a;
    border-radius: 0 40px 40px 0;
    padding: 48px 0 32px 0;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

#cards-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0 0 16px 0;
    display: flex;
    flex-direction: column;
}

.back-link-row {
    display: flex;
    justify-content: center;
    max-width: 1100px;
    margin: 32px auto 0 auto;
    padding-right: 24px;
}

.arrow-button.arrow-button-left {
    display: inline-flex;
    align-items: center;
    background: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
    gap: 8px;
    padding: 0;
}

.arrow-circle-left {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background: #c51d2a;
    position: relative;
    margin-right: 8px;
}

.arrow-circle-left::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(-135deg);
    width: 10px;
    height: 10px;
    border-right: 2.5px solid #fff;
    border-top: 2.5px solid #fff;
}

.arrow-button.arrow-button-left:hover .arrow-circle-left {
    background: #fff;
    border-color: #c51d2a;
}

.arrow-button.arrow-button-left:hover .arrow-circle-left::after {
    border-right-color: #c51d2a;
    border-top-color: #c51d2a;
}

.arrow-button.arrow-button-left:hover {
    color: #c51d2a;
}

.case-detail-label {
    display: inline-block;
    background: #c51d2a;
    color: #fff;
    font-size: 0.95em;
    padding: 4px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.case-detail-image img {
    width: 600px;
    height: 360px;
    background: #e0e0e0;
    border-radius: 12px;
    object-fit: contain;
    display: block;
}

.case-detail-text {
    flex: 2 1 0;
    min-width: 240px;
    height: 100%;
}

.case-detail-image {
    flex: 1 1 260px;
    min-width: 200px;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-button.arrow-button-left::after,
.arrow-button.arrow-button-left::before {
    display: none !important;
}

/* --- 4-1.html Newsページ専用スタイル --- */

/* カテゴリフィルタ */
.news-filter-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 40px 0 24px 0;
    width: 200px;
}

.news-filter-button {
    border: 1px solid #c51d2a;
    background: #fff;
    color: #c51d2a;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.news-filter-button.active {
    font-weight: bold;
    background: #c51d2a;
    color: #fff;
}

.news-filter-button:hover {
    background: #c51d2a;
    color: #fff;
}

/* 記事リスト */
.news-content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto;
    padding-left: 200px;
    align-items: flex-start;
}

.news-list-container {
    flex: 1;
    max-width: 1500px;
}

.news-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    width: 800px;
    padding: 24px;
    transition: all 0.3s ease;
}

.news-list-item:hover {
    background-color: #f9f9f9;
}

.news-item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-category-badge {
    display: inline-block;
    border: 1px solid #c51d2a;
    color: #c51d2a;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 0.95em;
    margin-right: 0;
}

.news-date {
    color: #888;
    font-size: 0.95em;
}

.news-title {
    font-weight: bold;
    margin-left: 0;
}

.news-arrow {
    position: relative;
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #c51d2a;
    border-top: 2px solid #c51d2a;
    transition: border-color 0.3s;
}

.news-list-item:hover .news-arrow {
    background-color: #c51d2a;
    border-color: #c51d2a;
}

.news-list-item:hover .news-arrow::after {
    border-right-color: #fff;
    border-top-color: #fff;
}

/* ページネーション */
.news-pagination {
    text-align: center;
    margin: 32px 0 60px 0;
}

.pagination-item {
    margin: 0 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pagination-item.active {
    font-weight: bold;
}

.pagination-item:hover {
    color: #c51d2a;
}

.pagination-dots {
    margin: 0 8px;
    color: #c51d2a;
    font-size: 1.2em;
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid #c51d2a;
    border-radius: 50%;
    position: relative;
    background: #c51d2a;
}

.pagination-dots::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-content-wrapper {
        flex-direction: column;
        padding-left: 10px;
        gap: 20px;
    }
    
    .news-filter-container {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .news-filter-button {
        width: auto;
        min-width: 120px;
        text-align: center;
    }
    
    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .news-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    .news-meta-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-title {
        margin-left: 0;
    }
    
    .news-arrow {
        align-self: flex-end;
    }
}

.news-section {
    padding: 0 0 40px 0;
}

.news-spacer {
    height: 48px;
}

/* 4-2.htmlページ専用の一覧に戻るボタンスタイル */
.arrow-button.arrow-button-left {
    color: #333;
    font-weight: bold;
}

.arrow-button.arrow-button-left:hover {
    color: #c51d2a;
}

/* 4-2.htmlページ専用のcase-detail-imageスタイル */
.case-detail-image {
    width: 100%;
    margin: 30px 0;
}

.case-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 4-2.htmlページ専用のcase-detail-dateスタイル */
.case-detail-date {
    color: #666;
    font-size: 0.9em;
    margin-left: 15px;
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.news-detail-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 20px;
}

.news-detail-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.news-detail-title {
    margin-bottom: 30px;
    font-size: 2.2em;
    line-height: 1.4;
}

.news-detail-date {
    color: #666;
    font-size: 0.9em;
    margin-left: 0;
}

.news-detail-label {
    font-size: 1em;
    color: #c51d2a;
    font-weight: bold;
    margin-bottom: 0;
    background: #fff;
    border: 2px solid #c51d2a;
    border-radius: 999px;
    padding: 4px 18px;
    display: inline-block;
    line-height: 1.5;
}

.news-detail-description {
    margin-top: 30px;
    line-height: 1.8;
    font-size: 1.1em;
}

/* 5-1.html Career ページ用スタイル */

/* リード文セクション */
.career-lead-section {
    padding-bottom: 0;
}

.career-lead-content {
    text-align: center;
    margin: 40px 0 32px 0;
}

.career-lead-accent {
    color: #c51d2a;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.career-lead-description {
    color: #333;
}

/* 募集要項セクション */
.career-requirements-section {
    padding-top: 0;
}

.career-requirements-container {
    max-width: 800px;
    margin: 0 auto 32px auto;
    background: #fff;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: left;
}

.career-requirement-item {
    margin-bottom: 18px;
}

.career-requirement-item:last-child {
    margin-bottom: 0;
}

.career-requirement-title {
    font-weight: bold;
}

.career-requirement-divider {
    color: #c51d2a;
    font-size: 0.9em;
    letter-spacing: -1px;
}

/* 採用プロセスセクション */
.career-process-section {
    background: #666;
    color: #fff;
    border-radius: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.career-process-container {
    max-width: 800px;
    margin: 0 auto;
}

.career-process-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}



.career-process-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    color: #333;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: bold;
    font-size: 1.1em;
}

.career-step-number {
    color: #c51d2a;
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 8px;
}

.career-step-description {
    margin-left: 0;
    font-weight: normal;
    font-size: 0.95em;
    color: #888;
    text-align: left;
}



/* 福利厚生セクション */
.career-benefits-section {
    padding-top: 0;
}

.career-benefits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.career-benefit-card {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 240px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.career-benefit-icon {
    font-size: 2.2em;
    margin-bottom: 12px;
    color: #c51d2a;
}

.career-benefit-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.career-benefit-description {
    color: #888;
    font-size: 0.95em;
}

/* セクションヘッダーの中央揃え */
.career-section-header-center {
    text-align: center;
    font-size: 2em;
}

.career-section-header-white {
    text-align: center;
    color: #fff;
    font-size: 2em;
}

/* 余白用 */
.career-spacer {
    height: 48px;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .career-benefits-container {
        flex-direction: column;
        align-items: center;
    }
    
    .career-benefit-card {
        max-width: 300px;
    }
    
    .career-process-step {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .career-step-description {
        margin-left: 0;
        margin-top: 8px;
    }
}

.career-benefit-icon {
    font-size: 2.2em;
    margin-bottom: 12px;
    color: #c51d2a;
}

.career-benefit-circle {
    width: 60px;
    height: 60px;
    background-color: #c51d2a;
    border-radius: 50%;
    margin: 0 auto 12px auto;
}

/* Blog List Section */
.blog-list-section {
  padding-bottom: 0;
}

.blog-list-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-list-item {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.blog-list-thumb {
  min-width: 64px;
  max-width: 64px;
  height: 64px;
  background: #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #bbb;
}

.blog-list-thumb img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.4;
}

.blog-list-content {
  flex: 1;
  position: relative;
}

.blog-list-content::before {
  content: '';
  display: block;
  width: calc(100% - 40px); /* arrow分の余白 */
  height: 1px;
  background: #e0e0e0;
  position: absolute;
  left: 0;
  top: calc(1.1em + 0.95em + 25px);
}

.blog-list-text {
  color: #333;
  font-size: 1em;
  text-align: left;
  padding-top: 16px;
}

.blog-list-title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 4px;
}

.blog-list-date {
  color: #888;
  font-size: 0.95em;
  margin-bottom: 8px;
}

.blog-list-arrow {
  display: flex;
  align-items: center;
}

.blog-list-arrow span {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #c51d2a;
  color: #c51d2a;
  line-height: 32px;
  text-align: center;
  font-size: 1.2em;
}

.blog-pagination {
  text-align: center;
  margin: 32px 0 0 0;
}

.blog-pagination span {
  margin: 0 8px;
}

.blog-pagination-current {
  font-weight: bold;
}

.blog-pagination-dot {
  color: #c51d2a;
  font-size: 1.2em;
}

.blog-bottom-space {
  height: 48px;
}

.blog-list-title,
.blog-list-date,
.blog-list-text {
  text-align: left;
}

/* Privacy Policy Section */
.privacy-policy-section {
    padding-bottom: 0;
    text-align: left;
}
.privacy-policy-container {
    max-width: 900px;
    margin: 0 auto;
}
.privacy-policy-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 32px;
}
.privacy-policy-heading {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 32px;
}

/* Spacer above contact section on privacy policy page */
.privacy-contact-spacer {
    height: 48px;
}

/* --- id転記: section-header --- */
#business-content-header,
#case-header,
#news-header,
#company-info-header,
#career-header,
#contact-header,
#blog-header {
    margin-bottom: 40px;
    text-align: left;
    padding-left: 0;
    position: relative;
}
#business-content-header h2,
#case-header h2,
#news-header h2,
#company-info-header h2,
#career-header h2,
#contact-header h2,
#blog-header h2 {
    font-size: 3em;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: bold;
    text-align: left;
    position: relative;
}
#business-content-header .subtitle,
#case-header .subtitle,
#news-header .subtitle,
#company-info-header .subtitle,
#career-header .subtitle,
#contact-header .subtitle,
#blog-header .subtitle {
    font-size: 1.1em;
    color: #555;
    margin: 25px 0 30px 0;
    padding-left: 0;
    text-align: left;
}
/* --- id転記: section-header内の左右 --- */
#business-content-header-left,
#business-content-header-right {
    display: inline-block;
    vertical-align: top;
}
/* --- id転記: 各セクションの主要ブロック --- */
#about-us-content { display: flex; justify-content: space-between; }
#about-us-links { flex: 1; }
#about-us-links-list { margin: 0; padding: 0; }
#about-us-logo { flex: 1; text-align: right; }
#career-content { display: flex; justify-content: space-between; }
#career-text { flex: 1; }
#career-image { flex: 1; text-align: right; }
#contact-container { max-width: 700px; margin: 0 auto; }
#contact-info { margin-top: 24px; }
#contact-form-link { margin-top: 16px; }
#blog-items { display: flex; gap: 32px; }
#blog-item-1, #blog-item-2 { flex: 1; }
#blog-content-1, #blog-content-2 { padding: 16px; }

#contact-top-space {
    height: 48px;
}

/* --- サイトマップ専用スタイル（id指定） --- */
#sitemap-section {
    padding-bottom: 0;
}
#sitemap-container {
    max-width: 1100px;
    margin: 0 auto;
}
#sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
@media (max-width: 1100px) {
    #sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    #sitemap-grid {
        grid-template-columns: 1fr;
    }
}
#sitemap-title-1, #sitemap-title-2, #sitemap-title-3, #sitemap-title-4, #sitemap-title-5 {
    font-weight: bold;
    margin-bottom: 8px;
}
#sitemap-title-margin-1, #sitemap-title-margin-2, #sitemap-title-margin-3, #sitemap-title-margin-4 {
    font-weight: bold;
    margin: 24px 0 8px 0;
}
#sitemap-list-1, #sitemap-list-2 {
    margin: 0 0 0 12px;
    padding: 0;
    font-size: 0.98em;
}
#sitemap-list-1, #sitemap-list-2 {
    text-align: left;
}
#sitemap-list-1 li, #sitemap-list-2 li {
    position: relative;
    padding-left: 1.2em;
}
#sitemap-list-1 li::before, #sitemap-list-2 li::before {
    content: '－';
    position: absolute;
    left: 0;
    color: #c51d2a;
    font-weight: bold;
}
#sitemap-title-1, #sitemap-title-2, #sitemap-title-3, #sitemap-title-4, #sitemap-title-5,
#sitemap-title-margin-1, #sitemap-title-margin-2, #sitemap-title-margin-3, #sitemap-title-margin-4 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 8px;
}
#sitemap-title-1::after, #sitemap-title-2::after, #sitemap-title-3::after, #sitemap-title-4::after, #sitemap-title-5::after,
#sitemap-title-margin-1::after, #sitemap-title-margin-2::after, #sitemap-title-margin-3::after, #sitemap-title-margin-4::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;
  position: relative;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* モバイルナビ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(197, 29, 42, 0.95) 0%, rgba(255, 75, 43, 0.95) 100%);
  z-index: 1100;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: 0.3s;
  backdrop-filter: blur(10px);
  padding: 20px;
  box-sizing: border-box;
}

/* 閉じるボタン */
.mobile-close-btn {
  position: relative;
  align-self: flex-end;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  margin-bottom: 40px;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-close-btn:active {
  transform: scale(0.95);
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: 600px;
  flex: 1;
  justify-content: center;
}
.mobile-nav ul li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.mobile-nav ul li a {
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.mobile-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
  border-left-color: rgba(255, 255, 255, 0.5);
}
.mobile-nav .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.7);
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-radius: 0 0 8px 8px;
}
.mobile-nav .dropdown-menu.active {
  max-height: 300px;
  transition: max-height 0.3s ease-in;
}
.mobile-nav .dropdown-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav .dropdown-menu li:last-child {
  border-bottom: none;
}
.mobile-nav .dropdown-menu li a {
  padding: 15px 20px 15px 40px;
  font-size: 1em;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.mobile-nav .dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateX(5px);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}
.mobile-nav.active {
  display: flex;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1300px未満でのハンバーガーメニュー表示 */
@media (max-width: 1300px) {
  .main-navigation {
    display: none;
  }
  .contact-button {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: none;
  }
  .mobile-nav.active {
    display: flex;
  }
  
  /* ヘッダーの背景を半透明にしてメニューを目立たせる */
  #main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .header-container {
    padding: 15px 10px;
  }
  
  .company-name h1 {
    color: #333;
    text-shadow: none;
  }
}

@media (max-width: 900px) {
  .main-navigation {
    display: none;
  }
  .contact-button {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: none;
  }
  .mobile-nav.active {
    display: flex;
  }
}

/* 1.html専用 section-headerとサブタイトルの間の赤い横線 */
.section-header-redline {
  width: 60px;
  height: 3px;
  background: #c51d2a;
  margin-bottom: 8px;
  margin-top: 0;
  margin-left: 0;
  border-radius: 2px;
}
/* 赤背景セクション用の白線 */
#case .section-header-redline,
#contact .section-header-redline,
#company-info .section-header-redline {
  background: #fff;
}

.header-left-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-hr {
  width: 80px;
  height: 2px;
  background: #fff;
  border: none;
  margin: 8px 0;
  margin-left: 0;
}

@media (max-width: 600px) {
  .hero-message h2 {
    text-align: left;
    padding-left: 10vw;
    font-size: 2em;
  }
}

@media (max-width: 600px) {
  .about-us-content {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .about-us-links {
    width: 100%;
  }
  .about-us-logo {
    text-align: center;
    margin-top: 24px;
    width: 100%;
  }
}

.header-right p {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 0 0;
  padding: 0 2vw;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .header-right p {
    max-width: 100%;
    padding: 0 4vw;
  }
}

@media (max-width: 600px) {
  .career-content {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .career-text {
    width: 100%;
  }
  .career-image {
    width: 100%;
    text-align: center;
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding-left: 6vw;
    padding-right: 0;
  }
  .contact-container .section-header {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
  }
  .contact-container .contact-info {
    width: fit-content;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
  }

}

@media (max-width: 600px) {
  .blog-items {
    flex-direction: column;
    gap: 24px;
  }
  .blog-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }
  .blog-content {
    width: 100%;
    max-width: 100%;
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
  }
}


@media (max-width: 600px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding-bottom: 16px;
    margin-bottom: 12px;
    padding-left: 6vw;
  }
  .footer-identity {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    justify-content: flex-start;
    padding-left: 0;
  }
  .footer-navigation {
    width: 100%;
    max-width: 100%;
    padding-left: 6vw;
  }
  .footer-navigation ul {
    justify-content: flex-start;
    gap: 16px 24px;
    flex-wrap: wrap;
  }
}

/* スマホ時のデザイン改善 - 事業内容ページ */
@media (max-width: 768px) {
    /* ヒーローセクションのスマホ対応 */
    #business-hero {
        height: 60vh;
        min-height: 400px;
    }

    #business-hero .hero-background {
        height: 100%;
        object-fit: cover;
    }

    #business-hero .hero-content {
        padding: 0 20px;
        bottom: 60px;
    }

    #business-hero .hero-text-container {
        text-align: left;
        max-width: 100%;
    }

    #business-hero .hero-title {
        font-size: 2.5em;
        margin-bottom: 10px;
        text-align: left;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    }

    #business-hero .hero-subtitle {
        font-size: 1.2em;
        text-align: left;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
    }

    #business-hero .breadcrumb {
        padding: 15px 20px;
        font-size: 0.9em;
        text-align: left;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }

    /* レスポンシブフォントサイズ - 768px以下 */
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.4em;
    }

    h4 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.95em;
        line-height: 1.5;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .section-header .subtitle {
        font-size: 1em;
    }

    /* 事業内容カードのスマホ対応 */
    .business-cards-main {
        padding: 40px 20px;
    }

    .business-cards-container {
        gap: 30px;
        justify-content: flex-start;
    }

    .business-card {
        flex-direction: column;
        padding: 25px 20px;
        min-height: auto;
        text-align: left;
    }

    .business-card-image {
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    .business-card-content {
        text-align: left;
        padding: 0;
    }

    .business-card-title {
        font-size: 1.4em;
        margin-bottom: 15px;
        text-align: left;
    }

    .business-card-description {
        font-size: 0.95em;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: left;
    }

    .business-card .item-arrow {
        position: static;
        margin: 0 0 0 auto;
        width: 40px;
        height: 40px;
    }

    /* お問い合わせセクションのスマホ対応 */
    #contact {
        margin: 0 20px 40px 20px;
        border-radius: 20px;
    }

    .contact-container {
        flex-direction: column;
        padding: 40px 20px;
        text-align: left;
        align-items: flex-start;
    }

    #contact .section-header {
        padding-left: 0;
        margin-bottom: 30px;
        text-align: left;
    }

    #contact .section-header h2 {
        font-size: 2em;
        text-align: left;
    }

    #contact .section-header .subtitle {
        text-align: left;
    }

    .contact-info {
        margin-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .tel-number {
        font-size: 2em;
        text-align: left;
    }

    .contact-form-link {
        margin-top: 20px;
        text-align: left;
    }

    .contact-form-link a {
        padding: 15px 30px;
        font-size: 1em;
        min-width: 200px;
    }
}

/* より小さいスマホ画面対応 */
@media (max-width: 480px) {
    #business-hero {
        height: 50vh;
        min-height: 350px;
    }

    #business-hero .hero-title {
        font-size: 2em;
        text-align: left;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    }

    #business-hero .hero-subtitle {
        font-size: 1.1em;
        text-align: left;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
    }

    .business-cards-main {
        padding: 30px 15px;
    }

    .business-card {
        padding: 20px 15px;
        text-align: left;
    }

    .business-card-title {
        font-size: 1.3em;
        text-align: left;
    }

    .business-card-description {
        font-size: 0.9em;
        text-align: left;
    }

    #contact {
        margin: 0 15px 30px 15px;
    }

    .contact-container {
        padding: 30px 15px;
        text-align: left;
    }

    #contact .section-header h2 {
        font-size: 1.8em;
        text-align: left;
    }

    .tel-number {
        font-size: 1.8em;
        text-align: left;
    }

    /* レスポンシブフォントサイズ - 480px以下 */
    body {
        font-size: 13px;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.1em;
    }

    p {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .section-header h2 {
        font-size: 1.6em;
    }

    .section-header .subtitle {
        font-size: 0.95em;
    }

    .business-card-title {
        font-size: 1.2em;
    }

    .business-card-description {
        font-size: 0.85em;
    }

    /* 全体的なスマホ対応改善 */
    .section {
        padding: 40px 20px;
    }

    h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .section-header .subtitle {
        font-size: 1em;
        margin: 15px 0 20px 0;
    }

    /* フッターのスマホ対応改善 */
    .footer-content {
        padding: 20px 15px;
    }

    .footer-identity {
        margin-bottom: 20px;
    }

    .footer-identity p {
        font-size: 1em;
    }

    .footer-navigation ul {
        gap: 10px 15px;
		display:block;
    }

    .footer-navigation ul li a {
        font-size: 0.9em;
    }

    .footer-bottom {
        padding: 15px;
    }

    .footer-links {
        margin-bottom: 10px;
    }

    .footer-links li a {
        font-size: 0.85em;
    }

    .copyright {
        font-size: 0.8em;
    }

    /* ハンバーガーメニューの改善 */
    .hamburger {
        /* width: 30px;
        height: 25px; */
        display: flex;
    }

    .hamburger span {
        height: 3px;
    }

    /* モバイルナビゲーションの改善 */
    .mobile-nav {
        padding: 60px 20px 20px 20px;
    }

    .mobile-nav ul li a {
        font-size: 1.1em;
        padding: 12px 0;
    }

    .mobile-nav .dropdown-menu li a {
        font-size: 1em;
        padding: 8px 0 8px 20px;
    }

    /* お問い合わせボタンの改善 */
    .contact-button {
        padding: 6px 12px;
        font-size: 0.85em;
        min-width: auto;
    }

    /* タッチ操作の改善 */
    .business-card,
    .contact-form-link a,
    .arrow-button,
    .mobile-nav ul li a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }

    /* スクロールの改善 */
    html {
        scroll-behavior: smooth;
    }

    /* フォーカス表示の改善 */
    .business-card:focus,
    .contact-form-link a:focus,
    .arrow-button:focus,
    .mobile-nav ul li a:focus {
        outline: 2px solid #c51d2a;
        outline-offset: 2px;
    }
}

/* タブレット向けレスポンシブデザイン */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-wrapper {
        max-width: 100%;
        margin: 0;
    }

    .section {
        padding: 60px 40px;
    }

    /* セクションヘッダーの左寄せ調整 */
    .section-header {
        text-align: left;
        padding-left: 0;
    }

    .section-header h2 {
        text-align: left;
        font-size: 2.2em;
    }

    .section-header .subtitle {
        text-align: left;
        font-size: 1.1em;
        padding-left: 0;
    }

    /* 事業内容カードの左寄せ調整 */
    .business-cards-container {
        gap: 25px;
        justify-content: flex-start;
    }

    .business-card {
        padding: 30px 25px;
        text-align: left;
    }

    .business-card-content {
        text-align: left;
    }

    .business-card-title {
        font-size: 1.5em;
        text-align: left;
    }

    .business-card-description {
        font-size: 1em;
        text-align: left;
    }

    /* お問い合わせセクションの左寄せ調整 */
    #contact {
        margin: 0 40px 50px 40px;
    }

    .contact-container {
        padding: 60px 40px;
        text-align: left;
        justify-content: flex-start;
    }

    .contact-info {
        text-align: left;
        margin-left: 0;
        padding-right: 0;
    }

    .tel-number {
        font-size: 2.2em;
        text-align: left;
    }

    /* ヒーローセクションのシャドウ調整 - タブレット */
    #business-hero .hero-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    }

    #business-hero .hero-subtitle {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
    }

    #business-hero .breadcrumb {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }

    /* レスポンシブフォントサイズ - タブレット */
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.9em;
    }

    h3 {
        font-size: 1.6em;
    }

    h4 {
        font-size: 1.3em;
    }

    p {
        font-size: 0.98em;
        line-height: 1.6;
    }
}

/* 既存のメディアクエリを更新 */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation ul li {
        margin: 10px 0;
    }

    .hero-message h2 {
        font-size: 1.4em;
        padding: 0 20px;
    }

    .hero-message {
        bottom: 20px;
        left: 20px;
        max-width: 300px;
    }

    .business-item, .company-section-item {
        flex: 1 1 100%;
        min-width: unset;
    }

    .slide-item {
        width: 90%;
        margin: 0 auto;
    }

    .blog-item a {
        flex-direction: column;
        height: auto;
    }

    .blog-item img {
        width: 100%;
        height: 200px;
    }

    .blog-content {
        padding: 20px 25px 50px;
    }

    .blog-content .item-arrow {
        position: absolute;
        bottom: 20px;
        right: 25px;
    }

    /* ヘッダーのスマホ対応改善 */
    .header-container {
        padding: 0 15px;
    }

    .company-name h1 {
        font-size: 1.2em;
    }

    .contact-button {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    /* 全体的なスマホ対応改善 */
    .page-wrapper {
        max-width: 100%;
        margin: 0;
        box-shadow: none;
    }

    /* セクションのスマホ対応 */
    .section {
        padding: 40px 20px;
    }

    /* セクションヘッダーの左寄せ調整 */
    .section-header {
        text-align: left;
        padding-left: 0;
    }

    /* タイトルのスマホ対応 */
    h2 {
        font-size: 1.6em;
        margin-bottom: 30px;
        text-align: left;
    }

    .section-header .subtitle {
        font-size: 1em;
        margin: 20px 0 25px 0;
        text-align: left;
        padding-left: 0;
    }

    /* 全体的なテキストの左寄せ */
    .section {
        text-align: left;
    }

    p {
        text-align: left;
    }

    /* ナビゲーションとボタンのフォントサイズ調整 */
    .main-navigation ul li a {
        font-size: 0.9em;
    }

    .mobile-nav ul li a {
        font-size: 1em;
    }

    .mobile-nav .dropdown-menu li a {
        font-size: 0.9em;
    }

    .contact-button {
        font-size: 0.85em;
    }

    /* フッターのフォントサイズ調整 */
    .footer-identity p {
        font-size: 0.95em;
    }

    .footer-navigation ul li a {
        font-size: 0.85em;
    }

    .footer-links li a {
        font-size: 0.8em;
    }

    .copyright {
        font-size: 0.75em;
    }
}

@media (max-width: 600px) {
  .hero-text-container {
    padding-left: 8vw;
    margin-left: 0;
    text-align: left;
    max-width: 90vw;
  }
  .hero-title, .hero-subtitle {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
  }
  .breadcrumb {
    padding-left: 1vw;
    text-align: left;
    width: auto;
    max-width: 90vw;
    /* margin-topやpadding-topは変更しない */
  }
  .item-arrow {
    width: 30px;
    height: 30px;
    bottom: 15px;
    right: 10px;
    border-width: 1px;
  }
  .item-arrow::after {
    width: 7px;
    height: 7px;
    border-right-width: 2px;
    border-top-width: 2px;
  }
}
@media (max-width: 600px) {
    .navigator-flow-steps {
      gap: 20px;
      align-items: center; /* 追加: 子を中央寄せ */
    }
    .navigator-flow-step {
      width: 90vw;  
      min-height: 200px;         /* 追加: 全て同じ幅 */
      max-width: 340px;      /* 追加: 最大幅を制限 */
      min-width: 0;
      box-sizing: border-box;
      height: auto;
      padding: 24px 8px 16px 8px;
      margin: 0 auto;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      clip-path: none !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;    /* 追加: テキスト中央 */
    }
    .navigator-flow-icon {
      width: 60px;
      height: 60px;
      margin-bottom: 12px;
      font-size: 1em;
    }
    .navigator-flow-label {
      font-size: 1.1em;
      color: #c51d2a;
      margin-bottom: 8px;
      font-weight: bold;
    }
    .navigator-flow-stepnum-red {
      position: static;
      color: #c51d2a;
      font-size: 1.1em;
      font-weight: bold;
      margin-bottom: 8px;
    }
  }
  /* --- PLAN CARDS: 横並び強制 & レスポンシブ --- */
.plan-cards {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 24px;
  }
  .plan-card {
    flex: 1 1 0 !important;
    min-width: 0;
    max-width: 300px;
    width: 100%;
    box-sizing: border-box;
  }
  @media (max-width: 1200px) {
    .plan-cards {
      flex-wrap: wrap !important;
      gap: 16px;
    }
    .plan-card {
      flex: 1 1 45% !important;
      max-width: 48%;
    }
  }
  @media (max-width: 800px) {
    .plan-cards {
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      gap: 12px;
    }
    .plan-card {
      flex: 1 1 100% !important;
      max-width: 100%;
    }
  }
  /* --- PLAN OPTION CARDS: 横並び強制 & レスポンシブ --- */
.plan-option-cards {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 24px;
  }
  .plan-option-card {
    flex: 1 1 0 !important;
    min-width: 0;
    max-width: 200px;
    width: 100%;
    box-sizing: border-box;
  }
  @media (max-width: 1200px) {
    .plan-option-cards {
      flex-wrap: wrap !important;
      gap: 16px;
    }
    .plan-option-card {
      flex: 1 1 45% !important;
      max-width: 48%;
    }
  }
  @media (max-width: 800px) {
    .plan-option-cards {
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      gap: 12px;
    }
    .plan-option-card {
      flex: 1 1 100% !important;
      max-width: 100%;
    }
  }
  @media (max-width: 600px) {
    .plan-cards,
    .plan-option-cards {
      display: block !important;
      width: 100% !important;
      margin: 0 auto;
      margin-top: 24px;
    }
    .plan-card,
    .plan-option-card {
      max-width: 100% !important;
      width: 100% !important;
      margin: 0 auto 16px auto;
    }
    .title-lead-container {
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 0 !important;
    }
  }
  
  @media (max-width: 600px) {
    #overview-cards {
      display: block !important;
      width: 100% !important;
      margin: 0 auto;
    }
    #overview-cards > div {
      width: 100% !important;
      max-width: 100% !important;
      margin-bottom: 16px;
      display: block !important;
    }
  }

@media (max-width: 600px) {
    #overview-cards {
      display: block !important;
      width: 100% !important;
      margin: 0 auto;
    }
    #overview-cards > div {
      width: 100% !important;
      max-width: 100% !important;
      margin-bottom: 16px;
      display: block !important;
    }
    #overview-cards .business-card-image {
      width: 95% !important;
      max-width: 100% !important;
      height: auto !important;
      display: block;
      margin: 0 auto;
    }
  }
  @media (max-width: 600px) {
    #cards-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px; /* カード間の隙間はお好みで */
    }
    .case-card {
      width: 100%; /* gridの幅に合わせる */
      margin: 0;   /* 余計なマージンがあればリセット */
    }
  }
  @media (max-width: 600px) {
  .news-content-wrapper,
  .news-list-container,
  .news-list-item {
    width: 100%;
    box-sizing: border-box;
  }
  .news-list-container {
    padding: 0; /* 左右の余白をなくす */
  }
  .news-list-item {
    margin: 0 0 12px 0; /* 下だけ余白、左右は0 */
    border-radius: 0;    /* 角丸があれば消す（お好みで） */
  }
  body, html {
    overflow-x: hidden;
  }
}
  