/* ============================================================
 * architecture.css
 * 建築設計事業ページ専用スタイル
 * ============================================================ */

/* ------------------------------------------------------------
 * ベーススタイル（philosophy.css から移植）
 * ------------------------------------------------------------ */
.serif, .philosophy-block div h3 {
  font-family: "Noto Serif JP", serif;
  font-size: calc(1rem + (1vw - 3.2px) * 1.4286);
  margin-bottom: 2em;
}
@media (min-width: 1160px) {
  .serif, .philosophy-block div h3 {
    font-size: 28px;
  }
}

.en {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: calc(1rem + (1vw - 3.75px) * 0.3822);
  margin-bottom: 2em;
  color: #b19b4d;
}
@media (min-width: 1160px) {
  .en {
    font-size: 19px;
  }
}

#corporate-philosophy {
  margin-bottom: 2em;
}
@media (min-width: 769px) {
  #corporate-philosophy {
    margin-bottom: 70px;
  }
}

.philosophy-block div {
  background: #eee;
  padding: 4.27vw;
  margin-bottom: 2em;
}
.philosophy-block div h3 {
  position: relative;
  text-align: center;
}
.philosophy-block div h3:before, .philosophy-block div h3:after {
  position: absolute;
  display: inline-block;
  content: "";
  width: 2.5em;
  height: 1px;
  background: #000;
  left: 50%;
  transform: translateX(-50%);
}
.philosophy-block div h3:before {
  top: -0.5em;
}
.philosophy-block div h3:after {
  bottom: -0.5em;
}
.philosophy-block div h4 {
  color: #666;
  text-align: center;
  line-height: 1.5;
  font-size: calc(1rem + (1vw - 3.75px) * 0.2548);
}
@media (min-width: 1160px) {
  .philosophy-block div h4 {
    font-size: 18px;
  }
}

@media (min-width: 769px) {
  .philosophy-block {
    display: flex;
    justify-content: space-between;
  }
  .philosophy-block div {
    width: 46.98%;
    max-width: 545px;
    padding: 15px;
  }
}
@media (min-width: 1160px) {
  .philosophy-block div {
    padding: 50px 50px 20px;
  }
  .philosophy-block div h3 {
    margin-bottom: 1em;
  }
  .philosophy-block div h4 {
    display: flex;
    height: 80px;
    align-items: center;
    justify-content: center;
  }
  .philosophy-block div p:last-of-type {
    line-height: 2.1;
  }
}

#message-chairman {
  margin-bottom: 2em;
}
@media (min-width: 1160px) {
  #message-chairman {
    margin-bottom: 100px;
  }
}
#message-chairman .gray-block {
  border: 7px solid #ccc;
}
#message-chairman .gray-block div:last-of-type {
  padding: 4.3vw;
}

@media (max-width: 730px) {
  #message-chairman .gray-block p, #message-chairman .gray-block h3 {
    text-align: center;
  }
}
@media (min-width: 731px) {
  #message-chairman .gray-block {
    display: flex;
    justify-content: space-between;
  }
  #message-chairman .gray-block div:first-of-type {
    width: 50%;
    max-width: 507px;
  }
  #message-chairman .gray-block div:last-of-type {
    flex: 1;
    padding: 1.5em;
  }
}
@media (min-width: 1160px) {
  #message-chairman .gray-block div:last-of-type {
    padding: 40px;
  }
  #message-chairman .gray-block div:last-of-type p {
    line-height: 2.1;
  }
}

/* ------------------------------------------------------------
 * Mission / Vision ブロック オーバーライド
 * ------------------------------------------------------------ */
body.tab-architect .philosophy-block {
  margin-top: 36px;
}
body.tab-architect .philosophy-block div {
  background: linear-gradient(to bottom, #faf8f4, #fff);
  color: #333;
  padding: 2.5em 1.5em;
  position: relative;
  border: 1px solid #e0d8c0;
  border-top: none;
}
body.tab-architect .philosophy-block div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #b19b4d, #d4c68a);
}
body.tab-architect .philosophy-block div .en {
  color: #b19b4d;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 0.5em;
}
body.tab-architect .philosophy-block div h3 {
  color: #333;
  text-align: left;
  font-size: calc(1rem + (1vw - 3.2px) * 1.0);
  margin-bottom: 1.2em;
  padding-bottom: 1em;
  border-bottom: 1px solid rgba(177, 155, 77, 0.3);
}
body.tab-architect .philosophy-block div h3:before,
body.tab-architect .philosophy-block div h3:after {
  display: none;
}
body.tab-architect .philosophy-block div h4 {
  color: #b19b4d;
  text-align: left;
  font-size: calc(0.875rem + (1vw - 3.2px) * 0.4762);
  font-family: 'Noto Serif JP', serif;
  line-height: 1.8;
  margin-bottom: 1.5em;
}
body.tab-architect .philosophy-block div p.line-height-lg {
  color: #555;
  line-height: 2.0;
}

@media (min-width: 769px) {
  body.tab-architect .philosophy-block div {
    padding: 2.5em 2em;
  }
}
@media (min-width: 1160px) {
  body.tab-architect .philosophy-block div {
    padding: 50px;
  }
  body.tab-architect .philosophy-block div h3 {
    font-size: 24px;
  }
  body.tab-architect .philosophy-block div h4 {
    font-size: 18px;
    height: auto;
    display: block;
  }
  body.tab-architect .philosophy-block div p.line-height-lg {
    line-height: 2.1;
  }
}

/* ------------------------------------------------------------
 * 鈴木充広セクション オーバーライド
 * ------------------------------------------------------------ */
body.tab-architect #message-chairman .gray-block {
  border: none;
  background: #f8f6f2;
}
body.tab-architect #message-chairman .gray-block div:last-of-type {
  padding: 2em;
}
body.tab-architect #message-chairman .gray-block div:last-of-type p:first-child {
  color: #b19b4d;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
}
body.tab-architect #message-chairman .gray-block div:last-of-type h3 {
  color: #333;
  margin-bottom: 1.2em;
  padding-bottom: 0.8em;
  border-bottom: 1px solid #ddd;
}
body.tab-architect #message-chairman .gray-block div:last-of-type p.mb-0 {
  color: #555;
  line-height: 2.0;
}

@media (min-width: 1160px) {
  body.tab-architect #message-chairman .gray-block div:last-of-type {
    padding: 40px 50px;
  }
  body.tab-architect #message-chairman .gray-block div:last-of-type p.mb-0 {
    line-height: 2.1;
  }
}
