@charset "UTF-8";
/** -----------------------------------------------
  共通
------------------------------------------------**/
body {
  /*下記のCSSはご自身のデザインに合わせて書き換えてください。*/
  font-size: 16px;
  line-height: 1.6;
  color: #523f3f;
  font-family: " Rounded M+ 1c ", "sans-serif";
  font-weight: 500;
  margin: 0;
}

/** -----------------------------------------------
  PC :  画面の横幅が641px以上
------------------------------------------------**/
/* 共通 */

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

:root{
  --space--xs: 8px;
  --space--sm: 16px;
  --space--md: 32px;
  --space--lg: 64px;
  --space--xl: 80px;
}

.container {
 max-width: 1100px;
 padding: 0 40px;
 margin: 0 auto;
}

section{
  padding: 80px 0 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 42px;
  line-height: 1.4;
}


.section-text {
  text-align: center;
  margin-bottom: 40px;
  margin-top:  16px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}


section .btn {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
}

.flex{
  display: flex;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.sp-br{
  display: none;
}

#header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 height: 80px;
 padding-top: 35px;
 padding-bottom: 35px;
 padding: 40px 60px;
 border-bottom: 1px solid #eee;
}

#header .nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#header .nav li {
  font-size: 14px;
}
#header .navi a {
  text-decoration: none;
  color: #523f3f;
  transition: 0.3s;
  display: block;
  padding: 10px 0;
}
#header .navi a:hover {
  opacity: 0.6;
}

