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

.oyakudachi-info__inner.no-sidebar {
  justify-content: center;
}

.oyakudachi-info__main {
  max-width: 100%;
  width: 700px;
  padding: 24px;
  background-color: #fff;
  border-radius: 6px;
  border-top: 8px solid #F6B900;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* no sidebar */
.no-sidebar .oyakudachi-info__main {
  width: 800px;
}

.oyakudachi-info__label {
  margin-bottom: 16px;
}
.oyakudachi-info__label span {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 16px;
  background-color: #999;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
}
.oyakudachi-info__label span.cat1 {
  background-color: #0080FF;
}
.oyakudachi-info__label span.cat2 {
  background-color: #E84A61;
}
.oyakudachi-info__label span.cat3 {
  background-color: #56C596;
}
.oyakudachi-info__label span.cat4 {
  background-color: #b7c62a;
}
.oyakudachi-info__label span.cat5 {
  background-color: #b53e5c;
}
.oyakudachi-info__label span.cat6 {
  background-color: #007A8E;
}
.oyakudachi-info__label span.cat7 {
  background-color: #F3C100;
}
.oyakudachi-info__label span.cat8 {
  background-color: #FF6F61;
}
.oyakudachi-info__label span.cat9 {
  background-color: #6B4423;
}
.oyakudachi-info__label span.cat10 {
  background-color: #039380;
}

.oyakudachi-info__title {
  margin-bottom: 8px;
}
.oyakudachi-info__title h3 {
  padding-bottom: 24px;
  border-bottom: 1px solid #999;
  font-size: clamp(18px, calc(1.125rem + ((1vw - 3.9px) * 0.8948)), 26px);
}

.oyakudachi-info__date {
  margin-bottom: 8px;
  font-size: 16px;
}

.oyakudachi-info__eyecatch img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  border-radius: 6px;
}

.oyakudachi-info__text p + p {
  margin-top: 16px;
}

#subPage .oyakudachi-info__content p {
  font-size: 16px;
}
#subPage .oyakudachi-info__content p.note {
  font-size: 14px;
}

.oyakudachi-info__btn-wrap {
  margin: 24px auto 40px;
}

.btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin: 0 auto;
  padding: 16px;
  background-color: #13B946;
  color: #fff;
  border-radius: 12px;
  font-size: clamp(18px, calc(1.125rem + ((1vw - 3.9px) * 0.2237)), 20px);
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.btn-primary.btn-01 {
  flex-direction: column;
  gap: 8px;
  width: 300px;
}
.btn-primary.btn-01 .text {
  font-size: 14px;
}
.btn-primary.btn-01 .number {
  font-size: 32px;
}

.btn-primary.btn-02 {
  position: relative;
}
.btn-primary.btn-02::before {
  content: '';
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  background-image: url(../img/icon-search.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  line-height: 1.7;
}

.btn-primary.btn-03 {
  max-width: 100%;
  width: 420px;
  height: 60px;
  margin-top: 8px;
  font-size: clamp(16px, calc(1rem + ((1vw - 3.9px) * 0.2237)), 18px);
}

.oyakudachi-info__yellow-box {
  padding: 16px;
  background-color: #FFFEF0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.oyakudachi-info__list a {
  text-decoration: underline;
}

#subPage ul.oyakudachi-info__list li {
  font-size: clamp(16px, calc(1rem + ((1vw - 3.9px) * 0.2237)), 18px);
}
#subPage ul.oyakudachi-info__list li + li {
  margin-top: 6px;
}

.oyakudachi-info__list a span {
  position: relative;
  padding-left: 20px;
}
.oyakudachi-info__list a span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgb(0, 0, 238);
  border-right: 2px solid rgb(0, 0, 238);
  transform: translateY(-50%) rotate(45deg);
}

.oyakudachi-info__section-title {
  margin-top: 48px;
  margin-bottom: 16px;
  padding: 14px 24px;
  background-color: #FF8D4F;
  border-radius: 6px;
  font-size: clamp(18px, calc(1.125rem + ((1vw - 3.9px) * 0.2237)), 20px);
  color: #fff;
}

