@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Swiss+721&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 12pt;
  font-family: "Swiss 721", "Noto Sans JP", sans-serif;
}

body {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 1rem;
  font-weight: normal;
  color: #072743;
  letter-spacing: 0.1rem;
}

html {
  scroll-behavior: smooth;
}

#header header.header_sticky {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  border-bottom: solid 1px #EEEEEE;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  color: #666666;
  padding: 0.5vw;
  text-align: center;
  width: 100%;
  z-index: 1000;
}
@media only screen and (max-width: 1023px) {
  #header header.header_sticky {
    padding: 3vw;
  }
}
#header header.header_sticky h1 {
  text-align: left;
  position: relative;
  line-height: 1;
  font-size: 2rem;
  color: #072743;
  cursor: pointer;
}
#header header.header_sticky h1 img {
  height: min(2vw, 30px);
}
@media only screen and (max-width: 1023px) {
  #header header.header_sticky h1 img {
    height: 6vw;
  }
}
@media only screen and (max-width: 1023px) {
  #header header.header_sticky nav {
    display: none;
  }
  #header header.header_sticky nav.active {
    display: block;
    position: fixed;
    top: 12vw;
    right: 0;
    width: 100%;
    background: white;
    padding-bottom: 1rem;
  }
}
#header header.header_sticky nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}
#header header.header_sticky nav ul li {
  margin: 0 1vw;
  font-size: 1.5rem;
}
#header header.header_sticky nav ul li a {
  color: #666666;
  text-decoration: none;
}
#header header.header_sticky nav ul li a:hover {
  color: #333333;
}
@media only screen and (max-width: 1023px) {
  #header header.header_sticky nav.active ul {
    display: block;
  }
}
#header header.header_sticky .hamburger {
  display: none;
}
@media only screen and (max-width: 1023px) {
  #header header.header_sticky .hamburger {
    display: block;
    width: 6vw;
    height: 5vw;
    position: relative;
    cursor: pointer;
  }
}
#header header.header_sticky .hamburger span {
  display: block;
  position: absolute;
  height: 0.5vw;
  width: 100%;
  background: #333333;
  border-radius: 9px;
  transition: 0.3s;
}
#header header.header_sticky .hamburger span:nth-child(1) {
  top: 0;
}
#header header.header_sticky .hamburger span:nth-child(2) {
  top: 2vw;
}
#header header.header_sticky .hamburger span:nth-child(3) {
  top: 4vw;
}
#header header.header_sticky .hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 2vw;
}
#header header.header_sticky .hamburger.active span:nth-child(2) {
  opacity: 0;
}
#header header.header_sticky .hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 2vw;
}
#header div.main-visual {
  position: relative;
  aspect-ratio: 32/9;
  background-size: cover;
  margin-top: 3rem;
}
@media only screen and (max-width: 1023px) {
  #header div.main-visual {
    margin-top: 12vw;
    aspect-ratio: 16/9;
  }
}
@media only screen and (max-width: 767px) {
  #header div.main-visual {
    aspect-ratio: 4/3;
  }
}
#header div.main-visual div.main-visual__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#header div.main-visual div.main-visual__panel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#header div.main-visual div.main-visual__notes {
  line-height: 1;
  border-radius: 10px;
  padding: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgb(164, 15, 15);
  outline: 1px solid white;
  outline-offset: -5px;
  color: white;
}
@media only screen and (max-width: 767px) {
  #header div.main-visual div.main-visual__notes {
    display: none;
  }
}
#header div.main-visual div.main-visual__notes a img {
  width: min(315px, 94vw - 40px);
}
#header div.main-visual div.main-visual__copy {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: white;
  font-family: serif;
  font-weight: bold;
  font-size: max(16pt, 3vw);
  text-shadow: 0px 0px 3px black;
}
@media only screen and (max-width: 1023px) {
  #header div.main-visual div.main-visual__copy {
    bottom: 5vw;
  }
}

