@charset "UTF-8";

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #002060;
  background: #fff;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

section {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

/* メインビジュアル */
.diag-hero {
  position: relative;
  display: flex;
  gap: 30px;   /* ← この値で間隔を調整 */
  min-height: 430px;
  padding: 45px 40px 35px;
  background: #fff;
  overflow: hidden;
}

.diag-text {
  width: 55%;
  position: relative;
  z-index: 2;
}

.diag-sub{
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: #000;
}

.diag-hero h1{
  margin: 0 0 25px;
  font-size: 140px;
  line-height: 1;
  font-weight: 900;
  color:#e60012; 
}

.diag-hero h2 {
  margin: 10px 0 25px;
  margin-top: 10px;
  font-size: 70px;
  color: #000;
  font-weight: 900;
}

.diag-features {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 0;
  margin-bottom: 22px;

  border-top: 3px solid #002060;
  border-bottom: 3px solid #002060;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-item i {
  color: #002060;
  font-size: 55px; /* ←大きく */
  flex-shrink: 0;
}

.feature-item div {
  line-height: 1.2;
}

.feature-item span {
  display: block;
  padding-left: 0;
  font-size: 18px;
  font-weight: 700;
  color: #002060;
}

.feature-item strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #002060;
}

.diag-text p:last-child {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
  color: #000;
}

.diag-photo {
  flex: 1;
  min-width: 300px;
  background: url("../img/diagnostic/support_staff01.jpg") center center / cover no-repeat;
}

.diag-bubble {
  position: absolute;
  right: 35px;
  top: 20px;
  width: 150px;
  height: 150px;
  background: #fff000;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #002060;
  font-size: 21px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
}

/* ==========================
   お悩み一覧
========================== */

.diag-trouble{
  display:grid;
  grid-template-columns:260px 1fr;
  align-items:stretch;
  background:#002060;
  color:#fff;
  padding:18px 14px;
}

.diag-trouble strong{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  font-size:24px;
  font-weight:900;
  line-height:1.35;
  text-align:left;
}

.diag-trouble-list{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:#d9e4f2;
}

.diag-trouble-item{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-height:58px;
  background:#fff;
  color:#002060;
  padding:12px 18px;
  box-sizing:border-box;
}

.diag-check{
  display:flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  flex:0 0 18px;
}

.diag-check i{
  font-size:16px;
  line-height:1;
}

.diag-label{
  font-size:16px;
  font-weight:900;
  line-height:1.25;
}

/* 流れ */
.diag-flow {
  padding: 36px 28px 34px;
  background: #dff1ff;
  text-align: center;
}

.diag-flow h2,
.diag-solutions h2 {
  margin: 0 0 26px;
  font-size: 34px;
  font-weight: 900;
  color: #000;
}

.diag-flow h2 span{
  color:#e60012 !important;
  font-weight:900;
}

.diag-solutions h2 span{
  color:#e60012 !important;
  font-weight:900;
}

.diag-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}

.diag-steps > div {
  position: relative;
  background: #fff;
  border: 2px solid #b8dff7;
  border-radius: 10px;
  min-height: 190px;
  padding: 20px 14px;
  box-sizing: border-box;
}

/* PC用：太めの右矢印 */
.diag-steps > div:not(:last-child)::after {
  content: "\f30b"; /* long-arrow-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  right: -32px;   /* ←次の枠に食い込ませる */
  top: 50%;

  transform: translateY(-50%);

  border: none;
  color: #0070c0;
  font-size: 34px;
  line-height: 1;
  z-index: 20;
}

.diag-steps h3 {
  margin: 0 auto 8px;
  width: 32px;
  height: 32px;
  background: #0070c0;
  color: #fff;
  border-radius: 5px;
  line-height: 32px;
  font-size: 24px;
}

.diag-steps b {
  display: block;
  min-height: 65px;
  font-size: 21px;
  line-height: 1.35;
  color: #002060;
}

.diag-steps p {
  margin: 12px 0 0;
  min-height: 30px;	
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #000;
}

