@charset "utf-8";

@media (max-width: 1024px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
    word-break: keep-all;
  }
}

.top_title {
  top: 37% !important;
  left: 50% !important;
}

@media screen and (max-width: 768px) {
  .top_title {
    top: 36% !important;
  }
}

@media screen and (max-width: 480px) {
  .top_title {
    top: 36% !important;
    font-size: 70px !important;
  }
}

.top_title_sub {
  top: 45% !important;
}

@media screen and (max-width: 768px) {
  .top_title_sub {
    top: 43% !important;
  }
}

.header_under {
  height: 30vh;
  position: relative;
}

h1 {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: normal;
  word-break: break-all;
}

.concept {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .concept {
    display: block;
    text-align: center;
  }
}

.concept img {
  width: 20%;
}

@media (max-width: 768px) {
  .concept img {
    width: 50%;
    margin-bottom: 13px;
  }
}

@media (max-width: 480px) {
  .concept img {
    width: 60%;
    margin-bottom: 13px;
  }
}

.concept p {
  line-height: 2;
}

.main {
  background-image: url(../image/event/eventbackground.png);
  padding: 100px 0 0 !important;
}

/* 実例 */
.event_box {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  width: 70%;
  margin: 0 auto;
  border: 1px solid #fff;
  padding: 80px 100px;
}

@media (max-width: 1774px) {
  .event_box {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    text-align: center;
    border: none;
    padding: 0;
  }
}

@media (max-width: 1774px) {
  .event_box:nth-child(2) {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 480px) {
  .event_box {
    width: 100%;
  }
}

.event_box img {
  width: 45%;
}

@media (max-width: 1774px) {
  .event_box img {
    width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .event_box img {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .event_box img {
    width: 90%;
  }
}

.event_name {
  text-align: left;
  font-size: 24px;
  margin-bottom: 8px;
  line-height: 1.5;
  font-style: italic;
}

@media (max-width: 1774px) {
  .event_name {
    font-size: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .event_name {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .event_name {
    font-size: 16px;
  }
}

.event_content {
  text-align: left;
  line-height: 2;
}

@media (max-width: 1774px) {
  .event_content {
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 1024px) {
  .event_content br {
    display: none;
  }
}

.event_box:nth-of-type(1),
.event_box:nth-of-type(2) {
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .event_box:nth-of-type(1),
  .event_box:nth-of-type(2) {
    margin-bottom: 22px;
  }
}

/* お問い合わせ */
.contact_area {
  background-image: url(../image/event/contact_img.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  margin: 0;
  padding: 215px 0 !important;
}

@media screen and (max-width: 768px) {
  .contact_area {
    padding: 120px 0 !important;
  }
}

h3 {
  font-size: 64px !important;
}

@media screen and (max-width: 1280px) {
  h3 {
    font-size: 56px !important;
  }
}

@media screen and (max-width: 1024px) {
  h3 {
    font-size: 48px !important;
  }
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 40px !important;
  }
}

@media screen and (max-width: 480px) {
  h3 {
    font-size: 32px !important;
  }
}

.subtitle_contact,
.explain_contact {
  padding-bottom: 25px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .explain_contact {
    font-size: 14px;
    padding-bottom: 16px;
  }
}

@media screen and (max-width: 480px) {
  .explain_contact {
    font-size: 13px;
    padding-bottom: 12px;
  }
}

.contact_wrapper {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;

  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

@media screen and (max-width: 768px) {
  .contact_wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 90px;
  }
}

@media screen and (max-width: 480px) {
  .contact_wrapper {
    padding: 0 20px;
    gap: 20px;
  }
}

.contact_box {
  flex: 1 1 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .contact_box {
    flex: none;
    width: 100%;
    min-height: 140px;
  }
}

@media screen and (max-width: 480px) {
  .contact_box {
    width: 100%;
    min-height: 160px;
  }
}

.tel {
  font-size: 40px;
}

@media screen and (max-width: 1280px) {
  .tel {
    font-size: 32px;
  }
}

@media screen and (max-width: 1024px) {
  .tel {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  .tel {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .tel {
    font-size: 18px;
  }
}

.contact_tel {
  display: flex;
  background-color: #007b8a;
  padding: 48px 25px;
  font-size: 40px;
  transition: backdround-color 0.3s ease, color 0.3s ease;
}

@media screen and (max-width: 1280px) {
  .contact_tel {
    font-size: 32px;
    padding: 40px 20px;
  }
}

@media screen and (max-width: 1024px) {
  .contact_tel {
    font-size: 28px;
    padding: 36px 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact_tel {
    font-size: 20px;
    padding: 24px 16px;
  }
}

@media screen and (max-width: 480px) {
  .contact_tel {
    font-size: 18px;
    padding: 20px 12px;
  }
}

.contact_tel:hover {
  background-color: #005f6b;
}

.contact_mail {
  display: flex;
  align-items: center;
  background-color: #f6f1e9;
  color: #2f5e4e;
  padding: 48px 25px;
  font-size: 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media screen and (max-width: 1280px) {
  .contact_mail {
    font-size: 32px;
    padding: 40px 20px;
  }
}

@media screen and (max-width: 1024px) {
  .contact_mail {
    font-size: 28px;
    padding: 36px 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact_mail {
    font-size: 20px;
    padding: 24px 16px;
  }
}

@media screen and (max-width: 480px) {
  .contact_mail {
    font-size: 18px;
    padding: 20px 12px;
  }
}

.contact_mail:hover {
  background-color: #e6e0d5;
  color: #2f5e4e;
}

.contact_box p {
  line-height: normal;
  margin: 0;
  padding: 0;
}
