/*================================================================================================================================
共通のスタイル
================================================================================================================================*/
/* 重なり順 */
header {
  z-index: 100;
}

/* フォント */
body {
  font-family: "FOT-筑紫B丸ゴシック Std", "Source Sans Pro", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
}

/* ヘッダー */
/* ハンバーガーメニュー */
.btn {
  /* ボタンの配置位置  */
  position: fixed;
  z-index: 90;
  height: auto;
}

/* メニューのスタイリング */
.menu {
  /* メニューを縦に */
  display: flex;
  flex-direction: column;
  position: fixed;
  /* メニューの位置マイナス指定で画面外に */
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #F29E49;
  color: #fff;
  transition: .3s;
  padding: 100px 0;
  z-index: 80;
  overflow: hidden;
}

.menu-list {
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 10%;
  font-size: 24px;
  margin: 10px auto;
  z-index: 70;
}

.menu-list:hover {
  background-color: rgba(255, 255, 255, .5);
  color: #333;
  cursor: pointer;
  transition: .3s;
}

/***** メニューオープン時位置0にして画面内に *****/
.menu.open {
  position: absolute;
  right: 0;
}

.menu-list > a {
  text-decoration: none;
}

.menu-list > a:link {
  color: #fff;
}

.menu-list > a:visited {
  color: #fff;
}

.menu-list > a:hover {
  color: #fff;
  text-decoration: underline;
}

.menu-list > a:active {
  color: #fff;
}

/* Page Top */
#pagetop{
  position:fixed;
  right:10px;
  bottom:0px;
  cursor:pointer;
  z-index: 100;
}

/* メイン */
body {
  width: 100%;
  background-color: #FCFBEA;
}

img {
  max-width: 100%;
}

/* メインビジュアル */
#main-visual > img{
  width: 100%;
}

/* 見出し */
.index-h3 {
  color: #281205;
  text-align: center;
}

.index-h4 {
  color: #F29E49;
  text-align: center;
}

.experience-h4 {
  padding: 24px 0;
}

.voice-h4 {
  color: #F29E49;
  text-align: left;
}

.program-flow-h4 {
  color: #F29E49;
  text-align: left;
  margin: 8px 0;
}

/* 不安 */
#anxiety {
  margin: 80px auto 0 auto;
  padding-bottom: 160px;
  position: relative;
}

#anxiety > div {
  text-align: center;
}

#anxiety > h3 {
  margin: 32px 0;
}

#anxiety-h2 {
  color: #F29E49;
  text-align: center;
  margin-bottom: 32px;
}

#anxiety-bg {
  bottom: 0;
  position: absolute;
  z-index: -1;
}

/* 解決 */
#solve-sb {
  position: relative;
  z-index: 11;
}

#solve {
  background-color: hsl(50, 92%, 90%);
  position: relative;
  z-index: 10;
}

#solve-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#solve-sb > img {
  position: absolute;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

#solve > div {
  width: 100%;
  height: 100%;
}

.solve-item {
  display: block;
  padding: 0;
}

.solve-item > div > h4 {
  padding: 24px 0;
}

.solve-item > div > p {
  text-align: left;
}

#experience-header {
  position: relative;
}

#experience-img {
  position: absolute;
  width: 100%;
}

#experience-sb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

#experience {
  position: relative;
}

#experience-bg {
  position: absolute;
  bottom: -16px;
  right: 24px;
  z-index: 11;
}

.experience-item {
  position: relative;
  display: block;
  padding: 0;
}

.experience-item > div {
  background-color: #fff;
  border: 4px solid #F29E49 ;
  border-radius: 15px;
}

.experience-sb {
  position: absolute;
}

#voice {
  background-color: #fff;
  padding: 24px 0 32px 0;
  position: relative;
}

#contact > div {
  background-color: #F29E49;
  color: #fff;
  z-index: 11;
}

footer {
  background-color: #000;
  color: #fff;
}

.footer-address-td {
  color: #fff;
  font-size: 16px;
}

.footer-link-td > a {
  text-decoration: none;
}

.footer-link-td > a:link {
  color: #fff;
}

.footer-link-td > a:visited {
  color: #fff;
}

.footer-link-td > a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-link-td > a:active {
  color: #fff;
}

.tab {
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  border-radius: 15px;
}

.tablist.active {
  background: #F29E49;
  color: #fff;
}

.tablist {
  flex: 1 1 49%;
  list-style-type: none;
  background: #fff;
  color: #F29E49;
  text-align: center;
  cursor: pointer;
}

.tablist-first {
  border: 4px solid #F29E49;
  border-radius: 10px 0 0 10px;
}

