* { 
    margin: 0px; 
    padding: 0px;
}

body {
    font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    color: #333;
    letter-spacing: 1.3px;
}

.background {
	width: 100% !important;
	height: 100% !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size:cover !important;
	background-attachment:inherit !important;
	position:fixed !important;
}

/*a, a:link {
	color: #ffffff;
	text-decoration: none;
}

a:hover {
    color: #FFAFF4;
}*/

ul {
	margin: 50px 0 50px 50px;
}

li {
	line-height: 1.5;
	padding-bottom: 10px;
	font-weight: bold;
}

@media screen and (max-width: 768px){
ul {
	margin: 15px 0 15px 0;
}

li {
	padding: 0 5px 10px 0;
}}

/* リスト枠 */
.ul {
    padding: 15px 40px 5px 50px;
	border-top: #fff 1px solid;
	border-bottom: #fff 1px solid;
	display: inline-block;
}

@media screen and (max-width: 768px){
	.ul {
	width: 90%;
    padding: 15px 0 5px 10%;
}}

/* 仕切りボーダー */
hr {
    width: 100%;
    margin: 15px 0 15px 0;
    border: 1px solid #FFFFFF;
    padding: 0;
}

/* ハーフ */
.half {
    width: 44.9%;
	margin: 10px 1% 10px;
	float: left;
}

@media screen and (max-width: 768px){
.half {
    width: 94%;
    height: auto;
    overflow: hidden;
    float: inherit;
}}

/* 見出し */
h2 {
	color: #F00;
	font-size: 40px;
	background: #ffeaea;
	border-bottom: solid 3px #F00;
	font-weight: bold;
	text-align: center;
	line-height: 1.7;
	margin: 15px 0;
}  

@media screen and (max-width: 1024px){
h2 {
	font-size: 24px;
	margin: 10px 0;
}}  

/* ヘッダー */
header {
	width: 100%;
    height: auto;
    padding: 1% 0 0;
    background: /*linear-gradient(-45deg, #d20623, #ff0000)*/#d20623;;
    overflow: hidden;
}

.header_logo{
	width: 17%;
	height: auto;
	float: left;
}

@media screen and (max-width: 768px){
.header_logo{
	width: 40%;
	height:auto;
	margin-bottom: -3%;
}}

@media screen and (min-width:481px) and (max-width:768px){
.header_logo{
	width: 33%;
	height:auto;
	margin-bottom: -3%;
}}

.header_banner{
	width: 42%;
	height: auto;
	float: left;
	padding-left:30px;
}

.header_contact{
    width: 7%;
    height: auto;
    float: left;
    padding-right: 0.5%;
}

.header_button{
    width: 6.5%;
    height: auto;
    float: right;
    padding-right: 0.5%;
}

@media screen and (max-width: 768px){
.header_button{
    width: 12%;
    height: auto;
    float: right;
    padding-right: 3px;
    padding-top: 5px;
}}

/* スライダー上部 */
.lp_ppc {
	width: 100%;
	height: 100vh;
	margin-bottom: -250px;
}

@media screen and (max-width: 480px){
.lp_ppc {
	height: 275px;
	margin-bottom: 0;
}}

@media screen and (min-width:481px) and (max-width:768px){
.lp_ppc {
	height: 755px;
	margin-bottom: 0;
}}

@media screen and (min-width:769px) and (max-width:1024px){
.lp_ppc {
	height: 865px;
	margin-bottom: 0;
}}

.lp_ppc_img {
    width: 60%;
    height: auto;
    position: absolute;
    left: -50px;
    bottom: 0;
}

.lp_ppc_img2 {
    width: 40%;
    height: auto;
    position: absolute;
    right: 50px;
    bottom: 15px;
}

@media screen and (max-width: 480px){
.lp_ppc_img3 {
    width: 95%;
    max-width: 300px;
    margin: 15px auto;
}}

@media screen and (min-width:481px) and (max-width:768px){
.lp_ppc_img3 {
    width: 95%;
	max-width: 650px;
    margin: 15px auto;
}}

@media screen and (min-width:769px) and (max-width:1024px){
.lp_ppc_img3 {
    width: 95%;
	max-width: 800px;
    margin: 15px auto;
}}

/* コンテンツ継ぎ目 */
.contents_top {
	background: url(../images/contents_top_pc.png) bottom -1px center / cover no-repeat;
	width: 100%;
	height:200px;
}

@media screen and (max-width: 768px){
.contents_top {
	background: url(../images/contents_top_sp.png) bottom -1px center / cover no-repeat;
	width: 100%;
	height:100px;
}}

/* コンテンツ */
.main {
	width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 10px 0;
    text-align: center; /* 追加 */
}

/* 買取表 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 常に4列にする */
  gap: 15px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

