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

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #007ac0;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

/* ヘッダー */
header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo a {
    display: block;
    width:30%;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007ac0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
}

/* MV Section */
.mv {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/mv-image.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.mv-content {
    max-width: 850px;
    padding: 0 1rem;
}

.mv h1 {
    font-size: 2.4rem;
    font-weight:700;
    margin-bottom: 1rem;
}

.mv p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #007ac0;
    color: #fff;
    padding: 0.8rem 2rem;
    border-width: 2px;
    border-color:#007ac0;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #fff;
    border-color:#007ac0;
}

/* ヒーローセクション */
.hero {
    padding-top: 80px;
    background-color: #f8f9fa;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.service-title h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #007ac0;
    letter-spacing: 2px;
    position: relative;
}

.service-title h1 span {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-top: 5px;
}

.hero-description {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
}


/**/
.contribution-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contribution-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.image-container {
  flex: 1 1 45%;
  padding: 10px;
}

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

.text-container {
  flex: 1 1 50%;
  padding: 10px;
}

.text-container h2 {
  font-size: 2em;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #2c3e50;
}


.my-bold{
  font-size:1.4em;
  font-weight:600;
  color: #007ac0;
  line-height: 1.8;
  margin-top: 20px;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .contribution-section {
    padding: 40px 15px;
  }
  .contribution-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .image-container,
  .text-container {
    flex: 1 1 100%;
    padding: 0;
  }
  .image-container {
    margin-bottom: 20px;
  }
  .text-container h2 {
    font-size: 1.5em;
    margin-top: 0;
  }
  .text-container p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 16px;
  }
}


/* サービス紹介セクション */
.service-intro {
  padding: 60px 20px;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007ac0;
}

.intro-content {
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 2;
}

.intro-content p {
    margin-bottom: 20px;
}


.effect-item {
    width: 100%;
    flex-wrap: wrap;
    max-width: 1100px;
    padding: 0 10px;
    box-sizing: border-box;
    margin:0px auto;
}

.effect-item{
    justify-content: space-between;
    align-items: center;
}

.effect-item-detail{
    display: flex;
padding:20px 20px;
margin:0px auto;
}


.message-text{
text-align:left;
margin-left:20px;
margin-top:20px;
font-size:1.1rem;
}

.agitation-img{
width:20%;
}

/* サービス内容セクション */
.services {
    padding-top: 40px;
    background-color: #f8f9fa;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px auto;
    max-width: 1100px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #e6f3fa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: #007ac0;
}

.service-item{
    margin-bottom: 25px;
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 15px;
    color: #666;
}

/* サービス提供の流れセクション */
.process {
    padding-top: 40px;
    background-color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 50px auto;
    max-width: 1100px;
}

.process-step {
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background-color: #007ac0;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
}

.process-step p {
    font-size: 14px;
    color: #666;
}