.oyakudachi-info__border-box {
  margin-bottom: 8px;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.orange-circle-list {
  list-style: none;
  padding-left: 0;
}
#subPage ul.orange-circle-list li {
  font-size: clamp(16px, calc(1rem + ((1vw - 3.9px) * 0.2237)), 18px);
}

.orange-circle-list li {
  position: relative;
  padding-left: 1.5em;
}
.orange-circle-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.8em;
  height: 0.8em;
  background-color: #FFA500; /* オレンジ色 */
  border-radius: 50%;
}

#subPage ul.black-dot-list li {
  font-size: clamp(16px, calc(1rem + ((1vw - 3.9px) * 0.2237)), 18px);
}
.black-dot-list {
  list-style: disc;
  padding-left: 2.5em;
  margin-top: 10px;
}

.oyakudachi-info__table-wrap {
  margin-bottom: 8px;
  overflow-x: auto;
}
#subPage .oyakudachi-info__table-wrap table * {
  font-size: 15px;
  line-height: 1.5;
}
#subPage .oyakudachi-info__table-wrap table .note {
  font-size: 12px;
}
#subPage .oyakudachi-info__table-wrap table ul {
  list-style: disc;
  padding-left: 1em;
  margin-top: 10px;
}
#subPage .oyakudachi-info__table-wrap table li + li {
  margin-top: 6px;
}
.oyakudachi-info__table-wrap table {
  min-width: 652px;
  margin-top: 16px;
  border-collapse: collapse;
  -webkit-text-size-adjust: 100%;
}
.oyakudachi-info__table-wrap table th {
  padding: 10px;
  background-color: #FFEFCD;
  border: 1px solid #ddd;
  text-align: center;
}
.oyakudachi-info__table-wrap th.col-1 {
  width: 30%;
}
.oyakudachi-info__table-wrap th.col-2 {
  width: 30%;
}
.oyakudachi-info__table-wrap th.col-3 {
  width: 40%;
}
.oyakudachi-info__table-wrap table td {
  padding: 10px;
  border: 1px solid #ddd;
}

.oyakudachi-info__image img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  border-radius: 6px;
}

.oyakudachi-info__supervisor {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}
.oyakudachi-info__supervisor-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  margin-right: 20px;
}
.oyakudachi-info__supervisor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.oyakudachi-info__supervisor-info {
  flex-grow: 1;
}
.oyakudachi-info__supervisor-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}
.oyakudachi-info__supervisor-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.oyakudachi-info__supervisor-description {
  font-size: 14px;
  line-height: 1.6;
}