.step-icon {
  display: block;
  width: 80px;
  height: 80px;
  margin-top: 5px;	
  margin: 15px auto 0;
  font-size: 64px;
  color: #002060;
  object-fit: contain;
}

/* 3つの解決方法 */
.diag-solutions {
  padding: 36px 28px 34px;
  text-align: center;
  background: #fff;
}

.diag-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.diag-card {
  display: flex;
  flex-direction: column;

  border: 3px solid;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.diag-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  margin: 0;
  padding: 0 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  box-sizing: border-box;
}

.diag-img{
  height: 260px;
  overflow: hidden;
}

.diag-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background:#fff;
}

.diag-card p {
  flex: 1;

  margin: 18px 20px 12px;
  text-align: left;
  color: #000;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.diag-card strong {
  display: block;

  margin: auto 20px 22px;
  padding: 13px 8px;

  border-radius: 8px;
  background: #fff4b0;

  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

/* 修理（青） */
.diag-blue strong {
  background: #dceeff;
  color: #005bac;
}

/* 新品（緑） */
.diag-green strong {
  background: #dff6e8;
  color: #18a058;
}

/* リユース（オレンジ） */
.diag-orange strong {
  background: #fff2dd;
  color: #f08300;
}

.diag-card-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;

  padding:22px 10px 18px;
  background:#fff;

  font-size:30px;
  font-weight:900;
  line-height:1.2;
}

.diag-card-title i{
  font-size:36px;
}

.diag-card-title-blue{
  color:#005bac;
}

.diag-card-title-green{
  color:#18a058;
}

.diag-card-title-orange{
  color:#f08300;
}

.diag-blue {
  border-color: #005bac;
}

.diag-blue h3 {
  background: #005bac;
}

.diag-blue strong {
  color: #005bac;
}

.diag-green {
  border-color: #18a058;
}

.diag-green h3 {
  background: #18a058;
}

.diag-green strong {
  color: #18a058;
}

.diag-orange {
  border-color: #f08300;
}

.diag-orange h3 {
  background: #f08300;
}

.diag-orange strong {
  color: #f08300;
}

/* データ移行 */
.diag-support{
  display:flex;
  align-items:stretch;
  background:#dff1ff;
  padding:0;
}

.diag-support-text{
  width:65%;
  padding:40px;
  box-sizing:border-box;
}

.diag-support-photo{
  width:35%;
}

.diag-support-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.diag-support-sub{
  display:inline-block;
  margin:0 0 18px;
  padding-bottom:6px;
  border-bottom:4px solid #002060;
  font-size:30px;
  font-weight:900;
  color:#002060;
}

.diag-support h2{
  margin:0 0 24px;
  font-size:42px;
  line-height:1.15;
  font-weight:900;
  color:#002060;
}

.diag-support-desc{
  margin:0 0 28px;
  font-size:18px;
  line-height:1.6;
  font-weight:700;
  color:#000;
}