.tablist-second {
  border: 4px solid #F29E49;
  border-radius: 0 10px 10px 0;
}

.program-item {
  background-color: #FEFDF6;
  border: 4px solid #F29E49 ;
  border-radius: 15px;
  padding: 16px 0;
  position: relative;
}

.program-item-bg1 {
  position: absolute;
  top: -64px;
  left: 8px;
}

.program-item-bg2 {
  position: absolute;
  bottom: 8px;
  right: -56px;
}

.program-item > table {
  margin: 0 auto;
  text-align: left;
  display: inline-block;
}

.program-item-th, .program-item-td {
  color: #F29E49;
  border-bottom: 1px dotted #F29E49 ;
}

.tabcontents-list {
  text-align: center;
}

.program-flow-item {
  background-color: #FEFDF6;
  border: 4px solid #F29E49 ;
  border-radius: 15px;
}

.program-flow-text > p {
  text-align: left;
}

.program-flow-table {
  color: #F29E49;
  text-align: left;
}

.program-flow-th {
  border-bottom: 1px dotted #F29E49 ;
}

.program-flow-td {
  border-bottom: 1px dotted #F29E49 ;
}

.program-day-td {
  font-size: 16px;
}

/*================================================================================================================================
PC用のスタイル
=================================================================================================================================*/
@media screen and (min-width:521px) {
  /* スマホ用の改行は無効 */
  .br-sp {
    display: none;
   }
  /* スマホ用フッター非表示 */
  #footer-link-sp {
    display: none;
  }

  .btn {
    top: 16px;
    right: 16px;
    width: 88px;
  }

  /* 見出し */
  .index-h3 {
    font-size: 36px;
  }

  .index-h4 {
    font-size: 20px;
  }

  .voice-h4 {
    font-size: 20px;
  }

  .program-flow-h4 {
    font-size: 20px;
  }

  #anxiety-h2 {
    font-size: 30px;
  }

  #anxiety-flex {
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  #anxiety-flex > img {
    /* margin: 0 35px; */
    margin: 0 2vw;
    padding: 0;
  }

  #anxiety-bg {
    right: 80px;
  }

  #solve-sb > img {
    top: -40px;
    left: 50%;
  }

  #solve > div {
    padding: 120px 0 100px 0;
    display: flex;
    justify-content: center;
  }

  .solve-item {
    width: 400px;
    margin: 0 35px;
  }

  .solution {
    width: 305px;
    height: 236px;
  }

  #experience-sb {
    top: 368px;
}

  #experience {
    padding: 480px 0 120px 0;
  }

  #experience-container {
    display: flex;
    justify-content: center;
  }

  .experience-item {
    width: 520px;
    margin: 0 35px;
  }

  .experience-sb {
    bottom: -96px;
    right: 0;
  }

  #voice-bg {
    position: absolute;
    bottom: -16px;
    left: 0;
  }

  .voice-item-left, .voice-item-right {
    margin: 32px 0;
  }

  .voice-item-left > div, .voice-item-right > div {
    margin: 0 16px;
  }

  .voice-item-left {
    display: flex;
    justify-content: left;
    margin-left: 80px;
  }

  .voice-item-left > img {
    width: 20%;
    height: auto;
  }

  .voice-item-right {
    display: flex;
    justify-content: right;
    margin-right: 80px;
  }

  .voice-item-right > img {
    width: 20%;
    height: auto;
  }

  #btn-other-voice {
    text-align: center;
    margin: 34px auto 110px auto;
  }

  #sb-orange3 {
    text-align: center;
  }

  #charm {
    margin: 100px auto;
  }

  #charm > img {
    margin: 81px auto 65px auto;
  }

  #charm-header {
    display: flex;
    justify-content: center;
    margin: 66px auto 110px auto;
  }

  #charm-header-main {
    position: relative;
  }

  #charm-header-bg1 {
    position: absolute;
    bottom: -40px;
    left: -16px;
    z-index: 11;
  }

  #charm-header-bg2 {
    position: absolute;
    top: -40px;
    right: 24px;
    z-index: 11;
  }

  #charm-header > p {
    margin: 0 0 0 30px;
    width: 50%;
  }

  #charm-title {
    position: relative;
  }

  #charm-h3 {
    z-index: 11;
  }

  #charm-bg-orange {
    position: absolute;
    bottom: -8px;
    /* right: 320px; */
    right: 20vw;
    z-index: -1;
  }

  #charm-item-container {
    margin-bottom: 100px;
    position: relative;
  }

  #charm-item-container > div {
    margin: 100px auto;
  }

  #charm-bg-ehime {
    position: absolute;
    z-index: 10;
    bottom: 0;
    right: 0;
  }

  #charm-bg-mountain {
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
  }

  .charm-item-left, .charm-item-right {
    position: relative;
    width: 760px;
    margin: 0 0 80px 0;
    display: flex;
    justify-content: center;
    z-index: 11;
  }

  .charm-item-left > div > p, .charm-item-right > div > p {
    text-align: left;
    padding: 24px 0 0 0;
  }

  .charm-item-left > div {
    margin: 0 0 0 43px;
  }

  .charm-item-right > div {
    margin: 0 43px 0 0;
  }

  .charm-item-sb-left {
    width: 80px;
    height: auto;
    position: absolute;
    top: -48px;
    left: 52px;
  }

  .charm-item-sb-right {
    width: 80px;
    height: auto;
    position: absolute;
    top: -24px;
    right: 16px;
  }

  #migrants {
    max-width: 1000px;
    /* height: 128px; */
    height: 168px;
    display: flex;
    border: 4px solid #F29E49 ;
    border-radius: 15px;
    margin: 0 auto;
    padding: 16px;
    position: relative;
    background-color: #fff;
  }

  #migrants-sb {
    position: absolute;
    top: -56px;
    left: -40px;
    z-index: 11;
  }

  #migrants-img {
    /* position: absolute; */
    z-index: 10;
  }

  #migrants > p {
    /* position: absolute; */
    top: 24px;
    right: 24px;
    max-width: 752px;
    text-align: left;
    color: #F29E49;
    font-weight: bold;
    margin-left: 1vw;
  }

  #introduction {
    padding: 64px 0;
    background-color: #fff;
    position: relative;
  }

  #introduction-bg {
    position: absolute;
    bottom: 0;
    right: 40px;
  }

  #introduction-container {
    margin: 0 auto;
    padding-top: 56px;
    display: flex;
    justify-content: center;
    max-width: 1080px;
  }

  #introduction-container > p {
    max-width: 536px;
    margin: 0;
    padding-left: 64px;
    text-align: left;
  }

  #contact {
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  #contact > div {
    width: 40%;
    /* padding: 32px 80px 24px 64px; */
    padding: 2vw 4vw;
    position: relative;
  }

  #contact-bg {
    position: absolute;
    top: -28px;
    right: 72px;
    z-index: -1;
  }

  #contact > iframe {
    width: 60%;
    height: auto;
  }

  #contact-img {
    margin: 20px 0 0 40px;
  }

  #contact-h2 {
    color: #fff;
    font-size: 30px;
  }

  #contact-p {
    color: #fff;
    font-size: 16px;
    margin: 20px 0;
  }

  .contact-table {
    margin: 10px;
  }

  .contact-table-td {
    border-bottom: 1px solid #fff;
    font-size: 20px;
    padding-top: 20px;
  }

  #access-map {
    width: 100%;
    height: auto;
  }

  footer > div {
    display: flex;
    justify-content: center;
  }

  #footer-main {
    padding: 64px 0;
    flex-grow: 1;
  }

  #footer-logo {
    margin-right: 20px;
  }

  #footer-address {
    max-width: 348px;
    margin-right: 150px;
  }

  #footer-address-th {
    font-size: 40px;
    text-align: left;
  }

  .footer-link-table {
    margin-right: 200px;
    padding: 20px 0;
  }

  .footer-link-td {
    padding-right: 30px;
  }

  #sns-footer {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  /* 体験プログラムページ */
  /* body */
  #program-body {
    background-image: url("images/bg/program-bg.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% auto;;
  }

  /* ヘッダー */
  #program-title {
    width: 560px;
    margin: 80px auto;
    position: relative;
  }

  #program-title-bg {
    position: absolute;
    top: -56px;
    right: 0px;
  }

  #program-title > h2 {
    font-size: 36px;
    text-align: center;
    margin: 32px 0;
  }

  #program-title > p {
    text-align: center;
  }

  /* メイン */
  #program-main {
    width: 1080px;
    margin: 0 auto;
  }

  .tab {
    height: 80px;
    line-height: 80px;
  }

  .tablist > h3 {
    font-size: 24px;
  }

  .program-item {
    margin: 80px auto;
  }

  .program-item > h3 {
    font-size: 26px;
    padding: 24px 0;
  }

  .program-item > p {
    margin: 48px 0;
  }

  .program-item > a > img {
    margin: 12px 0 48px 0;
  }

  .program-item-th {
    padding: 8px 54px 8px 0;
  }

  .program-item-td {
    padding: 8px 96px 8px 0;
  }

  /* プランの流れ */
  .program-flow-item {
    display: flex;
    justify-content: left;
    position: relative;
    margin: 80px auto;
    padding: 24px;
  }

  /* .triangle::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-left: 4em solid #F29E49;
    position: absolute;
    z-index: 10;
  }
  .triangle::after {
    content: "1";
    display: block;
    top: 5px;
    color: #fff;
    left: 15px;
    position: absolute;
    z-index: 11;
  } */

  .program-flow-text {
    margin: 0 32px;
  }

  .program-flow-text > p {
    max-width: 640px;
  }

  .program-flow-text > img {
    margin: 8px 0;
  }

  .program-flow-img {
    width: 320px;
    height: auto;
  }

  #program-flow-img-block {
    width: 340px;
  }

  .program-flow-table {
    margin: 0 auto;
  }

  .program-flow-th {
    width: 160px;
    font-size: 18px;
    padding: 24px 0;
  }

  .program-flow-td {
    font-size: 16px;
  }

  .program-day-td {
    font-size: 16px;
    padding: 0 32px 8px 16px;
  }
}

