@charset "utf-8";

main {
  letter-spacing: 0;
}

.p-sec-contact {
  background-color: var(--gaia-color-neutral-light);
  margin-top: 0;
}

@media screen and (max-width: 1023px) {
  .br-pc {
    display: none;
  }
}

.br-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .br-sp {
    display: block;
  }
}

.inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 40px;

  @media (min-width: 1380px) {
    max-width: 1120px;
    padding-inline: 0;
  }
}

@media screen and (max-width: 1359px) {
  .inner {
    max-width: 1200px;
    padding-inline: 30px;
  }
}

@media screen and (max-width: 1000px) {
  .inner {
    max-width: 800px;
  }
}

@media screen and (max-width: 767px) {
  .inner {
    padding-inline: 35px;
  }
}

.single-profile-hero {
  padding-top: 40px;
}

@media screen and (max-width: 1023px) {
  .single-profile-hero {
    padding-top: 40px;
  }
}

.single-profile-hero__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: calc(50% - 50vw);
  max-width: 1240px;

  @media (min-width: 1380px) {
    max-width: 1210px;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-hero__flex {
    flex-direction: column;
    align-items: center;
    margin-right: auto;
    gap: 30px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-hero__flex {
    flex-direction: column;
    align-items: center;
    margin-right: auto;
    gap: 30px;
  }
}

.single-profile-hero__flex-left {
  align-self: end;
}

@media screen and (max-width: 1023px) {
  .single-profile-hero__flex-left {
    align-self: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-hero__flex-left {
    align-self: flex-start;
  }
}

.single-profile-hero__copy {
  font-size: 50px;
}

@media screen and (max-width: 1359px) {
  .single-profile-hero__copy {
    font-size: 45px;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-hero__copy {
    font-size: 40px;

    br {
      display: none;
    }
  }
}

@media screen and (max-width: 767px) {
  .single-profile-hero__copy {
    font-size: 29px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-hero__copy {
    font-size: 20px;
    line-height: 1.65;
  }
}

.single-profile-hero__name {
  font-size: 32px;
  margin-top: 103px;
  line-height: 1.3125;
}

@media screen and (max-width: 1023px) {
  .single-profile-hero__name {
    margin-top: 50px;
    font-size: 24px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-hero__name {
    font-size: 20px;
    margin-top: 20px;
  }
}

.single-profile-hero__en {
  margin-top: 19px;
  line-height: 0.3095238095;
  font-size: 13px;
}

@media screen and (max-width: 479px) {
  .single-profile-hero__en {
    font-size: 11px;
    margin-top: 10px;
  }
}

.single-profile-hero__flex-right {
  width: 50vw;
  max-width: 680px;

  @media (min-width: 1380px) {
    width: 650px;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-hero__flex-right {
    width: 100vw;
    max-width: unset;
  }
}

.single-profile-qa {
  padding-top: 172px;
}

@media screen and (max-width: 1023px) {
  .single-profile-qa {
    padding-top: 80px;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-qa {
    padding-top: 60px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-qa {
    padding-top: 10px;
  }
}

.single-profile-qa__inner {
  @media (min-width: 1380px) {
    max-width: 1300px;
    margin-inline: auto;
  }
}

.single-profile-qa__container {
  display: flex;
  flex-direction: column;
  row-gap: 100px;
}

@media screen and (max-width: 479px) {
  .single-profile-qa__container {
    row-gap: 39px;
  }
}

.single-profile-qa__grid {
  display: grid;
  column-gap: 40px;
  row-gap: 30px;

}

@media screen and (max-width: 1023px) {
  .single-profile-qa__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-qa__grid {
    row-gap: 20px;
  }
}

.single-profile-qa__grid:nth-child(odd) {
  grid-template-areas: "img q-area" "img a-area";
  margin-left: calc(50% - 50vw);
  grid-template-columns: 54.8387096774% auto;
  
  @media (min-width: 1380px) {
    margin-left: unset;
    grid-template-columns: 50% auto;
    grid-template-rows: min-content 1fr;
  }
}

@media screen and (max-width: 1359px) {
  .single-profile-qa__grid:nth-child(odd) {
    grid-template-columns: 52% 44%;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__grid:nth-child(odd) {
    grid-template-columns: 1fr;
    margin-left: unset;
    grid-template-areas: "img" "q-area" "a-area";
  }
}

.single-profile-qa__grid:nth-child(even) {
  grid-template-areas: "q-area img" "a-area img";
  margin-right: calc(50% - 50vw);
  grid-template-columns: auto 54.8387096774%;

  @media (min-width: 1380px) {
    margin-right: unset;
    grid-template-columns: auto 50%;
    grid-template-rows: min-content 1fr;

    .single-profile-qa__q-box, .single-profile-qa__a-box {
      padding-left: 90px;
    }
  }
}

@media screen and (max-width: 1359px) {
  .single-profile-qa__grid:nth-child(even) {
    grid-template-columns: 44% 52%;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__grid:nth-child(even) {
    grid-template-columns: 1fr;
    margin-right: unset;
    grid-template-areas: "img" "q-area" "a-area";
  }
}

/* grid レイアウトTablet~PC */
@media (1024px <= width < 1360px) {
  .single-profile-qa__grid:nth-child(odd) {
    grid-template-columns: 50vw auto;
  }
  
  .single-profile-qa__grid:nth-child(even) {
    grid-template-columns: auto 50vw;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__grid:first-child {
    grid-template-areas: "q-area" "img" "a-area";
    grid-template-columns: 1fr;
    margin-left: unset;
    row-gap: 22px;
  }
}

.single-profile-qa__image {
  grid-area: img;
  aspect-ratio: 680/485;
  /* height: 100%; */
  width: 100%;
}

.single-profile-qa__image img {
  display: block;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__image {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }
}

.single-profile-qa__q-box {
  grid-area: q-area;
}

.single-profile-qa__a-box {
  grid-area: a-area;
}

.single-profile-qa__q-title {
  margin-top: 10px;
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__q-title {
    margin-top: 7px;
  }
}

.single-profile-qa__title {
  width: 37px;
  line-height: 1;
}

@media screen and (max-width: 1359px) {
  .single-profile-qa__title {
    width: 28px;
  }
}

@media screen and (max-width: 1129px) {
  .single-profile-qa__title {
    width: 26px;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__title {
    width: 28px;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-qa__title {
    width: 25px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-qa__title {
    width: 20px;
  }
}

.single-profile-qa__q {
  font-size: 22px;
  line-height: 1.9090909091;
  margin-top: 14px;
  color: #453200;
}

@media screen and (max-width: 1359px) {
  .single-profile-qa__q {
    font-size: 21px;

    br {
      display: none;
    }
  }
}

@media screen and (max-width: 1129px) {
  .single-profile-qa__q {
    font-size: 19px;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__q {
    font-size: 32px;
    line-height: 1.45;
    margin-top: 16px;
    letter-spacing: 0.025em;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-qa__q {
    font-size: 28px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-qa__q {
    font-size: 20px;
  }
}

.single-profile-qa__a-title {
  margin-top: 13px;
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__a-title {
    margin-top: 0;
  }
}

.single-profile-qa__a {
  font-size: 17px;
  line-height: 1.6470588235;
  width: 520px;
  margin-top: 30px;
  letter-spacing: 0.025em;

  br {
    display: none;
  }
}

@media screen and (max-width: 1359px) {
  .single-profile-qa__a {
    width: 100%;
    font-size: 16px;
  }
}

@media screen and (max-width: 1129px) {
  .single-profile-qa__a {
    font-size: 15px;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-qa__a {
    font-size: 24px;
    line-height: 1.6428571429;
    margin-top: 15px;
    letter-spacing: normal;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-qa__a {
    font-size: 22px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-qa__a {
    font-size: 14px;
  }
}

.single-profile-msg {
  padding-top: 100px;
  padding-bottom: 124px;
}

@media screen and (max-width: 479px) {
  .single-profile-msg {
    padding-top: 46px;
    padding-bottom: 50px;
  }
}

.single-profile-msg__body {
  background-color: #f3f2ed;
  padding-inline: 50px;
  padding-top: 40px;
  padding-bottom: 48px;
}

@media screen and (max-width: 479px) {
  .single-profile-msg__body {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding-top: 32px;
    padding-inline: 35px;
    padding-bottom: 20px;
  }
}

.single-profile-msg__title {
  font-size: 22px;
  line-height: 1.9090909091;
  letter-spacing: 0.025em;
  color: #453200;
  text-align: center;
  position: relative;
}

@media screen and (max-width: 479px) {
  .single-profile-msg__title {
    font-size: 20px;
    line-height: 1.45;
  }
}

.single-profile-msg__title::before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #453200;
}

.single-profile-msg__text {
  text-align: center;
  margin-top: 45px;
  letter-spacing: .025em;
}

@media screen and (max-width: 1023px) {
  .single-profile-msg__text {
    font-size: 20px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-msg__text {
    font-size: 14px;
    line-height: 1.6428571429;
    text-align: left;
    margin-top: 28px;
  }
}

.single-profile-msg__caution {
  text-align: center;
  display: block;
  font-size: 13px;
  line-height: 2.1538461538;
  letter-spacing: 0.025em;
  margin-top: 15px;
}

@media screen and (max-width: 479px) {
  .single-profile-msg__caution {
    font-size: 12px;
    line-height: 1.4166666667;
    background-color: #f3f2ed;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding-inline: 35px;
    text-align: left;
    padding-bottom: 36px;
  }
}

.single-profile-profile {
  padding-top: 100px;
  padding-bottom: 60px;
  background-color: #f3f2ed;
  letter-spacing: .025em;
}

@media screen and (max-width: 479px) {
  .single-profile-profile {
    padding-top: 30px;
    padding-bottom: 35px;
  }
}

.single-profile-profile__title {
  font-size: 22px;
  line-height: 1.9090909091;
  letter-spacing: 0.025em;
  background-color: #fff;
  text-align: center;
  color: #453200;
  padding-block: 3px;
}

@media screen and (max-width: 479px) {
  .single-profile-profile__title {
    font-size: 18px;
    line-height: 2.3333333333;
  }
}

.single-profile-profile__list {
  margin-top: 12px;
}

.single-profile-profile__item {
  display: flex;
  margin-top: 13px;
  gap: 13px;
}

@media screen and (max-width: 1023px) {
  .single-profile-profile__item {
    flex-direction: column;
    gap: 0;
  }
}

.single-profile-profile__item:first-child {
  margin-top: 0;
}

.single-profile-profile__item-title {
  border-left: 3px solid var(--gaia-color-cool);
  background-color: #fff;
  flex: 0 0 166px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media screen and (max-width: 1023px) {
  .single-profile-profile__item-title {
    font-size: 16px;
    line-height: 1.75;
    border-bottom: 3px solid var(--gaia-color-cool);
    border-left: none;
    flex: auto;
    padding-block: 8px;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-profile__item-title {
    padding-block: 2px;
  }
}

.single-profile-profile__item-green {
  background-color: var(--gaia-color-cool);
  color: #fff;
}

.single-profile-profile__item-text {
  background-color: #fff;
  padding-block: 24px;
  padding-inline: 30px;
  min-height: 133px;
  font-size: 17px;
  line-height: 1.6470588235;
  text-align: justify;

  @media (min-width: 769px) {
    display: grid;
    align-items: center;
    flex: 1;
  }

  p+p {
    margin-top: 1em;
  }
}

.single-profile-profile__item-text li {
  padding-left: .75em;
  position: relative;
}

.single-profile-profile__item-text li:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  --_size: 4px;
  width: var(--_size);
  height: var(--_size);
  background-color: var(--gaia-color-cool);
  border-radius: 50%;
  position: absolute;
  top: calc(0.5lh - var(--_size) / 2);
  left: 0;
}

@media screen and (max-width: 1023px) {
  .single-profile-profile__item-text {
    min-height: auto;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-profile__item-text {
    font-size: 14px;
    line-height: 1.6428571429;
    padding-inline: 18px;
    padding-block: 16px;
  }
}

.single-profile-office {
  padding-top: 87px;
}

@media screen and (max-width: 479px) {
  .single-profile-office {
    padding-top: 43px;
  }
}

.single-profile-office__title {
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: 0.025em;
  text-align: center;
  color: #453200;
  border-bottom: 1px solid #000;
  padding-bottom: 13px;
}

@media screen and (max-width: 479px) {
  .single-profile-office__title {
    font-size: 20px;
    line-height: 1.45;
    padding-bottom: 8px;
  }
}

.single-profile-office__flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 55px;
}

@media screen and (max-width: 479px) {
  .single-profile-office__flex {
    column-gap: 20px;
    margin-top: 38px;
    row-gap: 31px;
  }
}

.single-profile-office__flex-item {
  width: 200px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #453200;
}

@media screen and (max-width: 1359px) {
  .single-profile-office__flex-item {
    width: 17.7570093458%;
  }
}

@media screen and (max-width: 1129px) {
  .single-profile-office__flex-item {
    width: 17.5204918033%;
  }
}

@media screen and (max-width: 1023px) {
  .single-profile-office__flex-item {
    width: 47.8813559322%;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-office__flex-item {
    width: 46.3414634146%;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-office__flex-item {
    width: 46.2295081967%;
  }
}

.single-profile-office__photo {
  width: 100%;
  overflow: hidden;
  --_ratio: 200 / 150;
  aspect-ratio: var(--_ratio);
}

.single-profile-office__photo img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: var(--_ratio);
  object-fit: cover;
  object-position: top;
  transform-origin: top;
  scale: 1.3;
}

.single-profile-office__name {
  padding-left: 30px;
  font-size: 22px;
  line-height: 1.9090909091;
  letter-spacing: 0.025em;
}

@media screen and (max-width: 479px) {
  .single-profile-office__name {
    font-size: 14px;
    line-height: 2.0714285714;
    padding-left: 13px;
  }
}

.single-profile-office__en {
  padding-left: 30px;
  font-size: 13px;
  letter-spacing: 0.025em;
}

@media screen and (max-width: 479px) {
  .single-profile-office__en {
    font-size: 8px;
    padding-left: 13px;
  }
}

.single-profile-office__osaka {
  margin-top: 88px;
}

@media screen and (max-width: 479px) {
  .single-profile-office__osaka {
    margin-top: 50px;
  }
}

.single-profile-contact {
  padding-top: 130px;
  padding-bottom: 40px;
}

@media screen and (max-width: 1023px) {
  .single-profile-contact {
    padding-top: 80px;
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-contact {
    padding-top: 42px;
    padding-bottom: 20px;
  }
}

.single-profile-contact__title {
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: 0.025em;
  text-align: center;
  color: #453200;
}

@media screen and (max-width: 1023px) {
  .single-profile-contact__title {
    font-size: 32px;
  }
}

@media screen and (max-width: 767px) {
  .single-profile-contact__title {
    font-size: 27px;
  }
}

@media screen and (max-width: 479px) {
  .single-profile-contact__title {
    font-size: 20px;
    line-height: 1.45;
    padding-bottom: 8px;
  }
}

/* ------------------------------
* 追加対応 
* ------------------------------ */
.single-profile-msg__text p {
  @media (min-width: 769px) {
    text-align: center;
  }
}


/* SPで改行を強制的に非表示 */
@media (max-width: 1023px) {
  .hide-br-sp br:not(.u-only-sp) {
    display: none;
  }
}