/* タブレットでは2列 */
@media (max-width: 1024px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホでは1列 */
@media (max-width: 600px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
}
/* メインコンテンツ画像共通スタイル */
.responsive-image {
    width: 100%;
    max-width: 1200px; /* デスクトップ最大幅 */
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.full-width-image {
    width: 100vw; /* 画面全体の幅 */
    height: auto; /* 高さは画像比率に応じて自動調整 */
    display: block;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    max-width: 100%;
    object-fit: cover; /* 必要に応じて画像をトリミング */
}

/* 画像1（PCとSP切り替え） */
.top_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pc_main {
    display: block;
}

.sp_main {
    display: none;
}

/* 画像2 */
.price-list {
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
}

/* 画像3 */
.kantan {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* スマホ対応 */
@media (max-width: 769px) {
    /* 画像1の切り替え */
    .pc_main {
        display: none;
    }
    .sp_main {
        display: block;
    }
    
    /* 画像2のリサイズ */
    .responsive-image {
        max-width: 90%;
        margin: 20px auto;
    }
}

/* フォームここから */
/* バナー風タイトル */
.form-banner {
    background-color: #ff0000; /* 赤背景 */
    color: #ffffff;            /* 白文字 */
    font-weight: bold;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin: 0; /* 上下余白なし */
    box-sizing: border-box;
    letter-spacing: 0.05em;
}

.form-banner h1 {
    margin: 0;
    font-size: 36px;
    letter-spacing: 0.05em;
}
/* スマホ版バナー風タイトル */
@media screen and (max-width: 768px) {
  .form-banner {
    padding: 12px 0;
  }

  .form-banner h1 {
    font-size: 18px;
    margin: 0;
    letter-spacing: 0.03em;
  }
}

/* 注意事項ボックス全体 */
.form-notice {
  margin: 30px auto;
  padding: 24px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
}

/* セクションタイトル */
.form-notice .form-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1.2em;
  text-align: center;
  color: #000;
}

/* リスト全体 */
.form-notice .form-list {
  counter-reset: notice-counter;
  padding-left: 1.2em;
  margin: 1em 0 2em;
  text-align: left;
}

/* 各リスト項目 */
.form-notice .form-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1.4em;
  list-style: none;
  font-size: 15px;
  line-height: 1.8;
  counter-increment: notice-counter;
}

/* 番号の装飾 */
.form-notice .form-list li::before {
  content: counter(notice-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #d20623;
  font-weight: bold;
  font-size: 15px;
}

/* 見出しテキスト */
.form-notice .form-list li strong {
  display: block;
  font-size: 16px;
  margin-bottom: 0.4em;
  color: #000;
}

/* 各詳細説明文 */
.form-notice .form-note-detail {
  display: block;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

/* 区切り線 */
.form-divider {
  border: 1px solid #ccc;
  margin: 30px 0;
}

/* 問合せエリア */
.form-notice .form-contact {
  text-align: center;
}

.form-notice .form-contact p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 1em;
}

/* リンク */
.form-notice .form-contact a {
  color: #d20623;
  font-weight: bold;
  text-decoration: underline;
  font-size: 13px;
}

.form-notice .form-contact a:hover {
  color: #a10017;
  text-decoration: none;
}

/* スマホ向けレスポンシブ */
@media screen and (max-width: 768px) {
  .form-notice {
    padding: 16px;
    max-width: 95%;
  }

  .form-notice .form-title {
    font-size: 14px;
    margin-bottom: 1em;
  }

  .form-notice .form-list li {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 1em;
  }

  .form-notice .form-list li::before {
    font-size: 10px;
  }

  .form-notice .form-list li strong {
    font-size: 10px;
    margin-bottom: 4px;
    font-weight: normal;
  }

  .form-notice .form-note-detail {
    font-size: 10px;
    line-height: 1.5;
  }

  .form-notice .form-contact p {
    font-size: 10px;
    line-height: 1.5;
  }

  .form-notice .form-contact a {
    font-size: 10px;
  }

  .form-divider {
    margin: 20px 0;
  }
}

@media (max-width: 768px) {
  iframe {
    padding: 0 10px;
    box-sizing: border-box;
  }
}

/* コンテンツ枠 */
.contents {
	background: #fff;
	width: 100%;
	height:100%;
}

@media screen and (min-width: 769px){

}

/* RSS */
.rss {
	border: #F00 5px solid;
	padding: 1%;
}

.rss_rss_details {
	float: left;
}

.rss_details p {
    line-height: 1.5;
}

@media screen and (max-width: 767px){
.rss_details p {
    font-size: 12px;
	line-height: 1.3;
}}

.rss_img {
	object-fit: cover;
  	float: left;
    margin: 0 4% 0 0;
}

@media screen and (max-width: 767px){
.rss_img {
    padding: 2%;
}}

/*.info {
	text-align:left;
    padding-left: 100px;
    margin-bottom: 200px;  フッターの高さを考慮 
}*/

/*@media screen and (max-width: 768px){
.info {
	text-align: center;
	font-size: 12px;
	padding: 0;
}}*/

/* フッターの高さ分。調整OK */
/*.footer-buffer {
  height: 100px; 
}*/

/* フッター全体 */
.footer {
  background-color: #d20623;
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  width: 100vw;
  height: 300px; /* 必要に応じて調整可 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直方向中央揃え */
  align-items: center;     /* 水平方向中央揃え */
}

.footer__container {
  display: flex;
  justify-content: center;
  align-items: center; /* アイテム同士の垂直中央揃え */
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.footer__logo,
.footer__info,
.footer__social {
  flex: 1;
  min-width: 200px;
}

.footer__logo img {
  width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 住所・電話番号・営業時間 */
.footer__info address {
  color: #ffffff;
  font-style: normal;
  line-height: 1.8;
  text-align: center;
  margin: 0;
  font-size: 14px;
}

/* アイコンエリア */
.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer__social a {
  display: inline-block;
}

.footer__social img {
  width: 60px;
  height: auto;
  transition: transform 0.2s ease;
}

.footer__social img:hover {
  transform: scale(1.1);
}

/* コピーライト */
.footer__copyright {
  font-size: 12px;
  margin-top: 20px;
  border-top: 1px solid #fff;
  padding-top: 10px;
  width: 100%;
  text-align: center;
}

.footer__copyright a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.footer__copyright a:hover {
  text-decoration: underline;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .footer {
    height: auto;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直中央揃え */
    align-items: center;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
    .footer__logo {
    order: 1;
  }
    .footer__social {
    order: 2;
    justify-content: center;
  }

  .footer__info {
    order: 3;
  }

  .footer__logo img {
    width: 200px;
  }

  .footer__info address {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer__social img {
    width: 40px;
  }

  .footer__copyright {
    font-size: 10px;
  }
}
/*　newフッターここまで　*/

/* youtube埋め込み */
.youtube{
	position:relative;
	width:100%;
	padding-top:56.25%;
	margin: 50px 0 50px;
}
.youtube iframe{
	position:absolute;
	top:0;
	right:0;
	width:100%;
	height:100%;
}

/* cssアニメーション */
.lp_shake {
  animation: lp_shake_7732 7s ease infinite;
  transform-origin: 50% 50%;
}

@keyframes lp_shake_7732 {
  0% { transform:rotate(-5deg) }
  25% { transform:rotate(5deg) }
  50% { transform:rotate(-5deg) }
  75% { transform:rotate(5deg) }
  100% { transform:rotate(-5deg) }
}

.pulse {
  animation: pulse_6619 2s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes pulse_6619 {
  0% { transform: scale(1.1) }
  50% { transform: scale(0.8) }
  100% { transform: scale(1.1) }
}

.burst {
  animation: burst_5332 2s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes burst_5332 {
  0% { opacity:1 }
  99.999% { transform:scale(1.8); opacity:0 }
  100% { transform:scale(1); opacity:1 }
}

.loading_shake {
  animation: loading_shake_6110 3.875s ease infinite;
  transform-origin: 50% 50%;
}

@keyframes loading_shake_6110 {
  0% { transform:rotate(-8deg) }
  5.16129% { transform:rotate(8deg) }
  6.45161% { transform:rotate(16deg) }
  11.6129% { transform:rotate(-16deg) }
  12.90323% { transform:rotate(-16deg) }
  18.06451% { transform:rotate(16deg) }
  19.35484% { transform:rotate(16deg) }
  24.51613% { transform:rotate(-16deg) }
  25.80645% { transform:rotate(-16deg) }
  30.96774% { transform:rotate(16deg) }
  32.25807% { transform:rotate(16deg) }
  37.41935% { transform:rotate(-16deg) }
  38.70968% { transform:rotate(-16deg) }
  43.87097% { transform:rotate(16deg) }
  48.3871% { transform:rotate(0deg) }
  100% { transform:rotate(0deg) }
}

/* ローディング */
#loading {
	width: 250px;
	height: 250px;
	margin: 0 auto;
	position: absolute;
	top: 70%;
	left: 50%;
	-webkit-transform : translate(-50%,-150%);
	transform : translate(-50%,-150%);
}

@media only screen and (max-width:768px) {
#loading {
	width: 150px;
	height: 150px;
	top: 45%;
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
}}

#loader-bg {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background: linear-gradient(-45deg, #ff8c8c, #ffd3d3);
	z-index: 999;
}

/* プログレスバー */
#progress {
    width: 30%;
    height: 20px;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    top: 62%;
    left: 50%;
    position: absolute;
}

@media only screen and (max-width:768px) {
#progress {
    width: 60%;
    top: 60%;
}}

#progressBar {
	height: 5px;
	background-color: #996600;
    border-radius: 5px;
}

#progressTxt {
	text-align: center;
	color: #996600;
}

/* ヘッダーフローティング */
@media only screen and (max-width:767px) {
#header_floating {
    width: 100%;
	overflow: hidden;
	padding-top:5px;
    position: fixed;
    background: linear-gradient(-45deg, #d20623, #ff0000);
	z-index: 1;
	top: -500px;
}}

@media only screen and (min-width:768px) and (max-width:1024px) {
#header_floating {
    width: 100%;
	padding-top:5px;
    position: fixed;
    background: linear-gradient(-45deg, #d20623, #ff0000);
	z-index: 1;
	top: -500px;
}}

.header_floating {
	width: 100%;
}

.tel_sp {
	color: #fff;
    width: 95%;
	margin: 0 auto;
	padding-top: 3px;
}