/*================================================================================================================================
タブレット用のスタイル
================================================================================================================================*/
@media screen and (max-width:1024px) {
  .solution {
    height: initial;
  }

  .experience-sb {
    bottom: -13vh;
    right: -2vw;
  }

  #migrants-sb {
    left: 0px;
  }

  #introduction-container {
    display: block;
    text-align: center;
  }
  #introduction-container > img {
    height: 100%;
  }
  #introduction-container > p {
    margin: 2vh auto;
    padding: 0;
  }

  #contact > div {
    width: initial;
    padding: 2vw;
  }

  #contact-bg {
    top: -5vh;
    right: 2%;
    width: 25%;
  }

  #footer-address {
    margin-right: 5vw;
  }
  .footer-link-table {
    margin-right: 1vw;
    padding: 20px 0;
  }

  .footer-link-td {
    padding-right: 1vw;
  }

  #program-main {
    width: initial;
  }
  .program-item-bg2 {
    right: 0;
  }
}

/*================================================================================================================================
スマホ用のスタイル
================================================================================================================================*/
@media screen and (max-width: 520px) {
  * {
    float: none;
    position: static;
  }

  /* PC用フッター非表示 */
  #footer-link-pc {
    display: none;
  }

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

  main {
    width: 100%;
  }

  .btn {
    width: 44px;
    top: 4px;
    right: 4px;
  }

  /* 見出し */
  .index-h3 {
    font-size: 24px;
  }

  .index-h4 {
    font-size: 18px;
  }

  .voice-h4 {
    font-size: 18px;
  }

  .program-flow-h4 {
    font-size: 16px;
  }

  #anxiety-h2 {
    font-size: 24px;
  }

  #anxiety {
    width: 90%;
    z-index: -1;
  }

  #anxiety-flex > img {
    margin: 24px 0;
    padding: 0;
  }

  #anxiety-bg {
    width: 25%;
    bottom: 32px;
    right: 16px;
  }

  #solve-bg {
    width: 25%;
  }

  #solve-sb > img {
    width: 95%;
    top: -24px;
    left: 50%;
  }

  #solve > div {
    padding: 64px 0 80px 0;
  }

  .solve-item {
    margin: 24px 35px;
  }

  #experience {
    width: 90%;
    margin: 0 auto;
  }
  
  #experience-sb {
    width: 95%;
    top: 72px;
}

  #experience {
    padding: 160px 0 64px 0;
  }

  #experience-bg {
    width: 20%;
  }

  .experience-item {
    margin: 0 16px 96px;
  }

  .experience-sb {
    width: 40%;
    bottom: -80px;
    right: -16px;
  }

  #voice {
    padding: 5%;
  }

  .voice-item-left, .voice-item-right {
    text-align: center;
    margin: 20% 0;
  }

  .voice-item-left > div > p, .voice-item-right > div > p {
    text-align: left;
  }

  .voice-h4 {
    text-align: center;
    margin: 5% 0;
  }

  .voice-item-right {
    display: flex;
    flex-direction: column;
  }

  .voice-item-right > img {
    order: 1;
    width: 50%;
    margin: 0 auto;
  }

  .voice-item-right > div {
    order: 2;
  }

  #voice-bg {
    width: 25%;
    margin-top: 10%;
  }

  #charm {
    width: 90%;
    margin: 0 auto;
  }

  /* 背景画像を非表示 */
  #charm-header-bg1, #charm-header-bg2, #charm-bg-orange, #charm-bg-ehime, #charm-bg-mountain, #introduction-bg, #contact-bg, #program-title-bg, .program-item-bg1, .program-item-bg2 {
    display: none;
  }

  #charm-header {
    margin-bottom: 10%;
  }

  #charm-header-main > img {
    margin: 5% 0;
  }

  .charm-item-left, .charm-item-right {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 11;
    margin: 20% 0;
    text-align: center;
  }

  .charm-item-left > div > h4, .charm-item-right > div > h4 {
    margin: 5% 0;
  }

  .charm-item-left > div > p, .charm-item-right > div > p {
    text-align: left;
  }

  .charm-item-right {
    display: flex;
    flex-direction: column;
  }

  #charm-item-right-sub1 {
    order: 2;
  }

  #charm-item-right-sub2 {
    order: 1;
  }

  .charm-item-sb-left {
    width: 80px;
    height: auto;
    position: absolute;
    top: -40px;
    left: 16px;
  }

  .charm-item-sb-right {
    width: 80px;
    height: auto;
    position: absolute;
    top: -24px;
    right: 64px;
  }

  #migrants {
    height: 380px;
    display: flex;
    border: 4px solid #F29E49 ;
    border-radius: 15px;
    margin: 0 auto 80px auto;
    padding: 16px;
    position: relative;
    background-color: #fff;
  }

  #migrants-sb {
    position: absolute;
    top: -32px;
    left: 40px;
    z-index: 11;
  }

  #migrants-img {
    position: absolute;
    z-index: 10;
    left: 25%
  }

  #migrants > p {
    position: absolute;
    top: 160px;
    max-width: 752px;
    text-align: left;
    color: #F29E49;
    font-weight: bold;
  }

  #introduction {
    width: 90%;
    margin: 0 auto;
  }

  #introduction-container > img {
    margin: 24px auto;
  }

  #introduction-container > p {
    margin-bottom: 40px;
  }

  #contact {
    margin: 0 auto;
    text-align: center;
  }

  #contact > div {
    padding: 32px auto;
  }

  #contact > iframe {
    width: 90%;
    height: 240px;
    margin: 24px auto;
  }

  #contact-img {
    margin: 20px auto;
  }

  #contact-h2 {
    color: #fff;
    font-size: 30px;
  }

  #contact-p {
    color: #fff;
    font-size: 16px;
    margin: 20px 0;
  }

  .contact-table {
    margin: 10px auto;
    text-align: left;
  }

  .contact-table-td {
    border-bottom: 1px solid #fff;
    font-size: 16px;
    padding-top: 20px;
  }

  #footer-main {
    padding: 32px 0;
    flex-grow: 1;
    position: relative;
  }

  #footer-logo {
    position: absolute;
    top: 64px;
    left: 48px;
  }

  #footer-logo > img {
    width: 80%;
  }

  #footer-address {
    text-align: center;
    padding: 24px 0;
  }

  #footer-address > table {
    margin: auto;
  }

  #footer-address-th {
    font-size: 32px;
    padding: 16px 0;
  }

  .footer-link-table {
    margin: auto;
  }

  #sns-footer {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  #program-body > header {
    margin-bottom: 5%;
  }
  #program-header-title {
    width: 85%;
  }

  #program-title {
    width: 90%;
    text-align: center;
    margin: 0 auto 40px auto;
  }

  #program-title > h2 {
    /* font-size: 36px; */
    text-align: center;
    margin: 32px 0;
  }

  .tab {
    width: 90%;
    line-height: 40px;
    margin: 24px auto;
  }

  .tablist > h3 {
    font-size: 20px;
  }

  .program-item {
    width: 90%;
    margin: 32px auto;
    padding: 16px 8px;
    position: relative;
    text-align: center;
  }

  .program-item > h3 {
    font-size: 24px;
    padding: 12px 0;
  }

  .program-item > p {
    margin: 24px 0;
  }

  .program-item > a > img {
    margin: 12px 0;
  }

  .program-item-th {
    width: 25%;
    padding: 8px auto;
  }

  .program-item-td {
    padding: 8px auto;
  }

  .program-flow-item {
    width: 90%;
    margin: 32px auto;
    padding: 12px;
  }

  .program-flow-table {
    margin: 10% auto;
  }

  .program-flow-th {
    width: 144px;
    font-size: 18px;
    padding: 24px 0;
  }

  .program-flow-td {
    font-size: 16px;
  }

  .program-day-td {
    font-size: 16px;
    padding: 8px 0 8px 8px;
    border-bottom: 1px dotted #F29E49 ;
  }

  .program-flow-h4 {
    text-align: center;
  }
}