/* ベースとなるスタイル */
* {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

/* スクロールスムージング */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1A202C;
  background: linear-gradient(to bottom, #F5F5F5, #FFFFFF);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-weight: 700;
}

/* キャッチコピー用のアニメーション */
@keyframes highlight {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(-2px);
    opacity: 0.9;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.catchphrase-highlight {
  animation: highlight 3s ease-in-out infinite;
}

/* メディアクエリ */
@media (prefers-color-scheme: dark) {
  body {
    color: #FFFFFF;
    background: linear-gradient(to bottom, #000000, #1E1E1E);
  }
}

.container-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

/* レイアウト */
.layout {
  min-height: 100vh;
  background-color: #FFFFFF;
}

.layout-bg {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top right, #F7FAFC, #EDF2F7);
  z-index: -1;
}

.main-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: #FFFFFF;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

/* プロフィールセクション */
.profile-section {
  background: linear-gradient(to right, #0369a1, #6d28d9);
  color: white;
  position: relative;
  overflow: hidden;
  padding-bottom: 1.5rem;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%220 0 800 800%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath fill=%22%23fff%22 d=%22M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63%22%3E%3C/path%3E%3Cpath fill=%22%23fff%22 d=%22M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764%22%3E%3C/path%3E%3Cpath fill=%22%23fff%22 d=%22M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880%22%3E%3C/path%3E%3Cpath fill=%22%23fff%22 d=%22M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382%22%3E%3C/path%3E%3Cpath fill=%22%23fff%22 d=%22M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-31 229%22%3E%3C/path%3E%3C/svg%3E');
  background-size: cover;
  background-position: center;
}

.profile-container {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  max-width: 1024px;
  margin: 0 auto;
}

.profile-content {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

.job-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.job-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.name-image-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 500px;
}


.profile-name {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.profile-image-container {
  border-radius: 50%;
  overflow: hidden;
  width: min(120px, calc(80 / 375 * 100vw));
  height: min(120px, calc(80 / 375 * 100vw));
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-left: 1rem;
  flex-shrink: 0;
}

.profile-image-container svg {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.catchphrase-container {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.catchphrase {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.6;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.catchphrase-highlight {
  color: #fef08a;
  font-style: italic;
  position: relative;
}

.catchphrase-highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background-color: #ecc94b;
  opacity: 0.2;
  z-index: -1;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
  position: relative;
  max-width: 500px;
}

.contact-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0 1.5rem;
  height: 50px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.contact-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.contact-button i {
  margin-right: 0.5rem;
}

.social-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.social-button {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.social-button:hover {
  color: white;
  transform: translateY(-2px);
}

.social-button i {
  font-size: 1rem;
}

/* コンテンツセクション */
.content-section {
  padding: 1.25rem;
}

/* セクション */
.section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-icon {
  background-color: #FEFEFE;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2D3748;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #0ea5e9;
  border-radius: 99px;
}

/* ビジョン & ミッション */
.vision-box {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border-radius: 8px;
  background-color: #F7FAFC;
  border-left: 4px solid #0ea5e9;
}

.vision-title {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #0c4a6e;
  letter-spacing: 0.05em;
}

.vision-text {
  font-weight: 500;
  font-size: 1.125rem;
}

.mission-title {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: #0c4a6e;
  letter-spacing: 0.05em;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
}

.mission-item i {
  color: #0ea5e9;
  margin-right: 0.75rem;
  margin-top: 0.375rem;
  font-size: 0.75rem;
}

/* サービス */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.service-item {
  background-color: #F7FAFC;
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.2s;
  border: 1px solid #E2E8F0;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2D3748;
}

.service-tag {
  background-color: #ebf8ff;
  color: #0c4a6e;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
}

.service-description {
  color: #4A5568;
  font-size: 0.875rem;
}

/* 経歴・実績 */
.timeline-list {
  position: relative;
  padding-left: 2rem;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background-color: #E2E8F0;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.375rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #0ea5e9;
  border: 3px solid #F7FAFC;
  z-index: 1;
}

.timeline-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0c4a6e;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.25rem;
}

.timeline-description {
  font-size: 0.875rem;
  color: #4A5568;
}

.achievements-container {
  background-color: #F7FAFC;
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.achievements-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 1rem;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
}

.achievement-item i {
  color: #4C1D95;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

/* 技術・スキル */
.skills-container {
  margin-top: 1rem;
}

.skill-category {
  margin-bottom: 1.5rem;
}

.skill-category-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4A5568;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pill {
  background-color: #F7FAFC;
  color: #4A5568;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* お問い合わせ */
.contact-card {
  background-color: #0ea5e9;
  border-radius: 8px;
  padding: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.5);
}

.contact-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22 viewBox=%220 0 100 100%22%3E%3Cg fill-rule=%22evenodd%22%3E%3Cg fill=%22%23ffffff%22%3E%3Cpath opacity=%22.5%22 d=%22M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-text {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  background-color: white;
  color: #0ea5e9;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-link i {
  margin-left: 0.5rem;
}

/* フッター */
.footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(to right, #F7FAFC, #EDF2F7);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-social-link {
  color: #4A5568;
  transition: all 0.2s;
}

.footer-social-link:hover {
  color: #0ea5e9;
  transform: translateY(-2px);
}

.footer-social-link i {
  font-size: 1.25rem;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background-color: #CBD5E0;
  opacity: 0.6;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
}

.footer-copyright span {
  color: #0ea5e9;
}

.footer-tagline {
  font-size: 0.75rem;
  color: #A0AEC0;
  display: flex;
  align-items: center;
}

.footer-tagline i {
  color: #8b5cf6;
  margin: 0 0.25rem;
  font-size: 0.75rem;
}

/* いいね！ボタンのスタイル */
.like-button {
  background-color: #fefefe;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.2s;
}

.like-button:hover {
  background-color: #F7FAFC;
  transform: translateY(-2px);
}

.like-button-icon {
  color: #EF4444;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.like-button-label {
  font-weight: 500;
  color: #4A5568;
}

.like-button-count {
  margin-left: auto;
  background-color: #F7FAFC;
  color: #4A5568;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}