@charset "utf-8";

/* *************************************
// 変数宣言
************************************* */
:root {
  --rem: 1rem / 16;
  --black: black;
  --white: white;
  --red: rgba(204, 35, 41, 0.9);
  --blue: blue;
  --gray1: #f4f4f6;
  --gray2: #ccc;
}

/* *************************************
// setting
************************************* */
:root {
  --leading-trim: calc((1em - 1lh) / 2);
  /* margin-block: var(--leading-trim); */
}

* {
  min-inline-size: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
}

p {
  font-size: 1rem;
  line-height: 1.8;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.5s;
}

a[href^='tel:'] {
  pointer-events: none;
  @media (width < 768px) {
    pointer-events: revert;
  }
}

figure,
img,
picture {
  max-width: 100%;
  display: block;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* *************************************
// ルートフォント設定
************************************* */
html {
  /* デフォルト */
  font-size: 100%;
}
/*　インナー幅＋余白 〜 */
@media (width < 1330px) {
  html {
    font-size: calc(100vw * (16 / 1330));
  }
}
/* 376px ~ 768px */
@media (width < 768px) {
  html {
    font-size: 100%;
  }
}
/* ~ 375px */
@media (width < 375px) {
  html {
    font-size: calc(100vw * (16 / 375));
  }
}

/* *************************************
// インナー設定(PC first)
************************************* */
:root {
  --padding-inline-pc: 25px;
  --padding-inline-sp: 20px;
  --inner-width-pc: 1000px;
  --inner-width-sp: 600px;
}

.inner {
  padding-inline: var(--padding-inline-pc);
  width: min(100%, calc(var(--inner-width-pc) + var(--padding-inline-pc) * 2));
  margin-inline: auto;
  @media (width < 768px) {
    padding-inline: var(--padding-inline-sp);
    max-width: calc(var(--inner-width-sp) + var(--padding-inline-sp) * 2);
  }
}

.inner.inner--contact-form {
  max-width: calc(850 * var(--rem));
}

/* *************************************
// class
************************************* */
.pc_none {
  display: none;
}

@media (width < 768px) {
  .pc_none {
    display: block;
  }

  .sp_none {
    display: none;
  }
}

.section-space {
  margin-block-start: calc(80 * var(--rem));
}

.section-space-s {
  margin-block-start: calc(40 * var(--rem));
}

/* *************************************
button1
************************************* */
.button1 {
  display: inline-flex;
  align-items: center;
  column-gap: calc(8 * var(--rem));
  justify-content: center;
  min-width: calc(180 * var(--rem));
  background-color: #cc1716;
  background-image: linear-gradient(-90deg, #d81918 40%, transparent 40%), linear-gradient(#d81918 40%, transparent 40%);
  background-size: 6px 6px;
  font-weight: bold;
  color: var(--white);
  padding: calc(10 * var(--rem));
  opacity: transform 0.3s ease;
}

.button1::after {
  content: '';
  display: inline-block;
  width: calc(16 * var(--rem));
  height: calc(16 * var(--rem));
  background: url(../../library/images/common/btn-arrow-w.svg) no-repeat center / contain;
  transition: transform 0.3s ease;
}

@media (any-hover: hover) {
  .button1:hover {
    opacity: 0.7;
  }

  .button1:hover::after {
    transform: translateX(4px);
  }
}

/* *************************************
.title001
************************************* */
.title001 {
  background-color: var(--red);
  clip-path: polygon(3% 0%, 100% 0%, 100% 100%, 0% 100%);
  margin-inline-end: calc(50% - 50vw);
  font-size: calc(28 * var(--rem));
  font-weight: bold;
  padding-inline: calc(56 * var(--rem));
  color: var(--white);
  @media (width < 768px) {
    font-size: calc(24 * var(--rem));
    padding-inline: calc(32 * var(--rem));
  }
}

/* *************************************
title002
************************************* */
.title002 {
  display: flex;
  align-items: end;
  column-gap: calc(16 * var(--rem));
  position: relative;
  padding-block-start: calc(16 * var(--rem));
}

.title002::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--red);
  position: absolute;
  top: 0;
  left: 0;
}

.title002__jp {
  font-size: calc(30 * var(--rem));
  font-weight: bold;
  line-height: 1;
  margin-block-start: calc(4 * var(--rem));
}

.title002__en {
  font-size: calc(20 * var(--rem));
  font-weight: 500;
  line-height: 1;
}

.title002__en::first-letter {
  text-transform: uppercase;
}

.title002.title002--border::before {
  display: none;
}

