/* =========================================================
   宝歯会グループ 宝歯会について
   ========================================================= */

:root {
  --color-orange: #f09502;
  --color-text: #4c4c4c;
  --color-text-sub: #826c49;
  --color-body: #4c4c4c;
  --color-white: #ffffff;

  --font-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;

  --container-width: 1100px;
  --header-height: 80px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-weight: 500;
  font-family: var(--font-round);
  color: var(--color-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding-left: 0em; margin-bottom: 0rem; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only { display: block; }
.pc-only { display: none; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-white);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  max-width: 1400px;
  margin: 0 auto;
}
.header-logo img { width: 150px; height: auto; }

.gnav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-white);
  padding: 24px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gnav.is-open { transform: translateX(0); }
.gnav-list { display: flex; flex-direction: column; }
.gnav-item { border-bottom: 1px solid #eee; }
.gnav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
}
.gnav-item.is-current a { color: var(--color-orange); }
.gnav-arrow { width: 12px; height: auto; transform: rotate(90deg); opacity: 0.6; }

.header-entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  flex-shrink: 0;
}

.menu-trigger { position: relative; width: 32px; height: 24px; flex-shrink: 0; }
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { top: 11px; }
.menu-trigger span:nth-child(3) { top: 22px; }
.menu-trigger[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-trigger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-trigger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-white); padding-top: 40px; }
.footer-brand { text-align: center; margin-bottom: 32px; }
.footer-logo { width: 100px; margin: 0 auto 12px; }
.footer-org { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.footer-address { font-size: 12px; color: var(--color-text); line-height: 1.7; margin-bottom: 20px; }
.footer-btn {
  display: block;
  max-width: 260px;
  margin: 0 auto 10px;
  padding: 14px;
  border-radius: 40px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}
.footer-btn--sub {
  background: #fff3df;
  border: 2px solid var(--color-text-sub);
  color: var(--color-text-sub);
}
.footer-btn--main {
  background: var(--color-orange);
  color: var(--color-white);
  border: 2px solid var(--color-orange);
}
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.footer-col-title {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 12px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 12px; color: var(--color-text); }
.footer-bottom { margin-top: 40px; border-top: 1px solid #e5e5e5; padding: 20px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 10px; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--color-text); }
.footer-legal-links img { width: 10px; }
.footer-copyright { font-size: 11px; color: var(--color-text); }

/* =========================================================
   Shared: section labels / headings
   ========================================================= */
.section-en {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 11px;
  color: var(--color-orange);
}
.section-title {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 20px;
  color: var(--color-text-sub);
  margin-top: 6px;
}
.section-title--left { text-align: left; }
.data-section .section-title { text-align: center; }

.section-h2-wrap { margin-top: 40px; margin-bottom: 24px; }
.section-h2 {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-orange);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-orange);
}

/* =========================================================
   HERO 宝歯会について
   ========================================================= */
.about-hero {
  position: relative;
  padding: 60px 0 0;
  overflow: hidden;
}

.about-shape01{
  position: absolute;
 top: -62px;
    right: -126px;
    z-index: -1;
}

.about-title-wrap {
  position: relative;
  margin-bottom: 20px;
}
.about-watermark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 55px;
  line-height: 1;
  background: linear-gradient(90deg, #fcca4b, var(--color-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.09;
  white-space: nowrap;
  pointer-events: none;
}
.about-title {
  position: relative;
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 24px;
  color: var(--color-text-sub);
}
.about-photo {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
}
.about-photo img { width: 100%; height: 220px; object-fit: cover;  object-position: top;}
.about-subhead {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-body);
  margin-bottom: 14px;
}
.about-lead {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-body);
  margin-bottom: 40px;
}

/* =========================================================
   Quick links
   ========================================================= */
.quick-links { padding-bottom: 8px; }
.quick-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.quick-link-card {
  display: flex;
  justify-content: space-between;
    align-items: flex-end;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 0 23px rgba(0,0,0,0.09);
  padding: 20px 24px;
}
.quick-link-title {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-body);
  padding-left: 16px;
  border-left: 2px solid var(--color-orange);
}
.quick-link-more {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-orange);
  text-align: right;
}

.link-icon {
  position: relative;
    display: inline-block;
    padding: 0 25px 0 0;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
  color:  var(--color-orange);
}

.text-end {
    text-align: right !important;
}

.link-icon:before, .link-icon:after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin-top: auto;
    margin-bottom: auto;
    content: "";
}

.link-icon::before{
      width: 18px;
    height: 18px;
    border: 1px solid;
    border-radius: 50%;
}