/* 基本 */
.header {
  background: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

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

/* ハンバーガー */
.hamburger {
  width: 30px;
  height: 24px;
  cursor: pointer;
  display: none; /* PCでは非表示 */
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  margin-bottom: 5px;
  transition: 0.3s;
}

/* ナビ */
.nav {
  display: block;
}

.nav ul {
  display: flex;
  gap: 20px;
}

.logo img {
  width: 300px;
  height: auto;
}

.fv {
  padding: 80px 0;
  overflow: hidden;
}

.fv-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/*メイン画像*/
.fv-image img {
  width: 520px;
  max-width: 100%;
  border-radius: 24px;
  display: block;
  position: relative;
  z-index: 1;
}
.fv-content{
  position: relative;
  z-index: 2;
}

.fv-content h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.fv-content p {
  margin-bottom: 24px;
  color: #7a6a6a;
}

/*あしらい*/
 .fv-deco {
 position: absolute;
 top: 20%;
 right: -10%;
 transform: translateY(-50%);
 width: 180px;
 z-index: 0;
}
 .fv-deco img{
  width: 100%;
  opacity: 0.6;
}

.btn {
  display: inline-block;
  padding: 18px 60px;
  background: #e57c7c;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  margin: 20px 0 0;
}

.wrapper{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* -----------------------
  about
----------------------- */
/* レイアウト */
.about-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* 左カラム（テキスト） */
.about-text{
  text-align: left;
}

/* 画像 */
.about-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* タイトル */
.about .section-title{
  text-align: center;
  margin-bottom: 40px;
}

/* ボタンを中央に */
.about .btn{
  display: block;
  width: fit-content;
  margin: 32px auto 0;
}

.bg-green{
  background: #c7dcdc;
}

/* -----------------------
  事業カード
----------------------- */

.card-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}


.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.card h3 {
  margin: 16px 0 10px;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.bg-beige {
  background-color: #f7f4f2;
}

section {
  padding: 80px 0;
}

.card p{
  text-align: left;
}

/* -----------------------
  メンバー
----------------------- */

/* レイアウト */
.member-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* カード */
.member-card{
  text-align: center;
}

/* 画像枠 */
.member-img{
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: visible;
}

/* 人物画像 */
.member-img img:first-child{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 20px 0 20px 0;
}
.member-card:nth-child(2) img{
  object-position: left;
}

.member-card:nth-child(3) img{
  object-position: 70% 0%;
}

.member-card:nth-child(4) img{
  object-position: 70% 0%;
}

/* 名前 */
.member-name{
  margin: 8px 0 4px;
  font-weight: bold;
}

/* 役職 */
.member-role{
  margin: 0;
  font-size: 14px;
  color: #7a6a6a;
}

/* カード化 */
.member-card{
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

/* ホバー */
.member-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.member-card{
  position: relative;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
}

/* 左上に丸 */
.member-card::before{
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: url("../img/Circle02.svg") no-repeat center / contain;
  z-index: 0;
}

.member-card{
  position: relative;
  z-index: 1;
}

.member-card::before{
  z-index: 0;
}

.member-card::before{
  width: 120px;
  height: 120px;
  opacity: 0.3;
}

/* -----------------------
  働き方
----------------------- */
.work .container > div {
  padding: 40px;
  border-radius: 12px;
}

/* 横並び */
.icon-list {
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* 各アイテム */
.icon {
  flex: 1;
  text-align: center;
}

/* 画像サイズ調整 */
.icon img {
  width: 150px;
  height: auto;
  margin-bottom: 16px;
}

/* テキスト */
.icon .title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.icon .desc {
  font-size: 14px;
  color: #555;
}

.bg-beige {
  background-color: #f7f4f2;
}

section {
  padding: 80px 0;
}

/* ボタンを中央に */
.btn{
  display: block;
  width: 200px;
  margin: 40px auto 0;
  text-align: center;
}



/* -----------------------
  アコーディオン
----------------------- */
/* セクション */
.jobs {
  position: relative;
  background: #fff;
  padding: 80px 20px 140px;
}

/* アコーディオン全体 */
.accordion {
  max-width: 700px;
  margin: 40px auto;
}

/* カード */
.accordion-item {
  border: 1px solid #bfae9f;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #fff;
}

/* ヘッダー */
.accordion-header {
  width: 100%;
  padding: 20px;
  background: #c8b7a6;
  border: none;
  font-size: 18px;
  text-align: left;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* ＋ボタン */
.accordion-header span {
  font-size: 20px;
  transition: 0.3s;
}

/* 開いた時 */
.accordion-item.active .accordion-header span {
  transform: rotate(45deg);
}

/* 中身 */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  background: #fff;
  padding: 0 20px;
}

/* 開いた状態 */
.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 20px;
}

.center{
  text-align: center;
  margin-top: 40px;
}


.decor-circle-right{
  position: absolute;
  bottom: 120px;
  left: 120px;
  width: 80px;
  pointer-events: none;
}


.decor-circle-left{
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 80px;
  pointer-events: none;
}

/* -----------------------
  フロー
----------------------- */
.flow .container > div {
  padding: 40px;
  border-radius: 12px;
}

.flow-list {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  list-style: none;
  flex-direction: row;
}

.flow-list li {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  margin: 0 8px;
}

.flow-text{
  padding: 16px;
}

.flow-text p{
  line-height: 1.6;
}

.flow-item{
  width: 100%;
}

.bg-beige {
  background-color: #f7f4f2;
}

section {
  padding: 80px 0;
}

/* 画像ラッパー */
.cta-visual {
  position: relative;
}

/* 画像 */
.cta-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.cta-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
}

/* 文字を重ねる */
.cta-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 背景を少し白くして見やすく */
.cta-text p {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* -----------------------
  フッター
----------------------- */
.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  background: #f7f4f2;
}
 .footer-list {
  display: flex;
  justify-content: center; 
  gap: 16px; 
  list-style: none;
  padding: 0;
}

 .footer-list li{
  margin-bottom: 8px;
 }

/*ここからメディアクエリで各デバイスサイズに書き分けます。
今回の課題で考慮するのはPCとスマホのみでOKですが、タブレットサイズでのスタイルを書いてもOK！
また、CSSは上から下に継承されるので、変化させたいところだけ書けばOKです*/


/** -----------------------------------------------
  Smartphone :  画面の横幅が640pxまで
------------------------------------------------**/
@media screen and (max-width: 640px){

  /* 画像 */
  img{
    max-width: 100%;
    height: auto;
  }

  /* コンテナ */
  .container{
    width: 90%;
    margin: 0 auto;
  }

  /* 縦並び */
  .flex{
    flex-direction: column;
  }

  /* セクション */
  .section{
    padding: 40px 20px;
    text-align: center;
  }

  /* タイトル */
  .section-title{
    font-size: 20px;
  }
  
  .section-text{
    font-size: 14px;
    padding: 0 16px;
  }


  .flex{
    flex-direction: column;
  }

  .grid{
    grid-template-columns: 1fr;
  }

  .sp-br{
    display: block;
  }
  
   /* ハンバーガー表示 */
  .hamburger {
    display: block;
  }

  /* ナビ初期状態 */
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    padding: 20px;
  }

  /* activec */
  .nav.active {
    display: block;
  }

  .nav ul {
    list-style: none;
    padding: 0;
  }

  .nav li {
    margin-bottom: 16px;
  }


  /* FV */
  .fv-inner {
    flex-direction: column;
  }

  .fv-image,
  .fv-content {
    width: 100%;
  }
  
  .about-inner{
    grid-template-columns: 1fr;
  }


  /* カード */
  .card{
    padding: 16px;
  }


  .card-list {
    grid-template-columns: 1fr;
  }
  .card-wrap {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }


  .icon-list{
    flex-direction: column;
    gap: 24px;
  }

  /* ナビ */
  .navi {
    display: none;
  }

  .member-list{
    grid-template-columns: 1fr;
  }

  .member-role{
    font-size: 13px;
  }

  /* フロー */
  .flow-list {
    flex-direction: column;
    gap: 16px;
  }

  .flow-list li {
    margin: 0;
  }

  .flow-text {
    padding: 20px 16px;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
  }
  
  .footer-list {
    flex-direction: column;
    gap: 8px;
  }


}