/* 導入事例セクション */
.case-studies {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.cases {
    margin-top: 50px;
}

.case {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case:last-child {
    margin-bottom: 0;
}

.case-image {
    flex: 1;
    min-width: 300px;
}

.case-content {
    flex: 2;
    padding: 30px;
}

.case-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.case-results {
    background-color: #fef1e6;
    padding: 15px;
    border-radius: 5px;
}

.case-results p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/*選べれる理由*/
.features-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.features-title {
    font-size: 28px;
    font-weight: 600;
    color: #004d40;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.feature-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #007ac0;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-contact {
    font-size: 14px;
    color: #00897b;
    font-weight: 600;
}

@media (min-width: 768px) {
    .feature-item {
        flex-direction: row;
        align-items: center;
        padding: 25px;
    }

    .feature-image {
        width: 40%;
        max-height: 300px;
        margin-bottom: 0;
        margin-right: 30px;
    }

    .feature-content {
        width: 60%;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .features-title {
        font-size: 24px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 14px;
    }
}

/* 768px以上の場合に、画像とテキストの配置を交互にする */
@media (min-width: 768px) {
    .feature-item:nth-child(odd) {
        flex-direction: row; /* 奇数番目のアイテムは、画像が左、テキストが右 */
    }

    .feature-item:nth-child(even) {
        flex-direction: row-reverse; /* 偶数番目のアイテムは、画像が右、テキストが左 */
    }

    .feature-item:nth-child(even) .feature-image {
        margin-left: 30px;
        margin-right: 0;
    }
}


/* 料金プランセクション */
.price {
    padding-top: 40px;
    background-color: #fff;
}

.price-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px auto;
    max-width: 1100px;
}

.price-plan {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.price-plan:hover {
    transform: translateY(-5px);
}

.price-plan h3 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #007ac0;
    margin-bottom: 30px;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align:left;
    font-weight:500;
}

.plan-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #007ac0;
}

.plan-description {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.recommended {
    border: 2px solid #007ac0;
    transform: scale(1.05);
}

.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.recommended-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007ac0;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.price-note {
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.price-note p {
    margin-bottom: 10px;
}

.price-note p {
    margin-bottom: 10px;
}

/* 有料オプションセクション */
.options {
  padding: 60px 20px;
    background-color: #f8f9fa;
}

.options-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}

.options-table-container {
    max-width: 1100px;
    overflow-x: auto;
    margin-bottom: 30px;
    margin:0 auto;
}

.options-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.options-table th,
.options-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.options-table th {
    background-color: #007ac0;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.options-table tr:last-child td {
    border-bottom: none;
}

.options-table tr:hover {
    background-color: #e6f3fa;
}

.option-name {
    font-weight: 600;
    color: #333;
    width: 20%;
}

.option-description {
    color: #666;
    width: 60%;
}

.option-price {
    font-weight: 600;
    color: #007ac0;
    width: 20%;
    text-align: right;
}

.options-note {
    max-width: 800px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
}

.options-note p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .options-table th,
    .options-table td {
        padding: 12px 15px;
    }
    
    .option-name,
    .option-price {
        width: auto;
    }
    
    .option-description {
        width: auto;
    }
}

/* 価格イメージ */
.price-image {
    background-color: #fff;
    padding: 80px 0;
}

.price-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.price-card {
    flex: 1 1 300px;
    border: 1px solid #ddd;
    padding: 25px 20px;
    box-sizing: border-box;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.price-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
}

.price-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

.price-detail {
    width: 100%;
    border-collapse: collapse;
}

.price-detail th {
    text-align: left;
    font-weight: normal;
    color: #333;
    width: 40%;
    padding: 8px 0;
}

.price-detail td {
    padding: 8px 0;
    color: #007ac0;
    font-weight: bold;
}

.price-note-center {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* リード部分 */
.about-page-lead-section {
    background-color: #f8f9fa;
}
.about-page-lead-section {
    padding: 30px 0;
    text-align: center;
}

.about-page-lead-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
    display: inline-block;
}

.about-page-lead-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #0066cc;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-page-lead-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    line-height: 1.8;
}


/* 代表あいさつ部分 */
.about-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.about-page-message-section {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.about-page-message-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.about-page-message-image {
    flex: 0 0 40%;
}

.about-page-message-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-page-message-content {
    flex: 0 0 60%;
}

.about-page-message-heading {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    display: inline-block;
}

.about-page-message-heading:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0066cc;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.about-page-message-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size:1.1rem;
    text-align:left;
}

.about-page-message-signature {
    font-weight: bold;
    text-align: right;
}

@media (max-width: 768px) {
    .about-page-hero-title {
        font-size: 2rem;
    }

    .lead-heading, 
    .about-page-company-heading {
        font-size: 1.5rem;
    }

    .about-page-message-container {
        flex-direction: column;
    }

    .about-page-message-image,
    .about-page-message-content {
        flex: 0 0 100%;
    }

    .about-page-message-heading {
        font-size: 1.5rem;
    }

    .about-page-company-table th {
        width: 35%;
    }
}

/* 会社概要セクション */
.about-us {
    background-color: #fff;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 80px;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-message h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.4;
}

.about-message p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #007ac0;
}

.about-philosophy {
    margin-bottom: 80px;
}

.philosophy-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.philosophy-item {
    flex: 1;
    min-width: 250px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.philosophy-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #007ac0;
}

.philosophy-item p {
    font-size: 16px;
    line-height: 1.6;
}

.company-info {
    margin-bottom: 80px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

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

.info-table th {
    width: 25%;
    text-align: left;
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
}

.info-table td {
    line-height: 1.8;
}

.history {
    margin-bottom: 80px;
}

.history-timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    height: 100%;
    width: 2px;
    background-color: #007ac0;
}

.history-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #007ac0;
}

.history-year {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #007ac0;
}

.history-content p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.access {
    margin-bottom: 30px;
}

.access-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.access-map {
    flex: 3;
    min-width: 300px;
}

.access-info {
    flex: 2;
    min-width: 250px;
}

