@charset "utf-8";

:root {
  /* color */
  --white: #fff;
  --gray: #f4f4f4;
  --main-color: #303642;
  --accent-color: #ff751f;

  /* font */
  --japanese: "Noto Sans JP", sans-serif;
  --english: Arial, Helvetica, sans-serif;
}

html,
body {
  scroll-behavior: smooth;
  font-family: var(--japanese);
  overflow-x: hidden;
}

p {
  line-height: 2;
  font-size: 18px;
  color: var(--main-color);
}

span {
  color: var(--main-color);
}

img {
  width: 100%;
}

/* ===== Class ===== */

.wrapper {
  margin: 0 auto;
  padding: 0 40px;
  max-width: 1200px;
}

.contact_btn {
  background-image: linear-gradient(90deg, #ff3131, #ff914d);
  color: var(--white);
  font-weight: bold;
  text-align: center;
  padding: 20px 40px;
  border-radius: 4px;
  font-size: 18px;
  transition: transform 0.4s ease;
}

.contact_btn:hover {
  transform: scale(1.1);
}

.section_title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 104px;
  margin-bottom: 40px;
  font-weight: bold;
  color: var(--main-color);
}

.section_title span {
  font-size: 40px;
  color: var(--accent-color);
  font-family: var(--english);
}

.section_title h2 {
  font-size: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section_title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
}

.section_content {
  margin-top: 96px;
}

/* ===== Header ===== */

#header {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100px;
  z-index: 10;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray);
}

#header_inner {
  width: 100%;
}

#main_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main_item {
  transition: transform 0.4s ease;
}

.main_item:nth-child(2):hover {
  transform: scale(1.1);
}

#logo {
  height: 45px;
}

#logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main_item .contact_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 18px;
  height: 70px;
  width: 160px;
}

/* ===== Hero ===== */

#hero {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

#hero_inner {
  display: flex;
  justify-content: space-between;
  height: calc(100vh - 150px);
  max-height: 720px;
  gap: 100px;
  padding-top: 80px;
  padding-bottom: 80px;
}

#hero_left {
  width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hero_right {
  width: 44%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hero_left h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-color);
}

#hero_left p {
  font-size: 20px;
  font-weight: bold;
}

#hero_video {
  background-image: linear-gradient(90deg, #ff3131, #ff914d);
  padding: 20px;
  aspect-ratio: 1.388 / 1;
  border-radius: 4px;
}

#hero_flame {
  background-color: var(--main-color);
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: 2px;
}

#hero_flame iframe {
  width: 100%;
  height: 100%;
}

#hero_contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#hero_contact span {
  font-weight: bold;
  font-size: 18px;
}

#hero_contact .contact_btn {
  width: 80%;
  border-radius: 50px;
}

#campaign {
  background-color: yellow;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* project */

#projects_list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.projects_item {
  width: calc((100% - 80px) / 3);
  transition: transform 0.4s ease;
}

.projects_item:hover {
  transform: scale(1.1);
}

.projects_item img {
  border-radius: 4px;
  box-shadow: 0px 2px 4px 0px #9999992f;
}

.projects_item span {
  font-size: 14px;
  color: var(--accent-color);
  display: block;
  margin-top: 10px;
  margin-bottom: 14px;
  border-radius: 50px;
}

.projects_item h3 {
  font-weight: bold;
}

/* strengths */

#strengths_list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.strengths_item {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.strengths_item:nth-child(2) {
  flex-direction: row-reverse;
}

.strengths_item h3 {
  font-size: 40px;
  font-weight: bold;
  white-space: nowrap;
}

.strengths_item div {
  flex: 1;
}

.strengths_item img {
  flex: 1;
  border-radius: 4px;
}

.strengths_item div p {
  margin-top: 20px;
}

.strengths_item span {
  color: var(--accent-color);
  margin-right: 16px;
}

/* price */

#price_change_div {
  display: flex;
  justify-content: space-between;
}

.price_change_btn {
  font-weight: bold;
  font-size: 20px;
  background-color: #969696;
  padding: 20px 60px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.active {
  background-color: var(--gray);
}

.accordion {
  padding: 8px 0;
  margin-bottom: 16px;
  border-radius: 4px;
  box-shadow: 0 7px 15px -5px rgb(0 0 0 / 5%);
  background-color: var(--gray);
}

.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: var(--main-color);
  cursor: pointer;
}

.q {
  margin-right: 16px;
  color: var(--accent-color);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before,
.accordion summary::after {
  width: 2px;
  height: 0.9em;
  border-radius: 5px;
  background-color: var(--accent-color);
  content: "";
}

.accordion summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.accordion summary::after {
  transition: rotate 0.3s;
}

.accordion[open] summary::after {
  rotate: 90deg;
}

.accordion p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1.5em 2em 1.5em;
  color: var(--main-color);
  transition: transform 0.5s, opacity 0.5s;
  font-weight: bold;
  font-size: 16px;
}

