/* Company Page
   ========================================================================== */

/* Philosophy Section */
.p-company-philosophy {
  padding: 20px 16px 40px;
}

.p-company-philosophy__inner {
  max-width: 343px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-company-philosophy__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.p-company-philosophy__title-en {
  font-family: 'Italianno', serif;
  font-size: 40px;
  background: linear-gradient(93.58deg, #caa24f 2.96%, #e7bc67 56.43%, #f2cd85 83.16%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: lowercase;
  line-height: normal;
  margin: 0;
}

.p-company-philosophy__title-ja {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 28px;
  color: #333;
  line-height: normal;
  margin: 0;
  white-space: pre-wrap;
}

.p-company-philosophy__badge {
  background-color: #333;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-company-philosophy__badge-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  line-height: normal;
  margin: 0;
}

.p-company-philosophy__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-company-philosophy__text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  white-space: pre-wrap;
}

/* Company Information Section */
.p-company-info {
  background-color: #f9f9f9;
  padding: 40px 16px;
}

.p-company-info__inner {
  max-width: 343px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-company-info__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.p-company-info__title-en {
  font-family: 'Italianno', serif;
  font-size: 40px;
  background: linear-gradient(95.17deg, #caa24f 2.96%, #e7bc67 56.43%, #f2cd85 83.16%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: lowercase;
  line-height: normal;
  margin: 0;
}

.p-company-info__title-ja {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 28px;
  color: #333;
  line-height: normal;
  margin: 0;
  white-space: pre-wrap;
}

.p-company-info__list {
  display: flex;
  flex-direction: column;
  gap: 13.5px;
  width: 100%;
  padding: 16px 0;
}

.p-company-info__item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
}

.p-company-info__label {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #333;
  line-height: normal;
  width: 90px;
  max-width: 315px;
  padding-top: 1px;
  flex-shrink: 0;
}

.p-company-info__value {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #333;
  letter-spacing: 0.7px;
  line-height: 19.6px;
  flex: 1;
}

.p-company-info__value p {
  margin: 0;
  white-space: nowrap;
}

.p-company-info__sns {
  display: flex;
  gap: 6px;
  align-items: center;
}

.p-company-info__sns-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.p-company-info__sns-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  letter-spacing: 0.7px;
  line-height: 19.6px;
  margin: 0;
  white-space: nowrap;
}

/* CEO Message Section */
.p-company-message {
  padding: 40px 16px;
}

.p-company-message__inner {
  max-width: 343px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-company-message__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.p-company-message__title-en {
  font-family: 'Italianno', serif;
  font-size: 40px;
  background: linear-gradient(94.62deg, #caa24f 2.96%, #e7bc67 56.43%, #f2cd85 83.16%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: lowercase;
  line-height: normal;
  margin: 0;
}

.p-company-message__title-en-upper {
  font-size: 32px;
  text-transform: uppercase;
}

.p-company-message__title-ja {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 28px;
  color: #333;
  line-height: normal;
  margin: 0;
  white-space: pre-wrap;
}

.p-company-message__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.p-company-message__image-wrapper {
  width: 187px;
  height: 208px;
  overflow: hidden;
}

.p-company-message__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-company-message__name {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.p-company-message__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.p-company-message__divider {
  height: 1px;
  width: 100%;
  background-color: #333;
}

.p-company-message__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-company-message__paragraphs p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: normal;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
}

.p-company-message__badge {
  background-color: #333;
  padding: 4px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.p-company-message__badge--double {
  gap: 2px;
  padding: 4px 16px 6px;
}

.p-company-message__badge-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  line-height: normal;
  margin: 0;
  text-align: center;
}

.p-company-message__badge-divider {
  border-top: 1px solid #fff;
  width: 100%;
  padding: 2px 0;
}

.p-company-message__badge-subtext {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  white-space: pre-wrap;
}

.p-company-message__signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 16px;
  width: 100%;
}

.p-company-message__signature p {
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  margin: 0;
  text-align: right;
  white-space: pre-wrap;
}

/* History Section */
.p-company-history {
  padding: 40px 16px;
}

.p-company-history__inner {
  max-width: 343px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-company-history__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.p-company-history__title-en {
  font-family: 'Italianno', serif;
  font-size: 40px;
  background: linear-gradient(91.73deg, #caa24f 2.96%, #e7bc67 56.43%, #f2cd85 83.16%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: lowercase;
  line-height: normal;
  margin: 0;
}

.p-company-history__title-ja {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 28px;
  color: #333;
  line-height: normal;
  margin: 0;
  white-space: pre-wrap;
}

.p-company-history__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: fit-content;
  padding: 16px 10px;
}

.p-company-history__timeline-line {
  position: absolute;
  left: 18px;
  top: 4px;
  width: 1px;
  height: calc(100% - 8px);
  background-color: #333;
}

.p-company-history__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.p-company-history__item:not(:last-child) {
  margin-bottom: 0;
}

.p-company-history__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #333;
  background-color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.p-company-history__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.p-company-history__date {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #333;
  letter-spacing: 0.7px;
  line-height: 17px;
}

.p-company-history__event {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #333;
  letter-spacing: 0.7px;
  line-height: 19.6px;
  margin-top: 16px;
  white-space: nowrap;
}

.p-company-history__highlight {
  display: flex;
  gap: 4px;
  align-items: center;
  width: auto;
  margin-top: 8px;
}

.p-company-history__highlight-icon {
  width: 21px;
  height: 19px;
  flex-shrink: 0;
}

.p-company-history__highlight-text {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #d7217f;
  line-height: normal;
  margin: 0;
  white-space: nowrap;
}

/* Instagram Section */
.p-company-instagram {
  background: radial-gradient(ellipse at center, rgba(104, 104, 104, 1) 0%, rgba(73, 73, 73, 1) 50%, rgba(41, 41, 41, 1) 100%);
  padding: 40px 16px;
}

.p-company-instagram__inner {
  max-width: 343px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-company-instagram__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.p-company-instagram__title-en {
  font-family: 'Italianno', serif;
  font-size: 40px;
  background: linear-gradient(92.46deg, #caa24f 2.96%, #e7bc67 56.43%, #f2cd85 83.16%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: lowercase;
  line-height: normal;
  margin: 0;
}

.p-company-instagram__title-ja {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 28px;
  color: #fff;
  line-height: normal;
  margin: 0;
  white-space: pre-wrap;
}

.p-company-instagram__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 16px 0;
}

.p-company-instagram__text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  white-space: pre-wrap;
}

.p-company-instagram__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

.p-company-instagram__item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.p-company-instagram__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-company-instagram__button {
  display: flex;
  justify-content: center;
}

.p-company-instagram__link {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 4px;
  border: 1px solid #fff;
  text-decoration: none;
}

.p-company-instagram__link-text {
  font-family: 'Italianno', serif;
  font-size: 32px;
  color: #fff;
  line-height: normal;
  margin: 0;
  white-space: nowrap;
}

.p-company-instagram__link-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* Responsive: 768px and up */
@media (min-width: 768px) {
  .p-company-philosophy {
    padding: 40px 32px;
  }

  .p-company-philosophy__inner {
    max-width: 600px;
  }

  .p-company-info {
    padding: 60px 32px;
  }

  .p-company-info__inner {
    max-width: 600px;
  }

  .p-company-info__list {
    max-width: 500px;
  }

  .p-company-message {
    padding: 60px 32px;
  }

  .p-company-message__inner {
    max-width: 600px;
  }

  .p-company-history {
    padding: 60px 32px;
  }

  .p-company-history__inner {
    max-width: 600px;
  }

  .p-company-instagram {
    padding: 60px 32px;
  }

  .p-company-instagram__inner {
    max-width: 600px;
  }

  .p-company-instagram__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 500px;
  }
}

/* Responsive: 1024px and up */
@media (min-width: 1024px) {
  .p-company-philosophy {
    padding: 60px 48px;
  }

  .p-company-philosophy__inner {
    max-width: 800px;
  }

  .p-company-info {
    padding: 80px 48px;
  }

  .p-company-info__inner {
    max-width: 800px;
  }

  .p-company-info__list {
    max-width: 700px;
  }

  .p-company-message {
    padding: 80px 48px;
  }

  .p-company-message__inner {
    max-width: 800px;
  }

  .p-company-message__image-wrapper {
    flex-shrink: 0;
  }

  .p-company-message__text {
    flex: 1;
    gap: 32px;
  }

  .p-company-history {
    padding: 80px 48px;
  }

  .p-company-history__inner {
    max-width: 800px;
  }

  .p-company-instagram {
    padding: 80px 48px;
  }

  .p-company-instagram__inner {
    max-width: 800px;
  }

  .p-company-instagram__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
  }
}
