
/* =========================================================
   Base
========================================================= */
:root {
    --container: 1200px;
    --gutter: 75px;
    --guttersp: 30px;

    --bg: #ffffff;
    --text: #202020;
    --muted: #202020;
    --line: #005BAA;

    --blue: #005BAA;
    --blue-soft: #D2E7FF;

    --card: #ffffff;
    --shadow: 0 8px 24px rgba(0, 0, 0, .16);
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

.layout-wrapper[data-bg-color="1"]>div>div {
    padding: 0;
}

body {
    margin: 0;
    min-width: 0;
}

/* ===== PC（共通 / デフォルト） ===== */

main {
    margin: 0;
    font-family: "Noto Sans JP", "Biz UDPGothic","Hiragino Kaku Gothic Pro",sans-serif;
    color: var(--text);
    padding: 0px 0px 40px;
    line-height: 1.6;
    font-size: clamp(15px, 4.5vw, 20px);
    width: 100%;
    max-width: 1208px;
    margin: auto;
    background-color: #fff;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none !important;
}

.button a:link {
    color: #005BAA;
}

.button-02 a:link {
    color: #616161;
}

.button a:hover {
    text-decoration: underline;
    text-decoration: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

br.sp {
    display: none;
}

h1 {
    font-size: clamp(30px, 4.5vw, 45px);
    line-height: 1.2;
    font-weight: bold;
}

h2 {
    font-size: clamp(20px, 4.5vw, 27px);
    line-height: 0.6;
    color: #005BAA;
    font-weight: bold;
}

h3 {
    font-size: clamp(28px, 4.5vw, 38px);
    line-height: 0.6;
    color: #fff;
    padding-top: 60px;
    margin-top: 0;
    font-weight: bold;
}

.under-bar {
    background-color: #005BAA;
    width: 90px;
    height: 2px;
    margin-top: 20px;
}

.cont-title p {
    font-size: clamp(13px, 2.5vw, 17px);
    margin-top: 15px;
}
.cont-point {
    font-weight: bold;
    font-size: clamp(14.5px, 2.5vw, 19px);
    color: #C72C21;
}

.bold {
    font-weight: bold;
}
/*--Top--*/

.top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #005BAA;
    color: #fff;
    height: 70px;
    font-weight: bold;
    font-size: clamp(15px, 2.5vw, 20px);
}

.top-visual{
    padding-left: clamp(30px, 4.5vw, 130px);
    font-weight: bold;
    background-image: url(image/fv-bk.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    padding-top: 105px;
    padding-bottom: 105px;
}

.top-visual .button-box {
    justify-content: unset;
}

.top-title-big {
    font-size: clamp(60px, 2.5vw, 80px);
}

.top-lead {
    margin: 20px 0;
    font-size: clamp(17px, 2.5vw, 20px);
}


/*--button--*/
.button-box {
    display: block;
    gap: 10px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.button-box-fv {
    justify-content: flex-start;
}

.button > span,
.button-02 > span{
  position: relative;
  z-index: 1;
}

.button,
.button-02{
  --arrow-from-right: 24px; 
  --arrow-to-right:   18px; 
  --arrow-shaft-move: 5px;  
  --arrow-delay:      .12s;
  --arrow-head-size:  .55em;
  --arrow-stroke:     2px; 
}

.button {
  position: relative;
  display: inline-block;
  padding: .6em 2.5em .6em 1.0em;  
  border: 2px solid #005BAA;
  width: 280px;
  border-radius: 100px;
  background: #ffffff;
  color: #005BAA;
  font-size: clamp(14px, 1.1vw + 12px, 16px);
  line-height: 1.15;
  font-weight: bold;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.button-02{
  position: relative;
  display: inline-block;
  padding: .6em 2.5em .6em 3.5em; 
  border: 2px solid #616161;
  width: 280px;
  border-radius: 100px;
  background: #ffffff;
  color: #616161;
  font-size: clamp(14px, 1.1vw + 12px, 16px);
  line-height: 1.15;
  font-weight: bold;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.button::before,
.button-02::before{
  content:"";
  position: absolute;
  top: 50%;
  right: var(--arrow-from-right);
  width: 15px;
  height: var(--arrow-stroke);
  background: currentColor;
  opacity: 0;
  transform: translateY(-50%) translateX(0);
  transition:
    opacity .15s ease 0s,
    transform .25s ease var(--arrow-delay);
}

.button::after,
.button-02::after{
  content:"";
  position: absolute;
  top: 50%;
  right: var(--arrow-from-right);
  width: var(--arrow-head-size);
  height: var(--arrow-head-size);
  border-top: var(--arrow-stroke) solid currentColor;
  border-right: var(--arrow-stroke) solid currentColor;
  opacity: 0;
  transform: translateY(-50%) rotate(45deg);
  transition:
    opacity .15s ease 0s,
    right .20s ease var(--arrow-delay);
}

/* ボタン反転（青） */
.button:hover,
.button:focus-visible{
  background: #005BAA;
  color: #fff;
  border-color: #005BAA;
  outline: none;
}

/* ボタン反転（グレー） */
.button-02:hover,
.button-02:focus-visible{
  background: #616161;
  color: #fff;
  border-color: #616161;
  outline: none;
}

/* 矢印：出現→遅れて移動 */
.button:hover::before,
.button:focus-visible::before,
.button-02:hover::before,
.button-02:focus-visible::before{
  opacity: 1;
  transform: translateY(-50%) translateX(var(--arrow-shaft-move));
}

.button:hover::after,
.button:focus-visible::after,
.button-02:hover::after,
.button-02:focus-visible::after{
  opacity: 1;
  right: var(--arrow-to-right);
}

.button-03 ,
.button-04 {
  position: relative;
  display: inline-block;
  width: 400px;
  padding: .6em 3.2em .6em 1.1em;   /* 右側を矢印分しっかり確保 */
  border: 2px solid #005BAA;
  border-radius: 100px;
  background: #ffffff;
  color: #005BAA;
  font-size: clamp(14px, 1.1vw + 12px, 16px);
  line-height: 1.15;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
  left:  calc(650 / 1208 * 100%);
  top: 0px;
}

/* 矢印（棒） */
.button-03::before ,
.button-04::before{
    content:"";
    position:absolute;
    top:50%;
    right: 30px;
    width: 18px;
    height: 2px;
    background: currentColor;

    opacity: 0;
    transform: translateY(-50%) translateX(0); /* 初期は位置そのまま */

    /* ①opacityは即、②transformは遅らせる */
    transition:
        opacity .15s ease 0s,
        transform .20s ease .10s;  
}

/* 矢印（矢じり：くの字） */
.button-03::after ,
.button-04::after{
  content:"";
  position:absolute;
  top:50%;

  /* 初期位置：ちょい内側（ここから → 最終位置へ） */
  right: 30px;
  width: .55em;
  height: .55em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: translateY(-50%) rotate(45deg); /* 回転だけ（移動しない） */

  /* ①opacityは即、②rightは遅らせる */
  transition:
    opacity .15s ease 0s,
    right .20s ease .10s;      
}

/* ホバー時：矢印が出て、少し進む */

.button-03:hover::before,
.button-03:focus-visible::before ,
.button-04:hover::before,
.button-04:focus-visible::before{
  opacity: 1;
  transform: translateY(-50%) translateX(6px); /* 棒だけ少し進む */
}

.button-03:hover::after,
.button-03:focus-visible::after,
.button-04:hover::after,
.button-04:focus-visible::after{
  opacity: 1;
  right: 25px; /* 矢じりは水平にここへ移動 */
}


.button-03:hover,
.button-03:focus-visible,
.button-04:hover,
.button-04:focus-visible{
  background: #005BAA;
  color: #fff;                    /* 文字色が変われば矢印も追従 */
  border-color: #005BAA;
  outline: none;
}

/* テキストを前面に（必要なら） */
.button-03 > .button__content,
.button-04 > .button__content{
  position: relative;
  z-index: 1;
  display: block;
}

/*button/




/* ▼中身を横並び・中央揃えに */
.button > span,
.button-02 > span,
.button__content{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
}

/* ▼2枚重ねの土台（アイコンの箱） */
.button__icon-swap{
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

/* ▼2枚のimgを同じ位置に重ねる */
.button__icon-swap img{
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  display: block;
}

/* ▼ホバー用（2枚目）は最初非表示 */
.button__icon-swap img:nth-child(2){
  opacity: 0;
  transition: opacity .25s ease;
}

/* ▼ホバー/フォーカスで切替（2枚目を表示） */
.button:hover .button__icon-swap img:nth-child(2),
.button:focus-visible .button__icon-swap img:nth-child(2),
.button-02:hover .button__icon-swap img:nth-child(2),
.button-02:focus-visible .button__icon-swap img:nth-child(2){
  opacity: 1;
}

/* ▼通常アイコン（1枚目）を消す */
.button:hover .button__icon-swap img:nth-child(1),
.button:focus-visible .button__icon-swap img:nth-child(1),
.button-02:hover .button__icon-swap img:nth-child(1),
.button-02:focus-visible .button__icon-swap img:nth-child(1){
  opacity: 0;
}

/*button*/



/*--message--*/
.message {
    padding: 100px 0;
}

.message-box
{
    display: flex;
    justify-content: space-between;
}

.message-left {
    position: relative;
    width: 550px;
}

.message-left-box-1 {
    position: absolute;
    width: calc(190 / 550 * 100%);
    height: calc(80 / 550 * 100%);
    background-color: rgba(201, 173, 245, .3);
    border-radius: 10px;
    top: 0px;
    left: calc(30 / 550 * 100%);
}
.message-left-box-2 {
    position: absolute;
    width: calc(210 / 550 * 100%);
    height: calc(70 / 550 * 100%);
    background-color: rgba(136, 183, 238, .3);
    border-radius: 10px;
    top: 480px;
    left: calc(190 / 550 * 100%);
}
.message-left-box-3 {
    position: absolute;
    width: calc(100 / 550 * 100%);
    height: calc(50 / 550 * 100%);
    background-color: rgba(136, 183, 238, .3);
    border-radius: 10px;
    bottom: 10px;
    left: calc(50 / 550 * 100%);
}
.message-left-box-4 {
    position: absolute;
    width: calc(350 / 550 * 100%);
    background-color: rgba(201, 173, 245, .3);
    border-radius: 10px;
    top: 70px;
    left: calc(150 / 550 * 100%);
}
.message-left-box-5 {
    position: absolute;
    width: calc(250 / 550 * 100%);
    background-color: rgba(136, 183, 238, .3);
    border-radius: 10px;
    top: 380px;
    left: calc(50 / 550 * 100%);
}
.message-left-box-6 {
    position: absolute;
    width: calc(250 / 550 * 100%);
    background-color: rgba(136, 183, 238, .3);
    border-radius: 10px;
    bottom: 100px;
    left: calc(220 / 550 * 100%);
}

.message-right {
    margin-right: 50px;

}
.message-right-text {
    font-size: clamp(16px, 4vw, 17px);
    line-height: 2;
}

.message-right-inner-box {
    background-color: #F4F8FC;
    border-radius: 5px;
    width:  clamp(330px, 50vw, 515px);
    margin: 20px 0;
    padding:  5px;
    font-size: clamp(16px, 2.5vw, 17px);
}

.message-right-inner-last {
    margin-bottom: 50px;
}

li::marker {
  color: #005BAA;
}

.message-right-inner-box ul {
  list-style: none;        /* ブラウザの丸を消す */
  padding-left: 0;
}

.message-right-inner-box li {
  position: relative;
  padding-left: 1.9em;    /* 丸の分の余白 */
}

.message-right-inner-box li::before {
  content: "";
  position: absolute;
  left: 0.8em;
  top: 0.8em;             /* ←ここがポイント */
  width: 10px;
  height: 10px;
  background-color: #005BAA;
  border-radius: 50%;
}

.massage-right-li {
    color: #C72C21;
    font-weight: bold;
}

.message-question {
    color: #005BAA;
    font-size: clamp(20px, 4.5vw, 26px);
    background-color: #EBF8FF;
}

.message-point {
    font-size: clamp(16px, 4vw, 24px);
}

/*--merit--*/
.merit ,
.comparison ,
.migration {
    padding:100px 0 100px;
    background-color: #e7f2ff;
    border-radius: 0 20px 20px 0;
    margin-right: calc(60 / 1208 * 100%);
    padding-left: calc(120 / 1208 * 100%);
}

.merit-cont {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px auto;
    max-width: 880px;
}

.merit-box {
    width: 260px;
    background-color: #fff;
    box-shadow:  0 0 7px rgba(0, 0, 0, .16);
    border-radius: 10px;
}

.merit-bar {
    background-color: #005BAA;
    color: #fff;
    font-size: 13px;
    width: 78px;
    height: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px 0 10px 0;
    margin-left: 0;
}

.merit-image {
    width: 155px;
    position: relative;
    left: 18%;
    top: 14px;
}

.merit-box img {
    width: 190px;
    position: relative;
    left: 15%;
    top: 14px;
}

.merit-title {
    font-weight: bold;
    font-size: clamp(16px, 4.5vw, 18px);
    text-align: center;
    line-height: 0.7;
    margin: 40px 0 10px;
    color: #005BAA;
}

.merit-text {
    font-size: clamp(13px, 4.5vw, 15px);
    text-align: center;
    margin: 0 auto;
    font-weight: normal;
    padding: 0 20px 20px;
    line-height: 1.4;
}

/*--comparison--*/
.comparison ,
.migration {
    background-color: #fff;
    margin-right: calc(100 / 1208 * 100%);
    padding-left: calc(120 / 1208 * 100%);
}

.comparison-cont {
    width: clamp(330px, 80vw, 880px);
    background-color: #fff;
    box-shadow:  0 0 7px rgba(0, 0, 0, .16);
    border-radius: 10px;
    padding: 20px;
    margin: 50px auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px 0;

}

.comparison-table th,
.comparison-table td {
  padding: 10px 16px;
  vertical-align: top;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
  text-align: center;
  vertical-align: middle; 

}

/* th自体は背景を持たせない */
.comparison-table th {
  background: transparent;
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
}

/* 各行の“四角い箱” */
.comparison-table .row-box {
  background: #f6fbff;
  padding: 16px 16px;
  border-radius: 6px;
  margin: 8px 0; 
}

.row-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.comparison-table thead th {
  background: #EFEFEF;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
}

.comparison-table tbody th {
  text-align: left;
  white-space: nowrap;
}

.is-highlight ul{
    margin: 0 0 0 55px;
}

.is-highlight li {
    list-style: disc;
    text-align: left;
}

/* CSP列を強調 */
.comparison-table .is-highlight {
  background: #fdf4ff;
  border-left: 2px solid #c43dd9;
  border-right: 2px solid #c43dd9;
  font-size: 16px;
  font-weight: bold;
}
.comparison-table tbody tr:last-child .is-highlight {
  border-bottom: 2px solid #c43dd9;
  border-radius: 0 0 5px 5px;
}

/* ヘッダーのCSP */
.comparison-table thead .is-highlight {
  background: #c43dd9;
  color: #fff;
  border-radius: 6px 6px 0 0;
}

/* 強調テキスト */
.text-accent {
  color: #d40000;
  font-weight: 600;
}


/*--migration--*/
.migration-bk {
    position: relative;
    background-color: #e7f2ff;
    height: 380px;
    margin-top: -80px;
    margin-bottom: 425px;
}

.flow-cont {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
    align-items: center;
    width: clamp(330px, 80vw, 900px);
    margin: 0 auto;
    padding: 20px 0 20px calc(0 / 1208 * 100%);
}

.flow-box {
    width: clamp(40px, 12vw, 114px);
    padding: 20px 5px 10px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: clamp(13px, 1.5vw, 15px);
    color: #005BAA;
}

.arrow{
  width: 20px;
  height: 20px;
  border: 3px solid;
  border-color: #616161 #616161 transparent transparent;
  transform: rotate(45deg);
  transform-origin: center;
  margin-left: 10px;
}


.flow-box img {
    width: clamp(15px, 8vw, 60px); 
}


.point-box {
    font-weight: bold;
    padding-top: 50px;
}
.point-mein {
    padding-bottom: 10px;
    font-size: 20px;
    padding-left: calc(120 / 1208 * 100%);
}

.point-cont {
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.point-bk-img {
    position: absolute;
    left: 0;
    bottom: calc(-1350 / 1208 * 100%);
    z-index: 0;
}


/*--DISとは--*/
.dis-cont {
    padding: 80px 100px 130px 0;
    background-image:
    linear-gradient(
      rgba(232, 243, 255, 0.95),
      rgba(210, 231, 255, 0.8)
    ),
    url(image/dis-cont-bk.jpg);

    background-size: cover;
    background-repeat: no-repeat; 
    background-position: 70% center;
    padding-left: calc(120 / 1208 * 100%);
}

.award-cont {
    background-color: #fff;
    box-shadow:  0 0 7px rgba(0, 0, 0, .16);
    border-radius: 10px;
    width: auto;
    max-width: 880px;
    margin: 50px auto;
    padding: 0 10px 20px;
}

.award-year {
    background-color: #005BAA;
    border-radius: 5px;
}
.award-year p {
    font-size: clamp(15px, 4.5vw, 18px);
    text-align: center;
    color: #fff;
    margin: 0 auto 20px;
}
.award-button-inner {
    display: flex;
    margin: 0 auto;
    padding: 0 5px;
    justify-content: space-between;
}


.button-award {
  display: flex;
  flex-direction: column;
}

.button-award p {
    font-size: 12px;
    width: 230px;
    text-align: center;
    margin-bottom: auto;
    font-weight: normal;
}

.button-award-box {
    border-radius: 50px;
    height: 40px;
    width: 245px;
    background-color: #fff;
    border: none;
    margin: 0 auto;
    display: block;
}

.button-award-inner {
    display: flex;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    color: #005BAA;
    font-weight: bold;
}
.line-left {
    border-left: 2px solid #e5e5e5;
}

.button02 {
    width: 205px;
    height: 35px;
    display: flex;
    position: relative;
    color: #005BAA;
    font-size: 16px;
    margin: 0 0 0 auto;
}

.button02:before,
.button02:after {
  position: absolute;
  top: 50%;
  right: 0px;
  height: 1px;
  background: #005BAA;
  content: '';
}

.button02:before {
  width: 30px;
  transform: translateY(-50%);
}

.button02:after {
  width: 8px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}


.button-05 {
  width: 205px;
    sheight: 35px;
  display: flex;
  align-items: center;
  position: relative;
  color: #005BAA;
  font-size: 16px;
  margin: 0 0 0 auto;
  text-decoration: none;
}

/* 矢印（線と斜め線） */
.button-05::before,
.button-05::after {
  position: absolute;
  top: 56%;
  right: 10px;
  height: 1px;
  background: #005BAA;
  content: '';
  transition: right .25s ease, transform .25s ease, opacity .25s ease; /* ←追加 */
}

.button-05::before {
  width: 25px;
  transform: translateY(-50%);
}

.button-05::after {
  width: 8px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

/* ★ホバーで矢印を右へスライド */
.button-05:hover::before,
.button-05:hover::after {
  right: 0px; /* 22px → 10px で右へ移動 */
}

.button-dis-box {
    border-radius: 50px;
    height: 50px;
    width: 400px;
    background-color: #fff;
    border: #005BAA solid 2px;
    margin: 50px auto;
    display: block;

}

.button-dis-inner {
    display: flex;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    color: #005BAA;
    font-weight: bold;
}




/*--FAQ--*/
.question {
    padding: 100px 0 100px 0;
    background-color: #F9F9F9;
    padding-left: calc(120 / 1208 * 100%);
}

.question-box {
    padding: 50px 50px 0;
    margin-right: 50px;
}

.faq-box {
    border-bottom: solid 1.5px #E8E8E8;
    margin-bottom: 10px;
}

.faq-inner {
    display: flex;
    margin-bottom: 10px;
}

.box-q , .box-a  {
    background-color: #005BAA;
    border: solid 1.5px #005BAA;
    height: 30px;
    border-radius: 5px;
    margin-right: 10px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
}
.box-a {
    background-color: #fff;
    border: solid 1.5px #005BAA;
    color: #005BAA;
    margin-top: 0;
}

.box-q-text {
    font-weight: bold;
    font-size: 17px;
    text-align: center;
}

.box-a-text {
    font-size: 16px;
    margin-top: 0;
    font-weight: normal;
}

/*--contact--*/

.contact {
    position: relative;
    background-color: #005BAA;
    color: #fff;
    text-align: center;
    max-width: 1208px;
    margin: 0 auto;
}

.round {
    position: absolute;
    left: calc(533 / 1208 * 100%);
    top: -55px;
    width: 110px;
    height: 110px;
    border-radius: 100px;
    background-color: #005BAA;
}

.round-image {
    position: absolute;
    left: calc(560 / 1208 * 100%);
    top: -40px;
    width: 60px;
    z-index: 99;
}

.contact p {
    font-size: clamp(16px, 4.5vw, 23px);
    margin: 20px auto 0;
    padding-bottom: 30px;
}





/* ===== SP（差分） ===== */



@media (max-width: 1024px){

    .award-button-inner {
    gap: 20px;
    flex-wrap: wrap;
}
.button-award {
    margin: 0 auto;
}

.line-left {
    height: 1.5px;
    width: 100%;
    background-color: #e5e5e5;
}

.br-none {
    display: ruby;
}
.button-award p {
    width: auto;
    font-size: 13px;
}

.arrow {
    margin-left: 0px;
    margin-right: 5px;
}
.point-bk-img {
    bottom: calc(-1805 / 1024 * 100%);
}

}

@media (max-width:950px) {
/*--message--*/
.message-title {
    text-align: center;
}
.message-title .under-bar {
    margin: 0 auto;
}

.message {
    padding: 50px 20px;
}

.message-right {
    margin-right: 0px;
}

.message-box{
    display: block;
}

.message-right-text {
    text-align: center;
}

.message-right-inner-box {
    margin: 20px auto;
    text-align: left;
    padding-left: 15px;
}

    .message-left {
    display: none;
    margin: 0 auto;
    width: 100%;
}
}

@media (min-width:620px) and (max-width: 1024px){

.merit-cont { 
    grid-template-columns: repeat(2, 1fr); 
    width: 600px;
    margin: 50px auto;
}

.merit-box {
    margin: 0 auto;
}

}

@media (min-width:768px) and (max-width: 1024px){

    .button-03, .button-04 {
    position: sticky;
}

.migration-bk  {
    margin-bottom: 670px;
}

.comparison-cont {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: auto;
}

.comparison-table {
    width: 100%;
    min-width: 880px;  
}

}




@media (max-width: 768px){
  /* SPで変えたいものだけ */
  
  .flow-cont {
    display: flex;
    justify-content: center;
}

.flow-box {
        height: 220px;
        padding: 10px 5px;
        font-size: 16px;
        width: 37px;
    }
h2 {
    text-align: center;
}

.under-bar {
    margin:20px auto 0;
}

main {
    max-width: 768px;
    width: 100%;
    min-width: 390px;
}
.sp-br {
    display: block;
}

.top-bar {
    height: 55px;
}

.top-visual{
    padding-left: 0;
    font-weight: bold;
    background-image: url(image/fv-bk--.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    padding-top: 20px;
    padding-bottom: 0;
    aspect-ratio: 768 / 550;
    min-height: unset;
}

.top-visual .button-box {
    justify-content: left;
    margin-left: calc(100 / 768 * 100%);
}

.top-inner {
    padding: 0 10px 0 calc(100 / 768 * 100%);
}
.button-box {
    display: grid;
    gap: 0;
    justify-content: unset;
    position: relative;
    z-index: 1;
}


.button__content {
    display: flow-root;
}

.button ,
.button-02 {
    margin: 10px auto;
}

.button-03, .button-04 {
    position: unset;
    width: 330px;
    padding: .6em 1.2em;
    display: block;
    margin: 0 auto;
}


/*--merit--*/
.merit {
    padding: 50px 25px;
    margin-right: 0px;
}

.merit-cont-title {
    text-align: center;
}

.comparison-cont-title {
    position: absolute;
    width: 100%;
    top: 50px;
    left: calc(100 / 768 * 100%);
    min-width: 332px;
    max-width:  clamp(330px, 85vw, 800px);
    text-align: center;
}


/*--LSP&CSP比較--*/
.comparison ,
.migration {
    padding: 50px 30px;
    background-color: #fff;
    border-radius: 0;
    margin-right:  0px;
}

.comparison-cont {
    width: calc(740 / 768 * 100%);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
}

.comparison-table {
    width: 100%;
    min-width: 880px;  
}
.is-highlight li {
    margin: 0;
}

/*--LSPからCSPへ移行--*/
.migration-bk {
    padding: 50px 30px;
    margin-top: -40px;
    margin-bottom: 780px;
    height: 500px;
    position: relative;
}
.point-mein {
    text-align: center;
    padding-left: 0;
}
.point-cont {
    margin-top: 0;
}

.flow-box {
    height: 220px;
    padding: 10px 5px;
    font-size: 16px;
    width: 37px;
}

.arrow{
    width: 13px;
    height: 13px;
  }

  .point-bk-img {
    bottom: calc(-1200 / 768 * 100%);
}



/*--DISとは--*/
.dis-cont {
    padding: 50px 30px;
}

/*--FAQ--*/

.question {
    padding: 50px 30px 100px;
}
.cont-title h2 {
    line-height: 1.3;
}

.question-box {
    padding: 0;
    margin-right: 5px;
}
.faq-inner {
    margin-bottom: 0;
}

.box-q-text {
    text-align: left;
    font-size: 16px;
}

.box-a-text {
    font-size: 15px;
}

.box-q, .box-a {
    height: 29px;
    font-size: 15px;
    padding: 0 8px;
}

/*--contact--*/
.round-image {
    left: calc(355 / 768 * 100%);
}
.round {
    left: calc(330 / 768 * 100%);
}
.contact p {
    padding: 0 30px;
    margin-bottom: 0;
}

}

@media (max-width:659px){
    .merit-cont {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    margin: 0;
}

.merit-box {
    margin: 0 auto 50px;
}
.migration-bk {
    margin-bottom: 1050px;
}
.point-bk-img {
    bottom: calc(-1385  / 659 * 100%);
}


}


@media (max-width: 500px){

    .top-visual{
    padding-left: 0;
    font-weight: bold;
    background-image: url(image/fv-bk-sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    padding-top: 20px;
    padding-bottom: 0;
    aspect-ratio: 410 / 600;
    min-height: unset;
}

    .top-visual .button-box {
        justify-content: center;
        margin-left: 0;
    }
.top-inner {
    padding: 0 30px;
    text-align: center;
}
.sp-br-none {
    display: contents;
}



}


@media (max-width: 412px){

    .top-visual{
    padding-left: 0;
    font-weight: bold;
    background-image: url(image/fv-bk-sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    padding-top: 20px;
    padding-bottom: 0;
    aspect-ratio: 390 / 660;
    min-height: unset;
}



}


@media (max-width: 490px){
.sp-br-none-2 {
    display: contents;
}
}

@media (max-width: 390px){
    
    /*--contact--*/
.round-image {
    left: calc(175 / 390 * 100%);
}
.round {
    left: calc(151 / 390 * 100%);
}

.button-03 ::after, 
.button-03 ::before,
.button-04 ::after,
.button-04 ::before {
    display: none;
}

}