#news {
  background-color: white;
  padding: 4rem 0;
}
#news .container {
  width: min(90%, 800px);
  margin: 0 auto;
}
#news .container ul {
  background-color: white;
  margin: 0;
  padding: 0;
}
#news .container ul li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  padding: 0 0 5px;
  margin: 5px 0 0;
  font-size: 0.8rem;
  list-style: none;
  border-bottom: 1px solid #CCCCCC;
}
@media only screen and (max-width: 1023px) {
  #news .container ul li {
    grid-template-columns: 1fr;
  }
}
#news .container ul li:last-child {
  border-bottom: none;
}
#news .container ul li time {
  margin: 0;
  display: block;
  font-size: 1rem;
  color: #666666;
}
#news .container ul li div.entry h3.news_title {
  margin: 0;
  display: block;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.6;
  color: #333333;
  text-decoration: none;
  cursor: pointer;
}
#news .container ul li div.entry h3.news_title:hover {
  color: #666666;
}
#news .container ul li div.entry div.news_body {
  display: none;
  margin: 0.3rem 0 0;
  padding: 0;
  font-size: 1rem;
  color: #666666;
}
#news .container ul li div.entry div.news_body p {
  line-height: 1.4;
}

#message {
  background-color: #072743;
  color: white;
  padding: 4rem 0;
}
#message h2 {
  color: white;
}
#message .container {
  width: min(90%, 800px);
  margin: 0 auto;
  padding: 0;
  color: white;
}
#message .container p.philosophy {
  text-align: justify;
  color: white;
  font-size: 1rem;
  line-height: 2;
  margin: 0 0 2rem;
  width: 100%;
}
#message .container p.message {
  font-family: serif;
  text-align: justify;
  color: white;
  font-size: 1.2rem;
  line-height: 2;
  margin: 0 0 1rem;
  width: 100%;
}
#message .container div.signature {
  font-family: serif;
  text-align: right;
  font-size: 1.2rem;
}

#service {
  background-color: white;
  padding: 5vw 0;
}
#service .container {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  padding: 4rem 0 0;
}
#service .container h2 {
  display: none;
}
#service .container ul {
  width: 100%;
}
#service .container ul li {
  display: grid;
  margin: 0 0 4rem;
}
#service .container ul li img {
  width: 40vw;
  aspect-ratio: 10/4;
  object-fit: cover;
}
#service .container ul li div.service_description {
  padding: 0 1vw;
  color: #333333;
  font-size: 1rem;
  line-height: 1.5;
}
#service .container ul li div.service_description div.inner {
  width: min(530px, 42vw);
  padding: 1vw;
  border-radius: 10px;
}
#service .container ul li div.service_description div.inner h3 {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: #072743;
}
#service .container ul li div.service_description div.inner p {
  color: #666666;
}
@media only screen and (max-width: 1023px) {
  #service .container ul li {
    display: block;
    margin: 0 0 2rem;
  }
  #service .container ul li img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
  #service .container ul li div.service_description {
    padding: 0 1vw;
    font-size: 1rem;
    line-height: 1.5;
  }
  #service .container ul li div.service_description div.inner {
    width: min(90%, 90vw);
    padding: 1vw;
    border-radius: 10px;
  }
}
#service .container ul li:nth-child(1) {
  grid-template-columns: 1fr 40vw;
}
#service .container ul li:nth-child(1) img {
  order: 2;
}
#service .container ul li:nth-child(1) div.service_description {
  order: 1;
}
#service .container ul li:nth-child(1) div.service_description div.inner {
  margin-left: auto;
}
@media only screen and (max-width: 1023px) {
  #service .container ul li:nth-child(1) div.service_description div.inner {
    margin-left: 0;
  }
}
#service .container ul li:nth-child(2) {
  grid-template-columns: 40vw 1fr;
}
#service .container ul li:nth-child(2) img {
  order: 1;
}
#service .container ul li:nth-child(2) div.service_description {
  order: 2;
}
#service .container ul li:nth-child(2) div.service_description div.inner {
  margin-right: auto;
}
#service .container ul li:nth-child(3) {
  grid-template-columns: 1fr 40vw;
}
#service .container ul li:nth-child(3) img {
  order: 2;
}
#service .container ul li:nth-child(3) div.service_description {
  order: 1;
}
#service .container ul li:nth-child(3) div.service_description div.inner {
  margin-left: auto;
}
@media only screen and (max-width: 1023px) {
  #service .container ul li:nth-child(3) div.service_description div.inner {
    margin-left: 0;
  }
}

#visual_image {
  margin: 0;
  padding: 0;
  background-color: #072743;
  color: white;
  line-height: 0;
}
#visual_image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

