@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Opti:wght@400;500;700&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');


/* bodyのカラー */
.subpage_fpf {
  background-color: #fff;
}

.subpage_fpf .inner {
  width: 85%;
}

/* メインビジュアル文字 */
.title_small {
  font-size: 1.1rem;
}

.subpage .funpanfan_main_visual {
  height: 25vh;
  background-image: url(../images/funpanfan_main_visual.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 8rem;
}

.subpage .funpanfan_main_visual h2 {
  text-shadow: 4px 4px 4px rgba(106, 81, 41, .8);
}

/* 導入 */
.funpanfan_greeting {
  margin-top: 3rem;
  padding-bottom: 5rem;
  max-width: 850px;
  position: relative;
}

.funpanfan_greeting::before {
  content: "";
  background-image: url(../images/index_concept_arrow.png);
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  left: 50%;
  height: calc(160px / 2);
  width: calc(2400px / 2);
  max-width: 100%;
  transform: translate(-50%, 100%);
  background-size: 100% auto;
}

.funpanfan_greeting_title {
  font-size: clamp(1.2rem, 1.019rem + 0.91vw, 1.5rem);
  font-weight: 800;
  font-family: 'Zen Maru Gothic', serif;

}

.funpanfan_greeting_text {
  margin-top: 1.5rem;
  font-weight: 500;
  text-align: justify;
}

/* パン屋さん応援メニュー */
.funpanfanmenu {
  background-image: url(../images/stripe030.png);
  background-size: 200%;
  background-position: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.funpanfanmenu_wrap {
  max-width: 500px;
  width: 85%;
  background-color: var(--sub_color);
  border-radius: 0.2rem;
  margin-right: auto;
  margin-left: auto;
  padding: 2rem 1rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.funpanfanmenu_wrap::after {
  display: block;
  content: "";
  border: 3px dotted var(--sub_color);
  border-radius: 0.2rem;
  width: 100%;
  height: 100%;
  position: absolute;
  padding: 0.35rem 0.4rem;
  top: -0.5rem;
  left: -0.5rem;
  z-index: 0;
}

.funpanfanmenu_title {
  text-align: center;
  position: relative;
  font-size: 1.5rem;
  font-family: 'Kaisei Opti', serif;
  white-space: nowrap;
  max-width: 270px;
  margin-right: auto;
  margin-left: auto;
}

.funpanfanmenu_title::after {
  display: block;
  margin-right: auto;
  margin-left: auto;
  content: "";
  background-image: url(../images/line.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  max-width: 270px;
  height: 90px;
  position: absolute;
  top: -0.2rem;
  left: 0.2rem;
  right: 0;
}

.funpanfanmenu_list {
  list-style-type: disc;
  padding-left: 0.5rem;
  max-width: 450px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.funpanfanmenu_list li {
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 1rem;
  max-width: 300px;
  margin-right: auto;
  margin-left: auto;
}

.funpanfanmenu_list li a:hover {
  color: #fff;
  transition: all .4s;
}

/* メニュー詳細 */
.program {
  background-color: var(--subbg_color);
}

.program_title {
  font-size: clamp(1.2rem, 0.717rem + 2.42vw, 2rem);
}

.program_box {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--subbg_color);

}

.program_box p {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 1.5rem;
  text-align: justify;
  line-height: 1.7;
}

.program_box02 {
  background-color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.program_title {
  padding-left: 6rem;
  position: relative;
}

.program_title01::before {
  display: block;
  content: "";
  background-image: url(../images/ste010.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  margin-top: auto;
  margin-bottom: auto;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
}

.program_title02::before {
  display: block;
  content: "";
  background-image: url(../images/ste020.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  margin-top: auto;
  margin-bottom: auto;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
}

.program_title03::before {
  display: block;
  content: "";
  background-image: url(../images/ste030.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  margin-top: auto;
  margin-bottom: auto;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
}

.program_title04::before {
  display: block;
  content: "";
  background-image: url(../images/ste040.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  margin-top: auto;
  margin-bottom: auto;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
}

.program_title05::before {
  display: block;
  content: "";
  background-image: url(../images/sapo0.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  margin-top: auto;
  margin-bottom: auto;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
}

/* お客様の声 */
.fpfVoice {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-image: url(../images/stripe030.png);
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
}

.fpfVoice_title {
  text-align: center;
  font-size: clamp(1.5rem, 0.896rem + 3.02vw, 2.5rem);
}

.fpfVoice_title .hed {
  font-size: clamp(2.5rem, 1.896rem + 3.02vw, 3.5rem);
}

.fpfVoice_wrap {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.fpfVoice_text {
  max-width: 400px;
  width: 85%;
  text-align: justify;
}

.fpfVoice_img {
  max-width: 400px;
  width: 85%;
  margin-top: 3rem;
}

.fpfVoice_img img {
  margin-bottom: 1.5rem;
  border-radius: 50%;
}

.fpfVoice_img h4 {
  font-size: clamp(1.1rem, 0.955rem + 0.73vw, 1.5rem);
}

.Instagram {
  text-align: right;
  margin-right: 1rem;
  font-weight: 700;
}

.Instagram a:hover {
  color: var(--sub_color);
  transition: all .4s;
  transform: scale(1.05, 1.05)
}

/* 開発者の想い */
.development {
  margin-top: 3rem;
  max-width: 850px;
  width: 85%;
  padding-bottom: 5rem;
  position: relative;
}

.development::before {
  content: "";
  background-image: url(../images/index_concept_arrow.png);
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0.01rem;
  left: 50%;
  height: calc(160px / 2);
  width: calc(2400px / 2);
  max-width: 100%;
  transform: translate(-50%, 100%);
  background-size: 100% auto;
}

.development_title {
  text-align: center;
  font-size: clamp(1.5rem, 0.896rem + 3.02vw, 2.5rem);
}



.development_text {
  margin-top: 1.5rem;
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.8;
  text-align: justify;
}

/* 開発者プロフィール */

.developmentProfile {
  padding-top: 5rem;
  padding-bottom: 2rem;
  background-color: var(--subbg_color);
}

.developmentProfile_title {
  text-align: center;
  font-size: clamp(1.2rem, 0.717rem + 2.42vw, 1.8rem);
}

.developmentProfile_title::first-letter {
  font-size: clamp(2.5rem, 1.896rem + 3.02vw, 3.5rem);
}

.developmentProfile_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.developmentProfile_item {
  max-width: 400px;
  width: 85%;
  margin-top: 1.5rem;
  margin-right: auto;
  margin-left: auto;
  text-align: justify;
  gap: 2rem;
}

.developmentProfile_item img {
  border-radius: 50%;
}

.developmentProfile_subtitle {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.developmentProfile_name {
  font-size: clamp(1.2rem, 0.717rem + 2.42vw, 1.8rem);
  letter-spacing: 0.1rem
}

.developmentProfile_text {
  margin-top: 0.5rem;
}

.FUN_PAN_FAN {
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-right: auto;
  margin-left: auto;
  width: 250px !important;
  text-align: center;
  position: relative;
  z-index: 2;
}

.FUN_PAN_FAN a {
  padding: 18px 24px 18px 0;
}

.subpage_fpf .scroll-infinity__wrap {
  margin-top: 1rem;
}





@media(min-width: 850px) {

  /* main_visualPC */
  .subpage .funpanfan_main_visual {
    height: 30vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 8rem;
  }

  /* 導入 */

  .funpanfan_greeting {
    margin-top: 5rem;
  }

  /* パン屋さん応援メニュー */
  .funpanfanmenu {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .funpanfanmenu_wrap {
    padding-top: 6rem;
    padding-bottom: 6rem;

  }

  .funpanfanmenu_title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    max-width: 440px;
    padding-bottom: 1rem;
  }

  .funpanfanmenu_title::after {
    display: block;
    content: "";
    background-image: url(../images/linelong.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    max-width: 450px;
    height: 90px;
    position: absolute;
    margin-right: auto;
    margin-left: auto;
    top: 1rem;
    left: 0;
    right: 0;
  }

  .funpanfanmenu_list {
    margin-top: 2.5rem;
    font-weight: 500;

  }

  .funpanfanmenu_list li {
    font-size: 1.1rem;

  }

  .GIFanime a {
    position: relative;
  }

  .GIFanime a::after {
    content: "";
    background-image: url(../images/pangif.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 125px;
    height: 51px;
    position: absolute;
    top: calc(100% - 150%);
    right: calc(100% - 185%);
  }

  /* メニュー詳細 */
  .program {
    padding-top: 3rem;
  }

  .program_wrap {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
  }

  /* お客様の声 */
  .fpfVoice {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .fpfVoice_wrap {
    flex-direction: row;
    gap: 3rem;
    line-height: 1.8;
    letter-spacing: 0.05rem;
  }

  .development {
    margin-top: 7rem;
  }

  /* 開発者プロフィール */

  .developmentProfile_wrap {
    flex-direction: row;
    align-items: flex-start;
    margin-top: 3rem;
    gap: 3rem;
  }

  .developmentProfile_item {
    margin: 0;
  }

  .FUN_PAN_FAN {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

}


/* タブ切り替え */
/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/2);
  height: 50px;
  border-bottom: 3px solid var(--font_color);
  background-color: var(--bgbg_color);
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  border-radius: 1rem 1rem 0 0;
}

.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 0 0;
  clear: both;
  overflow: hidden;

}

#programming_content {
  background-color: var(--bgbg_color);
}

/*選択されているタブのコンテンツのみを表示*/
#all:checked~#all_content,
#programming:checked~#programming_content,
#design:checked~#design_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
  background-color: var(--font_color);
  color: #fff;
}