@charset "UTF-8";
/*
#firstview {
  display: none;
}
*/


body {
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  width: 100%;
}

a:hover {
  text-decoration: none;
}

h1,
p,
button {
  color: #2B2B2B;
  font-size: 15px;
}

@media(min-width:768px) {
  p {
    font-size: 18px;
  }
}

@media(min-width:1024px) {
  p {
    font-size: 20px;
  }
}

/*ヘッダー*/
/*スマホサイズ～767px*/
.header_pc {
  display: none;
}

/*スマホサイズ時の非表示(overlayとpcヘッダー)*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #FDF5EB;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 9999;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu_sp ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: center;
}

.menu_content_sp {
  font-size: 20px;
  margin: 22px 0;
}

.menu_content_sp p {
  font-weight: bold;
  font-size: 20px;
}

.buttons_sp {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;

  display: flex;
  justify-content: space-between;
}

.close_button {
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.close_button {
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.close_1,
.close_2 {
  position: absolute;
  width: 50px;
  height: 2px;
  background: #333;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.close_1 {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close_2 {
  transform: translate(-50%, -50%) rotate(-45deg);
}


.header_sp {
  height: 70px;
  background-color: #FDF5EB;
  position: relative;
  z-index: 100;
}

.header_bar {
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger_button {
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 10px;
}

.hamburger_button .hamburger_1,
.hamburger_button .hamburger_2 {
  border-bottom: solid 2px;
}

.hamburger_button .hamburger_2 {
  padding-top: 13px;
}

.header_sp img {
  height: 60px;
}

.contact_button_sp {
  background-color: #504234;
  border: none;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  padding: 0;
  margin: 0 10px;
}

.contact_button_sp img {
  object-fit: contain;
  width: 35px;
  height: 50px;
}

@media(min-width:768px) {
  .header_sp {
    display: none;
  }

  .header_pc {
    display: block;
    width: 100%;
    height: 80px;
    background-color: #FDF5EB;
  }

  .header_pc_container {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header_pc_container img {
    height: 70px;
  }

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

  .menu_pc ul {
    display: flex;
  }

  .menu_pc ul li {
    margin: 0 10px;
  }

  .menu_pc ul li p {
    font-size: 18px;
    font-weight: bold;
  }

  .menu_pc_container {
    display: flex;
  }

  .contact_button_pc {
    border: none;
    background-color: #504234;
    border-radius: 50px;
    padding: 0;
    width: 60px;
    height: 60px;
    margin: 0 10px;
  }

  .contact_button_pc img {
    object-fit: contain;
    width: 35px;
    height: 30px;
  }

  .contact_button_pc p {
    font-size: 6px;
    color: #FDF5EB;
    font-weight: bold;
  }
}

@media(min-width:1024px) {
  .header_pc {
    height: 100px;
  }

  .header_pc_container img {
    height: 100px;
  }

  .header_pc_container {
    height: 100px;
  }

  .menu_pc ul li {
    margin: 20px;
  }

  .menu_pc ul li p {
    font-size: 24px;
  }

  .contact_button_pc {
    width: 90px;
    height: 90px;
    margin: 0 20px;
  }

  .contact_button_pc img {
    width: 80px;
    height: 35px;
  }

  .contact_button_pc p {
    font-size: 10px;
  }
}

/*TOPページ*/
/*firstview*/
/* concept*/
.company_concept {
  background-color: #FDF5EB;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  gap: 10px;
}

.company_concept img {
  width: 130px;
  height: 130px;
  border: solid 1px;
}

.company_concept p {
  font-size: 15px;
  width: 90%;
  text-align: center;
}

.company_concept p strong {
  font-size: 20px;
  font-weight: bold;
}

@media(min-width:768px) {
  .company_concept img {
    width: 150px;
    height: 150px;
  }

  .company_concept p {
    width: 80%;
    font-size: 18px;
  }

  .company_concept p strong {
    font-size: 32px;
  }
}

@media(min-width:1024px) {
  .company_concept img {
    width: 200px;
    height: 200px;
  }

  .company_concept p {
    width: 70%;
    font-size: 20px;
  }

  .company_concept p strong {
    font-size: 32px;
  }
}

/*事業内容*/
.business {
  width: 95%;
  margin: 30px 0 30px 0;
  border: solid 2px #849F89;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  position: relative;
  left: 7%;
}

.business_container {
  display: flex;
  flex-direction: column;
}

