@charset "utf-8";
html {
  scroll-behavior: smooth;
  background-color: #fff;
}
body {
  background-color: #f2f2f2;
  font-family: sans-serif;
}
img {
  margin: auto;
}
h1 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(24px, 20.143px + 1.071vw, 33px);
  text-align: center;
  padding: 4% 0;
}
p {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}
a {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
}
h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  writing-mode: vertical-rl;
  display: inline-block;
  box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
  background-color: #fff;
  line-height: 1;
  margin: 0.2em;
  padding: 0.5em;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  vertical-align: top;
  position: relative;
  z-index: 98;
}
h3 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(20px, 5.778px + 1.852vw, 28px);
  text-align: center;
}
.number {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(30px, -32.222px + 8.102vw, 65px);
  text-align: center;
}
.h3-eng {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(12px, 4.889px + 0.926vw, 16px);
  text-align: center;
}
.h3-p {
  font-size: clamp(13px, 7.667px + 0.694vw, 16px);
  line-height: 1.8em;
  padding: 8px;
  letter-spacing: -0.09em;
  max-width: 420px;
  margin: 0 auto;
}
.w-container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.pc {
  display: block;
}
.mb {
  display: none;
}

/* -------------------- ヘッダー-------------------- */
header {
  background-color: #fff;
  color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  z-index: 100;
}
.header-container {
  width: 96%;
  height: 130px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  width: clamp(340px, 268.889px + 9.259vw, 380px);
  margin: auto;
}
.tel-container {
  margin-top: auto;
  margin-bottom: auto;
}
.tel-container p {
  width: 100%;
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding: 2%;
  background-color: #53bc00;
  border-radius: 20px;
}
.tel-container a {
  font-size: clamp(20px, 25.778px + 1.852vw, 20px);
}
.tel-container span {
  font-size: clamp(40px, 25.778px + 1.852vw, 48px);
}

.side-sale {
  display: inline-block;
  padding: 10px;
  background-color: #f0f0f0;
}

/* -------------------- メインビジュアル -------------------- */
.main-visual {
  display: flex;
  height: calc( 100vh - 130px );
  background-image: url(../images/main-visual.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.main-logo {
  width: 380px;
  margin: auto;
}


/* -------------------- サイド ボタン -------------------- */
.btn-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: fixed;
  top: 150px;
  left: auto;
  right: 0;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
  z-index: 100;
}
.side-sale, .side-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  width: 62px;
  height: 270px;
  border-radius: 15px 0 0 15px;
}
.side-sale {
  color: #000;
  background-color: #fff100;
  border-right: 10px solid #a19600;
}
.side-buy {
  color: #fff;
  background-color: #e08024;
  border-right: 10px solid #874b0b;
}
.yajirushi-btn {
  width: 20px;
  margin: 8px;
}
.side-sale:hover, .side-buy:hover{
  margin-left: 6px;
  width: 56px;
  transition: 0.3s ease;
}
.side-sale:hover {
  background: #fff20a;
  border-right: 2px solid #a19600;
}
.side-buy:hover {
  background: #e08024;
  border-right: 2px solid #874b0b;
}

/* -------------------- Philosophy -------------------- */
.philosophy-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84%;
  max-width: 820px;
  margin: 8% auto 3% auto;
}
.philosophy-area img {
  width: 30%;
  margin-right: 4%;
}
.philosophy-area h1 {
  text-align: start;
  font-size: clamp(24px, 16.889px + 0.926vw, 28px);
}
.philosophy-area h1::after {
  content: "";
  display: inline-block;
  width: clamp(80px, 44.444px + 4.63vw, 100px);
  height: 0.5px;
  background-color: #333;
  margin-left: 1em;
  vertical-align: super;
}
.text-container p {
  max-width: 530px;
  line-height: 1.8em;
}
.ashirai-01 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 90px;
  color: #cccccc;
  opacity: 0.4;
  text-align: end;
}


/* -------------------- Service -------------------- */
.service-container {
  background-color: #e5e600;
}
.service-container p {
  text-align: center;
  margin: auto;
  line-height: 2em;
}
.ashirai-02 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 90px;
  color: #fff;
  opacity: 0.7;
  text-align: start;
}


