@charset "utf-8";

/* ============================================================================
   外部ライブラリ・フォント読み込み
============================================================================ */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url("inview.css");
@import url("mainimg.css");

/* ============================================================================
   カラーパレット・基本設定
============================================================================ */
:root {
  --main_orange: #FF7C2E;
  --main_green: #07c186;
  --text_black: #1d1d1d;
  --white: #fff;
  --gray1: #f0f0f0;
  --gray2: #e9e9e9;
}

html {
  font-size: 62.5%;
}

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  background: #fff;
  color: var(--text_black);
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1;
}

main {
  display: flex;
  flex-direction: column;
}

a {
  color: #333;
}

/* ============================================================================
   ページ全体のレイアウト・基本構造
============================================================================ */
/* セクション基本設定 */
section {
  position: relative;
  padding: 0 100px 17rem 100px;
  overflow-x: hidden;
}

/* タイトルセクション */
.title-section {
  padding: 0 100px 0 100px;
}

.title-section h1 {
  position: relative;
  z-index: 2;
}

/* コンテナ */
.inner,
.top-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.top-inner {
  position: relative;
  height: 550px;
  justify-content: center;
  flex-direction: column; 
  display: flex;
  margin-top: 70px;
}

.top-inner::after {
  content: '';
  position: absolute;
  top: 130px;
  right: 0;
  width: 100%;
  height: 300px;
  background-image: url('../images/logo_infinity-gray.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

/* オーバービューセクション */
.overview {
  background-color: var(--gray1);
  padding: 70px 45px;
  margin: 0 0 17rem 0;
}

/* プロジェクトグループ */
.project-group {
  max-width: 1200px;
  margin: -50px auto 0 auto;
  position: relative;
  padding: 100px 70px 80px;
  border-radius: 14px;
  background-color: var(--gray1);
  z-index: -1;
}

.inner2 {
  width: 83%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 14px;
  padding: 40px 60px;
}

/* ============================================================================
   見出し・タイトル
============================================================================ */
h1 {}

.first_title {
  line-height: 1.6;
  font-weight: 700;
  font-size: 4rem;
  text-align: left;
  letter-spacing: 0.2rem;
}

.first_title_small {
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 2rem;
  color: var(--text_black);
}

h2 {
  margin: 0 0 2.4em 0;
  padding: 0;
  font-weight: 700;
  font-size: 3.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
  letter-spacing: 0.2rem;
  line-height: 1.3;
}

h3 {
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 1.7rem;
  text-align: left;
}

/* ============================================================================
   ロゴ・画像
============================================================================ */
.center-logo {
  max-width: 210px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.7;
  padding: 30px 0 70px 0;
  text-align: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* ============================================================================
   テキスト・説明文
============================================================================ */
.description-text {
  text-align: left;
  text-align: center;
  line-height: 2.5;
}

.project-description {
  text-align: center;
  line-height: 2.5;
}

/* ============================================================================
   プロフィール関連
============================================================================ */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13rem 13rem;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}

.profile-card {
  text-align: center;
}

.profile-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-content {
  line-height: 1.6;
}

.profile-name {
  font-size: 2.8rem;
  font-weight: 500;
  margin: 1em 0 0.3em 0;
  color: var(--main_orange);
}

.profile-furigana {
  font-size: 1.6rem;
  font-weight: 400;
  color: #666;
  font-style: italic;
}

.hobby-text::before {
  content: "趣味：";
}

.language-text::before {
  content: "言語：";
}

.hobby-text-en::before {
  content: "Hobbies: ";
}

.language-text-en::before {
  content: "Languages: ";
}

.hobby-text,
.language-text {
  text-indent: -3.5em;
  padding-left: 3.5em;
}

.language-text {
  margin-top: 15px;
}

.profile-divider {
  border-top: 1px solid #bdbdbd;
  margin: 30px 0;
}

.daihyo-en{
  font-size: 1.8rem;;
}

/* ============================================================================
   フローボックス（活動内容）
============================================================================ */
.flow-box {
  position: relative;
  margin: 12rem 0 10rem;
  display: flex;
  align-items: flex-start;
  gap: 5%;
}

.flow-box .left-box,
.flow-box .right-box {
  width: 48%;
}

.flow-box .left-box-picture img,
.flow-box .right-box-picture img {
  width: 100%;
  height: 372px;
  border-radius: 10px;
  object-fit: cover;
}

.flow-box .left-box .main_title,
.flow-box .right-box .main_title {
  margin-bottom: 2rem;
  padding: 2.5rem 0;
}

.flow-box .left-box .main_title {
  background: var(--main_orange);
  border-radius: 0 100px 100px 0;
  margin-left: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: 8rem;
  color: var(--white);
}

.flow-box .right-box .main_title {
  background: var(--main_green);
  border-radius: 100px 0 0 100px;
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: 8rem;
  color: var(--white);
}

.right-box-picture,
.left-box-picture {
  width: 100%;
}

.right-box-picture {
  margin-right: auto;
}

.left-box-picture {
  margin-left: auto;
}

/* ============================================================================
   プロジェクトタイトルボックス
============================================================================ */
.project_title_box,
.project_title_box2 {
  width: 60%;
  margin: 0 auto;
  background: var(--main_green);
  color: var(--white);
  padding: 2.5rem 2.5rem;
  border-radius: 100px;
}

.project_title_box2 {
  background: var(--main_orange);
}

.project-title {
  text-align: center;
  font-weight: 700;
  font-size: 4.6rem;
  line-height: 1;
}

.project-title_text2 {
  font-size: 1.55rem;
  margin-top: 1.2rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

.sub_title_text {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.main_title_text,
.main_title_text2 {
  width: 100%;
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 1.2;
}

/* ============================================================================
   例・説明リスト
============================================================================ */
.example,
.example2 {
  text-align: left;
  margin-top: 5rem;
  width: 100%;
}

.example {
  margin-left: auto;
  padding-right: 8rem;
}

.example2 {
  margin-right: auto;
  padding-left: 8rem;
}

.example p,
.example2 p,
.example ul li,
.example2 ul li {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.example ul li:not(:last-child),
.example2 ul li:not(:last-child) {
  margin-bottom: 2.5rem;
}

.example ul li::before,
.example2 ul li::before {
  content: "- ";
}

.example ul li,
.example2 ul li {
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.5;
}

/* ============================================================================
   プロジェクト画像
============================================================================ */
.project-image {
  width: 83%;
  height: 350px;
  overflow: hidden;
  border-radius: 14px;
  margin: 47px auto 55px;
}

/* ============================================================================
   ボタン
============================================================================ */
.btn_orange {
  display: flex;
  justify-content: center;
  margin: 8rem 0 0 0;
  position: relative;
  z-index: 2;
}

.btn_orange a,
.btn2_orange a {
  background: var(--main_orange);
  border-radius: 5px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: 0.15s ease;
  border: 1.5px solid var(--main_orange);
}

.btn_orange a {
  padding: 1.3em 3.5em;
}

.btn_orange a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 7.5px;
  height: 7.5px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.15s ease;
}

.btn_orange a:hover {
  background: var(--white);
  color: var(--main_orange);
  border: 1.5px solid var(--main_orange);
}

.btn_orange a:hover:after {
  right: 1rem;
}

.btn2_orange {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5rem;
  font-size: 2.1rem;
}

.btn2_orange a {
  padding: 0.75em 2em;
  width: 17em;
  gap: 1em;
}

.btn2_orange a:hover {
  background: var(--white);
  color: var(--main_orange);
  border: 1.5px solid var(--main_orange);
}

.btn2_orange a i {
  font-size: 1.5em;
  line-height: 1;
  vertical-align: middle;
}

/* ============================================================================
   装飾画像
============================================================================ */
.section-decoration,
.section-decoration2 {
  position: relative;
}

.decoration-image {
  position: absolute;
  right: 7%;
  top: -120px;
  width: 300px;
  height: auto;
  z-index: -10;
}

.decoration-image2 {
  position: absolute;
  left: 7%;
  top: -220px;
  width: 240px;
  height: auto;
  z-index: -10;
  transform: scaleX(-1);
}

/* ============================================================================
   ページトップボタン
============================================================================ */
.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 99;
  animation: opa1 1s 0.4s both;
  position: fixed;
  right: 20px;
  bottom: 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  width: 60px;
  line-height: 60px;
  border-radius: 50%;
}

/* ============================================================================
   ユーティリティクラス・レイアウト
============================================================================ */
.ta_c {
  text-align: center;
}

.lh_m2 {
  line-height: 2;
}

.ma_b {
  margin-bottom: 2rem;
}

.clr_orange {
  color: var(--main_orange);
}

.clr_gray {
  color: #999999;
}

.notice {
  color: #999999;
  font-size: 1.4rem;
  margin-top: 1.5em;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.pc-tablet-only {
  display: block;
}

.indent {
  text-indent: -4.4em;
  padding-left: 4.4em;
}

.sp-list {
  padding-left: 1em;
}

.sp-list li {
  text-indent: -1em;
}

/* ============================================================================
   アニメーション
============================================================================ */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.1) rotate(-30deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.fade-in-text {
  visibility: hidden;
}

.char {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.3s linear both;
}

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

/* タブレット対応 */
@media screen and (max-width: 1024px) {
  .pc-only{
    display: none;
  }
  .pc-tablet-only {
    display: block;
  }

  .sp-only {
    display: none;
  }
  
  /* レイアウト・コンテナ */
  section {
    padding: 0 7vw 18rem 7vw;
  }

  .title-section {
    padding: 0 7vw 0 7vw;
  }
  
  .inner,
  .top-inner {
    width: 100%;
  }

  .top-inner {
    height: 390px;
  }

  .inner2 {
    width: 100%;
    padding: 30px 40px;
  }

  /* セクション・グループ */
  .logo-section {
    padding: 0px 0 100px 0;
  }

  .project-group {
    padding: 90px 50px 60px;
  }

  /* 見出し・タイトル */
  h3 {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  
  .project-description {
    text-align: left;
  }

  .project-image {
    width: 100%;
    height: 300px;
  }
  
  .project_title_box,
  .project_title_box2 {
    width: 70%;
  }

  /* フローボックス */
  .flow-box {
    flex-direction: row;
    gap: 3rem;
    width: 100%;
  }

  .flow-box .left-box,
  .flow-box .right-box {
    width: 48%;
  }

  /* ボタン */
  .btn2_orange {
    flex-direction: row;
    gap: 5rem;
  }

  .btn2_orange a {
    width: 100%;
    max-width: 20em;
  }

  /* 装飾画像 */
  .top-inner::after {
    width: 75%;
    height: 220px;
    top: 74px;
  }
}

/* スマートフォン対応 */
@media screen and (max-width: 850px) {
  
  .pc-tablet-only {
    display: none;
  }

  /* レイアウト・コンテナ */
  .inner,
  .top-inner {
    max-width: 600px;
  }
  
  .top-inner {
    height: 300px;
  }

  .inner-gray {
    padding: 30px 30px;
  }

  .overview {
    padding: 6rem 8vw 6rem 8vw;
    margin: 0 0 9rem 0;
  }

  .inner2 {
    width: 100%;
    padding: 6% 9%;
  }

  .inner2 .ma_b {
    margin-bottom: 1.2rem;
  }

  .example{
    padding-right: 0;
  }

  /* セクション・グループ */
  .center-logo {
    max-width: 170px;
    padding: 50px 0 60px 0;
  }

  .project-group {
    padding: 70px 7% 40px 7%;
    margin: -30px 0 0 0;
  }

  /* 見出し・タイトル */
  .project_title_box,
  .project_title_box2 {
    width: 100%;
    padding: 1.6rem;
  }

  /* プロフィール */
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 8rem;
  }

  .profile-card:last-child {
    margin-bottom: 0;
  }

  .profile-image {
    height: 180px;
  }

  /* フローボックス */
  .flow-box {
    flex-direction: column;
    margin: 7rem 0 7rem 0;
  }

  .flow-box .left-box,
  .flow-box .right-box {
    width: 100%;
  }

  .flow-box-image-first {
    flex-direction: column;
  }

  .flow-box-image-first .left-box {
    order: 2;
  }

  .flow-box-image-first .right-box {
    order: 1;
  }

  .flow-box-text-first {
    flex-direction: column;
  }

  .flow-box-text-first .left-box {
    order: 1;
  }

  .flow-box-text-first .right-box {
    order: 2;
  }

  .flow-box-image-first .right-box .main_title {
    background-color: var(--main_green);
    margin-right: auto;
    border-radius: 0 100px 100px 0;
    margin-left: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
  }

  .flow-box-image-first .right-box .sub_title_text2 {
    margin-top: 1.4rem;
    line-height: 1.5;
    padding: 0;
  }

  .flow-box-image-first .right-box .example2 {
    padding-left: 0;
  }

  .flow-box .left-box-picture img,
  .flow-box .right-box-picture img {
    margin-top: 40px;
    height: 250px;
  }

  .flow-box .left-box-picture img,
  .flow-box .right-box-picture img {
    margin-top: 20px;
  }

  .flow-box .left-box .main_title {
    padding-right: calc(50vw - 50%);
  }

  /* プロジェクト画像 */
  .project-image {
    width: 100%;
    height: 220px;
    margin: 30px auto 40px;
  }

  /* ボタン */
  .btn2_orange {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .btn2_orange a {
    width: 100%;
    max-width: 18em;
  }

  .btn_orange a {
    width: 100%;
    max-width: none;
    padding: 1.3em 2.5em;
  }

  /* 装飾画像 */
  .top-inner::after {
    width: 60%;
    height: 150px;
    top: 2px;
  }

  .decoration-image2 {
    top: -156px;
    width: 133px;
  }

  .decoration-image {
    top: -142px;
    width: 168px;
  }

  .description-text {
    text-align: left;
  }
}

@media screen and (max-width: 500px) {

 .center-logo {
    max-width: 150px;
    padding: 25px 0 60px 0;
  }

  /* レイアウト・コンテナ */
  section {
    padding: 0 7vw 18rem 7vw;
  }
  
  .title-section {
    padding: 0 7vw 0 7vw;
  }
  .sp-only {
    display: block;
  }
  
  .pc-only {
    display: none;
  }
  
  .pc-tablet-only {
    display: none;
  }
  .first_title {
    font-size: 2.9rem;
  }

  .first_title_small {
    font-size: 1.4rem;
  }

  .project-title {
    font-size: 3rem;
  }

  .project-title_text2 {
    font-size: 1.2rem;
  }
  body {
    font-size: 1.4rem;
  }

  .notice {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 2.8rem;
  }
  
  .profile-name {
    font-size: 2.4rem;
  }

  .profile-furigana {
    font-size: 1.5rem;
  }
  .main_title_text, .main_title_text2 {
    font-size: 3rem;
  }
  .sub_title_text {
    font-size: 1.3rem;
  }
  
  .example p, .example2 p, .example ul li, .example2 ul li {
    font-size: 1.5rem;
  }  
  .btn2_orange a {
    font-size: 2rem;
  }
  
}