.link-icon::after{
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border: solid;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}

/* =========================================================
   MESSAGE 理事長メッセージ
   ========================================================= */
.message-section { padding: 40px 0; }
.message-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.message-photo {
        width: 258px;
    margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px 2px rgba(117,117,117,0.25);
}
.message-photo img { width: 100%;
    height: 315px; object-fit: cover; }
.message-quote {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-orange);
  margin-bottom: 16px;
}
.message-text {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-body);
}

/* =========================================================
   Info table (経歴 / グループ概要)
   ========================================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
          display: table;
}
.info-table th, .info-table td {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  line-height: 1.5;
  color: var(--color-body);
}
.info-table tbody {
  display: table-row-group;
    }
.info-table th {
  background: #ffefd5;
  border: 1px solid #ede0cc;
  font-weight: 700;
  font-size: 13px;
  padding: 16px 20px;
}
.info-table td {
  background: var(--color-white);
  border: 1px solid #ede0cc;
  font-weight: 500;
  font-size: 15px;
}

    .info-table tr {
        display: table-row;
        margin-bottom: 0;
    }

    .info-table-line{
    background-color: #e8e8e8;
    width: 100%;
    height: 1px;
    margin: 3px auto;
    }

.career-table th, .career-table td { font-weight: 700; }
.career-table td { font-weight: 500; }

  .info-table th, .info-table td { display: table-cell; width: auto; }
  .info-table th { width: 80px; vertical-align: top;}
  .info-table { display: table; }
  .info-table th, .info-table td { font-size: 11px; padding: 16px 20px; }

/* =========================================================
   PHILOSOPHY 宝歯会が大切にしている考え方
   ========================================================= */
.philosophy-section { padding: 40px 0; }
.philosophy-intro-head {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-body);
  margin-top: 24px;
  margin-bottom: 12px;
}
.philosophy-intro-text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-body);
}
.philosophy-block { margin-top: 32px; }

.philosophy-block.shape { position: relative;}
.about-shape02{
  position: absolute;
 top: -62px;
    right: -126px;
    z-index: -1;
}
.philosophy-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-orange);
  margin-bottom: 14px;
}
.philosophy-label-bar {
  display: block;
  width: 2px;
  height: 15px;
  border-radius: 200px;
  background: var(--color-orange);
  flex-shrink: 0;
}
.philosophy-statement {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body);
}
.philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.philosophy-card {
  background: #fff8ec;
  border-radius: 20px;
  padding: 24px 20px;
}
.philosophy-card-title {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 12px;
}
.philosophy-card-text {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-body);
}

/* =========================================================
   DATA 数字で見る宝歯会グループ
   ========================================================= */

.section-en.data{
text-align: center;
    color: var(--color-text-sub);
}
   .data-section {
    padding: 40px 0; 
    background-color: #ffedd1;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }

.data-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.data-card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 0 24px rgba(0,0,0,0.1);
  padding: 24px 20px;
}
.data-card-title {
  font-family: var(--font-round);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-orange);
  text-align: center;
  margin-bottom: 16px;
}
.data-card-text {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--color-text);
}

.donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@property --p {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
.donut {
  --p: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--g);
  position: relative;
  flex-shrink: 0;
  mask-image: conic-gradient(#000 calc(var(--p) * 1%), rgba(0,0,0,0) calc(var(--p) * 1%));
  -webkit-mask-image: conic-gradient(#000 calc(var(--p) * 1%), rgba(0,0,0,0) calc(var(--p) * 1%));
  transition: --p 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.data-card.in-view .donut { --p: 100; }
.donut::after {
  content: "";
  position: absolute;
  inset: 26%;
  background: var(--color-white);
  border-radius: 50%;
}
.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  color: rgba(0,0,0,0.7);
}
.donut-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.donut-legend b { margin-left: auto; font-weight: 700; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  height: 160px;
  border-bottom: 1px solid rgba(0,0,26,0.3);
  padding: 0 10px;
}
.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  flex: 1;
  max-width: 80px;
}
.bar-value {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-orange);
  margin-bottom: 6px;
}
.bar {
  --h: 0%;
  width: 100%;
  height: 0;
  background: var(--color-orange);
  opacity: 0.8;
  border-radius: 2px 2px 0 0;
  transition: height 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.data-card.in-view .bar { height: var(--h); }
.bar-label {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(0,0,0,0.7);
  white-space: nowrap;
}

/* =========================================================
   HISTORY 宝歯会の歴史
   ========================================================= */
.history-section { 
  padding: 40px 0 60px;
  background-image: url(../img/recruit/about_bg.png) ;
      padding-top: min(14.2857142857vw, 200px);
    padding-bottom: min(3.5714285714vw, 50px);
    background-size: cover;
}
.history-lead {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-body);
  margin-top: 10px;
}

