@charset "UTF-8";
body {
    font-family: "Shippori Mincho B1", serif;
}
ul{
  list-style:none;
}

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

h3 {
	font-size:32px;
	margin-top: 15px;
}
/*===== 会社案内 =====*/
main {
	background-color:#dcdcdc;
}

#com_hero {
	background:url(../img/ttl_bg_pc.jpg) no-repeat;
	background-size:cover;
}
main h2 {
	text-align:center;
}
main .com_h2_st {
	display:block;
	text-align:center;
}

main .bg_l {
	background-image: none;
}

@media screen and (max-width: 767px) {
	#com_hero {
		background:url(../img/ttl_bg_pc.jpg) no-repeat;
		background-size:cover;
	}
}


/*===== sec001 =====*/
#sec001 {
	padding-top:140px;
}
#sec001 .com_h2{
	font-size: 48px;
}
#sec001 .wrapper {
	width:100%;
	margin:0 auto;
  	
}


.fv-container {
    margin: 100px auto 0;
    width: 90%;
    max-width: 1018px;
  }
  
  .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 = 9 / 16 = 0.5625 */
    height: 0;
    overflow: hidden;
  }
  
  .video-wrapper-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

.question-section-q-mark {
    padding-top:220px;
    display: block;
    text-align: center;
    position: relative;
    margin: 0 auto;
    max-width: 1338px;
    height: 300px;
}
.q-mark::before {
    content: "Q.";
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left:12px;
    padding-bottom:10px;
    width: 100%;
    height: 100%;
    font-size: clamp(32px, 3.5vw, 55px);
   
}
.q-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(60px, 8vw, 110px);     /* 幅を画面に応じて変動 */
    height: clamp(60px, 8vw, 110px);    /* 高さも同様 */
    background: #17192F;
    color: #fff;
    font-weight: bold;
    position: relative;
    top: 0px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  
}
.question-section-tittle{
    font-weight: 100;
    position: relative; /* ★絶対位置から相対位置に変更 */
    top: 80px; /* ★適宜調整（数値を変えて試す） */
    left: 50%;
    transform: translateX(-50%); /* 水平中央寄せ */
    font-size: clamp(24px, 3.82vw, 55px);
    text-align: center;
    color: #000000;
    span {
        color: #980b30;
        font-weight: 600;
    }
  
}
.question-section {
    margin: 0 auto;
    margin-top:40px;
    margin-bottom:50px;
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    max-width:1172px;
    width:100%;
    position: relative;
    height: 530px;
}
.question-section-img{
    max-width:1172px;
    width:100%;  
}



