/* ========================================
   岡本和真 公式ホームページ - スタイルシート
   ======================================== */

/* CSS変数（テーマカラー） */
:root {
  --color-primary: #009dff;
  --color-secondary: #c0f54c;
  --color-cream: #fff8d5;
  --color-light-blue: #75e6ff;
  --color-white: #ffffff;
  --color-black: #000000;

  --font-family: 'Noto Sans JP', sans-serif;
}

/* リセット */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  line-height: 1.5;
  overflow-x: hidden;
  background-color: var(--color-white);
}

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

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

ul, ol {
  list-style: none;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px 30px;
}

.header__logo {
  width: 200px;
  height: 82px;
}

.header__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__contact-btn {
  display: block;
  transition: opacity 0.3s, transform 0.3s;
}

.header__contact-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.header__contact-img {
  height: 43px;
  width: auto;
}

.header__contact-img--mobile {
  display: none;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #4dc3ff 0%, #009dff 100%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero__face {
  position: absolute;
  left: -318px;
  top: -88px;
  width: 1411px;
  height: 1796px;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

.hero__face-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  right: 100px;
  top: 165px;
  width: 912px;
  height: 479px;
}

.hero__logo-main {
  position: absolute;
  top: 62px;
  left: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
}

.hero__logo-img {
  display: block;
  width: 840px;
  height: auto;
}

.hero__heart {
  position: absolute;
  right: -88px;
  bottom: -40px;
  width: 179px;
  height: 283px;
  transform: rotate(-30deg);
  pointer-events: none;
}

.hero__heart-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   ティッカーバー
   ======================================== */
.ticker {
  position: relative;
  width: 100%;
  height: 60px;
  background-color: var(--color-secondary);
  overflow: hidden;
}

.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}

.ticker__content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 15px;
  height: 60px;
}

.ticker__text {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 20px;
  color: var(--color-primary);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.ticker__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.ticker__icon::before {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  background-image: url('../images/baseball-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* ========================================
   プロフィールセクション
   ======================================== */
.profile {
  position: relative;
  width: 100%;
  min-height: 813px;
  background-color: var(--color-cream);
  padding: 50px 0 80px;
}

.profile__container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 0 50px;
}

.profile__image-wrapper {
  flex-shrink: 0;
  padding-top: 50px;
}

.profile__image-frame {
  position: relative;
  width: 530px;
  height: 750px;
  transform: rotate(-16deg);
  will-change: transform;
  backface-visibility: hidden;
}

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


.profile__content {
  flex: 1;
  padding-top: 100px;
  padding-left: 200px;
}

.profile__title {
  margin-bottom: 20px;
}

.profile__title-img {
  height: 80px;
  width: auto;
}

.profile__name-en {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 26px;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}

.profile__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 497px;
}

.profile__info-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-primary);
}

.profile__info-label {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 20px;
  color: var(--color-primary);
}

.profile__info-value {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 34px;
  color: var(--color-primary);
  text-align: right;
}

/* ========================================
   コンタクトセクション
   ======================================== */
.contact {
  position: relative;
  width: 100%;
  height: 542px;
  background-color: var(--color-primary);
  overflow: hidden;
  clip-path: ellipse(100% 100% at 50% 100%);
}

.contact__bg {
  position: absolute;
  inset: 0;
}

.contact__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 80px;
}

.contact__title {
  margin-bottom: 40px;
}

.contact__title-img {
  width: auto;
  height: 187px;
}

