/*
Theme Name: Foursense Theme
Author: あなたの名前
Description: フォーセンスのTOPページ用WordPressテーマ
Version: 1.0
*/

/* =============================
   共通設定（全体 / PC共通）
============================= */
body {
  font-size: 1.2em;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 2.5;
  color: #333;
  background-color: #EAEAEA;
  margin: 0;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
  border-left: 5px solid #D4AF37;
  padding-left: 1rem;
  margin-top: 5rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: left;

}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 3rem;
  margin-top: 0;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: bold;
  color: #D4AF37;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.section-lead {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 2.5rem;
  text-align: left;
}

.highlight {
  border-bottom: 6px solid #e4ef85;
  padding-bottom: 0.05em;
  font-size: 1.2rem;
  font-weight: 700;
}

.br-pc {
  display: block;
}

.br-sp {
  display: none;
}

@media screen and (max-width: 768px) {

  body {
  font-size: 1em;
}

.section-title {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

.section-lead {
  font-size: 1rem;
}

  .br-pc {
    display: none;
  }
  
  .br-sp {
    display: block;
  }
}

/* =============================
   Header
============================= */
.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background: #EAEAEA;
  z-index: 1000;
}

.header-inner {
  margin: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.logo {
  flex-shrink: 0;
}


.logo img {
  height: 14vw;
  display: block;
  margin-top: 20px;
}

.site-nav {
  margin-top: 0.5rem;
}

.site-nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #D4AF37;
}

@media screen and (max-width: 1000px) {
  .logo img {
  height: 65px;
  margin-top: 0;
}
  .site-nav {
    display: none;
  }
}

/* =============================
   Footer
============================= */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

/* =============================
   Hero Section
============================= */
.hero-section {
  width: 100%;
  overflow: hidden;
  background: #EAEAEA;
}

.hero-text {
  padding: 2% 5%;
  color: #333;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.5;
}

.hero-text span {
  font-size: 1.2em;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.1);
  pointer-events: none;
  z-index: 1;
}

@media screen and (max-width: 1100px) {
  .hero-text h1 {
    font-size: 6vw;
  }
}

@media screen and (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
}


/* =============================
   Intro Section
============================= */
.intro-section {
  background-color: #EAEAEA;
  padding: 8% 0 0 0
}

.intro-flex {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: center; 
}

.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.intro-text p {
  color: #444;
}


@media screen and (max-width: 768px) {
  .intro-flex {
    flex-direction: column;
    gap: 1rem;
  }
  .intro-image,
  .intro-text {
    width: 100%;
  }
  .intro-image img {
    width: 30%;
  }
  .intro-text h2 {
    font-size: 1.5rem;
  }
  .intro-text p {
  font-size: 0.9rem;
}
}


/* =============================
   slider Section
============================= */

.auto-slider {
  overflow: hidden;
  width: 100%;
  height: 200px;
  background-color: #EAEAEA;
  margin: 8% 0;
}

.slider-track {
  display: flex;
  animation: scrollSlider 25s linear infinite;
  width: max-content;
  gap: 30px;
}

.slider-track img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

/* スライドアニメーション */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =============================
   Philosophy Section
============================= */

.philosophy-divider {
  margin-top: 15%;
}

.philosophy-section {
  padding: 8% 0;
  background-color: #fff;
  text-align: center;
}

.philosophy-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
}

.philosophy-lead {
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  padding: 15px 0;
  text-align: left;
}

.philosophy-text {
  color: #444;
  font-weight: 400;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .philosophy-lead {
    font-size: 1.2em;
    margin: 0;
  }
}

/* =============================
   About Section
============================= */
.about-section {
  background-color: #EAEAEA;
  padding: 8% 0;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.platform-box {
  margin-top: 2rem;
}

.platform-head {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

.platform-item {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
}

.platform-label {
  margin-bottom: 0.5rem;
  text-align: left;
}

.platform-en {
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  color: #888;
  position: relative;
}

.platform-en::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: #D4AF37;
  margin-top: 6px;
}

.platform-ja {
  font-size: 0.85rem;
  color: #333;
  margin-top: 0.2rem;
  font-weight: 600;
}

.platform-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  text-align: left;
}


.platform-text {
  flex: 1;
  color: #555;
  line-height: 1.7;
  text-align: left;
}

.pc-only {
  display: block !important;
}

.sp-only {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }

  .platform-head {
    display: block;
    padding: 10px 0;
}

    .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }
}


/* =============================
   Message Section
============================= */
.message-section {
  background-color: #EAEAEA;
  padding: 8% 0;
}

.message-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-end;
}

.message-image {
  flex: 1 1 45%;
}

.message-image img {
  max-width: 80%;
  height: auto;
  display: block;
  border-radius: 30px;
}

.message-text {
  flex: 1 1 50%;
}

.ceo-role {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.ceo-name {
  font-weight: 700;
  font-size: 1.4rem;
  color: #222;
  margin-left: 15px;
}

.message-content p {
  color: #444;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 768px) {
  .message-flex {
    flex-direction: column;
  }
  .message-image,
  .message-text {
    width: 100%;
  }

  .message-image img {
  max-width: 100%;
}

  .ceo-role,
  .ceo-name {
    font-size: 0.95rem;
  }
}

/* =============================
   Company Section
============================= */
.company-section {
  background-color: #fff;
  padding: 8% 0;
}

.company-flex {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.company-heading {
  flex: 1 1 30%;
  text-align: left;
}

.company-info {
  flex: 1 1 65%;
}

.company-info div {
  display: flex;
  padding: 1rem 0;
  border-top: 1px solid #eee;
}

.company-info div:last-child {
  border-bottom: 1px solid #eee;
}

.company-info dt {
  width: 35%;
  font-weight: bold;
  color: #333;
}

.company-info dd {
  width: 65%;
  margin: 0;
  color: #444;
}

@media screen and (max-width: 768px) {
  .company-flex {
    flex-direction: column;
    gap: 0;
  }
  .company-heading,
  .company-info {
    width: 100%;
  }
  .company-info div {
    flex-direction: column;
  }
  .company-info dt,
  .company-info dd {
    width: 100%;
  }
}