@charset "UTF-8";

/* 基本色 */
:root {
	--main-color: #5D9AB2;
	--accent-color: #BF6A7A;
	--dark-main-color: #2B5566;
	--text-bright-color: #fff;
	--icon-color: #fff;
	--icon-bk-color: #ddd;
	--gray-color: #ddd;
	--large-width: 1000px;
	--middle-width: 800px;
	--ink:#1d2b36;
    --muted:#4b778b;
    --sunday:#c64232;
    --line:#e5e7ea;
    --maxw:950px;
}

/* 基本設定： フォントサイズ */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

body {font-size: 16px;}


/* 基本設定： ページ全体 */
body {
	margin: 0;
	font-family: 'メイリオ',
		'Hiragino Kaku Gothic Pro', 
		sans-serif;
}


/* <トップページへ戻るjava> */
#pagetop{position:fixed;
width:90px; height:40px;
z-index:10;
right:0px;
bottom:0;
margin-right:0px;
background:url("https://www.kyoto-komaki.jp/pic-labo/page-top.gif") 0 0 no-repeat;
}
#pagetop:hover{
background-position:0 -41px;
}

/* --------------------------------------------------------------ここから本文-------------------------------------------------- */


/* コンテンツA： TOP画像 */
.img2 {
		display: none;
}

.kaitori_pc_shimg{
		display: none !important;
}

.container {
	display: flex;
	flex-direction: column; /* 子要素を縦方向に並べる */
	justify-content: center; /* 必要なら縦方向も中央揃え */
    max-height: auto; /* 幅を100%（デフォルトは1200px）、高さは自動調整 */
    max-width: 100%; /* 背景の最大幅を設定 */
	margin-top: 0;
    box-sizing: border-box;
    text-align: center;
}

.conA {
	display: block;
    background-repeat: no-repeat;
    background-position: center top; /* 上部中央揃え */
    background-size: 100% auto; /* 幅を100%（デフォルトは1200px）、高さは自動調整 */
    width: 950px; /* テキストコンテナの最大幅 */
    margin: 0 auto; /* 横方向の中央揃え */
    text-align: center;
    background-color:#e3d8cc;
    padding-bottom: 1rem;
}
.container img {
	width: 950px;
	margin: 0 auto; /* 横方向の中央揃え */
}
.conA h1 p {
    margin-bottom: 0.3rem; /* 見出しの下余白 */
}
.red{
	color: #ab0a0a;
}

.conA h1 {
    font-size: 1.5rem; /* 見出しのフォントサイズ */
    margin: 10px 0 0 40px;/* 見出しの余白 */
    text-align: center; 
    color: #252525; /* テキスト色 */
}

.conA p {

	margin: 5px 0 0 40px;/* 余白 */
    font-size: 0.8rem; /* テキストのフォントサイズ */
    line-height: 1.8; /* 行間を調整 */
    text-align: center; 
    font-weight: bold;
}
.conB {
    display: flex; /* フレックスボックスを有効化 */
    flex-direction: column; /* 子要素を縦方向に配置 */
    align-items: center; /* 横方向の中央揃え */
    justify-content: center; /* 必要に応じて縦方向の中央揃えも可能 */
    margin: 20px auto; /* セクション全体の中央揃え */
    max-width: 950px; /* 必要に応じて最大幅を設定 */
    font-size: 0.8rem;
}

