@charset "UTF-8";

/* ====================================
   LINK Page Styles (for page-link.php)
   ==================================== */

#link-lp {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #333;
    overflow-x: hidden;
}

#link-lp .link-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 30px;
    position: relative;
    box-sizing: border-box;

}
@media screen and (max-width: 768px) {
  #link-lp .link-container {
      max-width: 100%;
      margin: 0 auto;
      padding: 20px 20px 40px;
      position: relative;
      box-sizing: border-box;
  }
}
#link-lp .link-about {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 20px 30px;
    position: relative;
    box-sizing: border-box;

}
@media screen and (max-width: 768px) {
  #link-lp .link-about {
      max-width: 100%;
      margin: 0 auto;
      padding: 20px 20px 40px;
      position: relative;
      box-sizing: border-box;
  }
}
#link-lp .link-benefits-title {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    box-sizing: border-box;

}
@media screen and (max-width: 768px) {
  #link-lp .link-benefits-title {
      max-width: 100%;
      margin: 0 auto;
      padding: 20px 20px 40px;
      position: relative;
      box-sizing: border-box;
  }
}

.contents_link_wrap {
    max-width: 1920px;
    margin: auto;
    padding:0 0 7rem;
    background-color: #fff;
}

.contents_link_wrap.back_dotte {
    padding-top: 0;
    background-image: url(../img/common/gradation_dot.png);
    background-size: 28px auto;
    background-repeat: repeat-x;
    background-position: center top;
}

@media only screen and (-webkit-min-device-pixel-ratio:2), (min-resolution:2dppx) {
    .contents_link_wrap.back_dotte {
        background-image: url(../img/common/gradation_dot@2x.png);
    }
}

@media screen and (max-width:1023px) {
    .contents_link_wrap.back_dotte {
        /*! background-position: center top 120px; */
    }
}

/* ユーティリティ */
#link-lp .u-bold { font-weight: 700; }
#link-lp .u-font-l { font-size: 1.8rem; }
#link-lp .u-font-s { font-size: 0.85em; }
#link-lp .u-text-blue { color: #00A0EF; }
#link-lp .u-text-green { color: #F60080; }
#link-lp .u-text-lightblue { color: #00A0EF; }
#link-lp .u-flex-between { display: flex; justify-content: space-between; }

/* ====================================
   1. Hero Section
   ==================================== */
.link-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.link-hero img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

@media screen and (max-width: 768px) {
    .link-hero {
        padding: 0;
        background: none;
    }
}

/* 2. About Section */
.link-about {
    padding: 60px 0;
    text-align: center;
    position: relative;
}
.link-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.link-about__logo {
    max-width: 600px;
    margin: 0 auto 20px;
}
.link-about__logo img {
    width: 60%;
    height: auto;
}
.link-about__text {
    font-size: 1.8rem;
    line-height: 1.8;
}

.link-about__deco {
    position: absolute;
    bottom: 36px;
    width: 100%;
    max-width: 1100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
    align-items: flex-end;
}

.link-about__deco img {
    height: auto !important;
    flex-shrink: 0;
}
.link-about__deco .deco-woman {
    width: 280px;
    max-width: 35%;
}

.link-about__deco .deco-man {
    width: 230px;
    max-width: 30%;
}

@media screen and (max-width: 768px) {
    .link-about {
        padding: 40px 0 10px;
    }
    .link-title {
        font-size: 2.4rem;
        margin-bottom: 15px;
    }
    .link-about__logo {
        max-width: 60%;
        margin: 0 auto 15px;
    }
    .link-about__logo img {
        width: 90%;
        max-width: 400px;
        height: auto;
    }
    .link-about__text {
        font-size: 1.5rem;
        line-height: 1.6;
        padding: 0 10px;
    }
    .link-about__deco {
        display: flex !important;
        bottom: 170px;
        width: 100%;
        max-width: 100%;
        padding: 0 25px 0 10px;
        box-sizing: border-box;
        align-items: flex-end;
    }
    .link-about__deco .deco-woman {
        width: 91px;
        max-width: 30%;
    }
    .link-about__deco .deco-man {
        width: 74px;
        max-width: 25%;
    }
}

/* 3. Renew Info */
.link-info {
    padding:0;
    text-align: center;
}
.link-info__text {
    font-size: 2.4rem;
    line-height: 1.6;
    text-align: center;
}

/* 4. E-book Section */
.link-ebook__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* 背景色を下に伸ばすため、余白を広げます */
    padding-bottom: 100px;
    background-color: #00A0EF;
}
.link-ebook__desc {
    flex: 1;
    text-align: center;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}
.link-ebook__logo img {
    width: 70%;
    height: auto;
}

/* PC版テキスト：元のまま（枠線なし） */
.link-ebook__copy {
    font-size: 2.4rem;
    line-height: 1.5;
    margin: 20px 0;
}

