/*
Theme Name: ISA Tokyo
Theme URI: https://isa-tokyo.com/
Author: Sugimoto
Description: 自作テーマ
Version: 1.0
*/

/* 一般設定 */
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: white;
  color: #4a4a4a;
  margin: 0;
  padding: 0;
  padding-top: 100px;
  font-size: 1.2rem;
}

body h1,
body h2,
body h3,
body p {
  text-align: center;
  margin-inline-start: 1rem;
  margin-inline-end: 1rem;
  margin-block-start: 1rem;
  margin-block-end: 1rem;
}

body.admin-bar header {
  top: 32px;
  /* WP管理バーの高さ分だけ下げる */
}


/* ヘッダー設定 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  z-index: 9999;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 4rem 0 4rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 1rem;
}

/* メニューのスタイル */
.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.global-nav li a {
  text-decoration: none;
  color: white;
}

.logo {
  max-width: 600px;
  height: auto;
  display: block;
}

.main-logo {
  max-width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 10000;
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.keyvisual {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.keyvisual-sp {
  display: none;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
}

.overlay-content {
  position: absolute;
  bottom: 20px;
  left: 10px;
  color: white;
  z-index: 20;
  padding: 20px;
  border-radius: 8px;
}

.section-contents h1 {
  font-size: 3.5rem;
  font-weight: normal;
  margin: 0 auto;
  text-align: left;
}

.section-contents p {
  font-size: 3rem;
  margin: 0rem auto;
  text-align: left;
  color: #38b6ff;
}

.hero-title {
  margin-bottom: 0rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out forwards;
  animation-delay: 0.5s;
  /* 任意で遅延設定 */
}

.hero-sub {
  margin-bottom: 0rem;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* レシポンシブ設定 */
@media screen and (max-width: 768px) {
  body.admin-bar header {
    top: 46px;
    /* WP管理バーの高さ分だけ下げる */
  }

  body {
    padding-top: 60px;
    font-size: 1rem;
  }

  .header-inner {
    display: flex;
    align-items: center;
    padding: 0rem 3rem;
    gap: 3rem;
  }

  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: black;
    width: 100%;
    z-index: 999;
  }

  .header-nav.active {
    display: block;
  }

  .recruit-button {
    display: block;
    height: 60px;
    margin: 0 auto;
    text-align: center;
    align-content: center;
  }

  .recruit-button a {
    text-decoration: none;
    color: white;
  }

  .global-nav ul {
    flex-direction: column;
    padding: 10px;
    gap: 0.5rem;
  }

  .global-nav li {
    margin: 10px auto;
  }

  .logo-header {
    display: inline-block;
    max-width: 300px;
  }

  .keyvisual-sp {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .keyvisual {
    display: none;
  }

  .section-contents h1 {
    font-size: 1.8rem;
    font-weight: normal;
    margin: 0
  }

  .section-contents p {
    font-size: 1.5rem;
    margin: 2rem 1rem 0;
  }
}


/* About-usセクション */
.aboutus-section {
  position: relative;
  padding: 4rem 2rem;
  padding-top: 900px;
}

.aboutus-image {
  position: relative;
  max-width: 70%;
  margin-left: 20px;
  margin-top: 100px;
}

.machine-aboutus {
  width: 100%;
  height: auto;
}

.aboutus-box {
  position: absolute;
  max-width: 60%;
  top: 773px;
  right: 2%;
  background-color: #d0eaf9;
  z-index: 1;
  padding: 20px;
}

.section-title {
  max-width: 300px;
  margin: 2rem auto 0;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 0;
  font-weight: bold;
  color: #129fc5;
  font-family: 'Playfair Display', serif;
}

.aboutus-text {
  max-width: 850px;
  margin: 2rem auto;
}

.aboutus-text h3 {
  text-align: left;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.aboutus-text p {
  text-align: left;
  margin-bottom: 2rem;
}

.more-button {
  text-align: center;
  margin-top: 8rem;
  margin-bottom: 5rem;
}

.button-link {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 2rem;
  font-size: 1.5rem;
  border-radius: 30px;
  margin: 0 4px;
  background-color: white;
  color: #38b6ff;
  border: 2px solid #38b6ff;
  transition: all 0.3s ease-in-out;
}

.button-link:hover {
  background: linear-gradient(135deg, #a0cbea, #d0ecf7);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: background-linear-gradient 0.8s ease;
  color: white;
}

.arrow {
  width: 25px;
  margin-left: 1rem;
}


/* 適用事例セクション */
.application-section {
  background-image: url('https://isajapan.co.jp/wp-content/uploads/2025/06/bg-top-application.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 4rem 0.5rem;
}

.section-title p {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 5rem;
  font-weight: bold;
}

.app-2column {
  display: flex;
  justify-content: space-between;
  margin: 2rem 5rem;
  gap: 5rem
}

.each-column {
  max-width: 800px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 水平方向中央 */
  text-align: center;
  /* テキスト中央 */
}

.each-column img {
  max-width: 100%;
}

/* 採用情報セクション */
.recruit-section {
  background-image: url('https://isajapan.co.jp/wp-content/uploads/2025/06/bg-top-recruit.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 4rem 0.5rem;
}

.recruit-text h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.rec-2column {
  display: flex;
  position: relative;
  justify-content: center;
  max-width: 1500px;
  margin: 2rem auto;
  gap: 5rem;
  margin-bottom: 15rem;
}

.pc-drawing {
  display: block;
  max-width: 40%;
}

.drawing-overwrap {
  display: block;
  position: absolute;
  max-width: 40%;
  top: 180px;
  left: 30%;
}

.rec-text {
  max-width: 40%;
}

.rec-text p {
  text-align: left;
  font-size: 1.2rem;
}


/* お知らせセクション */
.news-section {
  padding: 4rem 2rem;
}

.news-text-area {
  margin: 10px auto;
  padding: 10px 10px;
  max-width: 1000px;
  background-color: white;
  border-radius: 30px;
}

.recent-posts {
  list-style: none;
  padding: 10px;
  margin: 10px auto;
  max-width: 800px;
  text-align: left;
  color: #4a4a4a;
}

.recent-posts li {
  border-bottom: 2px solid #ccc;
  padding: 10px 0;
}

.recent-posts a {
  text-decoration: none;
  color: #4a4a4a;
}

.recent-posts a:hover {
  text-decoration: underline;
  color: #4f46e5;
}

.full-width-line {
  border: none;
  border-top: 1px solid #ccc;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

/* トップページレシポンシブ設定 */
@media screen and (max-width: 768px) {
  .aboutus-section {
    padding: 0;
    padding-top: 717px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .button-link {
    font-size: 1rem;
  }

  .more-button {
    margin-top: 3rem;
  }

  .arrow {
    width: 15px;
  }

  .aboutus-image {
    position: relative;
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .aboutus-box {
    position: relative;
    max-width: 100%;
    top: -6px;
    left: 0;
    padding: 20px;
  }

  .app-2column {
    display: block;
    margin: 2rem 1rem;
  }

  .each-column {
    margin-bottom: 3rem;
  }

  .rec-2column {
    display: block;

  }

  .pc-drawing {
    display: block;
    position: relative;
    max-width: 70%;
    left: 5%;
  }

  .drawing-overwrap {
    display: block;
    position: relative;
    max-width: 70%;
    top: -50px;
    left: 25%;
  }

  .rec-text {
    max-width: 100%;
  }


}



/* フッター設定 */
footer {
  background: linear-gradient(135deg, #ffffff, #d9d9d9);
  padding: 0.5rem 1rem;
}

.footer-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  margin: 0 auto;
  gap: 3rem
}

.footer-contents-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30%;
}

.footer-contents-sitemap {
  width: 70%;
}

.enterprise-logo {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 2rem auto 0;
}

.enterprise-logo img {
  max-width: 100%;
}

.enterprise-detail {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 1rem;
}

footer ul li {
  padding: 0 1rem;
  position: relative;
  text-align: center;
}

footer ul li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background-color: #999;
}

.footer-nav li a {
  text-decoration: none;
  color: #4a4a4a;
}

.divider {
  width: 1px;
  height: 260px;
  background-color: #999;
}

.contact-message p {
  margin-block-start: 0.5;
  margin-block-end: 0.5;
}

.contact-button-f {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.button-link-contact {
  display: inline-block;
  background-color: #129fc5;
  color: white;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.button-link-contact:hover {
  background: linear-gradient(135deg, #a0cbea, #129fc5);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: background-linear-gradient 0.8s ease;
}

/* フッターレシポンシブ設定 */
@media screen and (max-width: 768px) {

  .footer-contents,
  .footer-contents-contact,
  .footer-nav ul {
    display: block;
    padding: 0 0;
    margin: 0 auto;
    width: 100%;
  }

  .footer-nav ul {
    text-decoration: underline;
  }

  .enterprise-logo {
    margin: 2rem auto 0;
  }

  .enterprise-detail {
    margin: 0 auto 3rem;
  }

  .divider {
    display: none;
  }

  .footer-contents-sitemap {
    margin: 2rem auto;
    font-size: 0.9rem;
    width: 90%;
  }

  .footer-contents-sitemap p {
    margin-inline-start: 0;
    margin-inline-end: 0;
  }

  footer ul li:not(:first-child)::before {
    display: none;
  }

  footer ul li {
    margin-bottom: 1rem;
  }
}


/* 個別ページカスタム設定 */
.page-header {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.page-header img {
  width: 100%;
  height: auto;
}

.page-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 4rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  margin: 0;
  padding: 0;
  #38b6ff
}

.page-title-overlay-jp {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #38b6ff;
  font-size: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  margin: 0;
  padding: 0;
}

/* 個別ページ　レシポンシブ設定 */
@media screen and (max-width: 768px) {
  .page-header img {
    width: auto;
  }

  .page-title-overlay {
    font-size: 3rem;
  }

  .page-title-overlay-jp {
    font-size: 1rem;
    top: 65%;
  }
}

/* 会社概要 */
.company-page {
  margin: 0 auto;
  padding: 0 3rem 8rem;
  justify-content: center;
}

.bg-company-sp {
  display: none;
}

.content-title {
  max-width: 900px;
  margin: 8rem auto 2rem;
}

.content-title h2 {
  font-weight: normal;
  text-align: left;
  color: #129fc5;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

.divided-line {
  border: none;
  border-top: 4px solid #129fc5;
  width: 100%;
  margin-bottom: 3rem;

}

.comment-text {
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}

.comment-text p {
  text-align: left;
}

.company-info,
.company-branch {
  margin: 1rem auto;
  align-items: center;
  text-align: left;
}

.company-info ul,
.company-branch ul {
  list-style: none;
  padding-inline-start: 0;
  padding-bottom: 2em;
  margin: 1em auto;
  max-width: 900px;
}

.company-info li {
  display: flex;
  padding: 1em 0;
  border-bottom: 1px solid;
  flex-wrap: nowrap;
}

.company-info .label {
  width: 200px;
}

.company-info .value {
  flex-grow: 1;
}

.company-branch li {
  display: flex;
  padding: 1em 0;
  border-bottom: 1px solid;
  flex-wrap: wrap;
}

.company-branch .label {
  width: 200px;
  text-align: center;
  line-height: 70px;
}

.policy-img {
  display: block;
  max-width: 800px;
  margin: 5rem auto 5rem;
}

.policy-img img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .company-page {
    padding: 1rem;
  }

  .bg-company {
    display: none;
  }

  .bg-company-sp {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
  }

  .content-title {
    margin: 6rem auto 2rem;
  }

  .company-info {
    margin: 0 auto;
    padding: 0;
  }

  .company-info ul,
  .company-branch ul {
    padding: 0;
  }

  .company-info .label {
    width: 130px;
    min-width: 130px;
  }

  .company-branch .label {
    width: -webkit-fill-available;
  }

  .policy-img {
    width: 100%;
  }

}

/* 技術紹介 */
.technology-page {
  margin: 0 auto;
  padding: 0 3rem 10rem;
  justify-content: center;
}

.feature-3column {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  font-size: 1rem;
  max-width: 1600px;
  margin: 3rem auto;
  margin-bottom: 1rem;
}

.feature-text {
  max-width: 500px;
  margin: 0 auto;
}

.feature-text p {
  text-align: left;
}

.feature-text h2 {
  font-size: 2rem;
}

.feature-text img {
  max-width: 100%;
  height: 320px;
  display: block;
  margin: 0 auto;
}

.img-txt2x3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  /* ブロック間の余白なし */
  padding: 0;
}

.img-txt2x3-reverse {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  /* ブロック間の余白なし */
  padding: 0;
}

.quality-img img {
  max-width: 450px;
  display: block;
  /* 画像下の隙間をなくす */
}

.quality-text {
  max-width: 419px;
  padding: 1rem;
  background-color: #f0f0f0;
  line-height: 1.6;
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
  .technology-page {
    padding: 1rem;
  }

  .feature-text {
    margin: 2rem auto;
  }

  .feature-text img {
    height: auto;
    max-width: 100%;
  }

  .quality-text {
    max-width: 100%;
  }

  .quality-img img {
    max-width: 100%;
  }

  .quality {
    margin-bottom: 5rem;
  }
}

/* 導入事例 */
.application-page {
  margin: 0 auto;
  padding: 5rem 0 8rem;
  justify-content: center;
}

.app-toptext {
  margin: 0;
  padding: 3rem 1rem 3rem;
  max-width: 100%;
  background-color: #d0eaf9;
}

.previous-design {
  margin: 0 auto;
  max-width: 1200px;
}

.design-text p {
  text-align: left;
}

.design-img img {
  width: 100%;
}

.img-txt-2column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 3rem;
  padding: 0;
  gap: 3rem;
}

.app-field-img {
  max-width: 600px;
}

.app-field-img img {
  max-width: 100%;
}

.app-field-txt {
  max-width: 450px;
}

.app-field-txt p {
  text-align: left;
}

.solution-text {
  background-color: #d0eaf9;
  max-width: 1000px;
  padding: 2rem;
  margin: 0 auto;
  margin-bottom: 8rem;
}

@media screen and (max-width: 768px) {
  .application-page {
    padding: 1rem;
  }

  .img-txt-2column {
    margin: 0;
    gap: 0;
  }

  .solution-text {
    padding: 2rem 1rem;
  }
}

/* 採用情報 */
.recruit-page {
  margin: 0 auto;
  padding: 5rem 3rem 8rem;
  justify-content: center;
}

.bg-recruit-sp {
  display: none;
}

.underline-text {
  text-decoration: underline;
  font-size: 1.5rem;
}

.app-guide-info {
  margin: 1rem auto 5rem;
  align-items: center;
  text-align: left;
}

.app-guide-info ul {
  list-style: none;
  padding-inline-start: 0;
  padding-bottom: 2em;
  margin: 1em auto;
  max-width: 900px;
}

.app-guide-info li {
  display: flex;
  padding: 1em 0;
  border-bottom: 1px solid #4a4a4a;
  flex-wrap: nowrap;
}

.app-guide-info .label {
  width: 200px;
}

.app-guide-info .value {
  flex-grow: 1;
}


.faq-contact p {
  color: #1e1ac2;
}

.faq-button {
  text-align: center;
}


@media screen and (max-width: 768px) {
  .bg-recruit {
    display: none;
  }

  .bg-recruit-sp {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
  }

  .recruit-page {
    padding: 1rem;
  }

  .top-comment {
    margin-top: 3rem;
  }

  .top-comment p {
    margin-inline-start: 0rem;
    margin-inline-end: 0rem;
  }

  .appeal-point-text {
    display: block;
  }

  .app-guide-info .label {
    width: 100px;
    min-width: 100px;
  }

  .faq-list li {
    padding: 2rem 0;
  }

  .faq-list .label {
    margin: auto;
  }

  .job-flow-img {
    max-width: 800px;
    margin: 5rem auto 0;
  }

  .time-schedule {
    display: none;
  }

  .time-schedule-sp {
    display: block;
    max-width: 100%;
    ;
  }

  .faq-contact-area {
    margin-bottom: 5rem;
  }

  .phone-number {
    max-width: 240px;
  }
}




/* お知らせ */
.archive-main {
  background-color: white;
  padding: 8rem;
}

.archive-header {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  background-color: white;
}

.archive-header img {
  width: 100%;
  height: auto;
}

.bg-news-sp {
  display: none;
}


.archive-posts {
  padding: 2rem 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.archive-post {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
}

.archive-post h2 {
  font-size: 1.2rem;
  font-weight: normal;
  text-align: left;
}

.archive-post a {
  text-decoration: none;
  color: #4a4a4a;
}

.archive-post a:hover {
  text-decoration: underline;
  color: #4a4a4a;
}

@media screen and (max-width: 768px) {
  .archive-header img {
    width: auto;
  }

  .category-title {
    font-size: 2rem;
  }

  .bg-news {
    display: none;
  }

  .bg-news-sp {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
  }

  .archive-main {
    padding: 5rem 1rem;
  }

  .archive-posts {
    padding: 2rem 2rem;
  }
}

/* お問い合わせ */
.bg-contact-sp {
  display: none;
}

.contact-page {
  margin: 0 auto;
  padding: 5rem 3rem 8rem;
  justify-content: center;
}

.company-add-map {
  display: flex;
  margin: 5rem auto 0;
  max-width: 1400px;
  flex-wrap: wrap;
}

.company-address {
  margin: 1rem auto;
  align-items: center;
  max-width: 600px;
}

.company-address ul {
  list-style: none;
  padding-inline-start: 0;
  padding-bottom: 2rem;
  margin: 1em 0;
  max-width: 100%;
}

.company-address li {
  display: flex;
  padding: 1rem 2rem 1rem 0;
  border-bottom: 1px solid #4a4a4a;
  flex-wrap: nowrap;
}

.company-address .label {
  width: 80px;
  margin: auto 3rem auto 1rem;
}

.company-address h2 {
  margin: 5rem auto 0 1rem;
  text-align: left;
}

.company-map {
  margin: 3rem auto 0;
  max-width: 100%;
}

.google-map {
  max-width: 100%;
}

.contact-form {
  text-align: left;
}

.contact-form p {
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
}

.form-inner {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: left;
}

.input-box {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.label-area {
  display: inline-block;
  width: 170px;
  font-weight: bold;
}

.input-area {
  flex: 1;
}

.input-area input,
.input-area textarea {
  width: 100%;
  padding: 0.5em;
  font-size: 1rem;
  border: 1px solid #ccc;
  /* 境界線を設定 */
  border-radius: 5px;
  /* 角を丸める（任意） */
}

@media screen and (max-width: 768px) {
  .bg-contact {
    display: none;
  }

  .bg-contact-sp {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
  }

  .contact-page {
    padding: 1rem;
  }

  .company-add-map {
    display: block;
  }

  .company-map {
    margin: 2rem auto 5rem;
    max-width: 400px;
  }

  .google-map {
    width: 100%;
  }

  .input-box {
    display: block;
  }

  .form-inner {
    margin: 5rem auto;
    padding: 0rem;
  }

  .label-area {
    width: -webkit-fill-available;
    text-align: left;
  }

  .company-address .label {
    width: 80px;
    min-width: 80px;
    margin: auto 1rem;
  }

  .company-address h2 {
    margin: 5rem auto 0 1rem;
  }
}

.post-content {
  margin: 8rem auto;
}

.privacy-text {
  margin: 8rem auto;
  max-width: 800px;
}