/* *************************************
title003
************************************* */
.title003 {
  font-size: calc(28 * var(--rem));
  font-weight: bold;
  color: var(--white);
  background-color: var(--red);
  padding-inline: calc(32 * var(--rem));
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
  @media (width < 768px) {
    font-size: calc(26 * var(--rem));
  }
}

/* *************************************
title004
************************************* */
.title004 {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  position: relative;
}

.title004::after {
  content: '';
  display: block;
  width: 20%;
  height: 2px;
  background-color: var(--red);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* *************************************
faq
************************************* */
.faq__list {
  margin-block-start: calc(40 * var(--rem));
}

/* *************************************
faq-padding
************************************* */
.faq-padding {
  padding-block-end: 64px;
}

/* *************************************
staff-list
************************************* */
.staff-list {
  display: grid;
  row-gap: calc(64 * var(--rem));
}

.staff-list__item {
  display: flex;
  gap: calc(24 * var(--rem));
  width: 95%;
  @media (width < 768px) {
    flex-direction: column;
    width: 100%;
  }
}

.staff-list__item:last-child {
 display: grid;
}

.staff-list__item:last-child .staff-list__text {
 margin-block-start: 0;
}

.staff-list__img-block {
  width: 50%;
  position: relative;
  @media (width < 768px) {
    width: 100%;
  }
}

.staff-list__img {
  height: 100%;
  width: 100%;
}

.staff-list__img img {
  aspect-ratio: 3 /2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-list__cat {
  position: absolute;
  bottom: 0;
  right: 0;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.5);
  padding: calc(15 * var(--rem)) calc(10 * var(--rem));
  font-weight: bold;
  color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: -4px;
  @media (width < 768px) {
    font-size: calc(12 * var(--rem));
    padding: calc(10 * var(--rem));
  }
}

.staff-list__wrap {
  width: 50%;
  @media (width < 768px) {
    width: 100%;
  }
}

.staff-list__name {
  font-size: calc(28 * var(--rem));
  font-weight: bold;
  border-left: 6px solid var(--red);
  padding-inline-start: calc(16 * var(--rem));
  @media (width < 768px) {
    font-size: calc(20 * var(--rem));
  }
}

.staff-list__text {
  margin-block-start: calc(24 * var(--rem));
}


.staff-list__license-wrap {
 margin-block-start: calc(8 * var(--rem));
}

.staff-list__license {
 width: fit-content;
 padding-inline: calc(4 * var(--rem));
 font-size: calc(18 * var(--rem));
 font-weight: bold;
 border-bottom: 1px solid var(--main-color);
}

/* 反転 */
.staff-list__item:nth-child(odd) {
  flex-direction: row-reverse;
  margin-inline-start: auto;
  @media (width < 768px) {
    flex-direction: column;
    margin-inline-start: 0;
  }
}

/* *************************************
staff
************************************* */
.staff {
  background-image: radial-gradient(circle, #777777 0.5px, transparent 0.5px);
  background-position: 0 0;
  background-size: 21px 21px;
  padding-block: calc(80 * var(--rem));
}

.staff__text {
  text-align: center;
}

.staff__text p {
  font-size: calc(20 * var(--rem));
  font-weight: 500;
}

.staff__list {
  margin-block-start: calc(80 * var(--rem));
}

/* *************************************
news-list
************************************* */
.news-list {
  display: grid;
  row-gap: calc(8 * var(--rem));
}

.news-list__item {
}

.news-list__link {
  display: flex;
  column-gap: calc(16 * var(--rem));
  border-bottom: 1px solid var(--gray2);
  padding-block: calc(8 * var(--rem));
  transition: opacity 0.3s ease;
  @media (width < 768px) {
    flex-direction: column;
  }
}

@media (any-hover: hover) {
  .news-list__link:hover {
    opacity: 0.7;
  }
}

.news-list__time {
  color: var(--red);
  margin-block-start: calc(3 * var(--rem));
}

.news-list__title {
  font-size: calc(20 * var(--rem));
  font-weight: bold;
}

/* *************************************
news
************************************* */
.news {
  padding-block: calc(80 * var(--rem));
  background-color: var(--red);
}

.news__contents {
  display: grid;
  grid-template-columns: 3fr 7fr;
  padding-block-start: 16px;
  background-color: var(--white);
  padding: 32px 6%;
  border-radius: 16px;
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
}

.news__wrap {
  display: grid;
  @media (width < 768px) {
    display: contents;
  }
}

.news__title {
  @media (width < 768px) {
    order: 1;
  }
}

.news__btn {
  margin-block-start: auto;
  margin-top: 20px;
  @media (width < 768px) {
    order: 3;
    text-align: center;
    margin-block-start: 24px;
  }
}

.new__list {
  margin-block-start: 16px;
  @media (width < 768px) {
    order: 2;
  }
}

/* *************************************
news-archive
************************************* */
.news-archive {
  padding-block: 40px;
  background-image: radial-gradient(circle, #777777 0.5px, transparent 0.5px);
  background-position: 0 0;
  background-size: 21px 21px;
}

.news-archive__btn {
  text-align: center;
  margin-block-start: 40px;
}

/* *************************************
img-parts001
************************************* */
.img-parts001 {
  display: flex;
  gap: calc(24 * var(--rem));
  flex-direction: row-reverse;
  margin-inline-start: calc(50% - 50vw);
  @media (width < 768px) {
    flex-direction: column;
  }
}

.img-parts001__text-block {
  width: 40%;
  @media (width < 768px) {
    display: contents;
    width: 100%;
  }
}

.img-parts001__title {
  @media (width < 768px) {
    order: 1;
  }
}

.img-parts001__text {
  margin-block-start: calc(40 * var(--rem));
  @media (width < 768px) {
    order: 3;
    padding-inline-end: 20px;
    padding-inline: 20px 0;
  }
}

.img-parts001__text p {
  margin-block-end: 1em;
}

.img-parts001__img {
  position: relative;
  width: 60%;
  @media (width < 768px) {
    order: 2;
    width: 100%;
  }
}

.img-parts001__img::after {
  content: '';
  display: block;
  width: 100%;
  height: calc(3 * var(--rem));
  background-color: var(--red);
  position: absolute;
  bottom: calc(-40 * var(--rem));
  right: 0;
}

.img-parts001__img img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* *************************************
store-information__title
************************************* */
.store-information__title {
  margin-block-start: calc(24 * var(--rem));
}

.store-information__contents {
  margin-block-start: calc(40 * var(--rem));
}

/* *************************************
gallery
************************************* */
.gallery {
}

.gallery.gallery--about {
  margin-block-start: calc(100 * var(--rem));
}

.gallery.gallery--access {
  margin-block-start: calc(24 * var(--rem));
}

.gallery__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(24 * var(--rem)) calc(16 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
}

.gallery.gallery--col2 .gallery__list {
  grid-template-columns: repeat(2, 1fr);
}

.gallery__img {
  box-shadow: 2px 2px 6px rgb(0 0 0 / 0.6);
}

.gallery__img img {
  aspect-ratio: 3 /2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* *************************************
img-parts002
************************************* */
.img-parts002 {
  margin-block-start: calc(24 * var(--rem));
}

.img-parts002__img {
}

.img-parts002__img img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: calc(500 * var(--rem));
  object-fit: cover;
  object-position: 50% 23%;
}

/* *************************************
table1
************************************* */
.table1 {
  display: grid;
  gap: calc(20 * var(--rem)) calc(20 * var(--rem));
}

.table1__item {
  display: grid;
  grid-template-columns: calc(200 * var(--rem)) 1fr;
  border-bottom: 1px solid var(--gray2);
  padding-block: calc(8 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
}

.table1__item dt {
  font-weight: bold;
  letter-spacing: 0.5em;
}

.table1__item dt {
  letter-spacing: 0.1em;
}
.table1__item dd a {
  color: var(--red);
  transition: opacity 0.3s ease;
}

.table1__item dd a:hover {
  opacity: 0.7;
}

/* *************************************
access-info
************************************* */
.access-info {
  padding-block: calc(100 * var(--rem));
  background-image: radial-gradient(circle, #777777 0.5px, transparent 0.5px);
  background-position: 0 0;
  background-size: 21px 21px;
  @media (width < 768px) {
    padding-block: calc(40 * var(--rem));
  }
}

/* *************************************
map
************************************* */
.map {
  padding-block-end: calc(40 * var(--rem));
}

.map__contents {
  margin-block-start: calc(24 * var(--rem));
}

.map__contents iframe {
  aspect-ratio: 16 /9;
  width: 100%;
  height: calc(500 * var(--rem));
  object-fit: cover;
}

/* *************************************
tab-btns
************************************* */
.tab-btns {
  display: flex;
  justify-content: center;
  column-gap: calc(8 * var(--rem));
  border-bottom: 2px solid var(--red);
}

.tab-btns__btn {
  border: 2px solid var(--red);
  border-bottom: none;
  min-width: 200px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-color: var(--white);
  color: var(--red);
  transition: all 0.3s ease;
  @media (width < 768px) {
    min-width: calc(150 * var(--rem));
  }
}

.tab-btns__btn:hover {
  cursor: pointer;
}

.tab-btns__btn.current {
  color: var(--white);
  background-color: var(--red);
}

/* *************************************
contact-tabs
************************************* */
.contact-tabs {
  margin-block-start: calc(40 * var(--rem));
}

/* *************************************
thanks
************************************* */
.thanks__text p {
  margin-block-start: calc(64 * var(--rem));
  font-size: calc(20 * var(--rem));
  text-align: center;
  font-weight: 500;
  @media (width < 768px) {
    font-size: calc(18 * var(--rem));
  }
}

.thanks__btn {
  text-align: center;
  margin-block-start: calc(64 * var(--rem));
  padding-block-end: 100px;
}

/* *************************************
section-contact
************************************* */
.section-contact {
  padding-block: 40px;
  background-color: var(--red);
  background: url(../../library/images/access/access1.webp) no-repeat center / cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
}

.section-contact::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
}

.section-contact__title {
  font-size: 40px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  position: relative;
}

.section-contact__wrap {
  position: relative;
  width: min(100%, 800px);
  padding: 40px 6%;
  background-color: var(--white);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  align-items: center;
  margin-block-start: 40px;
  margin-inline: auto;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 40px 3%;
  }
}

.section-contact__wrap::before {
  content: '';
  display: block;
  width: 2px;
  height: 60%;
  background-color: #ccc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media (width < 768px) {
  .section-contact__wrap::before {
    display: none;
  }
}

.section-contact__tel {
  display: grid;
  place-content: center;
}

.section-contact__tel a {
  font-size: 35px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  /* column-gap: 4px; */
}

.section-contact__tel a::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background: url(../../library/images/common/icon_tel.svg) no-repeat center / contain;
}

.section-contact__tel-time,
.section-contact__day {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
}

.section-contact__btn .btn001 {
  margin-block: 0;
}

.section-contact__btn .btn001 a {
  padding: 1em 5em;
}

/* *************************************

************************************* */
.fixed-btn {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  grid-template-columns: repeat(2, 1fr);
  width: min(100%, 600px);
  display: none;
  @media (width < 768px) {
    display: grid;
  }
}

.fixed-btn__btn {
  background-color: #cc2329;
  padding: 10px 5px;
  font-weight: bold;
  color: var(--white);
  border: 1px solid var(--white);
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
}

.fixed-btn__btn::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
}

.fixed-btn__btn.fixed-btn__btn--tel {
  color: var(--white);
}

.fixed-btn__btn.fixed-btn__btn--contact {
  background-color: var(--text-color);
}

.fixed-btn__btn.fixed-btn__btn--tel::before {
  background: url(../../library/images/common/icon_tel_w.svg) no-repeat center / contain;
}

.fixed-btn__btn.fixed-btn__btn--contact::before {
  background: url(../../library/images/common/icon_mail_w.svg) no-repeat center / contain;
}

/* *************************************
夏用・冬用タイヤ入れ替え作業工賃サービス
************************************* */
.papamama__title {
  display: flex;
  column-gap: calc(24 * var(--rem));
  justify-content: center;
  margin-inline: auto;
  font-weight: bold;
  font-size: calc(30 * var(--rem));
  @media (width < 768px) {
    text-align: center;
  }
}

.papamama__title:before,
.papamama__title:after {
  display: inline-block;
  justify-content: center;
  content: '';
  background: var(--red);
  width: 2px;
  height: calc(54 * var(--rem));
}

@media (width < 768px) {
  .papamama__title:before,
  .papamama__title:after {
    margin-block-start: 8%;
  }
}

.papamama__title:before {
  transform: rotate(-35deg);
}

.papamama__title:after {
  transform: rotate(35deg);
}

.papamama__text {
  text-align: center;
  margin-block-start: calc(16 * var(--rem));
}

.papamama__sub-title {
  font-size: calc(26 * var(--rem));
  font-weight: bold;
  text-align: center;
  margin-block-start: calc(40 * var(--rem));
  position: relative;
}

.papamama__sub-title::after {
  content: '';
  display: block;
  width: calc(64 * var(--rem));
  height: 2px;
  background-color: var(--red);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.papamama__wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: calc(24 * var(--rem));
  margin-block-start: calc(32 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
    row-gap: calc(64 * var(--rem));
  }
}

.papamama__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: calc(8 * var(--rem));
}

.papamama__img {
  zoom: 0.7;
  margin-inline: auto;
}

.papamama__img img {
  object-fit: contain;
}

.papamama__item-title {
  font-size: calc(24 * var(--rem));
  font-weight: bold;
  display: grid;
  place-content: center;
  column-gap: calc(16 * var(--rem));
  text-align: center;
}

.papamama__text p {
  text-align: left;
}