/* -------------------- Business contents -------------------- */
.business-title h1 {
  padding-bottom: 0;
}
.business-title p {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-size: 20px;
  margin-top: 0.2em;
}
.border01 {
  border: none;
  border-top: 1px solid #000;
  width: 80px;
  margin: 2% auto;
}
.h2-container-01 {
  margin-left: 70%;
}
.h2-container-02 {
 margin-left: 5%;
 margin-top: 8%;
}
.h2-container-03 {
 margin-left: 65%;
 margin-top: 8%;
}
.h2-container-04 {
 margin-left: 15%;
 margin-top: 8%;
}
.border02 {
  border: none;
  height: clamp(12px, -34.222px + 6.019vw, 38px);
  width: 1px;
  background-color: #000;
  margin: 8px auto 0 auto;
}
.square {
  width: 94%;
  max-width: 800px;
  margin: -220px auto auto auto;
}
.img01-1 {
  width: 100%;
}
.b01 {
  display: flex;
}
.b01-text {
  width: 40%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.img01-2 {
  width: 60%;
}

.b02, .b03 {
  display: flex;
  margin: -160px auto auto auto;
}
.b02-text, .b03-text {
 width: 35%;
 background-color: #fff;
 display: flex;
 flex-direction: column;
 justify-content: center;
}
.b02-text>.h3-p , .b03-text>.h3-p{
  padding: clamp(2px, -8.667px + 1.389vw, 8px);;
}
.img-s {
  width: 26%;
  aspect-ratio: 10 / 11;
  object-fit: cover;
}
.img-l {
  width: 40%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.square-04 {
  display: flex;
}
.b04 {
  width: 50%;
}
.img04-1 {
  width: 50%;
  aspect-ratio: 2 / 3;
}
.img04-2 {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.b04-text {
  width: 100%;
  height: 50%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.last {
  background-color: #eae5df;
  margin-top: 6%;
}
.last h1 {
  padding: 5% 0;
  font-size: clamp(15px, 7.286px + 2.143vw, 33px);
  line-height: 2em;
}



/* -------------------- サイドTOPボタン -------------------- */
.pagetop {
  position: fixed;
  right: 1%;
  bottom: 3%;
  display: none;  /* 最初は非表示 */
  opacity: 0.7;
  z-index: 99;
}
.pagetop:hover {
  opacity: 1;
}
.pagetop img {
  height: 55px;
}



/* --------------------　フッター　-------------------- */
footer {
  background-color: #fff;
  color: #000;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6% 6% 0 6%;
}
.footer-company img {
  width: 60%;
}
.footer-company p {
  font-size: 14px;
  line-height: 1.8em;
}
.mail {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #53bc00;
  color: #fff;
  padding: 5%;
  width: 100%;
}
.mail:hover {
opacity: 0.8;
}
.mail img {
  height: 14px;
}
.mail p {
  font-size: clamp(14px, 10.444px + 0.463vw, 16px);
}
.contact-p {
  margin: 4% 0;
  font-size: clamp(13px, 11.714px + 0.357vw, 16px);
}
.contact a {
  font-size: clamp(22px, 11.333px + 1.389vw, 28px);
}
.contact span {
  font-size: clamp(34px, 16.222px + 2.315vw, 44px);
}
.border03 {
  border: none;
  border-top: 2px solid #999999;
  margin: 2% auto;
}
.copyright {
  text-align: end;
  font-size: 12px;
  padding-bottom: 40px;
}

/* --------------------　スクロールTOPボタン　-------------------- */
.scroll-top-btn {
  display: block;
  width: 60px;
  margin: 0 2% 2% auto;
}
.scroll-top-btn img {
  width: 100%;
}

/* ####################　メディアクエリ（768px以下）　#################### */
@media (max-width:768px) {
  .mb {
    display: block;
  }
  .pc {
    display: none;
  }
  /* --------------------　ヘッダー　-------------------- */
  header, .header-container {
    height: clamp(60px, 24.706px + 9.804vw, 100px);
  }
  .logo {
    width: 45%;
  }
  .logo img {
    width: 100%;
  }
  .tel-container {
    width: 52%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .tel-container p {
    font-size: clamp(11px, 4.824px + 1.716vw, 18px);
  }
  .tel-container a {
    font-size: clamp(12px, 1.412px + 2.941vw, 24px);
  }
  .tel-container span {
    font-size: clamp(20px, 2.353px + 4.902vw, 40px);
  }


  /* -------------------- メインビジュアル -------------------- */
  .main-logo {
    width: 70%;
  }

  /* -------------------- サイド ボタン -------------------- */
.btn-area-mb {
  display: flex;
  width: 100%;
  position: fixed;
  gap: 16px;
  bottom: 0;
  left: auto;
  right: auto;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(15px, 8.824px + 1.716vw, 22px);
  z-index: 100;
  margin: auto;
}
.side-sale-mb, .side-buy-mb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border-radius: 15px 15px 0 0;
  padding: 2%;
}
.side-sale-mb {
  color: #000;
  background-color: #fff100;
  border-bottom: 4px solid #a19600;
}
.side-buy-mb {
  color: #fff;
  background-color: #e08024;
  border-bottom: 4px solid #874b0b;
}
.yajirushi-btn-mb {
  width: 18px;
  margin: 0 0 0 2%;
}



  /* --------------------　Philosophy　-------------------- */
  
  .philosophy-area {
    display: block;
    margin: auto;
  }
  .philosophy-area img {
    width: 40%;
    margin: 4% auto auto auto;
    display: block;
  }
  .philosophy-area h1 {
    font-size: clamp(20px, 16.471px + 0.98vw, 24px);
  }
  .philosophy-area h1::after {
    width: clamp(20px, -227.059px + 68.627vw, 300px);
    margin-left: 0.1em;
  }
  .text-container p {
    width: 100%;
    max-width: none;
  }
  .ashirai-01 {
    font-size: 56px;
  }

  /* -------------------- Service -------------------- */
  .service-container p {
    width: 90%;
  }
  .ashirai-02 {
    font-size: 56px;
  }



  /* -------------------- Business contents -------------------- */
  h2 {
    font-size: clamp(16px, 14.235px + 0.49vw, 18px);
  }
  .business-title p {
    font-size: 16px;
  }
  .h3-p {
    font-size: clamp(13px, 10.353px + 0.735vw, 16px);
    letter-spacing: 0;
  }
  .b01 {
    display: block;
  }
  .b01-text {
    width: 100%;
  }
  .img01-2 {
    width: 100%;
  }
  .square {
    width: 100%;
    margin: -200px auto auto auto;
  }
  .b02-container, .b03-container {
    width: 90%;
    margin: auto;
  }
  .b02, .b03 {
    display: block;
  }
  .b02-text, .b03-text {
   width: 100%;
  }
  .img-s {
    width: 100%;
  }
  .img-l {
    width: 100%;
  }
  .b02-text>.h3-p , .b03-text>.h3-p{
    padding: 8px;
  }
  .square-04 {
    display: block;
  }
  .b04 {
    width: 100%;
  }
  .img04-1 {
    width: 100%;
  }
  .h2-container-01 {
    margin-left: 60%;
  }
  .h2-container-02 {
   margin-left: 5%;
  }
  .h2-container-03 {
   margin-left: 60%;
  }
  .h2-container-04 {
   margin-left: 5%;
  }

  /* --------------------　フッター　-------------------- */

  .footer-container {
    display: block;
    padding: 6% 0 2% 0;
  }
  .footer-company img {
    width: 260px;
  }
  .contact {
    display: flex;
  }
  .mail {
    padding: 10px;
    width: 250px;
    margin: 10px 0;
  }
  .contact-p {
    margin: 10px 0;
  }
  .copyright {
    text-align: end;
    font-size: 12px;
    padding-bottom: 70px;
  }
  /* --------------------　スクロールTOPボタン　-------------------- */
.scroll-top-btn {
  margin:  auto 0 0 auto;
}
}