.accordion[open] p {
  transform: none;
  opacity: 1;
}

/* contact */

#contact_content {
  padding: 100px 0;
  text-align: center;
}

#contact_content p {
  font-size: 32px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 8px;
}

#contact_content .contact_btn {
  display: block;
  width: 60%;
  text-align: center;
  margin: 0 auto;
}

/* ===== Footer ===== */

#footer {
  text-align: center;
}

#copyright {
  font-size: 16px;
  padding: 8px 0;
  line-height: 2;
}

#copyright small {
  font-size: 17px;
}

/* contact_page */

#contact_page {
  margin-top: 96px;
}

#contact_page_inner {
  background-color: var(--gray);
  margin: 40px 0;
  padding: 80px 40px;
  border-radius: 4px;
}

#contact_title {
  font-weight: bold;
  font-size: 60px;
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background-color: var(--white);
  display: block;
  width: 100%;
  padding: 8px 16px;
}

input[type="submit"] {
  text-align: center;
  padding: 20px 80px;
  background-color: var(--main-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: bold;
  margin: 0 auto;
  display: block;
  font-size: 18px;
}

#contact_page_inner label {
  font-weight: bold;
  font-size: 20px;
}

div.screen-reader-response {
  display: none;
}

.wpcf7-not-valid-tip {
  color: var(--accent-color);
}

.wpcf7-response-output {
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
}

.price_item {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}

.price_item h3 {
  margin-bottom: 30px;
}

#price_list {
  display: none;
}

/*======================================== 
  タブレット
======================================== */
@media screen and (max-width: 1024px) {
  /* ===== Class ===== */

  .wrapper {
    padding: 0 4%;
  }

  /* ===== Hero ===== */

  #hero_inner {
    width: 90vw;
    gap: 80px;
    padding-top: 48px;
    padding-bottom: 48px;
    height: unset;
    flex-direction: column;
    align-items: center;
    max-height: none;
  }

  #hero_left {
    width: 100%;
    gap: 40px;
  }

  #hero_right {
    width: 100%;
    gap: 40px;
  }

  #hero_left h2 {
    font-size: 32px;
  }

  #hero_left p {
    font-size: 24px;
  }

  /* strengths */

  #strengths_list {
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .strengths_item {
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }

  .strengths_item:nth-child(2) {
    flex-direction: row-reverse;
  }

  .strengths_item h3 {
    font-size: 32px;
  }

  /* price */

  #price_change_div {
    display: flex;
    justify-content: space-between;
  }

  .price_change_btn {
    font-weight: bold;
    font-size: 18px;
    background-color: #969696;
    padding: 20px 28px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  .active {
    background-color: var(--gray);
  }

  .main_item .contact_btn {
    font-size: 16px;
    height: 50px;
    width: 100px;
  }

  #logo {
    height: 30px;
  }

  #header {
    width: 100vw;
    height: 80px;
  }
}

/*======================================== 
  スマホ
======================================== */
@media screen and (max-width: 767px) {
  p {
    font-size: 16px;
  }

  .contact_btn {
    padding: 16px 20px;
    font-size: 16px;
  }

  .section_title {
    margin-bottom: 24px;
  }

  .section_title span {
    font-size: 24px;
  }

  .section_title h2 {
    font-size: 32px;
  }

  .section_content {
    margin-top: 72px;
  }

  /* ===== Header ===== */

  /* ===== Hero ===== */

  #hero {
    padding-top: 100px;
  }

  #hero_inner {
    width: 100%;
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  #hero_left {
    width: 100%;
    gap: 40px;
  }

  #hero_right {
    width: 100%;
    gap: 40px;
  }

  #hero_left h2 {
    font-size: 18px;
  }

  #hero_left p {
    font-size: 16px;
  }

  #price_change_div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
  .price_change_btn {
    font-size: 18px;
    padding: 14px 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* strengths */

  .strengths_item {
    flex-direction: column;
  }

  .strengths_item:nth-child(2) {
    flex-direction: column;
  }

  .strengths_item h3 {
    font-size: 26px;
  }

  /* contact */

  #contact_content p {
    font-size: 20px;
  }

  #contact_content .contact_btn {
    width: 80%;
  }

  .summary_text {
    line-height: 2;
  }

  /* project */

  #projects_list {
    gap: 80px;
  }

  .projects_item {
    width: 100%;
  }

  /* contact_page */

  #contact_page {
    margin-top: 32px;
  }

  #contact_page_inner {
    padding: 20px 16px;
  }

  #contact_title {
    font-size: 38px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 4px 8px;
  }

  input[type="submit"] {
    padding: 10px 60px;
  }

  #contact_page_inner label {
    font-size: 18px;
  }

  #price_change_div,
  #price_img {
    display: none;
  }

  #price_list {
    display: inherit;
  }
}
