@charset "utf-8";

.main-img {
  margin-bottom: -1%;
}

.main-inner {
  max-width: 1000px;
  margin: 0 auto;
}

main {
  background-color: #f3eed0;
  padding-bottom: 10%;
}

/* ====== パンくずリスト ====== */
.breadcrumb-list {
  @media (width <= 800px) {
    margin-left: 5%;
  }
}

.breadcrumbs {
  display: inline-block;
  margin-top: 5%;
}

/* 横に並ぶように  */
.breadcrumbs li {
  display: inline;
}

/* ≫を表示 */
.breadcrumbs li::after {
  content: "≫";
  padding: 0 0.2em;
  color: 333;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs li a {
  text-decoration: none;
  color: 333;
}

.breadcrumbs li a:hover {
  text-decoration: underline;
}

/* === h2==== */
h2 {
  width: 28%;
  margin-top: 8%;
  margin-bottom: 10%;
  margin-left: 37%;
  background: #cee5d5;
  padding: 0.5em;
  padding-left: 3%;
  line-height: 2.6;
  letter-spacing: 0.7em;
  color: #333;
  border-radius: 0.9em;
  text-align: center;
  @media (width <= 800px) {
    font-size: 18px;
    margin-left: 36%;
  }
}

/* ============= 院長エリア ============== */
.greeting-incho {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10%;
  gap: 10%;
  @media (width <= 800px) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "b"
      "a";
    max-width: 400px;
    margin: 10% auto 5% 35%;
    gap: 0;
  }
}

.greeting-incho img {
  height: 70%;
  object-fit: contain;
  margin-bottom: 0;
  @media (width <= 800px) {
    grid-area: b;
    margin-bottom: -10%;
  }
}

.greeting-incho span {
  display: block;
  text-align: left;
  font-size: 16px;
  font-weight: 300;
  line-height: 2.5;
  margin-top: 10%;
  @media (width <= 800px) {
    grid-area: a;
    text-align: center;
    font-size: 14px;
    margin-top: 5%;
    margin-left: -32%;
  }
}

.greeting-text {
  @media (width <= 800px) {
    margin: 0 auto;
  }
}

.greeting-text span {
  font-size: 24px;
  font-weight: 600;
  color: #c16479;
}

.greeting-text p {
  text-align: left;
  font-size: 16px;
  font-weight: 300;
  line-height: 2.5;
  margin-top: 5%;
  @media (width <= 800px) {
    font-size: 14px;
    margin-top: 5%;
    text-align: center;
  }
}

.text {
  display: inline-block;
  margin-top: 5%;
  margin-left: 80%;
  margin-bottom: 10%;
  @media (width <= 800px) {
    font-size: 14px;
  }
}

/* ====== 経歴エリア ====== */
.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  @media (width <= 800px) {
    grid-template-columns: 1fr;
    font-size: 14px;
    width: 560px;
    margin: 0 auto;
    padding: 5%;
    align-items: center;
  }
}

.career-text01 p {
  margin-top: 8%;
  font-size: 15px;
  margin-left: 4%;
  @media (width <= 800px) {
    margin-bottom: 10%;
    font-size: 14px;
    max-width: 800px;
    /* margin-top: 5%;
    text-align: left; */
  }
}

.career-text01 {
    border: 1px solid #333;
      @media (width <= 800px) {
width: 100%;
  }
}

.career-text02 {
    border: 1px solid #333;
}



.career-text01 p::before {
  content: url(../images/about.images/pepicons-pencil_pen-circle.svg);
  margin-right: 2%;
}

.career-text02 p {
  margin-top: 5%;
  font-size: 16px;
  margin-top: 7%;
  margin-left: 25%;
  text-align: left;
  text-decoration: underline 1px solid #333;
  @media (width <= 800px) {
    font-size: 18px;
    font-weight: 500;
  }
}

.career-text02 p::before {
  content: url(../images/about.images/lsicon_marketing-outline.svg);
  margin-right: 2%;
}

.career-flex {
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  margin-left: 8%;
  gap: 3%;
}

.career-flex span {
  display: inline-block;
  padding-bottom: 3%;
  padding-left: 20%;
  font-size: 14px;
  @media (width <= 800px) {
    text-align: left;
    margin-bottom: 3%;
  }
  /* background-color: #fff; */
}

.career-lasttext {
  text-align: center;
  margin-top: 5%;
    @media (width <= 800px) {
    margin-top: 10%;
  }
}
