/*Regular*/
@font-face {
  font-family: "mazda";
  src: url("/font/MazdaType-Regular.woff2") format("woff2"), url("/font/MazdaType-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
/*Medium*/
@font-face {
  font-family: "mazda";
  src: url("/font/MazdaType-Medium.woff2") format("woff2"), url("/font/MazdaType-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
/*Medium*/
@font-face {
  font-family: "mazda";
  src: url("/font/MazdaType-Bold.woff2") format("woff2"), url("/font/MazdaType-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
* {
  margin: 0;
  padding: 0;
}
html {
  color: #333;
  font-family: "mazda", 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'HiraKakuProN-W3', 'Meiryo UI', 'Yu Gothic Medium', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 62.5%; /* 16px x 0.625 = 10px(=1rem) */
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
body {
  font-size: 1.3rem; /* 13px */
  line-height: 1.6;
  letter-spacing: 1px;
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -o-text-size-adjust: 100%;
  text-size-adjust: 100%;
  position: relative;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
div {
  position: relative;
}
fieldset, img {
  border: 0
}
ol, ul {
  list-style: none;
}
/*link*/
a {
  color: #333;
  text-decoration: none;
}
a:link {
  color: #333;
  text-decoration: none;
}
a:visited {
  color: #333;
  text-decoration: none;
}
a:hover {
  color: #7E7E7E;
  text-decoration: none;
}
a:hover img {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  padding-top: 0px;
  transition: .3s;
}
img {
  border-style: none;
  z-index: 0;
  vertical-align: bottom;
  line-height: 1.0em;
  width: 100%;
  height: auto;
}
.bg_black {
  background: #000000;
  color: #fff;
}
.base_bg {
  padding: 3em 0;
  overflow: hidden;
}
.base_bg.gray {
  background: linear-gradient(180deg, rgba(247, 247, 247, 1) 0%, rgba(234, 234, 234, 1)100%);
}
.space {
  padding: 1.5em 0;
}
.heading {
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 4px;
  line-height: 1.4;
}
.heading span {
  display: block;
  color: #7E7E7E;
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.pagetitle {
  margin: 70px auto 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 1) 0%, rgba(84, 84, 84, 1)100%);
  color: #fff;
  padding: 1.5em 0;
  position: relative;
}
.pagetitle h2 {
  font-weight: 500;
  letter-spacing: 2px;
  position: relative;
  padding: 0 0 0.4em;
  margin: 0 auto 0.5em;
  font-size: 1.8rem;
}
.pagetitle h2::before {
  position: absolute;
  bottom: 0px;
  left: calc(50% - 20px);
  width: 40px;
  height: 1px;
  content: '';
  background: #fff;
}
.pagetitle p {}
.page_mv {
  margin: 70px auto 0;
}
.page_mv div {
  background: linear-gradient(180deg, rgba(247, 247, 247, 1) 0%, rgba(234, 234, 234, 1)100%);
  padding: 20px 30px 30px;
  text-align: left;
  letter-spacing: 2px;
}
.page_mv div h2 {
  font-weight: 500;
  font-size: 1.8rem;
  position: relative;
  padding: 0 0 0.7em;
  margin: 0 auto 0.7em;
}
.page_mv div h2 span {
  display: block;
  color: #DDDDDD;
  font-size: 3.3rem;
  line-height: 1.3;
  letter-spacing: 1px;
}
.page_mv div h2::before {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 40px;
  height: 1px;
  content: '';
  background: #000;
}
.page_mv div p {
  font-weight: 500;
  line-height: 1.8;
  font-size: 1.4rem;
}
/* pp */
.pp {
  margin: auto;
  text-align: left;
  padding: 2em 8%;
}
.pp.gray {
  background: linear-gradient(180deg, rgba(247, 247, 247, 1) 0%, rgba(234, 234, 234, 1)100%);
}
.pp div:first-child {
  margin: 0 auto 0.8em;
}
.pp div {
  padding: 0 0 0.3em;
  border-bottom: 0.5px solid #707070;
  margin: 0 auto 0.8em;
  font-weight: 500;
  font-size: 1.5rem;
}
.pp div.noborder {
  border-bottom: none;
  padding: 0;
  margin: 0 auto 0.5em;
  font-size: 1.6rem;
}
.pp ol {
  list-style: none;
  counter-reset: num;
  margin: 0.8em auto 0;
}
.pp ol li {
  counter-increment: num; /* カウンターを1ずつ増やす */
  position: relative;
  padding: 2px 0 2px 20px;
}
.pp ol li::before {
  content: counter(num) ". ";
  position: absolute;
  left: 0;
  top: 3px;
}
.pp ul {
  list-style: none;
  margin: 0.5em auto 0;
}
.pp ul li {
  position: relative;
  padding: 2px 0 2px 20px;
  font-size: 1.2rem;
}
.pp ul li::before {
  content: '※';
  position: absolute;
  left: 0;
  top: 3px;
}
/* shop */
.comp_txt {
  text-align: left;
  font-weight: 500;
  line-height: 1.8;
  width: 85%;
  margin: 0 auto 3em;
}
.comp_txt span {
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 2px;
  margin: 0 auto 0.5em;
}
.comp_list {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}
.comp_list li {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #7E7E7E;
  text-align: left;
}
.comp_list li dt {
  width: 120px;
  color: #7E7E7E;
}
.comp_list li dd {
  width: calc(100% - 120px);
}
.map {
  width: 90%;
  margin: 2em auto 0;
}
/* 仮のリンクバナー */
.sample_link {
  width: 85%;
  margin: auto;
}
.sample_link li {
  position: relative;
  margin: 1em auto 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 1) 0%, rgba(84, 84, 84, 1)100%);
  color: #fff;
  text-align: left;
}
.sample_link li a {
  color: #fff !important;
  display: block;
  padding: 20px;
}
.sample_link li p {
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.sample_link li p span {
  display: block;
  font-size: 1.7rem;
  margin: 0 auto 0.3em;
}
.sample_link li p span span {
  font-size: 1.3rem;
  margin: 0 auto;
}
.sample_link li .btn {
  position: absolute;
  top: calc(50% - 10px);
  right: 0px;
  z-index: 3;
  transform: rotate(90deg);
}
.sample_link li .btn {
  background: #fff;
}
.sample_link li .btn span {
  color: #000;
}
.sample_link.toppage li a p {
  color: #7E7E7E !important;
  font-size: 1.4rem;
}
.sample_link.toppage li a p span {
  color: #fff !important;
  margin: 0 auto;
}
.sample_link.gnav_service {
  width: 100%;
}
.sample_link.gnav_service li a {
  padding: 15px 20px;
}
.sample_link.gnav_service li a p {
  color: #7E7E7E !important;
  font-size: 1.3rem;
}
.sample_link.gnav_service li a p span {
  color: #fff !important;
  margin: 0 auto;
  font-size: 1.6rem;
}
.sample_link.gnav_service li .btn {
  right: 10px;
  transform: rotate(0deg);
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }
  body {
    font-size: 1.5rem; /* 15px */
    line-height: 1.8;
  }
  .base_bg {
    padding: 5em 0;
  }
  .space {
    padding: 2em 0;
  }
  .heading {
    font-size: 3rem;
    letter-spacing: 5px;
  }
  .heading span {
    font-size: 2rem;
  }
  .pagetitle {
    margin: 80px auto 0;
    padding: 2em 0 2.5em;
  }
  .pagetitle h2 {
    padding: 0 0 0.2em;
    margin: 0 auto 0.4em;
    font-size: 3rem;
  }
  .pagetitle p {
    font-size: 1.8rem;
  }
  .page_mv {
    margin: 70px auto 0;
    background: linear-gradient(180deg, rgba(247, 247, 247, 1) 0%, rgba(234, 234, 234, 1)100%);
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
  }
  .page_mv img {
    width: 60%;
    height: 550px;
    object-fit: cover;
  }
  .page_mv div {
    background: none;
    padding: 0 5%;
    width: 30%;
  }
  .page_mv div h2 {
    font-size: 3rem;
    padding: 0 0 0.7em;
    margin: 0 auto 0.7em;
  }
  .page_mv div h2 span {
    font-size: 6rem;
    line-height: 1;
  }
  .page_mv div p {
    font-size: 2rem;
  }
  /* pp */
  .pp {
    padding: 5em 0 5em;
    width: 100%;
  }
  .pp div {
    font-size: 2.2rem;
    max-width: 900px;
    margin: 0 auto 1em;
    text-align: center;
  }
  .pp div.noborder {
    font-size: 2rem;
  }
  .pp p {
    max-width: 900px;
    margin: auto;
    line-height: 2;
  }
  .pp ol {
    max-width: 900px;
    margin: 0.8em auto 0;
  }
  .pp ol li {
    padding: 3px 0 3px 25px;
  }
  .pp ul {
    max-width: 900px;
    margin: 0.8em auto 0;
  }
  .pp ul li {
    padding: 3px 0 3px 25px;
    font-size: 1.4rem;
  }
  /* shop */
  .comp_txt {
    text-align: center;
    line-height: 2;
    margin: 0 auto 3em;
    font-size: 2rem;
    letter-spacing: 3px;
  }
  .comp_txt span {
    font-size: 2.8rem;
    letter-spacing: 4px;
  }
  .comp_list li {
    padding: 30px 0;
  }
  .comp_list li dt {
    width: 230px;
  }
  .comp_list li dd {
    width: calc(100% - 230px);
  }
  .map {
    max-width: 1000px;
    margin: 4em auto 0;
  }
  /* 仮のリンクバナー */
  .sample_link {
    width: 90%;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 2em auto 0em;
    justify-content: space-between;
  }
  .sample_link li {
    width: 49%;
    margin: 0;
  }
  .sample_link li a {
    padding: 45px 40px;
  }
  .sample_link li p {
    font-size: 1.7rem;
    line-height: 1.5;
    letter-spacing: 4px;
  }
  .sample_link li p span {
    font-size: 2.5rem;
  }
  .sample_link li p span span {
    font-size: 2rem;
  }
  .sample_link li .btn {
    right: 10px;
  }
  .sample_link.toppage {
    max-width: 1200px;
  }
  .sample_link.toppage li {
    margin: 0 0 2em;
  }
  .sample_link.toppage li a p {
    font-size: 2rem;
    letter-spacing: 2px;
  }
  .sample_link.gnav_service {
    margin: 0 auto 0;
    max-width: 100%;
  }
  .sample_link.gnav_service li {
    margin: 1em 0 0;
  }
  .sample_link.gnav_service li a {
    padding: 25px 30px;
  }
  .sample_link.gnav_service li a p {
    font-size: 1.7rem;
    letter-spacing: 2px;
  }
  .sample_link.gnav_service li a p span {
    font-size: 2rem;
  }
}
/* ------------------------------------ */
/* footer:calender */
/* ------------------------------------ */
#xo-event-calendar-1 .calendars.xo-months {
  display: flex;
  gap: 0rem; /* 月と月のあいだのスキマ */
  flex-wrap: wrap; /* 画面がせまいときは自動で折り返し＝縦並び */
  align-items: flex-start;
}
/* 各月ボックスの見た目調整 */
#xo-event-calendar-1 .calendar.xo-month-wrap {
  flex: 1 1 50%; /* 320pxより細くならないようにしつつ、余白があれば広がる */
  max-width: 48%; /* 欲しければ上限つける。もっと広げたいなら消してOK */
  border: 0px solid #000;
  border-radius: 0px;
  padding: 1%;
  color: #FFF;
  background: #000;
  text-align: center;
}
/* カレンダーヘッダー「PREV / NEXT / 2025年10月」の横並びをキレイに */
#xo-event-calendar-1 .month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: .5rem;
  gap: .5rem;
}
/* ボタンをちょっとだけボタンっぽくする（任意） */
#xo-event-calendar-1 .month-header button {
  font-size: 12px;
  line-height: 1.2;
  padding: 4px 8px;
  border: 0px solid #000;
  border-radius: 4px;
  background: #f5f5f5;
  cursor: pointer;
}
#xo-event-calendar-1 .month-header button[disabled] {
  opacity: .4;
  cursor: default;
}
/* 月タイトル（2025年 10月）だけ中央寄せ気味に見せたいなら */
#xo-event-calendar-1 .calendar-caption {
  flex: 1;
  text-align: center;
  font-size: 14px;
}
.xo-event-calendar table {
  background-color: #000;
  border-collapse: separate;
  border-spacing: 0;
  color: #FFF;
  margin: 0;
  padding: 0;
  table-layout: fixed;
  width: 100%;
}
.xo-event-calendar table.xo-month td, .xo-event-calendar table.xo-month th {
  background-color: #000;
  border: 0px solid #ccc;
  padding: 0;
}
.xo-event-calendar table.xo-month > thead th {
  border-width: 0 0 0 0;
  color: #FFF;
  font-size: .9em;
  font-weight: 700;
  padding: 1px 0;
  text-align: center;
}
.xo-event-calendar table.xo-month td, .xo-event-calendar table.xo-month th {
  background-color: #000;
  border: 0px solid #000;
  padding: 0;
}
.xo-event-calendar table.xo-month > thead th.sunday {
  color: #FFF;
}
.xo-event-calendar table.xo-month > thead th.saturday {
  color: #FFF;
}
.xo-event-calendar table.xo-month .month-dayname td div.other-month {
  opacity: .0;
}
.holiday-titles {
  display: none;
}
.xo-event-calendar table.xo-month {
  border: 0px solid #000;
  border-right-width: 0;
  margin: 0 0 8px;
  padding: 0;
}
.xo-event-calendar table.xo-month .month-dayname td div {
  text-align: center;
  line-height: 1.3;
  height: 100%
}
.holiday-all {
  color: #333;
}
.xo-event-calendar table.xo-month .month-dayname td div.today {
  color: #FFF;
  font-weight: 700;
}
.xo-event-calendar table.xo-month .month-event-space {
  background-color: transparent;
  height: 0.8em;
}