/* ===========================
   Company
=========================== */
.company-box-wrap{
    margin-top: 60px;
}
.company-box .company-title {
  font-weight: bold;
  border-top: 4px solid var(--MS_blue);
  padding: 15px 20px;
  font-size: 16px;
}
.company-box .company-text{
  border-top: 1px solid #ccc;
  font-size: 14px;
  margin: 0;
  padding: 15px 20px;
}
.company-box p {
  margin-bottom: 1rem;
}
.company-box:last-child {
  border-bottom: 1px solid #ddd;
}
@media (min-width: 834px) {
    .company-box {
      display: grid;
      grid-template-columns: 200px 1fr;
      align-items: start;
    }
    .company-title {
      margin: 0;
    border-top: 2px solid #0070c0;
     padding: 15px 0;
    }
    .company-box .company-text {
      font-size: 15px;
     padding: 15px 20px;
    }
}
/* ===========================
   Support
=========================== */
.support .subtitle{
  background: var(--gold200);
  padding: 10px;
  color: var(--gray800);
  margin-bottom: 20px;
  font-size: 16px;
}
.support .header{
  text-align: center;
  margin-bottom: 20px;
}
.support :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  padding: 8px;
  color: var(--gray700);
  opacity: 0.9;
  border-bottom: 1px solid var(--gray100);
  font-size: 16px;
}
.support .cats {
  margin-top: 20px;
}
.support .cats ul{
  padding: 20px 20px 20px 40px;
  border: 1px solid var(--gray200);
  border-radius: 8px;
}
.support .cats li{
  list-style: disc;
  color: var(--MS_blue);
  line-height: 2;
}
.support .cats li a{
  color: var(--MS_blue);
  font-weight: bold;
}
.support .index-links a{color: var(--MS_blue);}
.support .index-card .note.right{
  border-bottom: 1px solid var(--gray100);
  padding-bottom: 15px;
}
@media (min-width: 834px) {
  .support .cats ul{
    padding: 30px 30px 30px 50px;
  }
  .support .cats li{
    line-height: 2.5;
  }
  .support :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])){
    font-size: 18px;
  }
}

/* ===========================
   Contact Phone Section
=========================== */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-box {
  border: 1px solid #ddd;
  padding: 25px 20px;
  text-align: center;
}
.contact-box > p:first-child {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}
.contact-box  :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
  font-weight: bold;
  font-size: 16px;
}
a.phone-form-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a.phone-form-content:hover {
  opacity: 0.7;
}
.phone-form-content img {
  width: 28px;
  height: auto;
}

.phone-form-content-item {
  font-size: 28px;
  font-weight: bold;
  color: var(--MS_blue, #3179b5);
  letter-spacing: 0.02em;
  font-family: 'Shippori Mincho', serif;
}
.contact-box > p:last-child {
  font-size: 13px;
  color: #666;
  margin: 0;
}
/* Note text outside boxes */
.contact-wrapper .note {
  font-size: 14px;
  color: var(--gold800);
  line-height: 1.7;
  text-align: left;
}

/* Desktop */
@media (min-width: 834px) {
  .contact-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
    align-items: start;
  }
  .contact-box {
    padding: 30px 25px;
  }
  .contact-box > p:first-child {
    font-size: 16px;
  }
  .phone-form-content img {
    width: 32px;
  }
  .phone-form-content-item {
    font-size: 32px;
  }
  .contact-box > p:last-child {
    font-size: 14px;
  }
  /* Note text positioned to the right */
  .contact-wrapper > p {
    grid-column: 3;
    text-align: right;
    margin-top: 15px;
    font-size: 14px;
  }
}

/* ===========================
   Company Page
=========================== */
.company-page {
  padding-bottom: 60px;
  color: var(--gray700);
}
.company-page .title_line {
  text-align: center;
  margin-bottom: 30px;
}

/* Mission Banner */
.company-mission-banner {
  margin-bottom: 30px;
}
.company-mission-banner .mission-bg {
  background-color: var(--MS_blue);
  background-size: cover;
  background-position: center;
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
}
.company-mission-banner .mission-text {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  font-family: "Shippori Mincho", serif;
  margin-bottom: 0;
}

