/* ==========================================
   基本設定
   ========================================== */

.page-index .content {
    width: 100%;    
    max-width: none;
    margin: -2px auto 0;
    padding-right: 0;
    padding-left: 0;
}

section .wrap{
    max-width: 960px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

/*------ メイン ------*/

.page-index main {
    width: 100%;
}

/*------ 行動喚起エリア ------*/

.cta-area{
   padding: 60px 16px;
   margin: 0 auto;
   width: 100%;
   max-width: 1000px;
   text-align: center;
}

.cta-area h2{
    width: 100%;
    max-width: max-content;
    margin:0 auto 32px;
    text-align: left;
    font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #0056b3;
}

.cta-lead {
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
    text-align: left;
    font-size: 18px;
    line-height: 2.4rem;
}

.cta-area a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: fit-content;
   min-height: 60px;
   background-color: #0056b3;
   color: #fff;
   border: 2px solid #0056b3;
   font-size: 1.125rem;
   font-weight: bold;
   text-decoration: none;
   border-radius: 4px;
   cursor: pointer;
   transition: background-color 0.2s ease;

   margin-top: 40px;
   padding: 0 16px 0 32px;
}

.cta-area a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* アイコン付きボタン */

a.cta-icon {
  position: relative;
}

/* CSSだけで作る右向き矢印アイコン */
a.cta-icon::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.2s;
}

a.cta-icon:hover::before {
  opacity: 0.8;
}

/*------ ヒーロー画像スライダー ------*/

.section-swiper{
    width: 100%;
}

.section-swiper img{
    margin: 0 auto;
}

/*------ お知らせセクション ------*/

.section-news{
    padding: 0 16px;
}

.news-inner{
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    border: 1px #ececec solid;
}

.news-list {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 20px;
    padding: 0;
    list-style-type: none;
}

.news-list li {
    text-align: left;
    line-height: 1.4;
    padding: 10px 15px 10px 24px;
    background-image: url(../img/point_1U.png);
    background-position: 6px 16px;
    background-repeat: no-repeat;
    border-bottom: 1px solid #ececec;
    color: #000000;
}

/*--- 一覧へのリンク ---*/
.list-link {
    text-align: right;
    margin: 1rem;;
}

/*------ 導入事例 ------*/

.case-section {
  padding: 60px 16px;
  background-color: #f9f9f9;
}

.case-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.case-title {
  text-align: center;
  font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0056b3;
  margin-bottom: 32px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.case-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.case-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.case-img {
    min-height: 141px;
}

.case-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f1f5f9;
}

.case-body {
  padding: 20px;
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  color: #0056b3;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.case-card-title {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 8px;
}

.case-card-text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/*------ お問合せ ------*/
.contact-area{
   padding: 60px 16px;
   /*background-color: #ebf4fe;*/
   margin: 0 auto;
   width: 100%;
   max-width: 1000px;
}

.contact-area h2{
    width: 100%;
    max-width: max-content;
    margin:0 auto 32px;
    text-align: left;
    font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #0056b3;
}

.contact-lead {
    width: 100%;
    max-width: max-content;
    margin: 0 auto 32px;
    text-align: left;
    font-size: 18px;
    line-height: 2.4rem;
}


/*--- AceHozen ---*/
.acehozen-section {
  padding: 60px 16px;
  background-color: #cfecfe;
  font-family: sans-serif;
}

.acehozen-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.acehozen-title {
    color: #333;
    margin-bottom: 12px;
    text-align: center;
    font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #0056b3;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
    font-size: 18px;
    line-height: 2.4rem;
}

.section-header .sub-title {
  display: block;
  color: #0056b3;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

    .section-header .lead {
        color: #666;
        text-align: center;
    }

    .intro-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    }

    .intro-image-box, .intro-text-box {
        flex: 1 1 480px;
    }

.responsive-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.image-caption {
  font-size: 0.85rem;
  color: #777;
  margin-top: 8px;
  text-align: center;
}

    .intro-text-box h3 {
        font-size: 1.3rem;
        color: #0056b3;
        margin-bottom: 24px;
    }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

    .feature-list li {
        margin-bottom: 12px;
        position: relative;
        line-height: 1.5;
        color: #444;
        background-color: #fff;
        border-radius: 8px;
        padding: 16px 16px 16px 24px;
    }

    .feature-list li::before {
        content: "✔";
        position: absolute;
        left: 8px;
        color: #28a745;
        font-weight: bold;
    }

.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s;
}

    .btn-primary {
        background-color: #0056b3;
        color: #fff;
        margin: 0 auto;
    }

    .btn-primary:hover {
        background-color: #004085;
    }

    .btn-outline {
        border: 2px solid #0056b3;
        color: #0056b3;
        background-color: #fff;
    }

    .btn-outline:hover {
        background-color: #e9ecef;
    }


    /*--- 企業情報 ---*/

   .company-section{
        background-color: #cfecfe;
        padding: 60px 16px;
    }

    .company-inner{
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
    }

    .company-title{
        text-align: center;
        font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.05em;
        line-height: 1.2;
        margin-bottom: 32px;
        color: #0056b3;
    }

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* 各営業所のボックス */
.access-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 20px;
}

.access-title {
    text-align: center;
    font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #0056b3;
}

.access-address {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.company-link{
    margin-top: 16px;
    text-align: right;
}

/*--- 旧ホームページビルダーからの設定 ---*/

.scr {
    overflow: auto;
    width: 100%;
    height: 250px;
    background-color: white;
}
.vsb {
    overflow: visible;
    width: 100px;
    height: 100px;
    background-color: green;
}
.hdn {
    overflow: hidden;
    width: 100px;
    height: 100px;
    background-color: blue;
}


/* ==========================================
   タブレットサイズ以上 (1024px ~)
   ========================================== */

@media (min-width: 1024px) {

}

/* ==========================================
   モバイルサイズ以上 / Desktop Small (768px ~)
   ========================================== */

@media (min-width: 768px) {

}

/* ==========================================
   タブレットサイズ以下 (1024px ~)
   ========================================== */

@media (max-width: 1023px) {

    .page-index .content {
           margin: -3px auto 0;
    }

    /*--- AceHozen ---*/
    
}

/* ==========================================
   モバイルサイズ以下 (~ 767px)
   ========================================== */

@media (max-width: 767px) {


    .news-list {
        margin-left: 0px;
    }

    /*------ 導入事例 ------*/

    .trouble-grid {
        grid-template-columns: 1fr; /* 課題カードを縦1列に */
        gap: 16px;
    }

    .case-grid {
        grid-template-columns: 1fr; /* 導入事例カードを縦1列に */
        gap: 20px;
    }

    .trouble-title,
    .case-title,
    .cta-title {
        font-size: 24px;
    }

    .case-img img{
        max-width: none;
        height: auto;
    }

    /*--- AceHozen ---*/
    
    .section-header .lead {
        text-align: left;
    }

    .image-caption{
        text-align: left;
    }

    /*--- 企業情報 ---*/

    .company-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}