@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto
}

a {
  background-color: transparent;
  color: #000;
  text-decoration: none;
}

main {
  background-color: #F9F9F9;
}

img {
  border-style: none;
}

li {
  list-style: none;
}

h1 {
  font-size: 48px;
  letter-spacing: 3px;
}

h2 {
  font-size: 64px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  letter-spacing: 3px;
}

h3 {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 3px;
}

p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8em;
}

span {
  letter-spacing: 3px;
}

th, td {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 3px;
}

h1, h3, p, span, th, td {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}

a:hover {
  opacity: .7;
}

table {
  border-collapse: collapse;
}

/* 消してる要素 */
.header {
  display: none;
}

.br-sp {
  display: none;
}

.sub-logo, .main-logo {
  display: none;
}

/* ヘッダー */
#header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

.header-box {
  display: flex;
  justify-content: space-between;
  margin: 18px 20px 0 20px;
}

.header-nav ul {
  display: flex;
  gap: 44px;
  margin-right: 64px;
}

.header-nav ul li {
  text-align: center;
}

.header-nav .english-text, .global-navigation .english-text, .footer-nav .english-text {
  font-size: 12px;
  font-weight: bold;
  line-height: 1em;
  color: #B20C0C;
} 

.header-nav .japanese-text, .global-navigation .japanese-text {
  font-size: 16px;
  color: #ffffff;
  line-height: 1em;
  margin-top: 10px;
}

.global-navigation .japanese-text {
  text-align: center;
  color: #000;
}

.global-navigation__link {
  display: flex;
  flex-direction: column;
}


.header-logo {
  width: 407px;
  height: 57px;
}

.header-logo a {
  display: block;
}

.header-logo img {
  width: 100%;
  height: 100%;
}

/* トップページ */
.main-container {
  height: 100vh;
}

.main-container {
  position: relative;
  height: 650px;
  overflow: hidden;
}

.main-box {
  position: relative;
  z-index: 2;
  padding-top: 380px;
  padding-left: 10%;
}