/* Company Links Slider */
.company-links {
  margin: 0 -20px 40px;
}
.company-links-slider {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.company-links-slider.slick-initialized {
  display: block;
}
.company-links-slider .slick-slide {
  padding: 0 5px;
}
.company-links-slider .slick-dots {
  bottom: -30px;
}
.company-links-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray300);
  border: none;
  padding: 0;
}
.company-links-slider .slick-dots li button:before {
  content: none;
}
.company-links-slider .slick-dots li.slick-active button {
  background: var(--MS_blue);
}
.company-link-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

/* Company Sections */
.company-section {
  border-top: 1px solid #ddd;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}
.company-links + .company-section {
  border-top: none;
}
.company-section .section-header {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.9;
}
.company-section .section-title-en {
  font-size: 30px;
  font-weight: 400;
  color: var(--gray600);
  margin-bottom: -5px;
  font-family: "Cormorant Garamond", serif;
}
.company-section .section-title-jp {
  font-size: 18px;
  font-weight: normal;
  color: var(--gray700);
  margin-bottom: 15px;
}
.company-section .section-header .recruit-text {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.company-section .section-content {
  flex: 1;
  max-width: 100%;
}
.company-section .section-content img {
  max-width: 100%;
}
.company-section .section-content.overview-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.company-section .section-content.overview-content img {
  max-width: 100%;
  border: 1px solid #dedede;
  padding: 40px 60px;
}

/* Press Release */
.company-section.press-release .section-content {
  max-width: 900px;
}
.press-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.press-list li a{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
}
.press-list li:nth-child(even) a {
  background: #FCFCFC;
}
.press-list .press-date {
  font-size: 14px;
  color: #666;
  min-width: 90px;
}
.press-list .press-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}
.press-list .press-text-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.press-list .press-icon.pdf {
  width: 24px;
  height: 24px;
  background: url('../images/icon_pdf.svg') no-repeat center;
  background-size: contain;
}
.press-list .press-icon.arrow {
  width: 24px;
  height: 24px;
  border: 1px solid var(--blue300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.press-list .press-icon.arrow::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--blue400);
  border-bottom: 2px solid var(--blue400);
  transform: rotate(-45deg);
  margin-left: -2px;
}

/* IR Links */
.ir-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ir-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #3179b5;
  font-size: 14px;
  transition: opacity 0.2s ease;
}
.ir-link-item:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 14px;
  background: url('../images/icon_arrow_right_blue.svg') no-repeat center;
  background-size: contain;
  flex-shrink: 0;
  margin-left: 10px;
}
.ir-link-item:hover {
  opacity: 0.7;
}

/* Recruit */
.recruit-catch {
  font-size: 32px;
  font-weight: 500;
  color: var(--gray700);
  margin-bottom: 15px;
  font-family: "Shippori Mincho", serif;
  line-height: 1.3;
}
.recruit-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Desktop */
@media (min-width: 834px) {
  .company-links {
    margin: 0 0 40px;
  }
  .company-section {
    padding: 40px 0;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
  }
  .company-section .section-header {
    max-width: 45%;
  }
  .company-mission-banner .mission-bg {
    padding: 70px 40px;
  }
  .company-mission-banner .mission-text {
    font-size: 32px;
  }
  .company-links-slider {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .company-link-box {
    flex: 1;
    max-width: 240px;
  }
  .company-section {
    flex-direction: row;
    gap: 30px;
  }
  .company-section .section-content {
    max-width: 620px;
  }
  .company-section .section-header {
    max-width: 45%;
  }
  .press-list li a{
    flex-wrap: nowrap;
  }
  .recruit-image {
    flex: 0 0 45%;
  }
}

/* ===========================
   Company about & shops
=========================== */
.page-header .btn-back-blue {
  margin-left: 20px;
  font-weight: revert;
    font-size: 14px;
}
.back-button{
  
}
#company{
  max-width: 1024px;
  margin: 0 auto;
  margin-bottom: 60px;
}
#company :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
  font-size: 18px;
  border-bottom: 1px solid var(--gray800);
  margin: 30px 0 20px;
  padding: 7px 0;
}
#company a {
  color: var(--MS_blue);
}
.company-box-wrap{
  margin-top: 60px;
}
.company-box .company-title {
font-weight: bold;
border-top: 4px solid var(--MS_blue);
border-bottom: none;
margin: 0;
padding: 15px 20px;
font-size: 16px;
}
.company-box .company-text{
border-top: 1px solid #ccc;
font-size: 14px;
margin: 0;
padding: 15px 20px;
}
.company-box p {
margin-bottom: 1rem;
}
.company-box:last-child {
border-bottom: 1px solid #ddd;
}
@media (min-width: 834px) {
  .page-header .btn-back-blue {
     margin-left: 0;
     font-weight: bold;
     font-size: 18px;
   }
  .company-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
  .company-title {
    margin: 0;
  border-top: 2px solid #0070c0;
   padding: 15px 0;
  }
  .company-box .company-text {
    font-size: 15px;
   padding: 17px 20px;
   line-height: 2;
  }
}

