@charset "UTF-8";
main {
  padding: 20px;
  padding-top: 64px;
}

/* トップページ用だけ横の余白をなくしてヒーロー画像をフル幅に */
.site-main--home {
  padding-left: 0;
  padding-right: 0;
}

/* 共通レイアウト */
.page__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* 共通タイトル（左に縦バー） */
.page__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

/* 左側の縦バー */
.page__title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1.2em;
  border-radius: 3px;
  background: #081933;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

html {
  line-height: 1;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222222;
  background: #ffffff;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
  font: inherit;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
}

b,
strong {
  font-weight: inherit;
}

em,
i {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-main {
  font-size: 16px;
}

.header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 64px;
}
.header .header__inner {
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo a {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.header__nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav a {
  font-size: 0.95rem;
  color: #222222;
}

.header__nav a:hover {
  color: #081933;
}

/* Google の上部バーを非表示にして、ページ位置補正 */
.goog-te-banner-frame.skiptranslate,
.iframe.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
}

/* デフォルトの翻訳UIは画面外へ */
#google_translate_element {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* EN / JP 切り替えボタン */
.header__lang-switcher {
  margin-left: 1rem;
}

.header__lang-switcher button {
  border-radius: 3px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header__lang-switcher button:hover {
  background: #eee;
}

.hero {
  height: 100vh;
  position: relative;
  width: 100%;
}

.hero__inner .hero__photos .hero__photo {
  animation: topPhotoChange 30s infinite;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.hero__inner .hero__photos .hero__photo:nth-of-type(1) {
  animation-delay: 0s;
}
.hero__inner .hero__photos .hero__photo:nth-of-type(2) {
  animation-delay: 10s;
}
.hero__inner .hero__photos .hero__photo:nth-of-type(3) {
  animation-delay: 20s;
}
.hero__inner .hero__photos .hero__photo img {
  height: 100%;
  max-height: 1000px;
  object-fit: cover;
  width: 100%;
}
@keyframes topPhotoChange {
  0%, 100% {
    filter: blur(5px);
    opacity: 0;
  }
  10%, 20% {
    filter: blur(0);
    opacity: 1;
  }
  35% {
    filter: blur(0);
    opacity: 0;
  }
}

.hero__kicker {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #081933;
  margin-bottom: 8px;
}

.hero__title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.hero__lead {
  max-width: 640px;
  font-size: 0.95rem;
  color: #555;
}

/* お知らせセクション */
.section--news {
  padding: 48px 24px 72px;
}
.section--news .section__inner {
  max-width: 960px;
  margin: 0 auto;
}
.section--news .section__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

/* トップページ用 お知らせ一覧 */
.news-top__list {
  border-top: 1px solid #e5e5e5;
}

.news-top__item {
  border-bottom: 1px solid #e5e5e5;
}

.news-top__link {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 10px 4px;
  color: inherit;
  text-decoration: none;
}

.news-top__link:hover {
  background-color: #f7f7f7;
}

.news-top__date {
  min-width: 100px;
  font-size: 0.85rem;
  color: #777;
}

.news-top__title {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

/* お知らせ一覧ページ（home.php）用 */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px;
  /* 1件ごと（カードの外側） */
}
.news-list__item {
  border: 1px solid;
  padding: 8px;
}

/* カード全体 */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 12px;
  background: #ffffff;
  align-items: flex-start;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  /* サムネイル */
  /* テキスト本体 */
  /* 日付（右側縦表示イメージ） */
}
.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0) 80%);
  transform: translateX(-40%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.news-card:hover::before {
  transform: translateX(0);
  opacity: 1;
}
.news-card__thumb {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
}
.news-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-card__label {
  display: inline-block;
  padding: 4px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  font-size: 0.6rem;
  border: 1px solid #f3d08a;
  background: #fff9e6;
}
.news-card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}
.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.news-card__tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}
.news-card__date {
  position: absolute;
  top: 4px;
  right: 4px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.8rem;
}
.news-card__date::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 12px;
  inset-inline-end: 0;
  width: 5px;
  height: 105%;
  opacity: 0.3;
  background-color: #081933;
}
@media (max-width: 768px) {
  .news-card {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .news-card__date {
    writing-mode: horizontal-tb;
    align-self: flex-end;
  }
}

/* ───────── お知らせ 詳細ページ（single.php）───────── */
.single {
  padding: 64px 0 0;
  background: #f8fafc;
}
.single__inner {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 32px 28px 40px;
}
.single__title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.single__category {
  margin-bottom: 12px;
  font-size: 0.8rem;
}
.single__category__item {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #f3d08a;
  background: #fff9e6;
  font-weight: 500;
}
.single__date {
  display: inline-block;
  font-size: 0.85rem;
  color: #8a94a6;
  margin-bottom: 24px;
}
.single__content {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
}
.single__content p + p {
  margin-top: 1em;
}
.single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}

.page--company .page__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.page--company .page__content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  padding: 28px 24px 32px;
}

.company-list {
  margin: 0;
  padding: 0;
}

.company-list__item {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid #e5e7eb;
}
.company-list__item:first-child {
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 640px) {
  .company-list__item {
    grid-template-columns: 1fr;
    padding: 12px 4px;
  }
}

.company-list__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
}

.company-list__value {
  font-size: 0.95rem;
  line-height: 1.8;
}

.page--recruit .page__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.page--recruit .page__content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  padding: 28px 24px 32px;
}

.recruit-list {
  margin: 0;
  padding: 0;
}

.recruit-list__item {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid #e5e7eb;
}
.recruit-list__item:first-child {
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 640px) {
  .recruit-list__item {
    grid-template-columns: 1fr;
    padding: 12px 4px;
  }
}

.recruit-list__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #081933;
}

.recruit-list__value {
  font-size: 0.95rem;
  line-height: 1.8;
}

.page__inner--contact {
  min-height: calc(100vh - 64px - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page--contact {
  max-width: 640px;
  width: 100%;
}
.page--contact .page__title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}
.page--contact .page__content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  padding: 28px 24px 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #081933;
  box-shadow: 0 0 0 1px rgba(8, 25, 51, 0.2);
  background-color: #f9fbff;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__submit {
  margin-top: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  background: #081933;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}
.contact-form__submit:hover {
  background-color: rgb(4.5423728814, 14.1949152542, 28.9576271186);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.contact-form__submit:active {
  transform: translateY(0);
  box-shadow: none;
}

.contact-form__note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

.site-footer {
  background: #081933;
  color: #f5f7fa;
  padding: 24px 16px;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}
.site-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__copy {
  opacity: 0.8;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
}
.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*# sourceMappingURL=style.css.map */