.diag-support-menu{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.diag-support-item{
  background:#fff;
  border-radius:16px;
  padding:22px 10px;
  text-align:center;
}

.diag-support-item i{
  display:block;
  margin-bottom:14px;
  font-size:54px;
  color:#002060;
}

.diag-support-item span{
  display:block;
  font-size:17px;
  font-weight:900;
  color:#002060;
}

.diag-support-more{
  align-self:end;
  justify-self:start;
  margin-left:-8px;
  margin-bottom:10px;
  font-size:28px;
  font-weight:900;
  color:#002060;
}

/* ==========================
   CTA
========================== */

.diag-cta {
  display: flex;
  align-items: center;
  gap: 30px;

  margin-top: 30px;
  padding: 18px 30px;

  background: #002060;
}

/* 黄色吹き出し */

.cta-bubble {
  position: relative;

  width: 150px;
  height: 150px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff000;
  border-radius: 50%;

  color: #002060;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.cta-bubble::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 58%;
  transform: translateY(-50%);
  width: 56px;
  height: 46px;
  background: #fff000;
  clip-path: polygon(0 20%, 100% 50%, 0 80%);
}

/* テキスト */

.cta-message {
  flex: 1;

  color: #fff;
  font-size: 31px;
  line-height: 1.35;
  font-weight: 900;
}

.cta-message b {
  color: #fff000;
}

/* バナー */

.store-banner {
  display: flex;
  align-items: center;

  margin-left: auto;
  flex-shrink: 0;
}

.store-banner img {
  display: block;
  width: 395px;
  height: auto;
}

 /* PCだけ改行 */
  .pc-br {
  display: block;
}

.sp-br {
  display: none;
}

/* スマホ */
@media (max-width: 768px) {

  main {
    max-width: none;
  }

  section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .diag-hero {
    display: block;
    min-height: auto;
    padding: 30px 20px;
    background: #fff;
  }

  .diag-text {
    width: 100%;
	text-align:center;  
  }

  .diag-sub{
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
    white-space: normal;
  }

  .diag-hero h1{
    font-size: 82px;
    line-height: 0.95;
    white-space: nowrap;
    margin: 0 0 18px;
  }

  .diag-hero h2 {
    font-size: 48px;
	margin-top:8px;
  }

  .diag-features {
    gap: 6px;
  }

  .feature-item {
  flex: 1;
  gap: 4px;
  justify-content: center;
  text-align: center;
  }

  .feature-item div {
  text-align: center;
  }	
	
  .feature-item i {
    font-size: 24px;
  }

  .feature-item span {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
  }

  .feature-item strong {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
  }

  /* 0円だけ少し大きく */
  .feature-item:first-child strong {
    font-size: 18px;
  }

  .feature-item {
    display: flex;
    align-items: center;
}

  .diag-photo {
    width: 100%;
    min-height: 260px;
    margin-top: 20px;
  }

  .diag-bubble {
    width: 120px;
    height: 120px;
    font-size: 17px;
    right: 15px;
    top: auto;
    bottom: 20px;
  }

  .diag-trouble{
    display:block;
    padding:18px;
  }

  .diag-trouble strong{
    display:block;
    margin-bottom:14px;
    padding:0;
    text-align:center;
  }

  .diag-trouble-list{
    grid-template-columns:1fr;
    gap:8px;
    background:transparent;
  }

  .diag-trouble-item{
    min-height:auto;
    padding:14px 16px;
  }

  .diag-flow h2,
  .diag-solutions h2 {
    font-size: 26px;
  }

  .diag-steps,
  .diag-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .diag-steps > div {
    position: relative;
    margin-bottom: 12px;
  }

  /* スマホ用矢印 */
  .diag-steps > div {
    position: relative;
    margin-bottom: 10px;
  }

.diag-steps > div:not(:last-child)::after {
  content: "\f309"; /* long-arrow-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  left: 50%;
  right: auto;
  top: auto;
  bottom: -28px; /* ←次の枠に食い込ませる */

  transform: translateX(-50%);

  border: none;
  color: #0070c0;
  font-size: 34px;
  line-height: 1;
  z-index: 20;
}

  .diag-support{
  display:block;
}

.diag-support-text,
.diag-support-photo{
  width:100%;
}

.diag-support-text{
  padding:28px 20px;
}

.diag-support h2{
  font-size:34px;
}

.diag-support-desc{
  font-size:16px;
}

.diag-support-menu{
  grid-template-columns:repeat(2,1fr);
}
	
  .diag-cta {
  display: block;
  text-align: center;
  padding: 20px;
}

.cta-bubble {
  margin: 0 auto 18px;
}

.cta-bubble::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
    width: 32px;
    height: 24px;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
  }	
	
.cta-message {
  margin-bottom: 18px;
  font-size: 24px;
}

.store-banner {
  display: block;
  margin: 0 auto;
}

.store-banner img {
  width: 100%;
  max-width: 390px;
}
	
  .sp-br {
    display: block;
  }

  .pc-br {
    display: none;
  }
	
  .gFooter_links{
    display:block !important;
    text-align:center;
  }

  .gFooter_link{
    display:block !important;
    margin:0 0 10px;
  }

  .gFooter_link a{
    display:inline-block;
  }	
	
  .gHeader_logo{
    position:relative;
    left:48px;
  }
	
}	