@charset "UTF-8";

:root {
  --font-base: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "メイリオ", sans-serif;
  /* フォントサイズ */
  --fs-xl: clamp(4rem, 3.545rem + 1.455vw, 5rem);
  --fs-lg: clamp(2rem, 1.545rem + 1.455vw, 3rem);
  --fs-md: calc((var(--fs-lg) + var(--fs-sm)) / 2);
  --fs-sm: clamp(1.2rem, 1.064rem + 0.436vw, 1.5rem);
  --fs-base: clamp(0.9rem, 0.855rem + 0.145vw, 1rem);
  --fs-mini: clamp(0.7rem, 0.655rem + 0.145vw, 0.8rem);

  /* カラー */
  --c_key: #65177e;
  --c_tx: #222222;
  --c_white: #fff;
  --c_white_rgb: 255, 255, 255;
  --c_black_rgb: 0, 0, 0;
  --c_grey: #ccc;
  --header-height: 60px;
  /* 固定バナーの高さを計測するまでの下余白 */
  --partner-height: calc(70px + 5.25rem + env(safe-area-inset-bottom, 0px));
}
html {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 16px;
    color: var(--c_tx);
}

body {
    font-size: var(--fs-base);
    overflow-x: hidden;
}

/* --------------------------------------
基本設定
---------------------------------------*/
a {
    text-decoration: none;
    transition: 0.5s;
}
a:hover,a p:hover {
    color: #fd6f17;
    transition: 0.5s;
}
a img:hover {
    opacity: 0.7;
    transition: 0.5s;
}
li {
    list-style: none;
}
img {
    width: 100%;
    height: auto;
}

@media screen and (min-width: 768px){
    .sp {
        display: none!important;
    }
}
@media screen and (max-width: 768px){
    .pc {
        display: none!important;
    }
}


/* --------------------------------------
文字
---------------------------------------*/
h1,h2,h3,h4 {
  font-feature-settings: "palt";
  font-weight: 900;
}
h1 {
  font-size: var(--fs-xl);
}
h2 {
  font-size: var(--fs-lg);
}
h3 {
  font-size: var(--fs-md);
}
h4 {
  font-size: var(--fs-sm);
}
p {
  font-size: var(--fs-base);
  font-weight: 400;
  font-feature-settings: "palt";
  line-height: 2;
}
.text_title {
  font-weight: 700;
  font-size: var(--fs-sm);
}
p.indent_text {
  padding-left: 1em;
  text-indent: -1em;
  text-align: justify;
}
.wt {
  color: var(--c_white);
}
.mini {
  font-size: var(--fs-mini);
}

/* --------------------------------------
テキストリスト
---------------------------------------*/
.text_list {
    display: grid;
    gap: var(--mgn2rem);
}

.text_list > li > .text_list {
    gap: calc(var(--mgn1rem) *1.5);
}

.text_list > li > h3 {
    margin-bottom:var(--mgn1rem);
    font-size: calc(var(--fs-sm) *1.1);
    font-weight: 600;
}
.text_list > li > h4 {
    margin-bottom: calc(var(--mgn1rem) / 2);
    font-size: calc(var(--fs-base) *1.2);
}
.text_list > li > h4:first-child {
    margin-top: 0;
}

/* --------------------------------------
 マージン
---------------------------------------*/
:root {
  --mgn5rem: clamp(3rem, 2.091rem + 2.909vw, 5rem);
  --mgn4rem: clamp(2.5rem, 1.818rem + 2.182vw, 4rem);
  --mgn3rem: clamp(2rem, 1.545rem + 1.455vw, 3rem);
  --mgn2rem: clamp(1.5rem, 1.273rem + 0.727vw, 2rem);
  --mgn1rem: clamp(0.7rem, 0.564rem + 0.436vw, 1rem);
}
.mgn5rem {
  width: 100%;
  height: var(--mgn5rem);
}
.mgn4rem {
  width: 100%;
  height: var(--mgn4rem);
}
.mgn3rem {
  width: 100%;
  height: var(--mgn3rem);
}
.mgn2rem {
  width: 100%;
  height: var(--mgn2rem);
}
.mgn1rem {
  width: 100%;
  height: var(--mgn1rem);
}


/* --------------------------------------
セクション・文字幅
---------------------------------------*/
section {
  height: auto;
  width: 100%;
  padding: 100px 0;
  overflow: hidden;
}
section._01 {
  height: auto;
  width: 100%;
  padding: 100px 0 0;
  overflow: hidden;
}
section._02 {
  height: auto;
  width: 100%;
  padding: 0 0 100px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  section {
    height: auto;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
  }
  section._01 {
    height: auto;
    width: 100%;
    padding: 80px 0 0;
    overflow: hidden;
  }
  section._02 {
    height: auto;
    width: 100%;
    padding: 0 0 80px;
    overflow: hidden;
  }
}

.sec_inner {
    width: 96%;
    max-width: 1100px;
    height: 100%;
    margin: auto;
}
.sec_inner800 {
    width: 100%;
    max-width: 800px;
    height: 100%;
    margin: auto;
}
.sec_inner600 {
  width: 100%;
  max-width: 600px;
  height: 100%;
  margin: auto;
}
@media screen and (max-width: 768px) {
    .sec_inner {
        width: 96%;
        min-width: auto;
        height: 100%;
        margin: auto;
    }
}

/* --------------------------------------
カラム設定
---------------------------------------*/
.two_column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.left_wrap,
.right_wrap {
    width: calc(50% - 0.5rem);
}
.two_column > .full_wrap {
    width: 100%;
    margin-top: var(--mgn2rem);
}
@media screen and (max-width: 768px) {
    .two_column {
        display: block;
    }
    .left_wrap,
    .right_wrap {
        width: 100%;
    }
    .left_wrap {
        margin-bottom: var(--mgn2rem);
    }
}

/* --------------------------------------
svg
---------------------------------------*/
@media screen and (max-width: 768px) {
  svg {
    width: 100%;
    height: auto;
  }
}

/* --------------------------------------
トップへ戻る
---------------------------------------*/
/* ページ上部へ戻るボタンを指定の紫色で表示 */
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--c_key);
    border: 1px solid #fff;
    width: 50px;
    height: 50px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}

#page-top a:hover {
    border: 1px solid var(--c_key);
    background: #fff;
    color: var(--c_key);
}

/* 固定バナーの上端から10px離して配置 */
#page-top {
    pointer-events: none;
    position: fixed;
    right: 10px;
    bottom: calc(var(--partner-height) + 10px);
    z-index: 999;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
  pointer-events: auto;
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100px);
  }
}

i.fas.fa-angle-up {
  font-size: 2rem;
}

