/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベーススタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
}

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

/* ヘッダー */
.header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-right: auto;
}

.logo-image {
    height: 18px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2c5aa0;
}

/* メインコンテンツ */
.main-content {
    background-color: #fff;
    padding: 40px 0;
}

/* タイトル部分の背景色 */
.title-section {
    background-image: url('images/gradation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0;
    margin-bottom: 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 15px;
    text-align: center;
}

.page-subtitle {
    font-size: 1rem;
    color: #333;
    opacity: 1;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.6;
}

/* FAQ項目 */
.faq-section {
    margin-bottom: 50px;
}

.faq-category {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5aa0;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #2c5aa0;
    overflow: hidden;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.faq-qa-container {
    flex: 1;
    margin-right: 15px;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px 0;
}

.faq-question::before {
    content: "Q";
    color: #2c5aa0;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-answer-preview {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding-left: 22px;
    position: relative;
    font-weight: 600;
}

.faq-answer-preview::before {
    content: "A";
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.faq-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-top: 20px;
}

.batsu-icon-answer {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto 20px auto;
}

.faq-answer {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    padding: 0 20px 20px 20px;
    display: none;
    font-weight: 700;
}

.faq-answer .review-section {
    font-weight: normal;
    position: relative;
    border-radius: 8px;
    padding: 30px 20px 20px 20px;
    margin-bottom: 20px;
    background-color: #fff;
}

.batsu-icon-header {
    position: absolute;
    top: -85px;        /* ← 上下の位置 */
    right: 30px;       /* ← 左右の位置 */
    width: 150px;       /* ← 画像の幅 */
    height: 150px;      /* ← 画像の高さ */
    z-index: 10;
}

.kijun-icon-header {
    position: absolute;
    top: -110px;        /* ← 上下の位置 */
    right: 15px;       /* ← 左右の位置 */
    width: 200px;       /* ← 画像の幅 */
    height: 200px;      /* ← 画像の高さ */
    z-index: 10;
}

.nakama-icon-header {
    position: absolute;
    top: -115px;        /* ← 上下の位置 */
    right: 30px;       /* ← 左右の位置 */
    width: 200px;       /* ← 画像の幅 */
    height: 200px;      /* ← 画像の高さ */
    z-index: 10;
}

/* 下矢印のスタイル */
.arrow-container {
    text-align: center;
    margin: 20px 0;
}

.down-arrow-image {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

/* 詳細説明のタイトルスタイル */
.detail-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.faq-answer strong {
    color: #2c5aa0;
}

.faq-answer .contact-link {
    color: #2c5aa0;
    border-bottom: 1px solid rgba(44, 90, 160, 0.5);
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.faq-answer .contact-link:hover {
    border-color: #2c5aa0;
}

/* ステップバーのスタイル */
.pie-chart-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.step-bar-container {
    margin: 20px 0;
    padding: 20px 0;
}

.step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.pie-chart {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.pie {
    width: 100%;
    height: 100%;
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c5aa0;
}

.step-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.step-rate {
    font-size: 0.9rem;
    color: #2c5aa0;
    font-weight: 600;
}

.step-arrow {
    font-size: 1.5rem;
    color: #2c5aa0;
    font-weight: bold;
    margin: 0 10px;
    align-self: flex-start;
    margin-top: 55px;
}

/* 棒グラフのスタイル */
.chart-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 20px;
    text-align: center;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.business {
    background-color: #e74c3c;
}

.legend-color.engineer {
    background-color: #2c5aa0;
}

.bar-chart {
    width: 100%;
}

.chart-months {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    padding: 0 10px;
}

.month-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 80px;
}

.bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 160px;
    margin-bottom: 10px;
}

.bar {
    width: 25px;
    min-height: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.bar.business {
    background-color: #e74c3c;
}

.bar.engineer {
    background-color: #2c5aa0;
}

.bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.month-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-top: 8px;
}

/* 口コミセクション */
.review-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 15px;
}

.review-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.review-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* コンタクト情報 */
.contact-section {
    background-color: #2c5aa0;
    color: white;
    padding: 40px 0;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.entry-button {
    display: inline-block;
    background-color: #fff;
    color: #2c5aa0;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.entry-button:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contact-text {
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.contact-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: border-color 0.3s ease;
}

.contact-link:hover {
    border-color: #fff;
}

/* フッター */
.footer {
    background-color: #333;
    color: #999;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .faq-header {
        padding: 15px;
        align-items: flex-start;
    }
    
    .faq-qa-container {
        margin-right: 10px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer-preview {
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    .faq-answer {
        padding: 0 15px 15px 15px;
    }
    
    .batsu-icon-header,
    .kijun-icon-header,
    .nakama-icon-header {
        right: 15px;
        width: 25px;
        height: 25px;
    }
    
    .chart-months {
        height: 180px;
        padding: 0 5px;
    }
    
    .bars {
        height: 140px;
        gap: 2px;
    }
    
    .bar {
        width: 20px;
        font-size: 0.7rem;
    }
    
    .chart-legend {
        gap: 20px;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .step-arrow {
        margin-top: 50px;
    }
    
    .review-text {
        padding-right: 0;
    }
    
    .down-arrow-image {
        width: 30px;
        height: 30px;
    }
}


/* Header対策 */

header {
	    margin-top: 26px;
}
	    
@media screen and (max-width:768px) {
header {
	    margin-top: 0px;
	}
}

/* サイトシール対策 */

.corporate_logo {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 20px;
}

.corporate_logo img {
  height: 18px;
  width: auto;
}

.site_seal {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.site_seal div.site_seal_left {
  padding: 40px 5px 40px 115px;
}

.site_seal div.site_seal_center {
  padding: 40px 5px 0px 5px;
}

.site_seal div.site_seal_right {
  padding: 40px 115px 40px 5px;
}

@media only screen and (max-width: 767px) {
  .site_seal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .site_seal a {
    display: block !important;
  }

  .site_seal div.site_seal_left {
    padding: 40px 115px 5px;
  }

  .site_seal div.site_seal_right {
padding: 5px 115px 40px;
  }
}

.footer_area_bg {
  background-color: #fff;

}