/* =========================================================
   Tablet (768px~)
   ========================================================= */
@media (min-width: 768px) {
  .container { padding: 0 32px; }

  .about-watermark { font-size: 100px; }
  .about-title { font-size: 30px; }
  .about-photo img { height: 370px; }
  .about-subhead { font-size: 22px; }
  .about-lead { font-size: 13px; }

  .quick-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .quick-link-title { font-size: 21px; }
  .quick-link-more { font-size: 13px; }
  .link-icon {
    font-size: 11px;
}

  .section-en { font-size: 13px; }
  .section-title { font-size: 26px; margin-top: 8px; }
  .section-h2 { font-size: 20px; }

  .message-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .message-head-text { flex: 1; }
  .message-photo { flex-shrink: 0; width: 300px; }
  .message-photo img { height: 438px; }
  .message-quote { font-size: 17px; }
  .message-text { font-size: 13px; }

  .info-table th { width: 220px; border-right: none; }

  .philosophy-intro-head { font-size: 18px; }
  .philosophy-intro-text { font-size: 13px; }
  .philosophy-label { font-size: 15px; }
  .philosophy-statement { font-size: 16px; }
  .philosophy-card-title { font-size: 18px; }
  .philosophy-card-text { font-size: 13px; }

  .data-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .data-card { padding: 34px 30px; }
  .data-card-title { font-size: 18px; }
  .data-card-text { font-size: 12px; }
  .donut { width: 170px; height: 170px; }

  .history-lead { font-size: 13px; }
}

/* =========================================================
   Desktop (1024px~)
   ========================================================= */
@media (min-width: 1024px) {
  .sp-only { display: none; }
  .pc-only { display: block; }
  .container { padding: 0 64px; }

  .about-hero { padding:100px 0 0; }
  .about-shape01{
  position: absolute;
          top: -321px;
        right: -418px;
    z-index: -1;
}
  .about-watermark { font-size: 140px; }
  .about-title { font-size: 36px; }
  .about-title-wrap { margin-bottom: 53px; }
  .about-photo { border-radius: 20px; }
  .about-subhead { font-size: 28px; margin-bottom: 20px; }
  .about-lead { font-size: 15px; line-height: 1.8; margin-bottom: 60px; }

  .quick-links-grid { gap: 20px 18px; }
  .quick-link-card { padding: 28px 30px; }
  .quick-link-title { font-size: 24px; }
  .quick-link-more { font-size: 14px; }
    .link-icon {
    font-size: 16px;
}

  .section-en { font-size: 16px; }
  .section-title { font-size: 32px; margin-top: 10px; }
  .data-section .section-title { font-size: 36px; }
  .section-h2 { font-size: 24px; }

  .message-section { padding: 90px 0; }
  .message-photo { width: 353px; }
  .message-photo img { height: 430px; }
  .message-quote { font-size: 20px; line-height: 1.5; }
  .message-text { font-size: 14px; line-height: 1.7; }

  .info-table th, .info-table td { font-size: 14px; padding: 20px 40px; }

  .philosophy-section { padding: 90px 0; }
  .philosophy-intro-head { font-size: 21px; margin-top: 40px; }
  .philosophy-intro-text { font-size: 14px; }
  .philosophy-block { margin-top: 48px; }
  .about-shape02{
  position: absolute;
     top: -74px;
    right: -451px;
    z-index: -1;
}
  .philosophy-label { font-size: 18px; }
  .philosophy-label-bar { height: 40px; }
  .philosophy-statement { font-size: 19px; line-height: 1.6; }
  .philosophy-card { padding: 40px 44px; }
  .philosophy-card-title { font-size: 21px; }
  .philosophy-card-text { font-size: 14px; line-height: 1.6; }

  .data-section { padding: 90px 0; }
  .data-card { padding: 40px 44px; }
  .data-card-title { font-size: 21px; margin-bottom: 30px; }
  .donut-wrap { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
  .donut { width: 200px; height: 200px; }
  .donut-legend { font-size: 10px; gap: 10px; }
  .data-card-text { margin-top: 30px; font-size: 13px; }
  .bar-chart { margin: 0 auto; max-width: 435px; width: 100%; height: 161px; gap: 36px; }

  .history-section { padding: 90px 0 100px; }
  .history-lead { font-size: 14px; line-height: 1.6; }
}