#about {
  /*
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, 1) 100%),
      url('/assets/images/background-01.png');
      */
  padding: 5vw 0;
}
#about .container {
  width: min(90%, 800px);
  margin: 0 auto;
  padding: 0;
}
#about .container dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
}
#about .container dl dt {
  font-size: 1rem;
  font-weight: bold;
  color: #072743;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #CCCCCC;
}
#about .container dl dd {
  font-size: 1rem;
  color: #333333;
  margin: 0;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid #CCCCCC;
}
@media only screen and (max-width: 1023px) {
  #about .container dl {
    grid-template-columns: 1fr;
  }
  #about .container dl dt {
    margin: 0 0 1rem;
  }
  #about .container dl dd {
    margin: 0 0 2rem;
  }
}

#contact .container {
  width: min(90%, 800px);
  margin: 0 auto;
  padding: 4rem 0;
}
#contact .container .contact_description {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
}
#contact .container .error {
  display: block;
  margin: 0 0 1rem;
  padding: 0.5rem;
  border: solid 1px red;
  border-radius: 4px;
}
#contact .container .error .error_message {
  display: block;
}
#contact .container form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* 横並びのペア */
  /* 郵便番号は幅を狭くする */
  /* 車種（チェックボックス）のグループ */
}
#contact .container form div {
  display: flex;
  flex-direction: column;
}
#contact .container form div label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}
#contact .container form div label.required:after {
  content: " *";
  color: red;
}
#contact .container form div input,
#contact .container form div select,
#contact .container form div textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}
#contact .container form div input[type=text] {
  width: 100%;
}
#contact .container form div textarea {
  height: 10rem;
}
#contact .container form .pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
#contact .container form .postal-address {
  display: grid;
  gap: 1rem;
  grid-template-columns: 8rem 1fr;
}
#contact .container form .checkbox_group .checkbox_items {
  display: flex;
  gap: 1.5rem;
  flex-flow: row;
}
#contact .container form .checkbox_group .checkbox_items .checkbox_item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-flow: row;
}
#contact .container form .checkbox_group .checkbox_items .checkbox_item input[type=checkbox] {
  width: 1.5rem;
}
#contact .container form .checkbox_group .checkbox_items .checkbox_item label:first-child {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
#contact .container form .privacy_policy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#contact .container form .privacy_policy label {
  font-size: 0.9rem;
}
#contact .container form button[type=submit] {
  align-self: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#contact .container form button[type=submit]:hover {
  background-color: #555;
}
#contact .container .confirmation dt {
  font-size: 1rem;
  font-weight: bold;
  color: #072743;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #CCCCCC;
}
#contact .container .confirmation dd {
  font-size: 1rem;
  color: #333333;
  margin: 0;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid #CCCCCC;
}
#contact .container .confirmation__notes {
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
}
#contact .container .submits {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 1rem;
  margin: 2rem 0 0;
}
#contact .container .submits button {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#contact .container .submits button:hover {
  background-color: #7e5757;
}
#contact .container .submits button#back {
  background-color: #555;
}
#contact .container .submits button#back:hover {
  background-color: #999;
}

#confirmation #contact,
#thanks #contact {
  margin: 4rem 0 0;
}

/**
    <!-- #フッター -->
    <footer id="footer">
      <div class="container">
        <p>&copy; 2021 TODOROKI TRAFFIC</p>
      </div>
      <!-- スティッキーフッター -->
      <div id="page-top">
        <a href="#top"><img src="/assets/images/totop.svg" alt="to top" ></a>
      </div>
      <!--お急ぎの方へ お急ぎの方はお電話にてご相談ください 048-682-2266-->
      <div class="footer-notes">
        <!--電話番号-->
        <a href="tel:048-682-2266">
          <span>お急ぎの方はお電話にてご相談ください</span>
          <span class="tel">048-682-2266</span>
        </a>
      </div>
    </footer>
 */
#footer {
  background-color: #072743;
  color: white;
  padding: 1vw 0;
  text-align: center;
  font-size: 0.8rem;
}
#footer p {
  margin: 0;
}
#footer div#page-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 0;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  #footer div#page-top {
    display: none;
  }
}
#footer div#page-top img {
  cursor: pointer;
  width: 40px;
}

#footer_sticky {
  display: none;
}
@media only screen and (max-width: 1023px) {
  #footer_sticky {
    display: block;
    background-color: #22127a;
    color: #666666;
    padding: 0.5vw;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  #footer_sticky p {
    margin: 0;
  }
  #footer_sticky a {
    display: block;
    padding: 2vw 0;
    line-height: 0;
  }
  #footer_sticky a:hover {
    color: #333333;
  }
  #footer_sticky a img {
    width: min(400px, 90vw);
  }
}