/* ▼ 下向きのグレー三角形 */
.triangle {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-top: 100px solid #D1D1D1;
    margin: 0 auto;
}
.service-heading {
  margin-top:33px;
}
.service-heading-site-tittle {
    padding-bottom:60px;
}
.service-color-tittle,.service-color-site-tittle{
    font-weight: bold;
    font-size: clamp(24px, 3.82vw, 55px);
    text-align: center;
    color: #000000;

}
.highlight {
    background: linear-gradient(transparent 60%, #FFFF66 40%);
    font-weight: bold;
    padding: 0 5px;
    display: inline-block;
}

/* Main content styles */
.points-section {
    margin: 0 auto;
    margin-top:76px;
    background-color: white;
    padding: 30px;
    width: 100%;
    max-width: 1338px; /* 最大幅を 1338px に制限 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.points-title {
    text-align: center;
    font-size: clamp(24px, 3.33vw, 48px);
    margin-bottom: 30px;
}

.points-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.point-card {
    flex: 1;
    min-width: 300px;
}

.point-header {
    background-color: #0d4b81;
    color: white;
    padding: 10px 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: clamp(16px, 1.67vw, 24px);
}

.point-image {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width:440px;
    height: auto;
    border-radius: 4px;
}


.point-badge {
    position: absolute;
    right: -10px;
    bottom: -10px;
    background-color: #ffff66;
    border-radius: 50%;
    width: clamp(60px, 10vw, 100px);     /* 可変幅 */
    height: clamp(60px, 10vw, 100px);    /* 可変高さ */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* 中央揃えから左揃えに変更 */
    text-align: left; /* 中央揃えから左揃えに変更 */
    font-weight: bold;
    font-size: clamp(12px, 1.12vw, 17px);
    line-height: 1.3;
    padding: 10px 10px 10px 20px; /* 左側のパディングを増やして左寄せのスペースを確保 */
    transform: rotate(5deg);
}

.point-badge span {
    display: block;
    font-weight: bold;
    transform: rotate(0deg); /* テキスト自体をさらに少し傾ける */
}

.point-text {
    font-weight: bold;
    text-align: left; /* 文字を左揃え */
    width: fit-content; /* コンテンツの幅に合わせる */
    margin: 0 auto; /* 親要素の中央に配置 */
    font-size: clamp(14px, 1.52vw, 22px);
    line-height: 1.5; /* 行間を調整 */
    padding-top: 10px;
}

.image-gallery {
    margin: 0 auto;
    padding-top: 100px;
    width: 100%;         /* 画面幅に応じて拡大・縮小 */
    max-width: 1338px;   /* 最大幅を1338pxに制限 */
 
}
.image-grid {
    display: flex;
    flex-wrap: wrap; /* 折り返して2行にする */
    justify-content: center;
    gap: 10px;
    row-gap:78px;
    width: 100%;         /* 画面幅に応じて拡大・縮小 */
    max-width: 1295px;
    margin: 0 auto; 
}
.image-grid a {
    display: block; /* 画像全体をクリック可能に */
    width: calc(25% - 10px); /* 4列で均等に並べる */
    text-decoration: none; /* 不要な装飾を削除 */
}

.image-grid img {
    width: 100%; /* a タグ内の幅いっぱいに */
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}
/* タブレットサイズ対応*/
@media screen and (max-width: 768px) {
    .fv-container {
        width: 95%;
    }
    
    .question-section-q-mark {
        padding-top: 100px;
       height: 240px;
    }
    .question-section{
        margin: 0 auto 30px;
        height: 350px;
        padding : 10px 15px ;
        width: 90%;
    }
    .points-container {
        flex-direction: column; /* 1カラムの縦並びに */
        gap: 30px;
        align-items: center;
    }
    .point-header {
        font-size: 20px; 
        text-align: center;
    }

    .point-card {
        width: 100%;
        max-width: 500px; /* タブレットでの最大幅を調整 */
        justify-content: center;
    }

    .points-section {
        width: 90%;
        margin: 76px auto 0;
        padding: 25px 15px;
        margin-top: 30px;
    }
  

    .point-header {
        font-size: 20px;
        padding: 8px 10px;
    }
    .point-image {
        max-width: none;
        display: flex;
        margin: 0 auto;
    }
    .point-image img {
        width: 100%; /* 画像も幅いっぱいに */
        max-width: 100%; /* 親要素以上に大きくならないように */
        height: auto;
    }
    .point-badge {
        width: 85px;
        height: 85px;
        font-size: 14px;
        padding: 8px 8px 8px 16px;
        right: -5px;
        bottom: -5px;
    }
    .service-heading-site-tittle {
        padding-bottom:30px;
    }
    .image-gallery {
        margin: 0 auto;
        padding-top: 80px;
        width: 95%;
        max-width: 700px; /* 最大幅を 300px に制限 */
    }
    
    .image-grid {
      flex-direction: row; /* 2カラムにするには row */
      flex-wrap: wrap;
      justify-content: space-between;
      row-gap: 10px;
      column-gap: 10px;
    }

    .image-grid a {
        width: calc(50% - 5px); /* 2カラム */
    }
    .point-text {
        font-size: 26px;
        width: 100%;
        text-align: left; /* 文字を左揃え */
        width: fit-content; /* コンテンツの幅に合わせる */
    }
}

  
  
@media screen and (max-width: 480px) {
      
    #sec001 .com_h2 {
        font-size:8vw;
    }
    main .com_h2_st {
        display:block;
        text-align:center;
    }

    .fv-container {
        width: 95%;
        height: auto;
        min-height: 200px;
        margin-top: 100px;
    }

    .question-section-q-mark {
        padding-top: 100px;
        max-width: 90%;
        height: auto;
    }
    .q-mark::before {
        padding-left:7px;
        font-size: 24x;
    }
    .q-mark {
        width: 70px;
        height: 70px;
        font-size: 20px;
    }

    .question-section-tittle{
        font-size: 24x;
        top: 40px;

    }

    .question-section {
        width: 90%;
        height: auto;
        padding: 30px 15px;
        margin-top: 60px;
        margin-bottom: 30px;
    }

    .triangle {
        border-left: 100px solid transparent;
        border-right: 100px solid transparent;
        border-top: 50px solid #D1D1D1;
    }

    .service-color-tittle,.service-color-site-tittle{
        font-size: 24x;
    }

    .highlight {
        font-size: 24x;
        padding: 0 3px;
    }
    .points-section {
        padding: 20px;
        margin-top: 30px;
        margin-bottom: 20px;
        max-width: 85%; 
    }

    .points-title {
        font-size: 24x;
        margin-bottom: 20px;
    }

    .points-container {
        flex-direction: column; /* 1列に並べる */
        gap: 15px;
    }

    .point-card {
        max-width: 100%; /* 幅いっぱいに */
    }

    .point-header {
        font-size: 18px;
        padding: 8px 12px;
    }

    .point-image {
        width: 100%;
    }

    .point-badge {
        width: 85px;
        height: 85px;
        font-size: 14px;
        padding: 8px 8px 8px 16px;
        right: -5px;
        bottom: -5px;
    }

    .point-text {
        font-size: 16px;
        width: 100%;
        text-align: left; /* 文字を左揃え */
        width: fit-content; /* コンテンツの幅に合わせる */
    }
    .service-heading-site-tittle {
        padding-bottom:30px;
    }
    .image-gallery {
        margin: 0 auto;
        padding-top: 80px;
        width: 95%;
        max-width: 450px; /* 最大幅を 300px に制限 */
    }
    
    .image-grid {
      flex-direction: row; /* 2カラムにするには row */
      flex-wrap: wrap;
      justify-content: space-between;
      row-gap: 10px;
      column-gap: 10px;
    }

    .image-grid a {
        width: calc(50% - 5px); /* 2カラム */
    }
}

/*パンくずリスト*/
.breadcrumb {
    font-size: 12px;
    letter-spacing: 0.015em;
    line-height: 1.1666666667;
    font-weight: 500;
    height: 50px;
    padding: 15px;
    box-sizing: border-box;
}        