.section_title {
  writing-mode: vertical-rl;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 5px;
  margin-right: 10px;
  border-right: solid 2px #849F89;
  height: 50%;
}

.business_text h2 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.business_text p {
  padding-bottom: 10px;
}

.business_community {
  padding: 15px 0;
  border-bottom: solid 2px #849F89;
}

.business_renovation {
  padding: 15px 0 0 0;
}

.business_container a {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.business_container a :hover {
  border-bottom: dotted 2px #849F89;
}

.business_container a p {
  font-size: 18px;
  font-weight: bold;
  color: #849F89;
}

.business_container a img {
  width: 25px;
}

.section_dummy {
  width: 5%;
  border: solid 10px #fff;
}

@media(min-width:768px) {
  .section_title {
    margin-right: 30px;
  }

  .business_community {
    display: flex;
  }

  .business_text {
    margin-right: 20px;
  }

  .business_community img {
    width: 40%;
  }

  .business_renovation {
    display: flex;
    flex-direction: row-reverse;
    padding-bottom: 15px;
  }

  .business_renovation .business_text {
    margin-right: 0;
    margin-left: 20px;
  }

  .business_renovation img {
    width: 40%;
  }
}

@media(min-width:1024px) {
  .business {
    width: 90%;
    left: 15%;
  }

  .section_title {
    font-size: 28px;
  }

  .business_container h2 {
    font-size: 20px;
  }

  .section_dummy {
    border: solid 75px #fff;
  }
}

@media(min-width:1440px) {
  .business {
    left: 20%;
  }

  .business_container {
    width: 70%;
  }

  .business_community h2,
  .business_renovation h2 {
    font-size: 24px;
  }

  .business_community img,
  .business_renovation img {
    width: 25%;
  }
}

/*実績*/
.achievements {
  background-color: #C2D0C4;
  padding: 30px 0 30px 0;
}

.achievements_container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.achievements_explanation h1 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.achievements_explanation {
  border-bottom: solid 2px #FDF5EB;
  padding-bottom: 3px;
}

.achievements_container ul {
  padding: 15px 0 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.achievement_box {
  width: 90%;
  border-bottom: solid 2px #FDF5EB;
  padding-bottom: 5px;
}

.achievement_box a img {
  border: solid 2px #2B2B2B;
  border-radius: 15px;
}

.achievement_box .tag,
.achievement_box .place {
  font-size: 12px;
}

.achievement_box .achievement_title {
  font-weight: bold;
  font-size: 18px;
}

.achievement_list_a a {
  display: flex;
  align-items: center;
}

.achievement_list_a a p {
  font-size: 18px;
  font-weight: bold;
}

.achievement_list_a a img {
  width: 25px;
}

.achievement_list_a a :hover {
  border-bottom: dotted 2px #2B2B2B;
}

@media(min-width:768px) {
  .achievements_container {
    width: 80%;
  }

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

  .achievements_explanation h1 {
    width: 20%;
  }

  .achievements_container ul {
    flex-direction: row;
  }

  .achievement_box .tag,
  .achievement_box .place {
    font-size: 10px;
  }

  .achievement_box .achievement_title {
    font-weight: bold;
    font-size: 15px;
  }

  .achievement_list_a a p {
    font-size: 16px;
  }

  .achievement_list_a a img {
    width: 20px;
  }
}

@media(min-width:1024px) {
  .achievements_container {
    width: 65%;
  }

  .achievements_explanation h1 {
    font-size: 28px;
  }

  .achievement_box .achievement_title {
    font-size: 20px;
  }

  .achievement_box .tag,
  .achievement_box .place {
    font-size: 12px;
  }

  .achievement_list_a a p {
    font-size: 20px;
  }

  .achievement_list_a a img {
    width: 25px;
  }
}

/*採用情報*/
.recruit {
  width: 95%;
  margin: 30px 0 30px 0;
  border: solid 2px #849F89;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  position: relative;
  right: 2%;
}

.recruit h1 {
  writing-mode: vertical-rl;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 5px;
  margin-right: 10px;
  border-right: solid 2px #849F89;
  height: 50%;
}

.recruit_text_img_container {
  width: 80%;
}

.recruit_type h3 {
  font-size: 18px;
  font-weight: bold;
}

.recruit_type li {
  border-bottom: solid 2px #A1B7A5;
}

.internship a {
  display: flex;
  align-items: flex-end;
}

.internship a p {
  font-size: 12px;
}

.recruit_text {
  padding-bottom: 10px;
}

@media(min-width:768px) {
  .recruit_text_img_container img {
    width: 50%;
    object-fit: contain;
    aspect-ratio: 5/4;
  }

  .recruit_text_img_container {
    width: 100%;
    display: flex;
    gap: 3%;
  }

  .recruit h1 {
    height: 30%;
  }
}

@media(min-width:1024px) {
  .recruit_text_img_container img {
    width: 30%;
    object-fit: cover;
    aspect-ratio: 16/2;
    gap: 0;
  }

  .recruit h3 {
    font-size: 20px
  }

  .recruit {
    right: 1%;
  }

  .recruit .section_dummy {
    border: solid 75px #fff;
  }

  .recruit h1 {
    font-size: 28px;
  }
}

@media(min-width:1440px) {
  .recruit {
    width: 80%;
  }

  .recruit .section_dummy {
    width: 5%;
    border: solid 150px #fff;
  }

  .recruit_text_img_container img {
    aspect-ratio: 16/9;
  }
}

/* contact */
.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  overflow: hidden;
  gap: 10px;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(images/minato.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.3;
  filter: blur(1px);

  z-index: -1;
}

.contact h2 {
  font-size: 18px;
  font-weight: bold;
}

.contact button {
  font-size: 15px;
  background-color: #fff;
  border: solid 2px #2B2B2B;
  border-radius: 30px;
  padding: 10px 30px;
}

@media(min-width:768px) {
  .contact {
    height: 200px;
  }
}

/*footer*/
#footer {
  background-color: #FDF5EB;
  display: flex;
  flex-direction: column-reverse;

}

.logo_access img {
  width: 200px;
}

.access {
  font-size: 12px;
}

.logo_access {
  display: flex;
  justify-content: space-around;
}

.menu_footer {
  display: flex;
  flex-direction: column;
  padding-left: 10%;
}

.menu_footer h2 {
  font-size: 15px;
  font-weight: bold;
}

.menu_footer p {
  font-size: 12px;
}

.about_machiwabi {
  display: flex;
  flex-direction: column;
}

.about_machiwabi li {
  display: flex;
}

.menu_footer ul {
  gap: 5px;
}

.line {
  border-bottom: solid 1px #2B2B2B;
  width: 12px;
  margin-bottom: 8px;
  margin-right: 5px;
}

.menu_ul .menu_ul_li {
  padding-bottom: 5px;
}

.copyright {
  text-align: center;
  background-color: #FDF5EB;
  font-size: 10px;
}

@media(min-width:768px) {
  #footer {
    padding: 20px 0 20px 0;
    flex-direction: row;
    justify-content: space-around;
  }

  .access {
    font-size: 15px;
    line-height: 1.2;
  }

  .logo_access {
    flex-direction: column;
  }

  .menu_ul {
    display: flex;
  }

  .menu_ul_li {
    padding: 0 30px 0 0;
  }

  .menu_footer {
    padding: 0;
  }

  .menu_footer h2 {
    font-size: 18px;
  }

  .menu_footer p {
    font-size: 15px;
  }

  .copyright {
    font-size: 12px;
  }
}

@media(min-width:1024px) {
  .menu_footer h2 {
    font-size: 20px;
  }
}





/*firstview*/
/* メイン画像 */
.firstview {
  width: 100%;
  overflow: hidden;
}

.fv_main {
  position: relative;
  height: 45vh;
  overflow: hidden;
}

.fv_main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fv_main img.active {
  opacity: 1;
  transform: translateX(0);
}

/* テキスト */
.fv_textbox {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(161, 183, 165, 0.8);
  padding: 18px 22px;
}

.fv_text {
  color: #fff;
  font-size: 24px;
  line-height: 1.6;
}

/* サムネ */
.fv_thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fv_thumbs li {
  list-style: none;
}

.fv_thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  transition: opacity .5s ease;
  display: block;
}

@media(min-width:768px) {
  .fv_main {
    height: 65vh;
  }

  .fv_textbox {
    left: 8%;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 28px 36px;
  }

  .fv_text {
    font-size: 40px;
  }

  .fv_thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .fv_thumbs img {
    height: 130px;
  }

}
@media(min-width:1440px) {
  .fv_thumbs img {
    height: 250px;
  }
  .fv_main {
    height: 75vh;
  }
}