@charset "utf-8";

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  outline: 0;
  border: none;
  text-decoration: none;
  list-style: none;
  font-style: normal;
  box-sizing: border-box;
}

body {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.event_none {
  pointer-events: none;
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  transform: translateY(0%);
  transition: transform 0.4s ease;
}

.header__unpinned {
  transform: translateY(-150%);
}

.header_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.logo_area {
  width: 100px;
  flex-shrink: 0;
}

.logo {
  width: 100%;
}

.nav_area {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav_menu {
  display: flex;
  align-items: center;
}

.nav_menu_item,
.access_item {
  margin-left: 20px;
}

.menu_item_link {
  color: inherit;
  font-size: inherit;
}

.access_icon {
  font-size: 2rem;
}

/* mobile bottom nav */
.global_menu_area {
  display: none;
}

/* first view */
.fv_area {
  position: relative;
  width: 100%;
}

.slider {
  position: relative;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
}

.slider-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.slider-item.is-active {
  opacity: 1;
  z-index: 1;
}

.slider-item01 { background-image: url("/assets/img/fv/fv04.jpg"); }
.slider-item02 { background-image: url("/assets/img/fv/fv02.jpg"); }
.slider-item03 { background-image: url("/assets/img/fv/fv03.jpg"); }
.slider-item04 { background-image: url("/assets/img/fv/fv04.jpg"); }
.slider-item05 { background-image: url("/assets/img/fv/recruit_img_fv.jpg"); }
.slider-item06 { background-position: bottom; background-image: url("/assets/img/fv/contact_img_fv.jpg"); }

.fv_title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 10%;
  transform: translate(-10%, -50%);
  background-color: rgba(0, 86, 157, 0.25);
  padding: 30px;
}

.fv_title.sub_page {
  left: 0;
  transform: translate(0, -50%);
  padding: 30px 100px;
}

.fv_title_text {
  white-space: nowrap;
  font-size: clamp(1.5rem, 5vw, 4rem);
  letter-spacing: 10px;
  color: #fff;
  text-align: center;
}

.fv_sub_text {
  font-size: clamp(0.8rem, 2vw, 1.5rem);
  letter-spacing: 2px;
  color: #fff;
  text-align: center;
  padding-bottom: 10px;
}

/* main */
.main_wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
}

section {
  margin-top: 80px;
}

.title {
  padding: 0 0 10px 30px;
  border-bottom: 3px solid #000;
  border-left: 3px solid #000;
}

/* top message */
.top_message {
  width: min(80%, 900px);
  margin: 60px auto;
}

.top_message_text {
  font-weight: 100;
  font-size: 14px;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: #00569d;
  text-decoration-thickness: 3px;
  line-height: 1.8;
}

/* announcements */
.infomation_area {
  width: min(80%, 900px);
  border: 2px solid rgb(248, 165, 165);
  border-radius: 20px;
  margin: 80px auto;
}