/* ===========================
   Privacy
=========================== */
.privacy .container{
  margin: 30px auto;
  max-width: 1024px;
}
.privacy :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])) {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1px solid #D2D2D2;
  padding-bottom: 10px;
}
.privacy p {
  font-size: 12.1px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.privacy ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}
.privacy ol {
  padding-left: 20px;
  margin-bottom: 15px;
  counter-reset: one-counter;
}
.privacy ul li,
.privacy ol li{
  font-size: 13px;
  line-height: 1.8;
}
.privacy :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #D2D2D2;
}
.privacy :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  font-size: 12.1px;
  margin-bottom: 15px;
}
.privacy a{
  text-decoration: underline;
}
.privacy .signature {
  font-size: 13px;
  text-align: left;
  max-width: 250px;
  margin: 20px 0 0 auto;
  text-align: right;
  padding-bottom: 60px;
}
@media (min-width: 834px) {
  .privacy .container{
    margin: 60px auto;
  }
  .privacy :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])) {
    font-size: 22px;
  }
  .privacy :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
    font-size: 20px;
  }
  .privacy p {
    font-size: 13px;
  }
  .privacy .signature {
    text-align: left;
  }
  .privacy :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
    font-size: 13px;
    font-weight: bold;
  }
}

/* ===========================
   Sitemap
=========================== */
.sitemap-page .container {
  padding: 20px 0 60px;
}
.sitemap-section {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}
.sitemap-section:first-child {
  padding-top: 0;
}
.sitemap-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--MS_blue);
  margin: 0;
}
.sitemap-title a {
  color: var(--MS_blue);
  text-decoration: none;
}
.sitemap-title a:hover {
  text-decoration: underline;
}
.sitemap-content {
  margin-top: 15px;
}
.sitemap-group {
  margin-bottom: 20px;
}
.sitemap-subtitle {
  font-size: 13px;
  font-weight: bold;
  color: var(--MS_blue);
  margin: 0 0 8px 0;
  padding: 5px 10px;
  background: var(--gray000);
}
.sitemap-subtitle a {
  color: var(--MS_blue);
  text-decoration: none;
}
.sitemap-subtitle a:hover {
  text-decoration: underline;
}
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 25px;
}
.sitemap-list li {
  padding: 6px 0;
  font-size: 12px;
}
.sitemap-list li a {
  color: var(--MS_blue);
  text-decoration: none;
}
.sitemap-list li a:hover {
  text-decoration: underline;
}
.sitemap-group .sitemap-list {
  margin-left: 40px;
}

/* PC styles */
@media (min-width: 834px) {
  .sitemap-page .container {
    padding: 40px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .sitemap-section {
    padding: 20px 0;
  }
  .sitemap-title {
    font-size: 20px;
  }
  .sitemap-content {
    margin-top: 20px;
  }
  .sitemap-list {
    margin-left: 30px;
  }
  .sitemap-list--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 16px;
    margin-left: 50px;
  }
  .sitemap-group .sitemap-list {
    margin-left: 110px;
  }
}