@charset "UTF-8";
/*
 * LP 共通ベース CSS のブレークポイント層。lp-base.css から切り出した @media 群。
 *
 * scripts/lp/split-lp-base-responsive.mjs が lp-base.css から生成する。手で編集しない。
 *
 * 読み込み順は必ず theme.css の後ろ:
 *   lp-base.css → form-patch.css → theme.css → lp-base-responsive.css
 *
 * 移行前の 1 枚の style.css ではブレークポイントがファイル末尾にあり、
 * LP 固有のルート規則より後に評価されていた。2 枚構成のままだとベースの @media が
 * テーマより前に来て SP 用の上書きが効かなくなるため、この層だけ最後に読む。
 */

/*============================================================
breakpoint 1000px
==============================================================*/
@media screen and (max-width: 1000px) {
  .strength_grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .contact_tbl tr {
    flex-direction: column;
   align-items:baseline;
}
  .contact_tbl td{
    width: 100%;
  }
  .contact_input{
    width: 100%;
  }
  .contact_tbl th{
    margin-bottom: 40px;
  }
  .service-grid{
    gap: 20px;
  }
  .service-item{
    padding: 20px 14px;
  }
  .service-scheme{
    gap: 14px;
  }
  .scheme-node::after,
  .scheme-node::before{
    display: none;
  }
}
/*============================================================
breakpoint 768px
==============================================================*/
@media screen and (max-width: 768px) {
  img{
    align-self: flex-start;
    height: auto;
  }
	.pc {
		display: none;
	}
	.notepc {
		display: none;
	}
	.sp {
		display: inherit;
	}
	body {
		font-size: 1.4rem;
	}
  .nav_flex{
    padding: 0;
    height: 60px;
  }
	.header-logo .sp{
		width: 125px;
    margin-top: 8px;
	}
	.header-cta img{
		width: 29px;
	}
	.header-logo{
		margin-left: 20px;
	}
  .h2_text{
    margin: 8px auto 10px;
  }
  .contact_tbl th{
    display: block;
  }
  .contact_tbl tr{
    display: block;
  }
  .contact_input{
    display: block;
    width: 100%;
  }
  .contact_tbl td{
    display: block;
    width: 100%;
  }
  .contact_tbl th{
    margin-left: 50px;
  }
  textarea.contact_input{
    width: 100% !important;
  }
  .contact_tbl th{
    margin-bottom: 20px;
  }
  .contact_req, .contact_any{
      top: -3px;
    left: -50px;
    padding: 2px 7px;
  }
  .service-grid{
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
  }
  .service-icon{
    width: 72px;
    height: 72px;
  }
  .service-scheme{
    gap: 12px;
  }
  .scheme-node{
    flex: 1 1 calc(50% - 12px);
  }
  .scheme-node::after,
  .scheme-node::before{
    display: none;
  }
}
/*============================================================
breakpoint 680px-sp
==============================================================*/
@media screen and (max-width: 480px) {
  h1+p{
    font-size: 1.4rem;
  }
  .main_cta{
    font-size: 1.8rem;
    padding: 11px;
  }
  .h2_ttl{
    font-size: 2.4rem;
    line-height: 1.5;
  }
  .case-grid{
    margin: 20px -20px 0;
    padding: 10px 20px 30px;
    gap: 16px;
  }
  .case-card{
    flex: 0 0 82%;
    max-width: 82%;
  }
  .case-nav{ display: none; }
  .case-carousel::before,
  .case-carousel::after{ width: 20px; }
  .strength_grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .strength_box{
    padding: 32px 20px 28px;
  }
  .contact_btn{
    width: 100%;
        padding: 15px;
  }
  .privacy_wrap{
  margin: 40px auto 0;
  }
  .contact_btn{
    margin: 10px auto 20px;
  }
  .radio_wrap{
    margin-left: 0;
  }
  .checkbox_wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: 30px;
  }
  #info .inner{
    width: 100%;
  }
  .info_tel{
        letter-spacing: -2px;
  }
  .page_txt{
    text-align: left;
  }
  .jins_icon{
    width: 42.5px;
  }
  .app_btn{
    width: 127.5px;
  }
  .googleplay{
    width: 126px;
  }
  .info_tel{
  font-size: 4.5rem;
}
  #service-list .service-lead{
    margin: 0 auto 24px;
  }
  .service-grid{
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
  .service-item{
    padding: 18px 12px;
  }
  .service-icon{
    width: 64px;
    height: 64px;
  }
  .legacy-issues{
    padding: 24px 20px;
    margin: 30px auto 24px;
  }
  .service-scheme{
    flex-direction: column;
  }
  .scheme-node{
    width: 100%;
  }
}
/*============================================================
breakpoint 375px-sp
==============================================================*/
@media screen and (max-width: 375px) {
h1{
    margin: 45px auto 15px;
    font-size: 2.3rem;
  }
.header-address{
    display: none;
  }
}
/*============================================================
breakpoint 320px-SE
==============================================================*/
@media screen and (max-width: 320px) {
h1{
    margin: 45px auto 15px;
    font-size: 2.0rem;
  }
    .info_tel{
        letter-spacing: -2px;
      font-size: 40px;
  }
  #info .inner p:first-child{
    font-size: 1.3rem;
  }
  #info .flex li{
    margin: auto;
  }




    body {
      font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
      background: #ffffff;
      color: #333;
    }

    #service-list .inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    .h2_ttl {
      text-align: center;
      font-size: 1.75rem;
      font-weight: 700;
      color: #1a1a1a;
      margin-bottom: 24px;
    }

    .service-lead {
      text-align: center;
      color: #555;
      margin-bottom: 48px;
      font-size: 0.9375rem;
      line-height: 1.8;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      list-style: none;
    }

    @media (max-width: 900px) {
      .service-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 600px) {
      .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }

      .h2_ttl {
        font-size: 1.5rem;
      }
    }

    .service-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 28px 16px;
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid #e5e5e5;
      transition: all 0.3s ease;
    }

    .service-item p {
      font-size: 0.875rem;
      font-weight: 600;
      color: #333;
      text-align: center;
      margin: 0;
      line-height: 1.4;
    }
  }
/* レスポンシブ調整 */
@media screen and (max-width: 1200px) {
  .service-grid-new {
    grid-template-columns: repeat(4, 1fr); /* 中画面で4列 */
  }
}
@media screen and (max-width: 900px) {
  .service-grid-new {
    grid-template-columns: repeat(3, 1fr); /* タブレットで3列 */
  }
}
@media screen and (max-width: 640px) {
  .service-grid-new {
    grid-template-columns: repeat(2, 1fr); /* スマホで2列 */
    gap: 12px;
  }
  .service-item-new {
    padding: 20px 10px;
  }
  .service-item-new h3 {
    font-size: 1.4rem;
  }
  .service-item-new p {
    font-size: 1.1rem;
  }
}
/* レスポンシブ */
@media screen and (max-width: 768px) {
  .example-box {
    padding: 15px;
  }

  .example-box li {
    font-size: 1.3rem;
  }

  .card-summary {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 480px) {
  .example-box {
    padding: 12px 15px;
  }

  .example-box li {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .example-title {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 768px) {
  #achievement{
    margin: 60px auto 60px;
  }
}