/* SP版画像：ここだけに枠線をつける */
.link-ebook__note {
    display: inline-block;
    border: 4px solid #fff; /* 白い枠線 */
    border-radius: 20px;    /* 角丸 */
    padding: 15px;          /* 内側の余白 */
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.1); /* うっすら背景色（任意） */
}
.link-ebook__note img {
    vertical-align: bottom;
    max-width: 100%;
}

.link-ebook__cover {
    flex: 1;
    max-width: 400px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.link-ebook__cover img {
    display: block;
    width: 100%;
    height: auto;
}
.link-ebook__action {
    font-size: 1.6rem;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .link-info {
      padding: 10px 0 50px;
      text-align: center;
  }
  .link-ebook__logo img {
      width: 60%;
  }
    .link-ebook__wrap {
        flex-direction: column;
        gap: 20px;
        /* スマホでも画像の下まで背景がいくように余白調整 */
        padding-bottom: 120px;
    }
    .link-ebook__desc {
        width: 100%;
        padding: 30px 20px 0;
    }
    .link-ebook__copy {
        font-size: 1.8rem;
        text-align: center;
    }
    .link-ebook__cover {
        width: 80%;
        max-width: 300px;
    }
    .link-ebook__action {
      text-align: center;
    }
}

/* 5. Area Info (共通) */
.link-area {
    padding: 60px 0;
}
.link-area__header {
    text-align: center;
    margin-bottom: 40px;
}
.link-area__title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid currentColor;
    display: inline-block;
    padding-bottom: 10px;
}
.link-area__cover {
    max-width: 250px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.link-area__issue {
    font-size: 1.6rem;
    font-weight: 500;
}

.link-area__info {
    max-width: 800px;
    margin: 0 auto 40px;
}
.link-dl {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.link-dl dt {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.link-dl dd {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-left: 1em;
}

/* Companies List */
.link-companies {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}
.link-companies__title {
    color: #1c4587;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
.link-companies__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
.link-companies__list li {
    width: 50%;
    font-size: 1.5rem;
    padding: 5px 10px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .link-companies__list li {
        width: 100%;
    }
}

/* 6. Decoration (Bottom) */
.link-deco-bottom {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    height: 0;
}

/* 共通設定 */
.link-deco-bottom .img-woman {
    position: absolute;
    bottom: 0;
    right: 0;
    height: auto;
}

.link-deco-bottom.sp_hide .img-woman {
    width: 325px;
    max-width: 40%;
    right: 20px;
    bottom: 0;
}

.link-deco-bottom.pc_hide {
    display: none;
}

@media screen and (max-width: 768px) {
    .link-deco-bottom.pc_hide {
        display: block;
        height: 0;
    }

    .link-deco-bottom.pc_hide .img-woman {
      width: 225px;
      max-width: 60%;
      right: 9px;
      bottom: 0;
    }
}

/* 7. Benefits Section */

#link-lp .link-benefits-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 30px;
    position: relative;
    box-sizing: border-box;

}
@media screen and (max-width: 768px) {
  #link-lp .link-benefits-container {
      max-width: 100%;
      margin: 0 auto;
      padding: 20px 20px 40px;
      position: relative;
      box-sizing: border-box;
  }
}
.link-benefits {
    padding-bottom: 80px;
}
.link-benefits__header {
    background-color: #019eed;
    text-align: center;
    padding: 40px 0;
}
.link-benefits__header img {
    max-width: 100%;
    height: auto;
}

/* ▼ 修正: コンテンツ幅を広げる設定 ▼ */
.link-benefits .link-container {
    max-width: 1100px; /* 親コンテナの幅を少し広げてあげる（必要に応じて） */
    padding: 0 20px;
}

.link-benefits__list {
    display: flex;
    justify-content: center;
    gap: 30px; /* 画像間の隙間 */
    background-color: #fff;
    padding: 60px 40px; /* 内側の余白 */
    border-radius: 20px;
    box-sizing: border-box;
    width: 100%; /* 横幅いっぱいに */
}

.link-benefits__list .item {
    flex: 1;
    /* max-width: 300px;  ← これが原因で小さくなっていたので削除または大きくする */
    max-width: 100%; /* 親要素(flex)の幅に合わせて広げる */
}

.link-benefits__list .item img {
    width: 100%;
    height: auto;
    display: block; /* 画像下の隙間消し */
}

@media screen and (max-width: 768px) {
    .link-benefits__list {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }
    /* SPでは逆に広がりすぎないように制限してもOK（デザインによる） */
    .link-benefits__list .item {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px; /* 縦並びの時の余白 */
    }
    .link-benefits__list .item:last-child {
        margin-bottom: 0;
    }
}
