/* Crostra - メインスタイルシート */

:root {
  --mint-green: #A8E6CF;
  --light-mint: #D9F6EE;
  --dark-mint: #7BCCB5;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--dark-gray);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  padding: 1.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  position: relative;
}

.logo img {
  height: 4rem;
  width: auto;
}

.logo span {
  font-size: 2.4rem;
  font-weight: 700;
  margin-left: 1rem;
  color: var(--dark-mint);
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 3rem;
  font-weight: 500;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--dark-mint);
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

/* メインビジュアル */
.main-visual {
  height: 100vh;
  background: linear-gradient(135deg, var(--light-mint), var(--mint-green));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.main-visual.with-bg {
  background: linear-gradient(135deg, rgba(168, 230, 207, 0.95), rgba(123, 204, 181, 0.95)), url('../images/illust_discuss.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(0.8) brightness(1.1);
}

.main-visual-content {
  max-width: 80rem;
}

.main-copy {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.sub-copy {
  font-size: 2rem;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* セクション共通 */
.section {
  padding: 10rem 0;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 3px;
  background-color: var(--mint-green);
}

/* コンセプトセクション */
.concept {
  background-color: var(--white);
}

.concept-content {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

/* Aboutセクション */
.about {
  background-color: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
}

.about-item {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.about-item:hover {
  transform: translateY(-5px);
}

.about-item h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--dark-mint);
}

/* サービスセクション */
.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
}

.service-item {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow);
}

.service-item h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-mint);
}

/* プロジェクト事例セクション */
.projects {
  background-color: var(--light-gray);
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 4rem;
}

.project-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow);
}

.project-img {
  height: 20rem;
  background-color: var(--light-mint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-combination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.logo-combination i {
  font-size: 3.5rem !important;
}

.logo-combination.triple {
  gap: 1.5rem;
}

.logo-combination.triple i {
  font-size: 2.8rem !important;
}

.logo-multiply {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--dark-mint);
  opacity: 0.7;
}

.project-content {
  padding: 2rem;
}

.project-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.project-desc {
  margin-bottom: 1.5rem;
}

.project-tag {
  display: inline-block;
  background-color: var(--light-mint);
  color: var(--dark-mint);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  margin-right: 0.8rem;
  margin-bottom: 0.8rem;
}

/* お問い合わせセクション */
.contact-form {
  max-width: 60rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.6rem;
}

.form-textarea {
  min-height: 15rem;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--mint-green);
  box-shadow: 0 0 0 2px rgba(168, 230, 207, 0.2);
}

.btn {
  display: inline-block;
  background-color: var(--mint-green);
  color: var(--dark-gray);
  font-size: 1.6rem;
  font-weight: 500;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--dark-mint);
  color: var(--white);
}

.btn-submit {
  width: 100%;
  font-size: 1.8rem;
}

/* フッター */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 4rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  margin-bottom: 3rem;
}

.footer-nav li {
  margin: 0 1.5rem;
}

.footer-nav li a:hover {
  color: var(--mint-green);
}

.copyright {
  font-size: 1.4rem;
  color: var(--medium-gray);
}

/* ページヘッダー（下層ページ用） */
.page-header {
  padding: 12rem 0 6rem;
  background: linear-gradient(135deg, var(--light-mint), var(--mint-green));
  text-align: center;
}

.page-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--dark-gray);
}

/* 各ページ紹介文 */
.about-intro,
.service-intro,
.project-intro,
.contact-intro {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.8;
}

/* 代表メッセージ */
.message-content {
  background-color: var(--light-gray);
  border-left: 4px solid var(--dark-mint);
  padding: 3rem;
  margin: 2rem 0;
  border-radius: 0 5px 5px 0;
  line-height: 1.8;
  font-size: 1.6rem;
}

/* Aboutページ特有のスタイル */
.value-list {
  list-style: none;
  margin-top: 1rem;
}

.value-list li {
  margin-bottom: 1rem;
}

.features-container {
  max-width: 90rem;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.feature-icon {
  flex: 0 0 8rem;
  margin-right: 2rem;
  text-align: center;
}

.feature-content {
  flex: 1;
}

.feature-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--dark-mint);
}

/* 会社概要セクション */
.company-info {
  max-width: 80rem;
  margin: 0 auto;
}

.company-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
}

.company-item {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.company-item:hover {
  transform: translateY(-5px);
}

.company-item h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-mint);
  border-bottom: 2px solid var(--mint-green);
  padding-bottom: 1rem;
}

.company-item p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

/* 名前表示用（検索エンジン対策） */
.name-display {
  /* 他のテキストと同じ字体にするため、font-weightを削除 */
}

/* Serviceページ特有のスタイル */
.service-detail-item {
  margin-bottom: 8rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  overflow: hidden;
}

.service-detail-header {
  display: flex;
  align-items: center;
  padding: 3rem;
  background-color: var(--light-mint);
}

.service-icon {
  margin-right: 2rem;
}

.service-detail-title {
  font-size: 2.6rem;
  color: var(--dark-gray);
}

.service-detail-content {
  padding: 3rem;
}

.service-sub-title {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--dark-mint);
}

.service-list {
  list-style: none;
  margin-left: 2rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.8rem;
  height: 0.8rem;
  background-color: var(--mint-green);
  border-radius: 50%;
}

