@charset "UTF-8";
/* --------------------------------------------------------------------　　共通部分 */
main {
  line-height: 1.8;
  font-size: 18px;
  color: #555566;
  font-family: 'Noto Sans JP', sans-serif;
  width: 100%;
}
section {
  margin-bottom: 50px;
}
.pasjp_button {
  color: #fff; /* 文字色白 */
  border: none; /* 枠線なし */
  padding: 0.6em 1.2em; /* 内側の余白 */
  font-size: 21px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block; /* 横幅を文字数に合わせる */
  width: auto; /* 明示的にauto指定 */
  white-space: nowrap; /* 折り返し防止 */
  transition: opacity 0.3s ease;
  margin-top: 20px;
}
.left30px {
  margin-left: 30px;
}
/* -----------------------------------------------------------　PC横80%*/
#nav .menu, header p, .breadcrumb, article, aside {
  width: 70%;
  margin: auto;
  max-width: 1000px;
}
/* -----------------------------------------------------------　タイトル部分 */
#flow h2, #maker h2, #category h2, #case h2, #merit h2, #reason h2, #allservice h2, #altSearch h2 ,#Caution h2{
  background: #773380;
  margin-bottom: auto;
  color: #fff;
  padding: 0px 10px;
  display: inline-block; /* ← これを追加 */
}
h3{
margin-bottom:-10px;
}
/* -----------------------------------------------------------　button部分 */
#altSearch .button, #cv_01 .button, #maker .button {
  text-align: center;
  margin: 10px auto;
}
.pasjp_button:hover {
  opacity: 0.85; /* ホバー時に少し暗く */
}
/* -----------------------------------------------------------　flex */
.flex, #h1 #title, aside {
  display: flex;
}
/* --------------------------------------------------------------------　　header */
header p {
  padding: 10px 0px;
}
/* --------------------------------------------------------------------　　nav */
#nav {
  background: linear-gradient(90deg, #1c2c57, #2394c6);
}
#nav a:hover {
  background: linear-gradient(transparent 90%, rgb(55, 166, 255) 0%);
  background-repeat: no-repeat;
  background-position: 0px -7.5px;
}
#nav .menu {
  position: relative;
  height: 40px;
  margin: 0 auto;
  justify-content: space-around
}
#nav .menu > li {
  width: 175px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: .8rem;
}
#nav .menu > li a {
  display: block;
  color: #ffffff;
  font-weight: bold;
  width: 90%;
  margin: auto;
  text-decoration: none;
}
#nav ul.menu__second-level {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  padding: 0px;
}
#nav .menu > li:hover {
  -webkit-transition: all .5s;
  transition: all .5s;
}
/*普通のドロップダウンメニュー*/
#nav .menu > li.menu__single {
  position: relative;
  z-index: 100;
}
#nav li.menu__single ul.menu__second-level {
  position: absolute;
  top: 40px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}
#nav li.menu__single:hover ul.menu__second-level {
  top: 40px;
  visibility: visible;
  opacity: 1;
}
#nav ul {
  list-style-type: none;
}
/* -----------------------------------------------------------------------------------------　　パンくずリスト */
.breadcrumb ol {
  list-style: none;
  margin: 5 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  font-size: 12px;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb li + li::before {
  content: ">";
  margin: 0 .5em;
  opacity: .6;
}
.breadcrumb a {
  text-decoration: none;
  color: #2053AA
}
.breadcrumb a:hover {
  text-decoration: underline;
}
/* -----------------------------------------------------------------------------------------　　フッダー */
footer {
  background: #000;
  padding: 10px;
  text-align: center;
  color: #fff;
}
/* -----------------------------------------------------------------------------------------　　TOP h1 */
#h1 #title {
  align-items: flex-end; /* ← 下で揃える */
  gap: 10px; /* 画像とテキストの間隔調整（任意） */
}
#h1 #title h1 {
  margin-bottom: -15px;
}
#h1 #title p {
  color: #fff;
  background: #35a7d9;
  padding: 0px 10px;
  display: inline-block; /* ← これを追加 */
  font-weight: bold;
  margin: 0px 20px;
  font-size: 21px;
}
#h1 .right {
  text-align: right;
}
#h1 .right a {
  color: #555566;
  text-decoration: none;
}
/* --anotherservice---------------------------------------------------------------------------------------　　flow*/
#flow ol {
  list-style: none; /* デフォルトの番号を消す */
  padding-left: 0;
}
#flow ol li {
  margin: 5px 0;
  position: relative;
}
#flow ol li:nth-child(1)::before {
  content: "STEP① ";
}
#flow ol li:nth-child(2)::before {
  content: "STEP② ";
}
#flow ol li:nth-child(3)::before {
  content: "STEP③ ";
}
#flow ol li:nth-child(4)::before {
  content: "STEP④ ";
}
#flow ol li:nth-child(5)::before {
  content: "STEP⑤ ";
}
/* -----------------------------------------------------------------------------------------　　コンバージョン01 */
#cv_01 hr {
  border: none; /* デフォルトの枠を消す */
  height: 3px; /* 線の太さ */
  background: linear-gradient(to right, #773380, #35a7d9);
  border-radius: 2px; /* 両端を少し丸く */
}
#cv_01 h2 {
  text-align: center;
  margin: 22.410px auto;
}
#cv_01 .flex {
  background: #ede8f5;
  justify-content: center;
}
#cv_01 .flex .img, #cv_01 .flex .button_area {
  padding: 0 45px;
}
#cv_01 .flex .button_area {
  margin: auto 0px;
}
#cv_01 .box {
  position: relative;
  display: inline-block; /* ← これで文字の幅に依存する */
  padding: 0.5rem 0;
  border-bottom: 2px solid #333;
}
#cv_01 .box:before, .box:after {
  position: absolute;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