.oyakudachi-info__related {
  max-width: 100%;
  width: 700px;
  margin-top: 48px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* no sidebar */
.no-sidebar .oyakudachi-info__related {
  width: 800px;
}

.oyakudachi-info__related-title {
  background-color: #F6B900;
  margin-bottom: 24px;
  padding: 12px 24px;
  border-radius: 6px 6px 0 0;
  font-size: clamp(18px, calc(1.125rem + ((1vw - 3.9px) * 0.2237)), 20px);
  color: #fff;
}
.oyakudachi-info__related-list {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 16px 24px;
  row-gap: 32px;
}
.oyakudachi-info__related-item {
  width: calc((100% - 32px) / 3);
}
.oyakudachi-info__related-image {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/2;
  margin-bottom: 8px;
  border-radius: 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.oyakudachi-info__related-link:hover .oyakudachi-info__related-image {
  transform: scale(1.01);
  opacity: 0.8;
}
.oyakudachi-info__related-post-title {
  color: #333;
}
.oyakudachi-info__related-date {
  font-size: 14px;
  color: #999;
}

@media (max-width: 640px) {
  .oyakudachi-info__inner {
    flex-direction: column;
  }

  .oyakudachi-info__label {
    margin-bottom: 12px;
  }
  .oyakudachi-info__label span {
    padding: 2px 12px;
  }

  .oyakudachi-info__title h3 {
    padding-bottom: 20px;
  }

  .btn-primary.btn-02 {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }

  .oyakudachi-info__section-title {
    padding: 12px 20px;
  }

  .oyakudachi-info__related-item {
    width: calc((100% - 16px) / 2);
  }

  .oyakudachi-info__supervisor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .oyakudachi-info__supervisor-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .oyakudachi-info__related-item {
    width: 100%;
  }
}

/* sidebar */
.oyakudachi-info__sidebar {
  width: 280px;
  height: fit-content;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar__top-banner {
  margin-bottom: 40px;
}
.sidebar__top-banner img {
  width: 100%;
  border-radius: 6px 6px 0 0;
}

.sidebar__popular-post {
  margin-bottom: 40px;
}
.sidebar__popular-title {
  margin-bottom: 16px;
  padding: 12px 24px;
  background-color: #F6B900;
  font-size: 20px;
  color: #fff;
  text-align: center;
}
.sidebar__popular-post-list {
  padding: 0 16px;
}
.sidebar__popular-post-image {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  margin-bottom: 8px;
  border-radius: 6px;
}
#subPage p.sidebar__popular-post-title {
  font-size: 20px;
  color: #333;
}
#subPage p.sidebar__popular-post-date {
  font-size: 16px;
  color: #999;
}
.sidebar__popular-post-item + .sidebar__popular-post-item {
  margin-top: 16px;
}

.sidebar__category {
  margin-bottom: 40px;
}
.sidebar__category-title {
  margin-bottom: 16px;
  padding: 12px 24px;
  background-color: #F6B900;
  font-size: 20px;
  color: #fff;
  text-align: center;
}
.sidebar__category-list {
  padding: 0 16px;
}
.sidebar__category-item + .sidebar__category-item {
  border-top: 1px solid #ddd;
}
.sidebar__category-item.last {
  border-bottom: 1px solid #ddd;
}
.sidebar__category-link {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}
.sidebar__category-link:hover {
  color: #F6B900; /* メインカラーに合わせて調整 */
}

.sidebar__bottom-banner-link {
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}
.sidebar__bottom-banner-link:hover {
  opacity: 0.8;
}
.sidebar__bottom-banner-link + .sidebar__bottom-banner-link {
  margin-top: 16px;
}
.sidebar__bottom-banner-link img {
  max-width: 100%;
  width: 100%;
}

@media (max-width: 640px) {
  .oyakudachi-info__sidebar {
    width: 100%;
    margin-top: 40px;
  }

  .sidebar__bottom-banner-link {
    width: 100%;
  }
}

.application-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.method-card {
  display: flex;
  align-items: flex-start;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.method-card:hover {
  background-color: #fff7e6; /* Light yellow background on hover */
}

.method-number {
  font-size: 24px;
  font-weight: bold;
  color: #ff6900; /* Vivid orange */
  margin-right: 15px;
}

.method-content {
  flex: 1;
}

.method-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #000;
  font-weight: bold; /* Make title bold */
}

.method-info {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.info-text {
  color: #000;
}

.address-line {
  margin-bottom: 5px;
}

.address-line {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flex-col-2 {
  display: flex;
  gap: 8px;
}
.img-shadow {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.w-240 {
  width: 240px;
}
.w-300 {
  width: 300px;
}
.img-center {
  display: block;
  margin: 0 auto;
}
.mt-24 {
  margin-top: 24px;
}
.mb-40 {
  margin-bottom: 40px;
}

.visible-xs {
  display: none !important;
}

.btn-beige {
  background-color: #FFE9B2 !important;
  color: #333 !important;
}

hr.gray-border {
  border-top: 1px solid #d1d1d1;
} 

@media (max-width: 480px) {
  .visible-xs {
    display: block !important;
  }
}

/* ユーティリティー */
.hidden-pc {
  display: none;
}

@media (max-width: 640px) {
  .hidden-pc {
    display: inline;
  }
}

@media (min-width: 641px) {
  .js-phone-link {
    pointer-events: none;
    cursor: default;
  }
}