@charset "utf-8";

/*------------------------------------*/

.index-head__wrap:before {
  background-image: url(../images/company/index/bg_index_pagehead.jpg);
}

.about-img {
  height: 200px;
}

.about-img {
  width: calc(100% + 120px);
  overflow: hidden;
  position: relative;
  left: -60px;
}

.about-img-item {
  width: 300px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  position: absolute;
  top: 0;
}

.philosophy,
.company-nav {
  display: flex;
  justify-content: space-between;
  /* 	align-items: flex-start; */
}

.philosophy.reverse {
  flex-direction: row-reverse;
}

.philosophy-title,
.philosophy-wrap {
  box-sizing: border-box;
}

.philosophy-title,
.company-nav__title {
  max-width: 25%;
  flex-basis: 25%;
  display: flex;
  padding-right: 60px;
  writing-mode: vertical-lr;
  flex-direction: column-reverse;
  justify-content: center;
  font-feature-settings: normal;
}

.reverse .philosophy-title {
  padding-left: 60px;
  padding-right: 0;
}

.philosophy-title__sub {
  margin-left: 30px;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.6rem;
  color: rgba(24, 141, 96, 1);
}

.philosophy-title__main {
  display: flex;
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.8;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.philosophy-title__main span {
  display: block;
  border-right: 1px solid rgba(0, 0, 0, 1);
  color: rgba(0, 0, 0, 1);
}

.philosophy-title__main b {
  color: rgba(24, 141, 96, 1);
}

.philosophy-wrap,
.company-nav-list {
  max-width: 75%;
  flex-basis: 75%;
  padding: 80px;
  padding-right: 0;
  position: relative;
}

.reverse .philosophy-wrap {
  padding-left: 0;
  padding-right: 80px;
}

.philosophy-wrap:before {
  content: "";
  width: calc(100% + 60px);
  height: 100%;
  display: block;
  background-color: rgba(24, 141, 96, 1);
  border-radius: 40px 0 0 40px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: all 0ms ease;
}

.reverse .philosophy-wrap:before {
  background-color: rgba(24, 141, 96, 0.1);
  border-radius: 0 40px 40px 0;
  left: auto;
  right: 0;
}

.philosophy__text {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 2;
  color: rgba(255, 255, 255, 1);
}

.quality__image {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quality__image.sp {
  display: none;
}

.company-nav {
  display: flex;
  justify-content: space-between;
}

.company-nav__title {
  display: flex;
  writing-mode: vertical-lr;
  font-feature-settings: normal;
  align-items: flex-start;
}

.company-nav__title .jp {
  border-right: 1px solid rgba(0, 0, 0, 1);
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

.company-nav__title .en {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
}

.company-nav-list {
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
}

.company-nav-list__item {
  max-width: calc((100% - (40px * 2)) / 3);
  flex-basis: calc((100% - (40px * 2)) / 3);
  margin-right: 40px;
  margin-bottom: 40px;
}

.company-nav-list__item:nth-child(3n) {
  margin-right: 0;
}

.company-nav-list__item a {
  padding: 30px 0;
  display: block;
  border-top: 2px solid rgba(24, 141, 96, 1);
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.6;
  text-decoration: none;
  color: rgba(24, 141, 96, 1);
}

.company-nav-list__item a:hover {
  background-color: rgba(24, 141, 96, 0.1);
}

.company-nav-list__item a:before,
.company-nav-list__item a:after {
  content: "";
  display: block;
  position: absolute;
  box-sizing: border-box;
  transform-origin: center;
}

.company-nav-list__item a:before {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(24, 141, 96, 1);
  border-radius: 50%;
  top: 35px;
  right: 0;
}

.company-nav-list__item a:after {
  width: 6px;
  height: 6px;
  border-top: 2px solid rgba(24, 141, 96, 1);
  border-right: 2px solid rgba(24, 141, 96, 1);
  transform: rotate3d(0, 0, 1, 45deg);
  top: 44px;
  right: 10px;
}

.company-nav-list__item a:hover:after {
  transform: translateX(3px) rotate3d(0, 0, 1, 45deg);
}

.company-nav-list__item .en {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
}

@media screen and (min-width: 1621px) {
  .about-img {
    width: calc(100% + (100vw - 1500px));
    left: calc((100vw - 1500px) / -2);
  }

  .philosophy-wrap:before {
    width: calc(100% + ((100vw - 1500px) / 2));
  }
}

@media screen and (max-width: 1024px) {
  .about-img {
    width: calc(100% + 12vw);
    left: -6vw;
  }

  .philosophy-title,
  .company-nav__title {
    max-width: 30%;
    flex-basis: 30%;
    padding-right: 6vw;
  }

  .reverse .philosophy-title {
    padding-left: 6vw;
  }

  .philosophy-title__sub {
    font-size: calc(1.2rem + 0.6vw);
  }

  .philosophy-title__main,
  .company-nav__title .jp {
    font-size: calc(1.4rem + 2.5vw);
  }

  .philosophy-wrap,
  .company-nav-list {
    max-width: 70%;
    flex-basis: 70%;
    padding: 60px 6vw;
    padding-right: 0;
  }

  .reverse .philosophy-wrap {
    padding-right: 6vw;
    padding-left: 0;
  }

  .philosophy-wrap:before {
    width: calc(100% + 6vw);
  }

  .philosophy__text {
    font-size: calc(1.2rem + 0.5vw);
  }

  .company-nav-list__item a {
    font-size: calc(1.4rem + 0.5vw);
  }

  .company-nav-list__item {
    max-width: calc((100% - 40px - 1px) / 2);
    flex-basis: calc((100% - 40px - 1px) / 2);
    margin-right: 40px;
    margin-bottom: 6vw;
  }

  .company-nav-list__item:nth-child(3n) {
    margin-right: 40px;
  }

  .company-nav-list__item:nth-child(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 800px) {
  .philosophy-title__sub {
    margin-left: 20px;
  }

  .quality__image.pc {
    display: none;
  }

  .quality__image.sp {
    display: block;
  }
}

@media screen and (max-width: 640px) {
  .about-img {
    height: 150px;
  }

  .about-img-item {
    width: 240px;
    height: 150px;
    border-radius: 10px;
  }

  .philosophy,
  .company-nav {
    display: block;
  }

  .philosophy-title,
  .philosophy-wrap,
  .company-nav__title,
  .company-nav-list {
    max-width: none;
  }

  .philosophy-title,
  .company-nav__title {
    margin-bottom: 6vw;
    padding-right: 0;
    display: block;
    writing-mode: inherit;
  }

  .reverse .philosophy-title {
    padding-left: 0;
  }

  .philosophy-title__sub {
    margin-left: 0;
  }

  .philosophy-title__main {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .philosophy-title__main span {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 1);
  }

  .philosophy-wrap {
    padding: 10vw 0;
    padding-left: 6vw;
  }

  .philosophy-wrap:before {
    border-radius: 20px 0 0 20px;
  }

  .company-nav-list {
    display: block;
  }

  .company-nav-list__item {
    max-width: none;
    margin-right: 0 !important;
    margin-bottom: 3vw;
  }

  .company-nav-list__item a {
    padding: 20px 0;
  }

  .company-nav__title .jp {
    border-right: 0;
  }

  .company-nav__title .en {
    display: block;
  }
}

@media screen and (max-width: 480px) {
}

/*------------------------------------*/

.other-head-main.greeting:before {
  background-image: url(../images/company/bg_index_pagehead_greeting.jpg);
}

.other-head-main.outline:before {
  background-image: url(../images/company/bg_index_pagehead_outline.jpg);
}

.other-head-main.branch:before {
  background-image: url(../images/company/bg_index_pagehead_branch.jpg);
}

/*------------------------------------*/

.company__wrap {
  margin-top: 60px;
}

.greeting-catch {
  margin-bottom: 60px;
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

.greeting-text p {
  margin: 40px 0;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 2.5;
  color: rgba(0, 0, 0, 1);
}

.greeting-name {
  margin-top: 120px;
  margin-left: auto;
  display: table;
}

.greeting-name__company {
  margin-bottom: 10px;
  font-size: 1.6rem;
  line-height: 1.6;
}

.greeting-name dl {
  display: flex;
  align-items: center;
}

.greeting-name dt {
  margin-right: 20px;
  font-size: 1.4rem;
  line-height: 1.6;
}

.greeting-name dd {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

@media screen and (max-width: 1024px) {
  .greeting-catch {
    font-size: 3rem;
  }

  .greeting-text p {
    font-size: 1.6rem;
    line-height: 2;
  }
}

@media screen and (max-width: 640px) {
  .greeting-name {
    margin-top: 60px;
  }

  .greeting-name__company {
    font-size: 1.5rem;
  }

  .greeting-name dt {
    font-size: 1.3rem;
  }

  .greeting-name dd {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .greeting-catch {
    margin-bottom: 40px;
    font-size: 2.5rem;
  }

  .greeting-catch br {
    display: none;
  }

  .greeting-text p {
    font-size: 1.5rem;
    line-height: 2;
  }
}

/*------------------------------------*/

.gallery-list {
  display: flex;
  flex-wrap: wrap;
}

.gallery-list__item {
  max-width: calc((100% - (40px * 2) - 1px) / 3);
  flex-basis: calc((100% - (40px * 2) - 1px) / 3);
  margin-right: 40px;
  margin-bottom: 60px;
}

.gallery-list__item:nth-child(3n) {
  margin-right: 0;
}

.gallery-list__item a {
  text-decoration: none;
}

.gallery-list__image {
  height: calc(100px + 20vw);
  max-height: 200px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.gallery-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-list__image:before,
.gallery-list__image:after {
  content: "";
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
}

.gallery-list__image:before {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 255, 255, 1);
  border-radius: 50%;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
}

.gallery-list__image:after {
  border: 10px solid transparent;
  border-left: 16px solid rgba(255, 255, 255, 1);
  top: calc(50% - 10px);
  left: calc(50% - 6px);
}

.gallery-list__image img {
  position: relative;
  z-index: 0;
  transform-origin: center;
  transition: all 300ms ease;
}

a:hover .gallery-list__image img {
  transform: scale3d(1.1, 1.1, 1.1);
}

.gallery-list__title {
  margin-bottom: 5px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

.gallery-list__text {
  font-size: 1.3rem;
  line-height: 1.8;
}

@media screen and (max-width: 1024px) {
  .gallery-list__item {
    max-width: calc((100% - 40px - 1px) / 2);
    flex-basis: calc((100% - 40px - 1px) / 2);
  }

  .gallery-list__item:nth-child(3n) {
    margin-right: 40px;
  }

  .gallery-list__item:nth-child(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 640px) {
  .gallery-list__image {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .gallery-list__title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .gallery-list__item {
    max-width: calc((100% - 6vw - 1px) / 2);
    flex-basis: calc((100% - 6vw - 1px) / 2);
    margin-right: 6vw;
    margin-bottom: 40px;
  }

  .gallery-list__item:nth-child(3n) {
    margin-right: 6vw;
  }

  .gallery-list__item:nth-child(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 400px) {
  .gallery-list {
    display: block;
  }

  .gallery-list__title {
    margin-bottom: 0;
  }

  .gallery-list__item {
    max-width: none;
    margin-right: 0 !important;
  }
}

/*------------------------------------*/

.branch-list__item {
  padding: 40px 0;
  display: flex;
  border-bottom: 2px dotted rgba(24, 141, 96, 1);
  justify-content: space-between;
}

.branch-list__item:first-child {
  border-top: 2px dotted rgba(24, 141, 96, 1);
}

.branch-list__title {
  max-width: 25%;
  flex-basis: 25%;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

.branch-list__title a {
  text-decoration: none;
}

.branch-list__title a:hover {
  text-decoration: underline;
}

.branch-list__wrap {
  max-width: 75%;
  flex-basis: 75%;
}

.branch-list__wrap {
  display: flex;
  justify-content: space-between;
}

.branch-list .showroom-list__dlist {
  max-width: calc(100% - 250px);
  flex-basis: calc(100% - 250px);
}

.branch-list__btn {
  max-width: 220px;
  flex-basis: 220px;
}

@media screen and (max-width: 1280px) {
  .branch-list__title {
    max-width: 220px;
    flex-basis: 220px;
  }

  .branch-list__wrap {
    max-width: calc(100% - 220px);
    flex-basis: calc(100% - 220px);
  }

  .branch-list__wrap {
    display: block;
  }

  .branch-list .showroom-list__dlist,
  .branch-list__btn {
    max-width: none;
  }

  .branch-list__btn {
    margin-top: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .branch-list__item {
    display: block;
  }

  .branch-list__title,
  .branch-list__wrap {
    max-width: none;
  }

  .branch-list__title {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 640px) {
  .branch-list__title a {
    font-size: 2rem;
  }

  .branch-list__btn {
    margin-top: 30px;
  }
}

/*------------------------------------*/

.csr__main {
  margin-bottom: 120px;
}

.csr__title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
}

.csr__title:after {
  content: "";
  width: 100%;
  height: 2px;
  margin-top: 20px;
  margin-bottom: 60px;
  display: block;
  background-color: rgba(24, 141, 96, 1);
}

.csr__main {
  display: flex;
  justify-content: space-between;
}

.csr__wrap {
  max-width: calc(70% - 60px);
  flex-basis: calc(70% - 60px);
  display: flex;
  justify-content: space-between;
}

.csr__wrap.wide {
  max-width: 100%;
  flex-basis: 100%;
}

.csr__text {
  font-size: 1.5rem;
  line-height: 2;
}

.csr__image {
  max-width: 30%;
  flex-basis: 30%;
}

.csr__image li {
  margin-bottom: 10px;
}

@media screen and (max-width: 1024px) {
  .csr__title {
    font-size: 2rem;
  }

  .csr__wrap {
    max-width: calc(70% - 30px);
    flex-basis: calc(70% - 30px);
  }
}

@media screen and (max-width: 640px) {
  .csr__main {
    display: block;
  }

  .csr__wrap,
  .csr__image {
    max-width: none;
  }

  .csr__title {
    font-size: 1.8rem;
  }

  .csr__title:after {
    margin: 10px 0 20px 0;
  }

  .csr__image {
    margin-top: 40px;
  }
}