.main-box h1 {
  color: white;
  font-weight: bold;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-bg img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-bg img.active {
  opacity: 1;
}

.main-item {
  position: relative;
}

.main-item span {
  position: absolute;
  bottom: 14%;
  left: 130px;
  z-index: -1;
  font-size: 200px;
  color: #ffffff;
  opacity: .3;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

.p1-a {
  background-image: url(../image/top-back1.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.p1-a-item {
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  padding: 130px 60px 150px 100px;
}

.p1-a-item h2, .p2-a-item h2 {
  font-size: 96px;
  color: #362476;
}

.p1-a-item h3, .p1-b-item h3, .p1-b-item h3, .p2-a-item h3 {
  margin-top: 25px;
}

.p1-a-item p, .p1-b-item p, .p2-a-item p {
  margin-top: 50px;
}

.p1-link-buttun {
  width: 245px;
  height: 66px;
  margin-top: 38px;
}

.p1-link-buttun a {
  display: block;
}

.p1-link-buttun img {
  width: 100%;
}

.p1-b {
  background-image: url(../image/top-back2.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.p1-b-box {
  text-align: right;
}

.p1-b-item {
  display: inline-block;
  text-align: left;
  color: #fff;
  padding: 80px 74px 96px 0;
}

.p1-b-item h2 {
  font-size: 96px;
}

.p1-c {
  background-image: url('../image/top-back3.png');
  background-repeat: no-repeat;
  background-position: right bottom;  
  background-size: 438px 566px;
}

.p1-c-item h2, .p1-d-box h2, .p1-f-box h2, .p2-b-box h2, .p3-f-box h2, .p3-e-box h2 {
  color: #362476;
}

.p1-c-item {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.p1-c-item p {
  margin-top: 36px;
}

.p1-c-item .p1-link-buttun {
  margin-left: auto;
  margin-right: auto;
}

.p1-c-item h3, .p1-d-box h3, .p1-f-box h3, .p2-b-box h3, .layout-box h3, .p1-g-box h3, .p3-f-box h3, .p3-e-box h3 {
  margin-top: 8px;
}

.p1-d {
  background-color: #F3F3F3;
  padding-top: 80px;
  padding-bottom: 80px;
}

.p1-d-box {
  text-align: center;
}

.p1-d-item {
  display: flex;
  justify-content: center;
  gap: 78px;
  margin-top: 80px;
}

.p1-d-img-box {
  width: auto;
  height: 355px;
}

.p1-d-text-box {
  text-align: left;
}

.p1-d-text-box p:first-child {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 22px;
}

.p1-d-img-box img {
  height: 100%;
}

.p1-f {
  background-image: url('../image/top-back4.png');
  background-repeat: no-repeat;
  background-position: left bottom;  
  background-size: 438px 566px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.p1-f-box {
  text-align: center;
}

.p1-f-item {
  margin-top: 48px;
}

.p1-f-img {
  width: auto;
  height: 681px;
  margin-top: 36px;
}

.p1-f-img img {
  height: 100%;
}

.p1-f-item p:first-child {
  font-weight: bold;
}

.p1-f-item p span {
  position: relative;
  z-index: 2;
  margin-right: 2px; 
}

.p1-f-item p span::after {
  content: "";
  position: absolute;
  background-color: #D5CEEE;
  height: 5px;
  left: -2px;
  width: calc(100% + 4px);
  bottom: 3px;
  z-index: -1; 
}

.p1-g {
  background-image: url(../image/top-back5.png);
  background-size: cover;
  background-repeat: no-repeat;  
}

.p1-g-caontainer {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;

  padding-top: 62px;
  padding-bottom: 62px;
}

.p1-g-title h2 {
  font-size: 32px;
  color: #362476;
}

.p1-g-box {
  display: flex;
  align-items: center;
  gap: 94px;
}

.p1-g-notice a p {
  color: #362476;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

.p1-g-notice a h4 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
}

.layout {
  background-image: url(../image/layout-back.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 130px;
  padding-bottom: 120px;
}

.layout-box {
  text-align: center;
  color: #ffffff;
}

.layout-box p {
  margin-top: 48px;
}

.layout-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 48px;
}

.layout-item  .layout-tel {
  font-size: 40px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  padding: 26px 44px;
  border: 2px solid #ffffff;
}

.layout-item  .layout-mail {
  font-size: 24px;
  font-weight: bold;
  color: #B20C0C;
  background-color: #ffffff;
  padding: 30px 50px;
  border: 1px solid #B20C0C;
}

.layout-tel,
.layout-mail {
  display: inline-flex; 
  align-items: center;
}

.layout-tel::before {
  content: "";
  background-image: url('../image/tel-img.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
  margin-right: 5px;
}

.layout-mail::before {
  content: "";
  background-image: url('../image/mail-img.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
  margin-right: 5px;
}

/* 会社案内 */
.sub-container {
  width: 100%;
  height: 340px;
  background-image: url('../image/sub-back.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.sub-item {
  text-align: center;
  padding: 170px 0;
}

.sub-item span {
  color: #B20C0C;
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

.sub-item h1 {
  color: #ffffff;
  font-weight: bold;
  font-size: 32px;
}

.p2-a {
  padding-top: 110px;
  padding-bottom: 100px;
}

.p2-a-item {
  text-align: center;
}

.p2-a-item p:last-child {
  color: #362476;
  font-weight: bold;
}

.p2-a-item span {
  display: inline-block;
  color: #ffffff;
  font-weight: bold;
  background-color: #362476;
  padding: 10px;
  margin-right: 18px;
}

.p2-b {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.p2-b-item {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
}

.p2-b-img {
  width: 532px;
  height: auto;
}

.p2-b-img img {
  width: 100%;
}

.p2-b-table table {
  border-collapse: collapse;
}

.p2-b-table tr th, .p2-b-table tr td {
  padding-top: 15px;
  padding-bottom: 10px;
}

.p2-b-table tr th {
  padding-left: 30px;
  padding-right: 30px;
  border-bottom: 2px solid #362476;
}

.p2-b-table tr td {
  text-align: left;
  padding-left: 30px;
  border-bottom: 2px solid #D5CEEE;
}

.p2-c-box img {
  width: 100%;
  height: auto;
}

/* 事業案内 */
.service-container {
  background-image: url('../image/p3-back.png');
  background-size: cover;
  background-repeat: no-repeat; 
  padding-top: 100px;
}

.p3-a, .p3-b {
  margin-bottom: 76px;
}

.p3-a-item {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.p3-a-text {
  position: absolute;
  z-index: 10;
  right: 39%; 
  top: 0;
}

.p3-a-text h2, .p3-b-text h2 {
  color: #362476;
  font-size: 36px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  text-shadow: 3px 3px 0 #ffffff;
  margin-left: 20px;
}

.p3-a-text p, .p3-b-text p {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 22px 20px 60px ;
}

.p3-a-img, .p3-b-img {
  width: 698px;
  height: auto;
  position: relative;
  z-index: 1; 
}

.p3-a-img img, .p3-b-img img {
  width: 100%;
}

.img-a-p, .img-b-p {
  position: absolute; 
  right: 0;
  bottom: 0;
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  color: #fff;
  line-height: 1em;
  z-index: 5;
}

.p3-b-item {
  display: flex;
  justify-content: flex-start;
  position: relative;
}

.p3-b-text {
  position: absolute;
  z-index: 10;
  left: 42%; 
  top: 0;
}

.p3-b-text h2 {
  line-height: 1.5em;
}

.img-b-p {
  text-align: right;
}

.p3-c .p3-a-text p {
  padding-bottom: 200px;
}

.p3-d {
  margin-bottom: 88px;
}

.p3-d .p3-b-text h2 {
  margin-top: 38px;
  margin-bottom: 26px;
}

.p3-f {
  background-color: #F3F3F3;
  padding-top: 80px;
  padding-bottom: 90px;
}

.p3-f-box {
  text-align: center;
}

.p3-f-item {
  margin-top: 62px;
}

.p3-f-table {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.p3-f-table table {
  width: 100%;
}

.p3-f-table tr th, .p3-f-table tr td {
  font-weight: 400;
  background-color: #fff;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E1E1E1;
}

.p3-f-table tr th {
  width: 33%;
  text-align: left;
  padding-left: 90px;
  border-right: 1px solid #E1E1E1;
}

.p3-f-table tr td {
  width: 77%;
}

.p3-f-table .p3-table-title th {
  text-align: center;
  border-right: 1px solid #fff;
  padding-left: 0;
}

.p3-f-table .p3-table-title th, .p3-f-table .p3-table-title td {
  font-weight: bold;
  color: #fff;
  background-color: #B20C0C;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: none;
}

.p3-e {
  padding-top: 90px;
  padding-bottom: 20px;
}

.p3-e-box {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.p3-e-item {
  display: flex;
  justify-content: center;
  gap: 3%;
  margin-top: 75px;
}

.p3-e-text {
  text-align: left;
}

.p3-e-text h3 {
  display: flex;
  align-items: center;
}

.p3-e-text p {
  line-height: 1.5em;
  margin-top: 20px;
}

.p3-e-text h3::before {
  content: "";
  width: 74px;
  height: 59px;
  background-image: url('../image/p3-img7.png'); 
  background-size: contain; 
  background-repeat: no-repeat;
  display: inline-block;
}

.p3-e-img {
  width: 406px;
  height: auto;
}

.p3-e-img img {
  width: 100%;
  height: auto;
}

.p3-e-item2 {
  margin-top: 48px;
}

.p3-e-item2 .p3-e-text h3::before {
  content: "";
  width: 74px;
  height: 59px;
  background-image: url('../image/p3-img8.png'); 
  background-size: contain; 
  background-repeat: no-repeat;
  display: inline-block;
}

/* 買取価格表 */
.p4-a {
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 72px 0 36px;
}

.p4-a-box {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
  gap: 70px 0;
}

.p4-a-item {
  width: calc(33.33% - 20px);
}

.p4-a-item p {
  margin-top: 10px;
}

.p4-a-item img {
  max-width: 100%;
  height: auto;
}

.p4-b {
  margin-bottom: 110px;
}

.p4-b-text {
  text-align: center;
} 

.item-title {
  letter-spacing: normal;
}

/* お問い合わせ */
.contact-container {
  margin-top: 100px;
  margin-bottom: 190px;
}

.contact-box {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  padding: 60px 80px;
}

.contact-box p {
  line-height: normal;
}

.contact-form-table {
  width: 100%;
}

.contact-form-table tr th {
  width: 32%;
}

.contact-form-table tr:last-child th {
  vertical-align: top;
}

.contact-form-table tr:last-child th, .contact-form-table tr:last-child td {
  border-bottom: none;
}

.contact-form-table tr th p {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-form-table tr th label {
  text-align: left;
  font-size: 24px;
}

.contact-form-table tr th .required {
  display: inline-block;
  font-size: 16px;
  color: #fff;
  background-color: #B20C0C;
  padding: 8px 17px;
  border-radius: 5px;
}

.contact-form-table tr td {
  width: 58%;
}

.contact-form-table tr td p {
  margin-left: 30px;
}

.contact-form-table tr th, .contact-form-table tr td {
  padding-top: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid #D9D9D9;
}

.contact-form-table input[type="text"],
.contact-form-table input[type="email"] {
  height: 68px;
  width: 90%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #D9D9D9;
}

.contact-form-table input[type="tel"] {
  height: 68px;
  width: 158px;
  box-sizing: border-box; 
  padding: 10px;
  border: 1px solid #D9D9D9; 
}

.contact-form-table textarea {
  width: 90%;
  height: 258px;
  border: 1px solid #D9D9D9;
}

.wpcf7-submit {
  display: block;
  margin: 0 auto;
  font-size: 32px;
  padding: 35px 134px;
  background-color: #362476;
  color: #ffffff; 
  border-radius: 5px;
  border: none; 
  cursor: pointer;
}



/* お知らせ */
.single article {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.single article h1 {
  color: #362476;
  margin-bottom: 20px;
}

.entry-content img {
  margin-top: 50px;
}

.single article .entry-content {
  margin-top: 50px;
}

/* フッター */
footer {
  position: relative;
  text-align: center;
  background-color: #F9F9F9;
  padding-top: 80px;
}

.footer-logo {
  width: auto;
  height: 57px;
}

.footer-logo img {
  height: 100%;  
}

.footer-nav {
  margin-top: 65px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.footer-nav .japanese-text {
  font-size: 16px;
  line-height: 1em;
  margin-top: 10px;
}

.copy-right {
  font-size: 14px;
  color: #ffffff;
  background-color: #362476;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 77px;
}

.top-botan {
  width: 45px;
  height: 45px;
  position: absolute;
  right: 5%;
  bottom: 120px;
}

.top-botan a {
  display: block;
}

.top-botan img {
  width: 100%;
}




@media screen and (max-width: 1199px) {
  /* 全体 */
  .w-container {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  }

  .br {
    display: none;
  }

  /* ヘッダー */
  .header-nav ul {
    gap: 20px;
    margin-right: 10px;
  }

  .header-logo {
    width: 250px;
  }

  /* トップ */
  /* .main-box {
    padding-left: 3%;
  } */

  /* 事業内容 */
  .p3-a-text {
    right: 26%;
  }

  .p3-b-text {
    left: 28%;
  }

  .p3-a-text p, .p3-b-text p {
    padding-bottom: 30px;
  }

  /* お問い合わせ */
  .contact-box {
    padding-left: 40px;
    padding-right: 40px;
  }

}

@media screen and (max-width: 930px) {
  /* 全体 */
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 46px;
  }

  .j-container {
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;   
  }

  .main-logo {
    width: 244px;
    height: auto;
    display: block;
  }

  .sub-logo {
    display: block;
    width: 244px;
    height: auto;
    margin-bottom: 90px;
    margin-left: 18px;
  }

  .sub-logo img, .main-logo img {
    width: 100%;
  }

  .sub-item {
    padding-top: 25px;
  }

  /* ヘッダー */
  .header-container {
    display: none;
  }

  /* ハンバーガーメニュー */
  .header {
    display: block;
  }
  .header {
    z-index: 1000; /* 他のコンテンツの上に表示させる */
  }
  .hamburger {
    display: block;
    height: 42px;
    position: relative;
    z-index: 1110;
    width: 42px;
    border: none;
    background-color: #9F0B0B;
  } 
  .hamburger.-active .hamburger__line {
      background-color: transparent;
  }
  .hamburger.-active .hamburger__line::before {
      top: 0;
      transform: rotate(45deg);
  }
  .hamburger.-active .hamburger__line::after {
      top: 0;
      transform: rotate(-45deg);
  }
  .hamburger.-active .hamburger__text::before {
    content: '閉じる';
  }
  .hamburger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 20.5px; 
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: #fff;
    transition: 0.4s;
  }
  .hamburger__line:before,
  .hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #fff;
    transition: inherit;
  }
  .hamburger__line:before {
    top: -10px;
  }
  .hamburger__line:after {
    top: 10px;
  }
  .hamburger__text {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  .hamburger__text::before {
    content: "メニュー";
    text-align: center;
    color: #172e59;
    font-size: 10px;
    font-weight: 900;
  }
  .header {
    position: fixed;
    width: 42px;   /* ハンバーガーボタンのサイズに固定 */
    height: 42px;  /* ハンバーガーボタンのサイズに固定 */
    top: 20px;     /* 上からの位置を固定 */
    right: 14px;   /* 右からの位置を固定 */

    left: auto !important;
  }
  .header__nav-area {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 1100;
    height: 100vh;
    width: 100vw;
    visibility: hidden;
    padding-top: 60px;
    background-color: #D5CEEE;
    transition: 0.4s;
  }
  .header__nav-area.-active {
    left: 0;
    visibility: visible;
  }
  .global-navigation {
    padding-top: 40px;
    padding-right: 25px;
    padding-bottom: 120px;
    padding-left: 25px;
  }
  .global-navigation__list > li {
    padding-bottom: 20px;
  }
  .global-navigation__list > li + li {
    margin-top: 20px;
  }
  .global-navigation__link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
    transition: color 0.4s;
    font-size: 24px;
  }
  .global-navigation__link.-accordion {
    position: relative;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
  }
  .global-navigation__link.-accordion::after {
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    background-color: #ed3242;
    transform: translateY(-50%);
    transition: transform 0.4s;
  }
  .global-navigation__link.-accordion::before {
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    background-color: #ed3242;
    transform: translateY(-50%);
      
  }
  .global-navigation__link.-active::after {
    transform: translateY(-50%) rotate(-90deg);
  }
  .accordion {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
  }
  .accordion.-active {
    height: auto;
    padding-top: 30px;
    visibility: visible;
  }
  .accordion__list li {
    font-size: 0.75rem;
  }
  .accordion__list li + li {
    margin-top: 21px;
  }
  .accordion__link {
    color: #172e59;
  }

  /* トップ */
  .main-item span {
    bottom: 0;
    left: 8%;
    font-size: 150px;
  }

  .main-box {
    padding-top: 25px;
    padding-left: 20px;
  }

  .main-box h1 {
    padding-top: 320px;
    padding-left: 50px;
  }

  .p1-b-item {
    padding-left: 100px;
  }

  .p1-c {
    background-size: 300px auto;   
  }

  .p1-d-item {
    gap: 30px;
  }

  .p1-d-img-box {
    height: 250px;
  }

  .p1-f {
    background-size: 300px auto;
  }

  .p1-f-img {
    height: 400px;
  }


  /* レイアウト */
  .layout-item .layout-tel {
    font-size: 20px;
  }

  .layout-item .layout-mail {
    font-size: 12px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  /* 会社案内 */
  .p2-b-item {
    flex-direction: column;
    align-items: center;
  }

  /* 事業内容 */
  .p3-a-text h2, .p3-b-text h2 {
    margin-left: 0;
  }

  .p3-a-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .p3-b-item {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .p3-a-text, .p3-b-text {
    position: static;
  }

  .p3-a-img, .p3-b-img {
    width: 500px;
  }

  .img-a-p, .img-b-p {
    font-size: 18px;
  }

  .p3-c .img-a-p {
    text-align: right;
  }

  .p3-c .p3-a-text p{
    padding-bottom: 100px;
  }

  .p3-d .p3-b-text h2 {
    margin-top: 0;
    margin-bottom: 0;
  }

  .p3-f-table tr th {
    width: 26%;
    text-align: center;
    padding-left: 0;
  }

  .p3-f-table tr td {
    padding-left: 5px;
    padding-right: 5px;
  }

  .p3-e-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* 買取価格表 */
  .p4-a-box {
    gap: 40px 0; 
  }

  .p4-a-item {
    width: calc(50% - 20px); 
  }

  /* お問い合わせ */
  .contact-form-table tr th, .contact-form-table tr td {
    width: 100%;
    display: block;
    padding-bottom: 20px;
  }

  .contact-form-table tr th {
    border-bottom: none;
  }

  .contact-form-table tr td {
    padding-top: 0;
  }

  .contact-form-table tr th p {
    justify-content: flex-start;
    gap: 20px;
  }

  /* フッター */
  .footer-nav ul {
    gap: 25px;
  }

  .top-botan {
    bottom: 50px;
  }
}

@media screen and (max-width: 680px) {
  /* 全体 */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 64px;
  }

  .br-sp {
    display: block;
  }

  .w-container {
  width: 92%;
  margin-left: 4%;
  margin-right: 4%;
  }

  /* 消す */
  .br-sp2 {
    display: none;
  }

  /* トップ */
  .main-container {
    height: 630px;
  }

  .main-box h1 {
    line-height: 1.5em;
    padding-left: 0;
  }

  .main-item span {
    bottom: 15%;
    left: 20px;
    font-size: 64px;
  }

  .p1-a {
    background-position: 52% center;
  }

  .p1-a-item h3, .p1-b-item h3, .p1-b-item h3, .p2-a-item h3 {
    margin-top: 12px;
  }

  .p1-a-item {
    width: 340px;
    padding: 60px 26px 42px 15px;
  }

  .p1-a-item h2, .p1-b-item h2, .p2-a-item h2 {
    font-size: 64px;
  }

  .p1-link-buttun {
    margin-top: 30px;
  }

  .p1-b {
    background-image: url(../image/sp-back1.png);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .p1-b-item {
    text-align: center;
    padding: 57px 30px;
  }

  .p1-b-item p {
    text-align: left;
  }

  .p1-b-item .p1-link-buttun, .p1-d-item .p1-link-buttun {
    margin-left: auto;
    margin-right: auto;
  }

  .p1-c, .p1-f {
    background-size: 155px auto;
  }

  .p1-c-item {
    padding-top: 60px;
    padding-bottom: 65px;
  }

  .p1-c-item p {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .p1-d {
    padding-top: 65px;
    padding-bottom: 55px;
  }

  .p1-d-item {
    margin-top: 15px;
    flex-direction: column;
  }

  .p1-d-text-box p:first-child {
    text-align: center;
    font-size: 24px;
    line-height: 1.5em;
  }

  .p1-d-img-box {
    height: 230px; 
  }

  .p1-g-box {
    flex-direction: column;
  }

  .p1-f-item p:first-child {
    margin-bottom: 25px;
  }

  .p1-f-img {
    width: 346px;
    height: auto;
  }

  .p1-f-img img {
    width: 100%;
  }

  .p1-g-caontainer {
    padding: 48px 44px 80px;
  }

  .p1-g-title h3 {
    text-align: center;
  }

  .p1-g-box {
    gap: 22px;
  }

  .p1-g-notice {
    margin-right: auto;
  }

  .p1-g article {
    margin-top: 10px;
  }

  /* 会社概要 */
  .p2-a {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .p2-b {
    padding-top: 60px;
  }

  .p2-b-img {
    width: 346px;
  }

  .p2-b-item {
    margin-top: 30px;
  }

  .p2-b-table tr th {
    width: 32%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .p2-a-item .p2-a-p1 {
    text-align: left;
  }

  .p2-a-item p {
    margin-top: 30px;
  }

  /* 事業内容 */
  .service-container {
    padding-top: 60px;
  }

  .p3-a-img, .p3-b-img {
    width: 346px;
  }

  .p3-d {
    margin-bottom: 30px;
  }

  .img-a-p {
    text-align: right;
  }

  .p3-e-item {
    margin-top: 30px;
  }

  .p3-e-img {
    width: 346px;
  }

  .p3-f, .p3-e {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .p3-f-box h2 {
    letter-spacing: 1px;
  }

  .p3-f-table .p3-table-title td {
    text-align: center;
  }

  .p3-f-table tr th {
    padding-left: 2px;
    padding-right: 2px;
  }

  .p3-f-table tr td {
    text-align: left;
  }

  /* 買取価格表 */
  .p4-a-item {
    width: 100%;
  }

  /* お問い合わせ */
  .contact-container {
      margin-top: 60px;
      margin-bottom: 60px;
  }

  .contact-box {
    padding: 30px 40px;
  }

  .contact-form-table tr th {
    padding-top: 30px;
    padding-bottom: 10px;
  }

  .contact-form-table tr th p {
    gap: 10px;
  }

  .contact-form-table tr td p {
    margin-left: 0;
  }

  .contact-form-table tr th label {
    font-size: 18px;
  }

  .contact-form-table input[type="text"], .contact-form-table input[type="email"] {
    height: 34px;
  }

  .contact-form-table input[type="tel"] {
    width: 60px;
    height: 34px;
  }

  .contact-form-table tr th .required {
    padding: 4px 8px;
  }

  .wpcf7-submit {
    font-size: 24px;
    padding: 17px 60px;
  }


  /* レイアウト */
  .layout {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .layout-box h2 {
    font-size: 32px;
  }

  .layout-box p {
    margin-top: 20px;
  }

  .layout-item {
    flex-direction: column;
    margin-top: 30px;
  }

  .layout-item .layout-tel {
    font-size: 32px;
    padding: 26px 22px;
  }

  .layout-item .layout-mail {
    font-size: 20px;
    padding: 26px 22px
  }

  /* フッター */
  footer {
    padding-top: 48px;
  }

  .footer-logo {
    height: 48px;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    gap: 24px 50px;
  }

  .footer-nav {
    margin-top: 42px;
  }

}