.left-align-list {
	display: flex;
	gap: 30px;           /* 丸と丸の間の余白 */
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.left-align-list li {
	width: 170px;
	height: 170px;
	background-color: #195780;
	color: white;
	border-radius: 50%;
	display: flex;
	flex-direction: column; /* ← アイコンとテキストを縦並びに */
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 16px;
	padding: 10px;
 	box-sizing: border-box;
}

.left-align-list li i {
	font-size: 32px;     /* アイコンを大きく */
	margin-bottom: 8px;  /* アイコンとテキストの間に余白 */
}

/* ---------------無料査定・店頭買取・宅配買取 ------------------*/

.pc-img {
	display: block !important;
}
.sp-img {
	display: none !important;
}

.conC {
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
}

.full-width-image {
	width: 100vw;       /* ← ブラウザ幅に対して100% */
	max-width: 100%;    /* ← オーバーフロー防止 */
	height: auto;
	display: block;
	margin: 0 auto 10px;
}

.half-images {
	display: flex;
	justify-content: space-between;
}

.half-images a { /* リンク要素にもdisplay: block;を指定 */
	display: block;
    width: calc(50% - 5px);
}

.half-images img {
	width: 100%;
	display: block;
}

.conCimg{
	margin: 0 auto;
}

.half-images img:hover {
	opacity: 0.8;         
	transition: opacity 0.3s ease;  
}

.full-width-image:hover {
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

/* ----------------------コンテンツD：（amesomeアイコン＋テキスト）--------------------- */
.conD .containerD {
	padding-top: 80px;
	padding-bottom: 20px;
}
.conD .text {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 60px;
	text-align: center;
}

.conD h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 18px;
}
.conD p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}
.conD .icon {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 40px;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: var(--icon-bk-color,  #ddd);
	color: var(--icon-color, #fff);
}
.conD .containerD {
	display: flex;
	max-width: 950px;
	max-width: var(--large-width);
	margin-left: auto;
	margin-right: auto;
}
.conB .text {
	flex: 1;
}

/* ----------------------選ばれる４つの理由--------------------- */

.only-sp {
	display: none;
}
.only-pc {
	display: block;
}

.section {
	text-align: center;
}

.content-block {
	margin-bottom: 50px; /* 各ブロックの間隔 */
}

.section-4title h2 {
	font-size: 1.5rem;
	margin: auto 10px;
}

.section-title {
	background-color: #18597d;
	width: 950px;
	margin: 0 auto;
	height: 50px;
}

.section-title h2 {
	color: #fff;
	font-size: 18px;
	padding-top: 8px
}

.square {
    display: inline-block;
    border: 1px solid #fff; /* 白い枠線 */
    padding: 2px 6px; /* 余白 */
    font-weight: bold; /* 文字を太く */
    background-color: #fff;
    color: #18597d;
    margin-right: 5px;
}

.section-titleimage {
    background-image: url("kaitoriimg/section1950x250.jpg"); /* 画像のパスを指定 */
    background-size: cover; /* 画像を要素全体にフィット */
    background-position: center; /* 画像の位置を中央に */
    background-repeat: no-repeat; /* 繰り返しなし */
    width: 950px; /* 必要に応じて幅を設定 */
    height: 250px; /* 必要に応じて高さを設定 */
    display: flex; /* 内部のテキストを調整しやすく */
    flex-direction: column; /* テキストを縦並びに */
    align-items: center; /* テキストを中央寄せ */
    justify-content: center; /* 垂直方向の中央寄せ */
    color: #fff; /* テキストの色（背景に合わせて変更） */
    text-align: center; /* テキストの中央揃え */
    margin: 0 auto;
}

.section-titleimage p {
	font-size: 18px;
	margin-bottom: 6px;
}

.section-titleimage h3 {
	font-size: 40px;
	letter-spacing: 0.2em;
	margin-top: 0;
}

.section-image {
	margin: 20px auto;
	width: 950px;
	margin-bottom: 50px;
}

.section-image p {
	font-size: 15px;
}

.section-image h2 .fa-clock {
	margin-right: 3px;
}

.left {
    text-align: left; /* 左寄せ */
    margin: 0 auto; /* ブロック要素の中央配置（必要なら調整） */
    width: 950px; /* 横幅を調整（好みに応じて変更） */
    font-size: 14px;
}

.bottom {
	margin-bottom: 100px;
}

.bold {
	font-weight: bold;
}

.lineheight {
	line-height: 1.8em;
}

.center{
	text-align: center; 
    margin: 0 auto; /* ブロック要素の中央配置（必要なら調整） */
    width: 950px; /* 横幅を調整（好みに応じて変更） */
    font-size: 14px;
}

.lefth2{
	text-align: left; /* 左寄せ */
    margin: 0 auto; /* ブロック要素の中央配置（必要なら調整） */
    width: 950px; /* 横幅を調整（好みに応じて変更） */
    font-size: 20px;
}

.section-titleimage2 {
    background-image: url("kaitoriimg/section2950x250.jpg"); /* 画像のパスを指定 */
    background-size: cover; /* 画像を要素全体にフィット */
    background-position: center; /* 画像の位置を中央に */
    background-repeat: no-repeat; /* 繰り返しなし */
    width: 950px; /* 必要に応じて幅を設定 */
    height: 250px; /* 必要に応じて高さを設定 */
    display: flex; /* 内部のテキストを調整しやすく */
    flex-direction: column; /* テキストを縦並びに */
    align-items: center; /* テキストを中央寄せ */
    justify-content: center; /* 垂直方向の中央寄せ */
    color: #fff; /* テキストの色（背景に合わせて変更） */
    text-align: center; /* テキストの中央揃え */
    margin: 0 auto;
}

.section-titleimage h2 {
	font-size: 30px;
	letter-spacing: 0.2em;
	margin-top: 0;
}

.section-titleimage3 {
    background-image: url("kaitoriimg/section3950x250.jpg"); /* 画像のパスを指定 */
    background-size: cover; /* 画像を要素全体にフィット */
    background-position: center; /* 画像の位置を中央に */
    background-repeat: no-repeat; /* 繰り返しなし */
    width: 950px; /* 必要に応じて幅を設定 */
    height: 250px; /* 必要に応じて高さを設定 */
    display: flex; /* 内部のテキストを調整しやすく */
    flex-direction: column; /* テキストを縦並びに */
    align-items: center; /* テキストを中央寄せ */
    justify-content: center; /* 垂直方向の中央寄せ */
    color: #fff; /* テキストの色（背景に合わせて変更） */
    text-align: center; /* テキストの中央揃え */
    margin: 0 auto;
}

.certifications {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
	text-align: center;
}
.cert-item {
	max-width: 45%;
	margin-bottom: 50px;
}
.cert-item img {
	width: 100%;
	height: auto;
}
.cert-item p {
	margin-top: 10px;
	font-size: 14px;
}

.section-titleimage4 {
    background-image: url("kaitoriimg/section4950x250.jpg"); /* 画像のパスを指定 */
    background-size: cover; /* 画像を要素全体にフィット */
    background-position: center; /* 画像の位置を中央に */
    background-repeat: no-repeat; /* 繰り返しなし */
    width: 950px; /* 必要に応じて幅を設定 */
    height: 250px; /* 必要に応じて高さを設定 */
    display: flex; /* 内部のテキストを調整しやすく */
    flex-direction: column; /* テキストを縦並びに */
    align-items: center; /* テキストを中央寄せ */
    justify-content: center; /* 垂直方向の中央寄せ */
    color: #fff; /* テキストの色（背景に合わせて変更） */
    text-align: center; /* テキストの中央揃え */
    margin: 0 auto;
}

.text{
	margin-top: 50px;
	margin-bottom: 70px;
}

.text p {
	padding-top: 40px;
}

.secondary {
	display: flex;
	justify-content: center;
	gap: 25px; /* ボックス間の間隔を確保 */
	margin-top: 50px;
}
.secondary div {
	background-color: #404040;
	color: white;
	padding: 8px 20px; /* 内側の余白を確保 */
	border-radius: 2px; /* 角を少し丸める */
	text-align: center;
	min-width: 120px;
}

.lead {
	margin-top: 50px;
	margin-bottom: 50px;
}

.lead h2 {
	font-size: 24px;
}

/* -----------豊富な販売ルート----------- */

article {
	text-align: center;
	border: solid 2px #1f263b;
	width: 950px;
	margin: 0 auto;
	margin-bottom: 150px;
}

.wrappertitle {
	width: 100%;
    background-color: #1f263b;
	height: 50px;
	box-sizing: border-box; /* パディングやボーダーを含めて幅を計算 */
}

.wrappertitle h2 {
	color: #fff;
	line-height: 50px; /* 高さに合わせて中央寄せ */
	margin: 0;
}

article img {
	width: 90%;
	height: auto;
	margin-top: 20px;
}

.saijibox {
	width: 30%;
    background-color: #c70726;
	height: 50px;
	margin: 0 auto;
	margin-bottom: 50px;
}

.saijibox a {
  color: inherit;
  text-decoration: none;
}

.saijibox p {
	font-weight: bold;
	font-size: 20px;
	color: #fff;
	text-align: center;
	line-height: 50px; /* 高さに合わせて中央寄せ */
	letter-spacing:0.2em;
	font-family:'游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

/* -----------買取申し込みについて----------- */

.kaitori_img img {
    display: block;
    margin: 0 auto;
}

.kaitori {
    width: 950px;
    background-color: #e3d8cc;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.kaitori p {
	text-align: center;
	color: #212121;
}

.textsmall {
	font-size: 12px;
}

.explanation {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    font-family:'游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    }
.step h2 {
	text-align: center;
}


/* ----------------------買取専用フォーム手順１-------------------------- */

.pc-only {
	display: inline;
}
.sp-only {
	display: none;
}

.1img_pc {
    display: block;
    margin: 0 auto;
}
.1img_sh {
    display: none;
}

.main-box {
    width: 800px;
    height: 260px;
    background-color: #e3d8cc;
    display: flex;
}

.left-area {
    width: 490px;
    height: 260px;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.left-text h2 {
    font-size: 28px;
    color: #1f263b;
    margin-top: 40px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.sub-text {
    font-size: 18px;
    color: #1f263b;
    letter-spacing: 0.3em;
    margin-left: 15px;
    font-weight: bold;
}

.link-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #1f263b;
    text-align: center;
    line-height: 60px;
}

.link-box a {
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.link-box:hover {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.right-area {
    width: 310px;
    height: 260px;
    background-image: url('kaitoriimg/kaitorihouhou_1.jpg'); /* ←ここに画像URLを入れてください */
    background-size: cover;
    background-position: center;
}

/* ----------------------買取専用フォーム手順２・３-------------------------- */

.wrapper {
	display: flex;
	gap: 10px; /* 2つのボックスの間に10px余白 */
	justify-content: center;
	margin-top: 20px;
}

.main-box2 {
	width: 395px;
	height: 260px;
	background-color: #e3d8cc;
	display: flex;
}

.left-area2 {
	width: 271px; /* 395 - 124px（画像） */
	height: 260px;
	position: relative;
	padding: 10px;
	box-sizing: border-box;
}

.left-text2 h2 {
	font-size: 25px;
	color: #1f263b;
	margin-bottom: 10px;
	margin-top: 40px;
	margin-bottom: 10px;
}

.sub-text2 {
	font-size: 18px;
    color: #1f263b;
    letter-spacing: 0.3em;
    margin-left: 15px;
    font-weight: bold;
}

.link-box2 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background-color: #1f263b;
	text-align: center;
	line-height: 60px;
	transition: opacity 0.3s ease;
	letter-spacing:0.2em;
}

.link-box2:hover {
	opacity: 0.7;
}

.link-box2 a {
	font-size: 18px;
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	width: 100%;
}

.right-area2 {
	width: 124px;
	height: 260px;
	background-image: url('kaitoriimg/kaitorihouhou_2.jpg'); /* ←画像URLを入れてね */
	background-size: cover;
	background-position: center;
}
    
.right-area3 {
	width: 124px;
	height: 260px;
	background-image: url('kaitoriimg/kaitorihouhou_3.jpg'); /* ←画像URLを入れてね */
	background-size: cover;
	background-position: center;
}



/* ----------------------買取専用フォーム手順４-------------------------- */
.left-text4 h2 {
	text-align:center;
	font-size: 28px;
    color: #1f263b;
    margin-top: 40px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}
.right-area4 {
    width: 310px;
    height: 260px;
    background-image: url('kaitoriimg/kaitorihouhou_4.jpg'); /* ←ここに画像URLを入れてください */
    background-size: cover;
    background-position: center;
}

/* ----------------------買取専用フォーム手順５-------------------------- */
.right-area5 {
    width: 310px;
    height: 260px;
    background-image: url('kaitoriimg/kaitorihouhou_5.jpg'); /* ←ここに画像URLを入れてください */
    background-size: cover;
    background-position: center;
}

.arrow-row {
	display: flex;
	justify-content: space-between;
	width: 800px;
	margin: 10px 0;
	align-items: center;     /* 垂直方向にも中央揃えにしたい場合 */
	gap: 10px;               /* 矢印の間にスペースを入れたい場合 */
}

.arrow-row .arrow {
	width: 460px;
	text-align: center;
	font-size: 2rem;
}

.arrow {
	text-align: center;
	font-size: 2rem;
	margin: 10px 10px;
	color: #666;
}

/* ----------------------よくある質問-------------------------- */
.faq {
	margin-top: 50px;
	margin-bottom: 100px;
}
.faq-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem; /* アイコンとテキストの間のスペース */
	text-align: center;
}

.faq-icon {
	width: 24px; /* 好きなサイズに調整 */
	height: 24px;
}
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	border: 1px solid #ccc;
	margin-bottom: 1rem;
	overflow: hidden;
}

.faq-question {
	display: flex;                     /* 横並びにする！ */
	justify-content: space-between;   /* 左と右に分ける！ */
	align-items: center;              /* 縦位置を中央に揃える！ */
	max-width: 800px;
	text-align: left;
	padding: 1rem;
	background: #e3d8cc;
	border: none;
	cursor: pointer;
	font-weight: bold;
	font-size: 1rem;
	cursor: pointer;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 500px; /* 十分大きめならOK */
}

.phone-number a {
	color: inherit;  /* 文字色は親要素の色を引き継ぐ */
	text-decoration: none;
}
.contact {
	text-align: center;
	padding: 20px;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.contact p {
	margin: 10px 0;
}

.phone-number {
	font-size: 1.5em;
	font-weight: bold;
}

.btn-yellow {
	display: inline-block;
	padding: 10px 20px;
	background-color: #f5c74c;
	border-radius: 30px;
	font-weight: bold;
	margin-bottom: 10px;
}

.faq-list-btn {
	display: inline-block;
	padding: 10px 20px;
	background-color: #222;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
}



/* --------------------------------------------------------------------------------------------------------------------------フッター */
footer {
	color: #fff;
	color: var(--text-bright-color);
	background-color: #2B5566;
	background-color: var(--dark-main-color);
}
footer .footer {
	padding: 40px 20px;
}
/* デスクトップ版（768px以上のサイズ） */
@media (min-width: 768px) {
	footer .footer {
		display: flex;
		flex-wrap: wrap;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.footA {
		flex: 0 0 40%;
	}

	.footB {
		flex: 0 0 60%;
	}

	.footC {
		flex: 0 0 100%;
	}
}


/* フッターA： サイト情報 */
.footA {
	margin-bottom: 30px;
}
.footA h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 30px;
	letter-spacing: 0.2em;
}
.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
}
.footA a {
	color: inherit;
	text-decoration: none;
}

/* ====== footB: フッターメニュー（新バージョン） ====== */
.footB {
  margin: 30px 0;
}

.footB ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 中央揃え */
  gap: 20px;               /* 各リンク間の余白 */
  padding: 0;
  margin: 0;
  list-style: none;
}

.footB a {
  display: inline-block;
  padding: 8px 20px;
  color: #fff;
  color: var(--text-bright-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.footB a:hover {
  background-color: rgba(255,255,255,0.15); /* ホバー時に淡い背景 */
  transform: translateY(-2px);              /* 浮き上がり感 */
}

/* フッターC： コピーライト */
.footC {
	font-size: 12px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}

/* フッターD： コピーライト */
.footD {
	margin-top: 20px;
}
.footD ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footD a {
	display: block;
	margin-right: 8px;
	padding: 0px;
	color: inherit;
	font-size: 16px;
	text-decoration: none;
	border: solid 1px currentColor;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
}
.footD a:hover {
	background-color: rgba(0,0,0,0.3);
}

/* --------------------------------------------------------------------------------------------------------------------------ヘッダー */
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
}
.nohero header {
	position: static;
	border: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}

/* ヘッダーA: サイト名 */
.headA {
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: #5D9AB2;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	text-decoration: none;
}

/* ヘッダーB： ナビゲーションメニュー */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	background-color: rgba(0,0,0,0.3);
}

/* デスクトップ版（768px以上のサイズ） */
@media (min-width: 768px) {
	header .header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.headB ul {
		display: flex;
	}
}


/* ヘッダーC： トグルボタン */

@media (max-width: 767px) {
	/* 小さい画面用の設定 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.headC {
		margin-right: 10px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 28px;
		opacity: 0.5;
		cursor: pointer;
	}

	.headC:hover {
		opacity: 0.3;
	}

	.headB {
		display: none;
	}
}

@media (min-width: 768px) {
	/* 大きい画面用の設定 */
	.headC {
		display: none;
	}

	.headB {
		display: block !important;
	}
}







/* --------------------------------------------------------------------------------------------------------------タブレットレスポンシブ------------*/

@media (max-width: 768px) {

body {
	overflow-x: hidden;
}
.nav {
    height: auto;
    padding: 10px 0;
}

.navbox {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between; /* ← 左右端に配置 */
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.nav-small a img {
    width: 120px; /* ロゴ画像の幅を適度に調整 */
    height: auto;
}

nav.headB a {
    font-size: 0.85rem;
    padding: 6px 10px;
}

  /* トップ画像切り替え */
.img1 {
    display: none;
}

.img2 {
    display: block;
    width: 100vw;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.conA,
.conC {
    width: 100%;
}

.conA h1 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.conA p {
    font-size: 0.75rem;
    margin: 5px 0;
    padding: 0 10px;
}

.left-align-list {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.left-align-list li {
    width: 140px;
    height: 140px;
    font-size: 14px;
}

.left-align-list li i {
    font-size: 28px;
}

/* 無料査定・店頭買取・宅配買取 */
.pc-img {
    display: none !important;
}
  
.sp-img {
    display: block !important;
}
  
.half-images {
    flex-direction: column;
}

.half-images a {
    width: 100%;
}


/* コンテンツD：（amesomeアイコン＋テキスト） */

.conD .containerD {
	display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 30px;
    margin: 40px 0;
}

.conD .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

.conD h2 {
    font-size: 16px;
    margin: 0;
    padding-bottom: 10px;
}

.conD p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.conD .icon {
    font-size: 45px;
    width: 2.5em;
    line-height: 2.5em;
    margin-bottom: 0;
}

/* -----------選ばれる４つの理由----------- */

.smalltext h2 {
	font-size: 18px;
}
.smalltext {
	padding-bottom: 10px;
}

.section,
  .section-4title h2,
  .section-title,
  .section-titleimage,
  .section-titleimage2,
  .section-titleimage3,
  .section-titleimage4,
  .section-image,
  .left,
  .center,
  .lefth2 {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.section-title {
    height: auto;
    padding: 10px 0;
}

.section-title h2 {
    font-size: 16px;
}

.section-titleimage,
.section-titleimage2,
.section-titleimage3,
.section-titleimage4 {
    height: auto;
    padding: 20px 10px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.section-titleimage h3,
.section-titleimage2 h2,
.section-titleimage3 h2,
.section-titleimage4 h2 {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.section-titleimage p {
    font-size: 14px;
}

.section-image {
    margin: 20px 0;
}

.section-image img {
    max-width: 100%;
    height: auto;
}

.section-image p {
    font-size: 14px;
    line-height: 1.6;
}

.left,
.center,
.lefth2 {
    font-size: 14px;
    text-align: left;
}

.lefth2 {
    font-size: 16px;
}

.certifications {
    flex-direction: column;
    align-items: center;
}

.cert-item {
    max-width: 100%;
}

.cert-item img {
    width: 100%;
    height: auto;
}

.cert-item p {
    font-size: 13px;
    padding: 0 5px;
}

.text p {
    padding-top: 20px;
    font-size: 14px;
}

.secondary {
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.secondary div {
    min-width: auto;
    width: 50%;
}

.lead h2 {
    font-size: 18px;
    text-align: center;
}


/* -----------豊富な販売ルート----------- */
article {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 80px;
}

.wrappertitle {
    height: auto;
    padding: 10px;
}

.wrappertitle h2 {
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
}

article p.lineheight {
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
}

article img {
    width: 100%;
    height: auto;
    margin-top: 20px;
}

.saijibox {
    width: 40%;
    height: 40px;
    padding: 10px;
    margin-bottom: 30px;
}

.saijibox p {
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.1em;
}


/* -----------買取申し込みについて----------- */

.kaitori_img img {
    width: 100%;
    height: auto;
}

.kaitori {
    width: 100%;
    padding: 15px;
}

.kaitori p {
    font-size: 13px;
    text-align: left;
    line-height: 1.8;
}

.textsmall {
    font-size: 10px !important;
    text-align: left;
    margin-top: 10px;
}

.explanation {
    max-width: 100% !important;
    padding: 10px !important;
}
.step {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 10px;
}

.step h2 {
    font-size: 23px;
    padding: 0 10px;
}

/* -----------買取方法手順----------- */

  /*  共通  */
.main-box,
.main-box2 {
    width: 100%;
    height: auto;
    flex-direction: row;
}

  /*  main-box */
.left-area {
    width: 60%;
    height: auto;
    box-sizing: border-box;
}

.right-area,
.right-area4,
.right-area5 {
    width: 40%;
    height: auto;
    aspect-ratio: 4 / 3; /* 比率を保って高さ調整 */
    background-size: cover;
    background-position: center;
}

  /*  main-box2 (wrapper内の2つの小ボックス)  */
.wrapper {
    display: flex;
    flex-wrap: wrap;         /* スマホでは2段に折り返し */
    gap: 10px;
    justify-content: center;
}

.main-box2 {
    flex: 1 1 48%;           /* 横並び、なければ縦に折れる */
    max-width: 48%;
    height: auto;
}

.left-area2 {
    width: 65%;
    box-sizing: border-box;
}

.right-area2,
.right-area3 {
    width: 40%;
    height: auto;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
}

  /*  テキストとリンク  */
.left-text h2,
.left-text2 h2,
.left-text4 h2 {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sub-text,
.sub-text2 {
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-left: 0;
}

.link-box,
.link-box2 {
  position: relative;
  width: 100%;
  background-color: #1f263b;
  text-align: center;
  height: 50px;           /* 高さを小さく */
  line-height: 30px;      /* 垂直中央に合わせる */
  margin-top: 10px;
  letter-spacing: 0.1em;  /* 文字詰めも調整（任意） */
}

.link-box a,
.link-box2 a {
  font-size: 14px !important;
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
    padding-top: 10px;
}

  /* 矢印調整 */
.arrow-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row !important; /* 横並びを強制 */
    width: 100%;
    gap: 10px;
    margin: 10px 0;
}

.arrow-row .arrow {
    width: 45%;
    text-align: center;
    font-size: 1.5rem;
    color: #666;
}
}

/* --------------------------------------------------------------------------------------------------------------スマホレスポンシブ------------*/

@media (max-width: 480px) {

/* -----------conBの丸３つ----------- */

.left-align-list {
    gap: 15px;
}

.left-align-list li {
    width: 110px;
    height: 110px;
    font-size: 12px;
}

.left-align-list li i {
    font-size: 22px;
}

/* -----------選ばれる４つの理由----------- */

.only-pc {
    display: none;
}
.only-sp {
    display: block;
}

.smalltext h2 {
	font-size: 16px;
}
.smalltext {
	padding-bottom: 10px;
}

.section,
  .section-4title h2,
  .section-title,
  .section-titleimage,
  .section-titleimage2,
  .section-titleimage3,
  .section-titleimage4,
  .section-image,
  .left,
  .center,
  .lefth2 {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}


.section-title {
    height: auto;
    padding: 10px 0;
}

.section-title h2 {
    font-size: 15px;
}

.section-titleimage,
.section-titleimage2,
.section-titleimage3,
.section-titleimage4 {
    height: auto;
    padding: 20px 10px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.section-titleimage h3,
.section-titleimage2 h2,
.section-titleimage3 h2,
.section-titleimage4 h2 {
    font-size: 14.5px;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.section-titleimage p {
    font-size: 13px;
}

.section-image {
    margin: 20px 0;
}

.section-image img {
    max-width: 100%;
    height: auto;
}
  
.section-image h2 {
    font-size: 15px;
}

.section-image p {
    font-size: 12px;
    line-height: 1.5;
}

.left,
  .center,
  .lefth2 {
    font-size: 14px;
    text-align: left;
}

.lefth2 {
    font-size: 15px;
}

.certifications {
    flex-direction: column;
    align-items: center;
}

.cert-item {
    max-width: 100%;
}

.cert-item img {
    width: 90%;
    height: auto;
}

.cert-item p {
    font-size: 11.5px;
    padding: 0 5px;
}

.text p {
    padding-top: 20px;
    font-size: 14px;
}

.secondary {
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.secondary div {
    min-width: auto;
    width: 50%;
}

.lead h2 {
    font-size: 18px;
    text-align: center;
}

/* -----------豊富な販売ルート----------- */

article {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 80px;
}

.wrappertitle {
    height: auto;
    padding: 10px;
}

.wrappertitle h2 {
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

article p.lineheight {
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
}

article img {
    width: 100%;
    height: auto;
    margin-top: 20px;
}

.saijibox {
    width: 40%;
    height: 30px;
	margin: 0 auto 20px;  /* margin中央揃え */
	display: flex;        /* ← ここ追加 */
	justify-content: center;  /* 横中央 */
	align-items: center;      /* 縦中央 */
    margin-bottom: 20px;
}

.saijibox p {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.1em;
}


/* -----------買取申し込みについて----------- */
.kaitori_pcimg {
    display: none !important;
}
.kaitori_pc_shimg {
  display: block !important;
}

.kaitori p {
    font-size: 13px;
    text-align: left;
    line-height: 1.8;
}

.step h2 {
    font-size: 20px;
    padding: 0 10px;
}

/* -----------買取方法手順----------- */

.pc-only {
    display: none;
}
.sp-only {
    display: inline;
}

.right-area {
    background-image: url('kaitoriimg/kaitorihouhou_1_sp.jpg');
}
.right-area4 {
    background-image: url('kaitoriimg/kaitorihouhou_4_sp.jpg');
}
.right-area5 {
    background-image: url('kaitoriimg/kaitorihouhou_5_sp.jpg');
}

.right-area2,
.right-area3 {
  display: none;
}

.1img_sh {
    display: block;
    margin: 0 auto;
}

.step {
    width: 100%;
    max-width: 400px;  /* ★ スマホ用の適切な幅（お好みで調整可） */
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

  /*  共通  */
.main-box,
  .main-box2 {
    width: 100%;
    height: auto;
    flex-direction: row;
}

  /*  main-box */
.left-area {
    width: 60%;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}

  .right-area,
  .right-area4,
  .right-area5 {
    width: 40%;
    height: auto;
    aspect-ratio: 4 / 3; /* 比率を保って高さ調整 */
    background-size: cover;
    background-position: center;
}

  /*  main-box2 (wrapper内の2つの小ボックス)  */
.wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.main-box2 {
    flex: 1 1 48%;           /* 横並び、なければ縦に折れる */
    max-width: 48%;
    height: auto;
    margin: 0 auto;  /* ★中央寄せ補強 */
}

.left-area2 {
    width: 65%;
    padding: 10px;
    box-sizing: border-box;
}

.right-area2,
.right-area3 {
    width: 40%;
    height: auto;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
}

  /*  テキストとリンク  */
.left-text h2,
.left-text2 h2,
.left-text4 h2 {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sub-text,
.sub-text2 {
    font-size: 13px;
    letter-spacing: 0.05em;
    margin-left: 0;
}

/* 左エリアを全幅に拡大 */
.left-area,
.left-area2 {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;  /* 文字も中央寄せにするなら追加（任意） */
}

/* 左のh2やテキストも中央寄せにするなら以下も追加（任意） */
.left-text h2,
.left-text2 h2,
.left-text4 h2,
.sub-text,
.sub-text2 {
  text-align: center;
}

.main-box2 {
    position: relative;
    height: 200px; /* ★高さを200pxに変更 */
}

.left-area2 {
    height: 100%; /* 高さを親要素に合わせる */
    padding: 10px;
    box-sizing: border-box;
}
.link-box2 {
    position: absolute;
    bottom: 10px;
    left: 0px;
    right:0px;
    height: 50px;
    line-height: 25px;
    background-color: #1f263b;
    text-align: center;
    letter-spacing: 0.1em;
}

.link-box2 a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* ----------------------よくある質問-------------------------- */
.faq-container p {
	font-size: 0.9rem;
}
}

/* -----------電話番号----------- */

.contact {
    padding: 15px;
}

.btn-yellow {
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 20px;
}

.phone-number {
    font-size: 1.2em;
}

.faq-list-btn {
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 5px;
}


}