.service-flow {
  max-width: 70rem;
  margin: 0 auto;
}

.flow-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 3rem;
  top: 7rem;
  width: 2px;
  height: calc(100% - 3rem);
  background-color: var(--mint-green);
}

.flow-number {
  flex: 0 0 6rem;
  width: 6rem;
  height: 6rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mint-green);
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 2rem;
  z-index: 1;
}

.flow-content {
  flex: 1;
  padding-top: 1rem;
}

.flow-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--dark-mint);
}

.cta-section {
  background-color: var(--light-mint);
}

.cta-content {
  text-align: center;
  max-width: 70rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

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

/* Projectページ特有のスタイル */
.project-detail {
  padding: 6rem 0;
}

.project-detail.even {
  background-color: var(--light-gray);
}

.project-detail-inner {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  overflow: hidden;
}

.project-detail-header {
  display: flex;
  align-items: center;
  padding: 3rem;
  background-color: var(--light-mint);
}

.project-icon {
  margin-right: 2rem;
}

.project-detail-title {
  font-size: 2.6rem;
  color: var(--dark-gray);
}

.project-detail-body {
  padding: 3rem;
}

.project-detail-section {
  margin-bottom: 3rem;
}

.project-detail-section h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-mint);
  border-left: 4px solid var(--mint-green);
  padding-left: 1rem;
}

.project-list {
  list-style: none;
  margin-left: 1rem;
}

.project-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.8rem;
  height: 0.8rem;
  background-color: var(--mint-green);
  border-radius: 50%;
}

.project-list li ul {
  margin: 1rem 0 1rem 2rem;
}

.project-list li ul li {
  margin-bottom: 0.5rem;
}

.project-list li ul li::before {
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--light-mint);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
}

.project-testimonial {
  margin-top: 4rem;
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: 8px;
}

.project-testimonial blockquote {
  margin: 0;
  padding: 0;
}

.project-testimonial p {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.project-testimonial cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: 600;
  margin-top: 2rem;
  color: var(--dark-mint);
}

/* Contactページ特有のスタイル */
.contact-section {
  background-color: var(--light-gray);
}

.required {
  color: #f56565;
  margin-left: 0.5rem;
}

.privacy-policy {
  margin: 3rem 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-container input {
  margin-right: 1rem;
}

.checkbox-text a {
  color: var(--dark-mint);
  text-decoration: underline;
}

.privacy-section {
  background-color: var(--white);
}

.privacy-content {
  max-width: 80rem;
  margin: 0 auto;
}

.privacy-content h3 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: var(--dark-mint);
}

.privacy-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.privacy-content ul li {
  margin-bottom: 0.8rem;
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .main-copy {
    font-size: 3.6rem;
  }
  
  .sub-copy {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .mobile-menu-btn {
    display: block;
    font-size: 2.4rem;
    z-index: 1001;
    cursor: pointer;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 3.2rem;
  }
  
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: 2rem;
    margin-right: 0;
  }
  
  .service-detail-header {
    flex-direction: column;
    text-align: center;
  }
  
  .service-icon {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .flow-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .flow-number {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .flow-item:not(:last-child)::after {
    display: none;
  }
  
  .project-detail-header {
    flex-direction: column;
    text-align: center;
  }
  
  .project-icon {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-nav li {
    margin: 1rem 0;
  }

  .company-details {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-item {
    padding: 2rem;
  }

  .logo-combination {
    gap: 1.5rem;
  }

  .logo-combination i {
    font-size: 2.8rem !important;
  }

  .logo-combination.triple {
    gap: 1rem;
  }

  .logo-combination.triple i {
    font-size: 2.2rem !important;
  }

  .logo-multiply {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .main-copy {
    font-size: 3rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 2.6rem;
  }
  
  .page-title {
    font-size: 2.8rem;
  }
  
  .service-detail-title,
  .project-detail-title {
    font-size: 2.2rem;
  }
  
  .cta-content h2 {
    font-size: 2.4rem;
  }
}

/* LINEお問い合わせスタイル */
.contact-methods {
  background-color: var(--light-gray);
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 100rem;
  margin: 0 auto;
}

.contact-method {
  background-color: var(--white);
  padding: 4rem 3rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.contact-method-icon {
  margin-bottom: 2rem;
}

.contact-method h3 {
  font-size: 2.4rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.contact-method p {
  color: var(--gray);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.line-qr-container {
  margin: 2rem 0;
}

.line-qr-code {
  max-width: 20rem;
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.line-qr-note {
  font-size: 1.4rem;
  color: var(--gray);
  margin-top: 1rem;
  margin-bottom: 0;
}

.btn-line {
  background-color: #06c755;
  color: white;
  margin-top: 2rem;
}

.btn-line:hover {
  background-color: #05b04a;
}

.btn-line i {
  margin-right: 0.8rem;
  font-size: 1.8rem;
}

.btn-form {
  background-color: var(--dark-mint);
  color: white;
  margin-top: 3rem;
}

.btn-form:hover {
  background-color: #4da682;
}

.btn-form i {
  margin-right: 0.8rem;
}

.form-jump-container {
  margin-top: 2rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-method {
    padding: 3rem 2rem;
  }
  
  .line-qr-code {
    max-width: 16rem;
  }
} 