.contact__email {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 66px;
  color: var(--color-white);
  text-align: center;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  width: 100%;
  height: 46px;
  background-color: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__copyright {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-primary);
  text-align: center;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

/* 大型デスクトップ */
@media screen and (max-width: 1440px) {
  .hero__content {
    right: 0;
  }

  .profile__content {
    padding-left: 100px;
  }
}

/* デスクトップ */
@media screen and (max-width: 1200px) {
  .hero {
    height: 700px;
  }

  .hero__face {
    left: -400px;
  }

  .hero__content {
    width: 700px;
    right: -50px;
  }

  .hero__logo-img {
    width: 620px;
  }

  .profile__container {
    gap: 40px;
  }

  .profile__image-frame {
    width: 400px;
    height: 560px;
    transform: rotate(-10deg);
  }

  .profile__content {
    padding-left: 50px;
    padding-top: 60px;
  }

  .contact__email {
    font-size: 48px;
  }
}

/* タブレット横向き */
@media screen and (max-width: 992px) {
  .header {
    padding: 20px;
  }

  .header__logo {
    width: 150px;
    height: 62px;
  }

  .header__contact-img {
    height: 36px;
  }

  .hero {
    height: 600px;
  }

  .hero__face {
    left: 50%;
    transform: translateX(-70%);
    width: 1100px;
    height: 1400px;
  }

  .hero__content {
    width: 600px;
    right: 0;
    top: 100px;
  }

  .hero__logo-main {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero__logo-img {
    width: 500px;
    max-width: none;
  }

  .hero__heart {
    width: 120px;
    height: 190px;
    right: -40px;
    bottom: 0;
  }

  .ticker {
    height: 50px;
  }

  .ticker__content {
    height: 50px;
    gap: 20px;
  }

  .ticker__text {
    font-size: 16px;
  }

  .ticker__icon,
  .ticker__icon::before {
    width: 24px;
    height: 24px;
  }

  .profile {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .profile__container {
    padding: 0 30px;
  }

  .profile__image-frame {
    width: 320px;
    height: 450px;
  }

  .profile__title-img {
    height: 60px;
  }

  .profile__name-en {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .profile__info {
    gap: 30px;
    max-width: 400px;
  }

  .profile__info-label {
    font-size: 16px;
  }

  .profile__info-value {
    font-size: 26px;
  }

  .contact {
    height: 400px;
  }

  .contact__content {
    padding-top: 60px;
  }

  .contact__title-img {
    height: 120px;
  }

  .contact__email {
    font-size: 36px;
  }
}

/* タブレット縦向き */
@media screen and (max-width: 768px) {
  .header {
    padding: 15px;
  }

  .header__logo {
    width: 120px;
    height: 50px;
  }

  .header__contact-img--pc {
    display: none;
  }

  .header__contact-img--mobile {
    display: block;
    height: 36px;
  }

  .hero {
    height: 500px;
  }

  .hero__face {
    left: 50%;
    transform: translateX(-70%);
    top: 50px;
    width: 750px;
    height: 950px;
  }

  .hero__content {
    width: 400px;
    right: 20px;
    left: auto;
    transform: none;
    top: 100px;
  }

  .hero__logo-main {
    top: 30px;
    left: 40px;
    transform: none;
  }

  .hero__logo-img {
    width: 340px;
    max-width: none;
  }

  .hero__heart {
    width: 80px;
    height: 127px;
    right: -20px;
    bottom: 20px;
  }

  .ticker {
    height: 44px;
  }

  .ticker__content {
    height: 44px;
    gap: 15px;
  }

  .ticker__text {
    font-size: 14px;
  }

  .ticker__icon,
  .ticker__icon::before {
    width: 20px;
    height: 20px;
  }

  .profile {
    padding: 30px 0 50px;
  }

  .profile__container {
    padding: 0 20px;
    gap: 30px;
  }

  .profile__image-wrapper {
    padding-top: 20px;
  }

  .profile__image-frame {
    width: 260px;
    height: 365px;
    transform: rotate(-8deg);
  }

  .profile__content {
    padding-top: 20px;
    padding-left: 20px;
  }

  .profile__title-img {
    height: 50px;
  }

  .profile__name-en {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .profile__info {
    gap: 24px;
    max-width: 340px;
  }

  .profile__info-label {
    font-size: 14px;
  }

  .profile__info-value {
    font-size: 22px;
  }

  .contact {
    height: 350px;
    clip-path: ellipse(120% 100% at 50% 100%);
  }

  .contact__content {
    padding-top: 50px;
  }

  .contact__title-img {
    height: 90px;
  }

  .contact__email {
    font-size: 28px;
    padding: 0 20px;
  }

  .footer {
    height: 40px;
  }

  .footer__copyright {
    font-size: 10px;
  }
}

/* モバイル */
@media screen and (max-width: 576px) {
  /* ヘッダー */
  .header {
    padding: 20px 16px;
    align-items: center;
  }

  .header__logo {
    width: 120px;
    height: 49px;
  }

  .header__contact-img--pc {
    display: none;
  }

  .header__contact-img--mobile {
    display: block;
    height: 40px;
    width: auto;
  }

  /* ヒーロー */
  .hero__bg::before {
    background-image: url('../images/bg_mobile.webp');
  }

  .hero {
    height: 613px;
  }

  .hero__face {
    left: 50%;
    transform: translateX(-50%);
    top: 207px;
    width: 619px;
    height: 788px;
  }

  .hero__content {
    width: 100%;
    right: 0;
    left: 0;
    top: 81px;
    height: 211px;
    transform: none;
  }

  .hero__logo-main {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    z-index: 1;
  }

  .hero__logo-img {
    width: 95vw;
    max-width: none;
  }

  .hero__heart {
    display: none;
  }

  /* ティッカー */
  .ticker {
    height: 56px;
  }

  .ticker__content {
    height: 56px;
    gap: 24px;
  }

  .ticker__text {
    font-size: 16px;
  }

  .ticker__icon,
  .ticker__icon::before {
    width: 26px;
    height: 26px;
  }

  /* プロフィール */
  .profile {
    padding: 60px 0 80px;
  }

  .profile__container {
    flex-direction: column-reverse;
    padding: 0 30px;
    gap: 40px;
  }

  .profile__image-wrapper {
    padding-top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  .profile__image-frame {
    width: 389px;
    height: 551px;
    transform: rotate(-16deg);
    margin-left: -40px;
    flex-shrink: 0;
  }

  .profile__content {
    padding-top: 0;
    text-align: left;
    width: 100%;
  }

  .profile__title {
    margin-bottom: 10px;
  }

  .profile__title-img {
    height: 62px;
  }

  .profile__name-en {
    font-size: 16px;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
  }

  .profile__info {
    gap: 30px;
    max-width: 100%;
    margin: 0;
  }

  .profile__info-item {
    padding-bottom: 12px;
  }

  .profile__info-label {
    font-size: 14px;
  }

  .profile__info-value {
    font-size: 26px;
  }

  /* コンタクト */
  .contact {
    height: 309px;
    clip-path: none;
  }

  .contact__content {
    padding-top: 100px;
    justify-content: flex-start;
  }

  .contact__title {
    margin-bottom: 30px;
  }

  .contact__title-img {
    height: 54px;
  }

  .contact__email {
    font-size: 30px;
    padding: 0 20px;
  }

  /* フッター */
  .footer {
    height: 36px;
  }

  .footer__copyright {
    font-size: 10px;
  }
}
