@charset "utf-8";


.service .ttl {
    text-align: center;
    margin-bottom: 40px;
}
/* =========================================
   サービス親ページ：View more ボタン
========================================= */

main.service .cont2 .content article .box .service-more-btn {
    width: 132px;
    height: 40px;
    margin-top: 24px;
    border-radius: 999px;
    background: linear-gradient(to right, #F8B500, #F08700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 18px;
    box-shadow: 0 4px 12px rgba(240, 135, 0, 0.18);
  }
  
  main.service .cont2 .content article .box .service-more-btn span {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
  }
  
  main.service .cont2 .content article .box .service-more-btn::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  
  main.service .cont2 .content article .box .service-more-btn:hover {
    opacity: 0.8;
  }
  
  /* スマホ */
  @media screen and (max-width: 768px) {
    main.service .cont2 .content article .box .service-more-btn {
      width: 128px;
      height: 38px;
      margin-top: 20px;
    }
  
    main.service .cont2 .content article .box .service-more-btn span {
      font-size: 12px;
    }
  }

/* =========================================
   サービス詳細 共通
========================================= */

main.service-detail {
    overflow: hidden;
  }
  
  main.service-detail .wrap {
    width: 1120px;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
  }
  
  .service-detail-mv {
    margin-top: 74px;
    height: 320px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  
  .service-detail-mv::before {
    content: "";
    width: 48%;
    height: 100%;
    background: #FCFAF8;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .service-detail-mv .wrap {
    height: 100%;
    position: relative;
  }
  
  .service-detail-mv-title {
    width: 360px;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 2;
  }
  
  .service-detail-mv-title h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  
  .service-detail-mv-title h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 7px;
    margin-top: 24px;
    background-image: linear-gradient(to right, #F08700, rgba(255, 255, 255, 0));
  }
  
  .service-detail-mv .en-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFCF91;
    writing-mode: vertical-rl;
    position: absolute;
    top: -40px;
    right: 0;
    letter-spacing: 0.08em;
  }
  
  .service-detail-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
  
  .service-detail-bg {
    background: #FCFAF8;
  }
  
  .service-detail-heading {
    text-align: center;
    margin-bottom: 56px;
  }
  
  .service-detail-heading h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    position: relative;
    z-index: 1;
    letter-spacing: 0.04em;
  }
  
  .service-detail-heading h2::before {
    content: "";
    width: 18px;
    height: 18px;
    background: #F8B500;
    position: absolute;
    left: -8px;
    bottom: 0;
    z-index: -1;
  }
  
  .service-detail-heading p {
    font-size: 13px;
    font-weight: 700;
    margin-top: 12px;
  }
  
  /* =========================================
     介護事業
  ========================================= */
  
  .service-detail-care .care-mv {
    background-image: url("../img/service/care/mv.jpg");
  }
  
  .service-detail-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 72px;
  }
  
  .service-detail-card {
    text-align: center;
    position: relative;
  }
  
  .service-detail-card .num {
    font-size: 34px;
    font-weight: 700;
    color: #F08700;
    line-height: 1;
    margin-bottom: -12px;
    position: relative;
    z-index: 2;
  }
  
  .service-detail-card figure {
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
    border-radius: 16px;
    overflow: hidden;
  }
  
  .service-detail-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .service-detail-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .service-detail-card p {
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }
  
  .care-support-list {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .care-support-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    background: #fff;
    padding: 48px;
    margin-bottom: 24px;
  }
  
  .care-support-item:last-child {
    margin-bottom: 0;
  }
  
  .care-support-title {
    text-align: center;
    padding-right: 48px;
    border-right: 1px solid #F8B500;
  }
  
  .care-support-title span {
    font-size: 34px;
    font-weight: 700;
    color: #F08700;
    display: block;
    margin-bottom: 16px;
  }
  
  .care-support-title h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
  }
  
  .care-support-icon {
    width: 76px;
    margin: 24px auto 0;
  }
  
  .care-support-text {
    padding-left: 48px;
  }
  
  .care-support-text dl {
    margin-bottom: 18px;
  }
  
  .care-support-text dl:last-child {
    margin-bottom: 0;
  }
  
  .care-support-text dt {
    font-size: 15px;
    font-weight: 700;
    color: #EA5504;
    margin-bottom: 6px;
    position: relative;
    padding-left: 1em;
  }
  
  .care-support-text dt::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #F8B500;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.55em;
  }
  
  .care-support-text dd {
    font-size: 14px;
    line-height: 1.8;
  }
  
  .care-flow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .care-flow-list article {
    background: #FCFAF8;
    text-align: center;
    padding: 40px 24px;
  }
  
  .care-flow-list span {
    font-size: 34px;
    font-weight: 700;
    color: #F08700;
    display: block;
    margin-bottom: 20px;
  }
  
  .care-flow-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
  }
  
  .care-flow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .care-flow-list h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
  }
  
  .care-flow-list p {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }
  
  .care-download-section {
    background: #F6F5F4;
    padding-top: 88px;
    padding-bottom: 88px;
    text-align: center;
  }
  
  .care-download-section .service-detail-heading {
    margin-bottom: 40px;
  }
  
  .care-download-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    margin-bottom: 40px;
  }
  
  .care-download-btn {
    width: 480px;
    max-width: 100%;
    height: 72px;
    border-radius: 999px;
    background: linear-gradient(to right, #F8B500, #F08700);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .care-download-btn::after {
    content: "";
    width: 18px;
    height: 18px;
    margin-left: 12px;
    background: url("../img/common/icon-download.svg") no-repeat center / contain;
  }
  
  .care-case-list {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .care-case-list article {
    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: center;
    background: #fff;
    padding: 32px 40px;
    margin-bottom: 24px;
  }
  
  .care-case-list article:last-child {
    margin-bottom: 0;
  }
  
  .care-case-list h3 {
    font-size: 15px;
    font-weight: 700;
    padding-right: 40px;
    position: relative;
  }
  
  .care-case-list h3::after {
    content: "";
    width: 1px;
    height: 48px;
    background: #F8B500;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  
  .care-case-list p {
    font-size: 14px;
    line-height: 1.9;
    padding-left: 40px;
  }
  
  .care-case-list a {
    background: #e60012;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    margin-left: 24px;
  }
  
  /* =========================================
     レスポンシブ
  ========================================= */
  
  @media screen and (max-width: 1100px) {
    .service-detail-mv {
      margin-top: 34px;
      height: 280px;
    }
  
    .service-detail-mv-title h1 {
      font-size: 30px;
    }
  
    .service-detail-mv .en-title {
      font-size: 32px;
      top: -24px;
    }
  
    .service-detail-section {
      padding-top: 64px;
      padding-bottom: 64px;
    }
  
    .service-detail-card-list {
      gap: 32px;
    }
  
    .care-support-item {
      padding: 32px;
    }
  
    .care-case-list article {
      padding: 28px 32px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .service-detail-mv {
      height: auto;
      margin-top: 0;
      padding-top: 180px;
      background-size: 100% 180px;
      background-position: center top;
    }
  
    .service-detail-mv::before {
      display: none;
    }
  
    .service-detail-mv .wrap {
      background: #FCFAF8;
    }
  
    .service-detail-mv-title {
      width: 100%;
      position: static;
      transform: none;
      padding: 24px 0;
    }
  
    .service-detail-mv-title h1 {
      font-size: 24px;
    }
  
    .service-detail-mv-title h1::after {
      width: 220px;
      margin-top: 12px;
    }
  
    .service-detail-mv .en-title {
      display: none;
    }
  
    .service-detail-section {
      padding-top: 56px;
      padding-bottom: 56px;
    }
  
    .service-detail-heading {
      margin-bottom: 36px;
    }
  
    .service-detail-heading h2 {
      font-size: 30px;
    }
  
    .service-detail-card-list {
      grid-template-columns: 1fr;
      gap: 48px;
    }
  
    .service-detail-card figure {
      width: 150px;
      height: 150px;
    }
  
    .care-support-item {
      grid-template-columns: 1fr;
      padding: 32px 24px;
    }
  
    .care-support-title {
      padding-right: 0;
      padding-bottom: 24px;
      margin-bottom: 24px;
      border-right: none;
      border-bottom: 1px solid #F8B500;
    }
  
    .care-support-text {
      padding-left: 0;
    }
  
    .care-flow-list {
      grid-template-columns: 1fr;
    }
  
    .care-download-section {
      padding-top: 56px;
      padding-bottom: 56px;
    }
  
    .care-download-text {
      font-size: 15px;
      text-align: left;
    }
  
    .care-download-btn {
      height: 64px;
      font-size: 15px;
    }
  
    .care-case-list article {
      grid-template-columns: 1fr;
      padding: 28px 24px;
    }
  
    .care-case-list h3 {
      padding-right: 0;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }
  
    .care-case-list h3::after {
      width: 100%;
      height: 1px;
      top: auto;
      right: auto;
      left: 0;
      bottom: 0;
      transform: none;
    }
  
    .care-case-list p {
      padding-left: 0;
    }
  
    .care-case-list a {
      width: fit-content;
      margin-left: 0;
      margin-top: 16px;
    }
  }


  /* =========================================
   保険調剤事業
========================================= */

.dispensing-mv {
    background-image: url("../img/service/dispensing/mv.jpg");
  }
  
  .service-detail-list {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .service-detail-list article {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    background: #fff;
    padding: 32px 48px;
    margin-bottom: 24px;
  }
  
  .service-detail-list article:last-child {
    margin-bottom: 0;
  }
  
  .service-detail-list h3 {
    font-size: 18px;
    font-weight: 700;
    padding-right: 40px;
    position: relative;
  }
  
  .service-detail-list h3::after {
    content: "";
    width: 1px;
    height: 48px;
    background: #F8B500;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  
  .service-detail-list p {
    font-size: 15px;
    line-height: 1.9;
    padding-left: 40px;
  }
  
  .facility-label-list {
    width: 760px;
    max-width: 100%;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .facility-label-list li {
    background: #FCFAF8;
    padding: 14px 24px 14px 48px;
    font-size: 15px;
    font-weight: 700;
    position: relative;
  }
  
  .facility-label-list li::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #F08700;
    border-radius: 50%;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .facility-label-list li::after {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid #F08700;
    border-bottom: 2px solid #F08700;
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-65%) rotate(-45deg);
  }
  
  .facility-photo-list {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .facility-photo-list figure {
    background: #ddd;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  
  .facility-photo-list figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .shop-search-cta {
    background: url("../img/service/dispensing/shop-bg.jpg") no-repeat center / cover;
    padding-top: 72px;
    padding-bottom: 72px;
    position: relative;
  }
  
  .shop-search-cta::before {
    content: "";
    background: rgba(240, 135, 0, 0.35);
    position: absolute;
    inset: 0;
  }
  
  .shop-search-cta .wrap {
    position: relative;
    z-index: 1;
  }
  
  .shop-search-cta a {
    width: 560px;
    max-width: 100%;
    height: 72px;
    border-radius: 999px;
    background: #fff;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .shop-search-cta a span {
    font-size: 17px;
    font-weight: 700;
    color: #F08700;
  }
  
  .shop-search-cta a::after {
    content: "";
    width: 36px;
    height: 36px;
    background: linear-gradient(to right, #F8B500, #F08700);
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .shop-search-cta a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
  }
  
  /* =========================================
     保険調剤事業 レスポンシブ
  ========================================= */
  
  @media screen and (max-width: 768px) {
    .service-detail-list article {
      grid-template-columns: 1fr;
      padding: 28px 24px;
    }
  
    .service-detail-list h3 {
      padding-right: 0;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }
  
    .service-detail-list h3::after {
      width: 100%;
      height: 1px;
      top: auto;
      right: auto;
      left: 0;
      bottom: 0;
      transform: none;
    }
  
    .service-detail-list p {
      padding-left: 0;
    }
  
    .facility-label-list {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  
    .facility-photo-list {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  
    .shop-search-cta {
      padding-top: 48px;
      padding-bottom: 48px;
    }
  
    .shop-search-cta a {
      height: 64px;
      padding-left: 20px;
      padding-right: 56px;
    }
  
    .shop-search-cta a span {
      font-size: 15px;
    }
  
    .shop-search-cta a::after {
      width: 32px;
      height: 32px;
      right: 16px;
    }
  
    .shop-search-cta a::before {
      right: 29px;
    }
  }


  /* =========================================
   ヘルスケア事業
========================================= */

.healthcare-mv {
    background-image: url("../img/service/healthcare/mv.jpg");
  }
  
  .healthcare-consultation-section {
    padding-top: 96px;
    padding-bottom: 96px;
    background: #fff;
  }
  
  .consultation-list {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .consultation-list article {
    background: #FCFAF8;
    text-align: center;
    padding: 56px 40px;
  }
  
  .consultation-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .consultation-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  
  .consultation-list h3 {
    font-size: 18px;
    font-weight: 700;
    color: #F08700;
    margin-bottom: 16px;
  }
  
  .consultation-list p {
    font-size: 14px;
    line-height: 1.9;
  }
  
  .message-section {
    padding-top: 96px;
    padding-bottom: 96px;
    background: #F6F5F4;
  }
  
  .message-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .message-list article {
    background: #fff;
    text-align: center;
    padding: 40px 28px 36px;
    position: relative;
  }
  
  .message-list article::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 14px 0 14px;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
  }
  
  .message-list figure {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .message-list figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .message-list h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
  }
  
  .message-list p {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }
  
  /* =========================================
     ヘルスケア事業 レスポンシブ
  ========================================= */
  
  @media screen and (max-width: 1100px) {
    .healthcare-consultation-section,
    .message-section {
      padding-top: 64px;
      padding-bottom: 64px;
    }
  
    .message-list {
      gap: 32px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .healthcare-consultation-section,
    .message-section {
      padding-top: 56px;
      padding-bottom: 56px;
    }
  
    .consultation-list {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .consultation-list article {
      padding: 40px 24px;
    }
  
    .message-list {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  
    .message-list article {
      padding: 36px 24px 32px;
    }
  
    .message-list figure {
      width: 88px;
      height: 88px;
    }
  }