.access-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.access-info p {
    margin-bottom: 25px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-container,
    .philosophy-content,
    .access-container {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .info-table th {
        width: 35%;
    }
}

/* よくあるご質問セクション */
.faq {
    background-color: #f8f9fa;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
}

.toggle-icon {
    font-size: 20px;
    color: #007ac0;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-answer p {
    font-size: 15px;
    text-align:left;
    color: #666;
}

/* お問い合わせセクション */
.contact {
    background-color: #fff;
}

.contact-intro {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #007ac0;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.privacy-policy {
    display: flex;
    align-items: center;
}

.privacy-policy input {
    width: auto;
    margin-right: 10px;
}

.privacy-policy label {
    margin-bottom: 0;
}

.privacy-policy a {
    color: #007ac0;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.cta-btn{
    padding: 25px 60px;
}

.btn-submit {
    background-color: #007ac0;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #d15200;
}

/* フッター */
footer {
    background-color: #007ac0;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

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

.footer-logo img{
width:50%;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #fff;
    font-size: 14px;
}

.footer-nav ul li a:hover {
    color: #007ac0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #007ac0;
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #444;
    font-size: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero-container {
        padding: 80px 20px;
    }
    
    .service-title h1 {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 60px 0;
    }
    
    .hero-container {
        flex-direction: column;
        padding: 60px 20px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .service-items,
    .process-steps,
    .price-plans {
        grid-template-columns: 1fr;
    }
    
    .case {
        flex-direction: column;
    }
    
    .case-image,
    .case-content {
        flex: none;
    }
    
    .recommended {
        transform: none;
        order: -1;
    }
    
    .recommended:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .hamburger-menu {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .service-title h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ハンバーガーメニューのアニメーション */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


.contact-main {
    max-width: 600px;
    margin: 0px auto 120px auto;
    padding: 0 20px;
}


form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.required {
    background-color: red;
    color: white;
    padding: 2px 5px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 0.9em;
}

.optional {
    background-color: blue;
    color: white;
    padding: 2px 5px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 0.9em;
}

input, textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #555;
}


.cta-button {
    display: inline-block;
    padding: 30px 60px;
    background: #007ac0;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: 2px solid #007ac0;
    transition: color 0.3s ease-in-out;
}

.cta-button:hover {
    background: white; /* 背景色を白に */
    color: #007ac0; /* 文字色を青に */
    border: 2px solid #007ac0; /* 境界線を維持 */
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* 初期状態：ボタンの左側に隠れている */
    width: 100%;
    height: 100%;
    background: white; /* ホバー時の背景色 */
    transition: left 0.3s ease-in-out; /* 左から右へスライド */
    z-index: 1; /* 背景用の擬似要素が前面に来る */
}

.cta-button:hover::before {
    left: 0; /* ホバー時にスライドイン */
    z-index: -1;
}


.cta-button:hover {
    color: #007ac0; /* 文字色を反転 */
}

.cta-button span {
    position: relative;
    z-index: 2; /* 文字を最前面に */
}


/* 価格イメージ */
.price-image-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.price-sections {
    display: grid;
    /* デスクトップでは2列、それ以外では1列に */
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* 各カードの最小幅を調整して2列に */
    gap: 30px;
    justify-content: center; /* 中央寄せ */
}

.price-card {
    background-color: #fff;
    border: 1px solid #7F7F7F;
    border-radius: 8px;
    padding: 25px 25px 40px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.5em; /* 24px 程度 */
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
}

.card-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Added class for the table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
}

/* 各表の最上部の太線 - Updated class */
.price-table-header {
    border-top: 2px solid #333; /* 太線 */
}

/* Added classes for table headers */
.service-header,
.price-header {
    padding: 12px 10px;
    border-bottom: 1px solid #7F7F7F;
    text-align: left;
}

th {
    font-weight: bold;
    color: #555;
}

/* Added classes for table data cells */
.service-name,
.item-price {
    padding: 12px 10px;
    border-bottom: 1px solid #7F7F7F;
    text-align: left;
}

.total-label,
.total-price {
    padding: 14px 12px;
    border-bottom: 1px solid #7F7F7F;
    text-align: left;
}

/* 料金列の右寄せ */
.price-header, /* Updated class */
.item-price, /* Updated class */
.total-price { /* Added class */
    text-align: right;
}

/* 各表の最下部の太線 - Updated class */
.price-table tbody .price-total-row {
    border-bottom: 2px solid #333; /* 太線 */
}

/* 合計行のフォントを太く - Updated class */
.price-total-row .total-label,
.price-total-row .total-price {
    font-weight: bold;
    color: #333;
}

/* 合計行の下線の削除（太線があるので不要） - Updated class */
.price-total-row .total-label,
.price-total-row .total-price {
    border-bottom: none;
}


/* レスポンシブ対応 */
@media (max-width: 960px) { /* 2列表示のブレークポイントを調整 */
}

@media (max-width: 768px) {
    .price-sections {
        grid-template-columns: 1fr; /* 1列表示 */
    }
    .section-title {
        font-size: 28px;
    }

    .price-card {
        padding: 20px;
    }

    /* Updated classes for th and td */
    .service-header,
    .price-header,
    .service-name,
    .item-price {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
        text-align: center;
    }

    .price-card {
        padding: 15px;
    }
}