#cv_01 .box:before {
  top: 100%;
  border: 9px solid;
  border-color: transparent;
  border-top-color: #333;
  margin-left: -9px;
}
#cv_01 .box:after {
  top: 99%;
  border: 8px solid;
  border-color: transparent;
  border-top-color: #ede8f5;
  margin-left: -8px;
}
#cv_01 .box p {
  color: #333;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 0px;
}
#cv_01 .pasjp_button {
  background: linear-gradient(90deg, #773380, #35a7d9); /* 左から右へのグラデーション */
}
/* -----------------------------------------------------------------------------------------　　部品代替依頼 */
#altSearch h2 {
  background: #df5699
}
#altSearch .pasjp_button {
  background: linear-gradient(90deg, #df5699, #e79197); /* 左から右へのグラデーション */
}
/* -----------------------------------------------------------------------------------------　　対象メーカー */
#maker span {
  color: red;
  font-size: 32px;
  font-weight: bold;
  margin: 0 5px;
}
#maker .pasjp_button {
  background: linear-gradient(90deg, #1c2c57, #2394c6); /* 左から右へのグラデーション */
}
/* -----------------------------------------------------------------------------------------　　対象カテゴリー */
#category ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding-left: 60px; /* 左全体の余白はこちらで */
  margin: 0;
}
#category ol li {
  list-style: decimal;
  list-style-position: outside;
  margin-right: 1.5em; /* 番号と文字の間隔 */
  white-space: nowrap;
}
/* -----------------------------------------------------------------------------------------　　aside */
aside {
  background: #E5F4FA;
  margin: 50px auto;
}
aside p {
  font-size: 14px;
}
aside .entry, aside .info {
  flex: 1; /* 均等に並ぶ */
  margin: 0 40px; /* ← この margin の外に線を置きたい */
  padding: 15px;
  position: relative; /* 疑似要素の基準にする */
}
aside .entry::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -40px; /* ← margin の値と合わせる */
  width: 2px;
  background: #555566; /* 線の色 */
}
aside .entry .pasjp_button {
  background: linear-gradient(90deg, #773380, #35a7d9); /* 左から右へのグラデーション */
}
aside .info .pasjp_button {
  background: #E5F4FA;
  border: solid 2px #555566;
  color: #555566;
}
/* -----------------------------------------------------------------------------------------　　タブレット・スマフォ向け */
@media screen and (max-width: 959px) {
  /* -----------------------------------------------------------------------------------------　　非表示 */
  nav span, #cv_01 .img {
    display: none;
  }
  /* -----------------------------------------------------------------------------------------　　flex解除 */
  #h1 #title, aside {
    display: block;
  }
	/* -----------------------------------------------------------------------------------------　　タイトル */
  #h1 #title h1 {
    margin-bottom: 15px;
    text-align: center
  }
  #h1 #title p {
    color: #35a7d9;
    background: none;
    text-align: center;
  }
	/* -----------------------------------------------------------------------------------------　　サービス範囲 */
	#allservice p img{
		width: 100%;
	}
	/* -----------------------------------------------------------------------------------------　　aside */
	
aside p {
  font-size: 18px;
	margin: auto
}
aside .entry, aside .info {
 all: unset;       /* aside にかかってるスタイルを全部リセット */
  display: block;   /* unsetするとinlineになっちゃうので必要なら指定 */
  margin: 0 40px; /* ← この margin の外に線を置きたい */
  padding: 15px;
  position: relative; /* 疑似要素の基準にする */
}
aside .entry::after {
 all: unset;       /* aside にかかってるスタイルを全部リセット */
  display: block;   /* unsetするとinlineになっちゃうので必要なら指定 */
}

aside .info .pasjp_button {

	margin-bottom: 30px;
}
}
/* -----------------------------------------------------------------------------------------　　スマホ向け */
@media screen and (max-width: 600px) {
#nav .menu, header p, .breadcrumb, article, aside {
  width: 90%;
  margin: auto;
 
}aside {
		margin-bottom: 50px;
	}
	 area {
    pointer-events: none; /* クリック無効 */
  }
	
}
@media screen and (max-width: 560px) {
	#nav{
		display: none;
	}
}