.infomation_title {
  width: 100%;
  background-color: rgb(248, 165, 165);
  border-radius: 20px 20px 0 0;
  padding: 10px 20px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.infomation_contents {
  padding: 30px;
}

.content_wrapper {
  margin-bottom: 30px;
}

.content_wrapper:last-child {
  margin-bottom: 0;
}

.content_day {
  font-size: 0.8rem;
  padding-bottom: 10px;
}

.content_title {
  font-size: 1rem;
  padding-bottom: 10px;
}

.content_text {
  font-size: 0.9rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

.content_text a {
  color: #00569d;
  text-decoration: underline;
}

.loading-message,
.empty-message {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* pickup */
.area_box {
  margin: 30px 0;
}

.pickup_contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.pickup_item {
  width: min(250px, 100%);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content_img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.text_box {
  width: 100%;
  margin-top: 10px;
  flex: 1;
}

.content_type_text span {
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.type_rent {
  color: rgb(248, 165, 165);
  border: 1px solid rgb(248, 165, 165);
}

.type_buy {
  color: #00569d;
  border: 1px solid #00569d;
}

.content_type_text,
.content_name,
.content_cost,
.content_station {
  padding: 5px 0;
  font-size: 0.8rem;
}

.timestamp {
  font-size: 0.8rem;
  text-align: right;
  padding-top: 5px;
}

.btn_link {
  width: 100%;
  text-align: center;
}

.tosite_btn {
  width: 200px;
  max-width: 100%;
  margin: 10px auto;
  height: 30px;
  background-color: #fff;
  border: 2px solid #00569d;
  border-radius: 20px;
  padding: 5px;
  color: #00569d;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 15px;
}

/* service */
.service_contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service_item {
  position: relative;
  width: min(45%, 500px);
  padding: 10px;
  margin: 10px 20px;
}

.service_title_en {
  width: 100px;
  height: 100px;
  background-color: #00569d;
  position: absolute;
  top: 70px;
  left: 10px;
  color: #fff;
  text-align: center;
  line-height: 100px;
  z-index: 2;
}

.service_img {
  width: 80%;
  height: 200px;
  margin: auto;
  background-repeat: no-repeat;
  background-size: cover;
}

.service_img.rent { background-image: url("/assets/img/girl_rent_apartment.jpg"); background-position: top; }
.service_img.buy { background-image: url("/assets/img/family_buy_house.jpg"); background-position: top; }
.service_img.lease { background-image: url("/assets/img/owner_lease_apartment.jpg"); background-position: bottom; }
.service_img.sell { background-image: url("/assets/img/owner_buy_house.jpg"); background-position: center; }

.black_bg {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.service_title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 60px 0 0 100px;
}

.service_text {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 10px 30px 0 100px;
}

.to_corporate {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.to_corporate_btn {
  width: 250px;
  max-width: 100%;
  background-color: #00569d;
  padding: 10px 20px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}

/* access */
.area_box.access {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.access_info {
  width: 50%;
  padding: 20px;
}

.gmap_box {
  width: 50%;
  height: 350px;
  padding: 20px;
}

.gmap_box iframe {
  width: 100%;
  height: 100%;
}

.exterior_item {
  width: min(50%, 600px);
  margin: 0 auto;
  text-align: center;
}

.exterior_img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

.access_table,
.company_table {
  width: 100%;
  border-collapse: collapse;
}

.access_table tr,
.company_table tr {
  border-bottom: solid 2px white;
}

.access_table tr:last-child,
.company_table tr:last-child {
  border-bottom: none;
}

.access_table th,
.company_table th {
  font-size: 0.8rem;
  position: relative;
  width: 25%;
  background-color: #00569d;
  color: white;
  text-align: center;
  padding: 20px;
}

.access_table th::after,
.company_table th::after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: calc(50% - 10px);
  right: -10px;
  border-left: 10px solid #00569d;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.access_table td,
.company_table td {
  font-size: 0.8rem;
  text-align: left;
  width: 75%;
  background-color: #eee;
  padding: 20px 10px 20px 30px;
}

/* contact section */
.phone_form_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.phone_num,
.open_close,
.contact_to_form {
  text-align: center;
}

.contact_msg {
  color: #000;
  font-size: 1.1rem;
  font-weight: 500;
  width: min(70%, 800px);
  margin: 0 auto 30px;
  text-align: center;
  line-height: 1.8;
}

.phone_num a,
.contact_to_form a {
  color: #00569d;
  font-size: 1.3rem;
  letter-spacing: 3px;
  font-weight: 700;
  padding: 0 30px;
}

.open_close {
  color: #000;
  font-size: 0.6rem;
}

/* footer */
footer {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 70px;
}

.footer_wrapper {
  padding: 20px;
  border-top: 3px solid #000;
  display: flex;
  align-items: center;
}

.footer_title,
.nav_item_link {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
}

.footer_nav {
  display: flex;
  margin-left: auto;
}

.footer_nav_item {
  padding: 0 20px;
}

.footer_nav_item:last-child {
  border-left: 1px solid rgb(180, 180, 180);
}

/* company */
.company_info_box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}

.company_info {
  width: 60%;
  padding: 20px;
}

.picture_box {
  width: 40%;
  padding: 20px;
  text-align: center;
}

.office_img {
  width: 70%;
  padding: 20px;
}

.owner_msg,
.owner_name {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  width: min(60%, 800px);
  margin: 30px auto;
  line-height: 1.8;
}

.owner_name {
  text-align: right;
}

/* recruit */
.recruit_box {
  width: min(80%, 900px);
  margin: 0 auto;
}

.new_recruit,
.mid_recruit {
  margin: 50px 0;
}

.recruit_title {
  width: 150px;
  margin-bottom: 20px;
  padding: 10px;
  color: #fff;
  font-size: 1.1rem;
  white-space: nowrap;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}

.recruit_title.new {
  background-color: #ffb1b1;
}

.recruit_title.mid_recruit {
  background-color: #00569d;
}

.recruit_table {
  width: 100%;
  border-collapse: collapse;
}

.recruit_table tr {
  border-bottom: solid 2px #666;
}

.recruit_table tr:first-child {
  border-top: solid 2px #666;
}

.recruit_table th {
  font-size: 0.8rem;
  width: 25%;
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 20px;
  vertical-align: top;
}

.recruit_table td {
  font-size: 0.8rem;
  text-align: left;
  width: 75%;
  background-color: #fff;
  padding: 20px 10px 20px 30px;
  line-height: 1.8;
}

/* hamburger animation */
@keyframes line_up {
  0% { transform: translateY(10px) rotate(45deg); }
  50% { transform: translateY(10px) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

@keyframes active_line_up {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(10px) rotate(0); }
  100% { transform: translateY(10px) rotate(45deg); }
}

@keyframes line_bottom {
  0% { transform: translateY(-8px) rotate(-45deg); }
  50% { transform: translateY(-8px) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

@keyframes active_line_bottom {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(0); }
  100% { transform: translateY(-8px) rotate(-45deg); }
}

/* responsive */
@media screen and (max-width: 1080px) {
  .pickup_item {
    width: min(330px, calc(50% - 20px));
  }
}

@media screen and (max-width: 780px) {
  .logo_area {
    width: 70px;
  }

  .nav_menu {
    display: none;
  }

  .access_icon {
    color: #000;
    font-size: 1.5rem;
  }

  .global_menu_area {
    display: block;
    position: relative;
    z-index: 150;
  }

  .bottom_menu_area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #00569d;
    padding: 10px;
    z-index: 200;
    display: flex;
    align-items: center;
  }

  .global_menu_left {
    display: flex;
    align-items: center;
    margin-left: 20px;
  }

  .menu_title_text {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .global_menu_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    margin-left: auto;
    cursor: pointer;
  }

  .nav_line {
    position: relative;
    width: 30px;
    height: 20px;
  }

  .menu_text {
    color: #fff;
    font-size: 0.6rem;
    margin-top: 5px;
  }

  .line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 20px;
  }

  .line_up { animation: line_up 0.75s forwards; }
  .line_center { top: 9px; opacity: 1; }
  .line_bottom { bottom: 0; animation: line_bottom 0.75s forwards; }

  .global_menu_area.active .line_up { animation: active_line_up 0.75s forwards; }
  .global_menu_area.active .line_center { opacity: 0; transition: opacity 0.5s; }
  .global_menu_area.active .line_bottom { animation: active_line_bottom 0.75s forwards; }

  .global_menu_navi {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #00569d;
    opacity: 0;
    z-index: 150;
    transition: 0.5s;
  }

  .global_menu_area.active .global_menu_navi {
    right: 0;
    opacity: 1;
  }

  .global_menu {
    text-align: center;
    padding-top: 20%;
    margin: 0 30px;
  }

  .global_menu_item {
    width: 100%;
    padding: 30px 0;
    border-bottom: 1px solid #fff;
  }

  .global_menu .menu_item_link {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 10px;
  }

  .fv_title {
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
  }

  .fv_title.sub_page {
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 30px;
  }

  .fv_title_text {
    letter-spacing: 5px;
    white-space: normal;
  }

  .top_message,
  .infomation_area {
    width: 90%;
  }

  .infomation_contents {
    padding: 15px;
  }

  .pickup_item {
    width: min(230px, calc(50% - 10px));
    padding: 0;
  }

  .content_img {
    height: 150px;
  }

  .tosite_btn {
    width: 100px;
    font-size: 0.8rem;
    line-height: 10px;
  }

  .service_item {
    width: 100%;
    padding: 0;
    margin: 20px 0;
  }

  .service_title_en,
  .service_title {
    font-size: 1rem;
  }

  .access_info,
  .gmap_box {
    width: 100%;
  }

  .contact_msg {
    width: 90%;
    font-size: 1rem;
  }

  .contact_msg br {
    display: none;
  }

  .contact_area {
    margin-bottom: 80px;
  }

  .phone_num a,
  .contact_to_form a {
    font-size: 1.1rem;
  }

  .contact_to_form {
    margin-top: 20px;
  }

  footer {
    display: none;
  }

  .company_info,
  .picture_box {
    width: 100%;
    padding: 0 20px;
  }

  .company_info_box {
    flex-direction: column;
  }

  .office_img {
    width: 50%;
  }

  .owner_msg,
  .owner_name {
    width: 100%;
    padding: 0 20px;
  }

  .owner_msg {
    margin-bottom: 0;
  }

  .owner_name {
    margin: 0;
  }

  .recruit_box {
    width: 100%;
    padding: 0 10px;
  }

  .recruit_table th {
    padding: 10px;
  }

  .recruit_table td {
    padding: 20px 10px 20px 20px;
  }

  .recruit_title {
    margin: 0 auto 20px;
    font-size: 1rem;
  }

  .recruit_text {
    text-align: center;
  }

  .exterior_item {
    width: 100%;
    padding: 20px;
  }

  .exterior_img {
    height: 350px;
  }
}

@media screen and (max-width: 499px) {
  .pickup_item {
    width: calc(50% - 10px);
  }
}
