@charset "UTF-8";

/* レイアウト */
main.branch-care {
    width: 1020px;
    margin: auto;
}
main.branch-care img {
    max-width: 100%; /* 親要素を超えないようにする */
    width: 100%;
    height: auto;
}
main.branch-care p.text {
    font-size: 14px;
    color: #5c5c5c;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック", sans-serif;
    font-weight: 400;
}
section {
    margin: 40px 0 60px;
    padding: 3px 0 40px;
}
section.care-contents-area, section.recommend-contents-area {
    border-top: 3px solid #565656;
}
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.flex-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; 
    align-items: flex-start;
    gap: 24px 20px; 
}

/* タイトル＆テキスト */
.branch-care h1, .branch-care h2, .branch-care h3, .branch-care h4, .title-copy, .step-list-label, .tips-label, .menu-list {
    font-family: "Agmena Pro", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: normal;
}
.branch-care h1 {
    font-size:32px;
    margin: 0px 0 40px;
    position:relative;
    color:#442e0b;
}
.branch-care h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 1px;
    background-color: #aba375;
}
.branch-care h2 {
    font-size:24px;
    color: #6a6529;
    text-align: center;
    letter-spacing: 0.08em;
    position: relative;
    padding: 50px 0 10px;
    margin-bottom:70px;
    border-top: 1px solid #767676;
}
.branch-care h2::after {
    content: '';
    position: absolute;
    bottom: -10px;    /* 下線っぽく見せるため、文字の下側に配置（位置は微調整してください） */
    left: 50%;        /* 親要素の50%の位置に左端を合わせる */
    transform: translateX(-50%); /* 自身の幅の半分だけ左にずらして完全に中央へ */
    width: 80px;      /* ご希望のサイズ */
    height: 1px;
    background: #aba375;
}
.branch-care h3 {
    font-size: 20px;
    margin: 0 0 20px;
}
.branch-care h3::before {
    content: '＜';
    font-weight: normal;
    padding-right: 0.2em;
}
.branch-care h3::after {
    content: '＞';
    font-weight: normal;
    padding-left: 0.2em;
}
.branch-care h4 {
    font-size: 18px;
    margin: 15px 0 10px;
    color:#116f15;
}
.branch-care p + h4 {
    /* ここにpの直後のh4だけに適用したいスタイルを書く */
    margin-top: 35px;
}
.text-center {
    text-align:center;
}
.sub-label {
    font-size: 12px;
    color: #7f7735;
    border: #b1a64d 1px solid;
    padding: 5px 15px;
    border-radius: 40px;
}
.suggest-text-box {
    font-size:12px;
    padding:8px;
    display:block;
}

/* トップビジュアル */
.title-area {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.title-area-visual {
    width:62%;
    position: relative;
}
.title-area-visual::after {
  content: "";
  display: block;
  position: absolute;
  width: 260px;
  height: 100px;
  background: url("https://hanamo.itembox.cloud/item/images/feature/branch-care/gra-copy.png") no-repeat center / contain;
  left: 5%;
  bottom: 10px;
  transform: rotate(-6deg);
  z-index: 1;
  pointer-events: none; /* 下にあるテキストなどのクリックを妨げないようにする */
}
.title-area-description {
    width:35%;
}
.title-area-visual .p-carousel-image .fs-pt-carousel__slide img {
    width:630px;
}
.title-area-visual .p-carousel-image {
    margin-top:0;
}
.title-copy {
    display: block;
    font-size: 15px;
    margin-top: 20px;
    color: #116f15;
}


/* メニュー */
h2.care-menu-title {
    border-top:0;
}
.care-menu-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
.care-menu-list-item {
    flex:1;
    text-align:center;
    font-family: "Agmena Pro", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: normal;
    font-size:18px;
    position:relative;
}
.care-menu-list-item:after {
    content: "";
    width: 12px;
    height: 12px;
    border: 0;
    border-bottom: solid 1px #333;
    border-right: solid 1px #333;
    position: absolute;
    top: 40px;
    left: 45%;
    margin-top: 8px;
    transform: rotate(45deg);
}
.care-menu-list-item a {
  text-decoration: none;
  color: #333333;
  padding: 10px 0;
}
.underline {
  background-image: linear-gradient(90deg, currentcolor, currentcolor);
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 0% 0.06em;
  transition: background-size 0.36s ease-out;
}
.underline:hover {
  background-position: 0% 100%;
  background-size: 100% 0.06em;
  transition-duration: 0.24s;
}


/* お手入れガイドコンテンツ */
.care-contents-box {
    margin: 0 auto 80px;
}
.care-contents-box-left {
    width:55%;
}
.care-contents-box-right {
    width:420px;
}
.care-contents-box-left  .p-carousel-image .fs-pt-carousel__slide img {
    width:auto;
}
.care-contents-box-left  .p-carousel-image {
    margin-top:0;
}
.step-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin:30px 0;
}
.step-list-item {
    min-height: 420px;
}
.step-list-item p.text {
    text-align:left;  
}
.step-list-label {
    display: block;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #116f15;
    letter-spacing: 0.08em;
    background: #f1f0e9;
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 36px);
    padding: 5px 0;
}
.tips-label {
    font-size: 20px;
    font-weight: bold;
    color: #116f15;
    letter-spacing: 0.08em;
    padding: 5px 0;
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}
.tips-label::after {
  content: "";
  position: absolute;
  top: 80%;  /* テキストのすぐ下に配置 */
  left: 92%;
  transform: translateX(-70%);  /* 中央寄せ */  
  background-image: url('https://hanamo.itembox.cloud/item/images/feature/branch-care/parts-speech-bubble.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 120px;  
  height: 10px;
  margin-top: 0;
}
.accent-idea-box {
    width: 85%;
    border: 1px solid #AAA39C;
    border-radius: 0px;
    position: relative;
    padding: 42px 28px;
}
.accent-idea-box-title {
    padding: .4em 1em;
    position: absolute;
    top: -1.1em;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    white-space: nowrap;
}
.accent-idea-box-image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    margin:30px 0;
}
main.branch-care .accent-idea-box-image-container img {
    width: 100%;
    max-width: 360px;
    height: auto;
}

/* 訴求コンテンツ */
.recommend-contents-area .fs-c-slick .slick-slide {
    width:320px;
}
.recommend-contents-area .p-carousel-image .fs-pt-carousel__slide img {
    width:320px;
}
.recommend-contents-area .p-carousel-image .fs-pt-carousel__slide__caption {
    font-size: 14px;
    color: #5c5c5c;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "游ゴシック", sans-serif;
    font-weight: 500;
}



/*---------- モバイル ----------*/
@media not screen and (min-width: 1020px) {

    /* レイアウト */
    main.branch-care {
        width: auto;
        margin: auto;
        padding: 0 24px;
    }
    main.branch-care img {
        max-width: 100%;
    }
    main.branch-care p.text {
        font-size: 14px;
        color: #5c5c5c;
        line-height: 1.8;
        letter-spacing: 0.03em;
        font-family: "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック", sans-serif;
        font-weight: 400;
    }
    section {
        margin: 40px 0 0px;
        padding: 3px 0 40px;
    }
    section.care-contents-area, section.recommend-contents-area {
        border-top: 3px solid #565656;
    }
    .flex {
        display: flex;
        flex-wrap: wrap;
        gap:28px;
        justify-content: space-between;
        align-items: flex-start;
    }
    .flex-left {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start; 
        align-items: flex-start;
        gap: 24px 20px; 
    }

    /* タイトル＆テキスト */
    .branch-care h1, .branch-care h2, .branch-care h3, .branch-care h4, .title-copy, .step-list-label, .tips-label, .menu-list {
        font-family: "Agmena Pro", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
        font-weight: normal;
    }
    .branch-care h1 {
        font-size:26px;
        margin: 0px 0 40px;
        position:relative;
        color:#442e0b;
    }
    .branch-care h1::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 1px;
        background-color: #aba375;
    }
    .branch-care h2 {
        font-size:20px;
        color: #6a6529;
        text-align: center;
        letter-spacing: 0.08em;
        position: relative;
        padding: 50px 0 10px;
        margin-bottom:70px;
        border-top: 1px solid #767676;
    }
    .branch-care h2::after {
        content: '';
        position: absolute;
        bottom: -10px;    /* 下線っぽく見せるため、文字の下側に配置（位置は微調整してください） */
        left: 50%;        /* 親要素の50%の位置に左端を合わせる */
        transform: translateX(-50%); /* 自身の幅の半分だけ左にずらして完全に中央へ */
        width: 80px;      /* ご希望のサイズ */
        height: 1px;
        background: #aba375;
    }
    .branch-care h3 {
        font-size: 18px;
        margin: 0 0 20px;
    }
    .branch-care h3::before {
        content: '＜';
        font-weight: normal;
        padding-right: 0.2em;
    }
    .branch-care h3::after {
        content: '＞';
        font-weight: normal;
        padding-left: 0.2em;
    }
    .branch-care h4 {
        font-size: 16px;
        margin: 15px 0 10px;
        color:#116f15;
    }
    .branch-care p + h4 {
        /* ここにpの直後のh4だけに適用したいスタイルを書く */
        margin-top: 35px;
    }
    .text-center {
        text-align:center;
    }
    .sub-label {
        font-size: 12px;
        color: #7f7735;
        border: #b1a64d 1px solid;
        padding: 5px 15px;
        border-radius: 40px;
    }
    .suggest-text-box {
        font-size:12px;
        padding:8px;
        display:block;
    }
    .branch-care .br-pc{
        display: none;
    }
    .branch-care  .br-sp{
        display: block;
        padding: 0;
    }
    
    /* トップビジュアル */
    .title-area {
        display: block;
    }
    .title-area-visual {
        width:auto;
        position: relative;
    }
    .title-area-visual::after {
      content: "";
      display: block;
      position: absolute;
      width: 200px;
      height: 100px;
      background: url("https://hanamo.itembox.cloud/item/images/feature/branch-care/gra-copy.png") no-repeat center / contain;
      left: 5%;
      bottom: 20px;
      transform: rotate(-6deg);
      z-index: 1;
      pointer-events: none; /* 下にあるテキストなどのクリックを妨げないようにする */
    }
    .title-area-description {
        width:auto;
        margin-top:48px;
    }
    .title-area-visual .p-carousel-image .fs-pt-carousel__slide img {
        width:auto;
        padding:0;
    }
    .title-area-visual .p-carousel-image {
        margin-top:0;
    }
    .title-copy {
        display: block;
        font-size: 15px;
        margin-top: 20px;
        color: #116f15;
    }
    
    
    /* メニュー */
    h2.care-menu-title {
        border-top:0;
    }
    .care-menu-list {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 25px;
        row-gap: 48px;
    }
    .care-menu-list-item {
        flex:1;
        text-align:center;
        font-family: "Agmena Pro", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
        font-weight: normal;
        font-size: 1.1rem;
        position: relative;
    }
    .care-menu-list-item:after {
        content: "";
        width: 12px;
        height: 12px;
        border: 0;
        border-bottom: solid 1px #333;
        border-right: solid 1px #333;
        position: absolute;
        top: 30px;
        left: 45%;
        margin-top: 8px;
        transform: rotate(45deg);
    }
    .care-menu-list-item a {
      text-decoration: none;
      color: #333333;
      padding: 10px 0;
    }
    .underline {
      background-image: linear-gradient(90deg, currentcolor, currentcolor);
      background-repeat: no-repeat;
      background-position: 100% 100%;
      background-size: 0% 0.06em;
      transition: background-size 0.36s ease-out;
    }
    .underline:hover {
      background-position: 0% 100%;
      background-size: 100% 0.06em;
      transition-duration: 0.24s;
    }


    /* お手入れガイドコンテンツ */
    .care-contents-box {
        margin: 40px auto;
    }
    .care-contents-box-left {
        width:auto;
    }
    .care-contents-box-right {
        width:auto;
        margin-top: 0;
    }
    .care-contents-box-right h3.text-align-center {
        text-align:center;      
    }
    .care-contents-box p.text {
        text-align:left;
    }
    .care-contents-box-left .p-carousel-image .fs-pt-carousel__slide img {
        width:auto;
    }
    .care-contents-box-left .p-carousel-image {
        margin-top:0;
    }
    .step-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin:30px 0;
    }
    .step-list-item {
        min-height: 420px;
    }
    .step-list-item p.text {
        text-align:left;  
    }
    .step-list-label {
        display: block;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        color: #116f15;
        letter-spacing: 0.08em;
        background: #f1f0e9;
        clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 36px);
        padding: 5px 0;
    }
    .tips-label {
        font-size: 16px;
        font-weight: bold;
        color: #116f15;
        letter-spacing: 0.08em;
        padding: 5px 0;
        position: relative;
        display: inline-block;
        margin-bottom: 8px;
    }
    .tips-label::after {
      content: "";
      position: absolute;
      top: 80%;  /* テキストのすぐ下に配置 */
      left: 110%;
      transform: translateX(-80%);  /* 中央寄せ */  
      background-image: url('https://hanamo.itembox.cloud/item/images/feature/branch-care/parts-speech-bubble.png');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      width: 80px;  
      height: 10px;
      margin-top: 0;
    }
    .accent-idea-box {
        width: 92%;
        border: 1px solid #AAA39C;
        border-radius: 0px;
        position: relative;
        padding: 42px 24px;
    }
    .accent-idea-box-title {
        padding: .4em 1em;
        position: absolute;
        top: -1.1em;
        left: 50%;
        transform: translateX(-50%);
        background: #ffffff;
        white-space: nowrap;
    }
    .accent-idea-box-image-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        align-items: flex-start;
        margin:30px 0;
    }
    main.branch-care .accent-idea-box-image-container img {
        width: 100%;
        max-width: 360px;
        height: auto;
    }

    
    /* 訴求コンテンツ */
    .recommend-contents-area .fs-c-slick .slick-slide {
        width:auto;
    }
    .recommend-contents-area .p-carousel-image .fs-pt-carousel__slide img {
        width:auto;
    }
    .recommend-contents-area .p-carousel-image .fs-pt-carousel__slide__caption {
      font-size: 14px;
      color: #5c5c5c;
      line-height: 1.6;
      letter-spacing: 0.03em;
      font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "游ゴシック", sans-serif;
      font-weight: 500;
    }
    
    /* TOPへフローティングボタンの位置調整 */
    .p-back-to-top {
      bottom: 110px;
    }

}

/*---------- タブレット ----------*/
@media screen and (min-width: 600px) and ( max-width:1020px) {

    /* お手入れガイドコンテンツ */
    .care-contents-box-left {
        width:55%;
    }
    .care-contents-box-right {
        width:40%;
    }
    .care-contents-box p.text {
        text-align:left;  
    }
    .step-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }    
    .branch-care .br-sp {
        display: inline;
        padding: 0;
    }
}

@media screen and (min-width: 1021px) and ( max-width:1160px) {

    /* 訴求コンテンツ */
    .p-carousel-image {
        width:85%;
        margin:40px auto 0;
    }        
    .recommend-contents-area .fs-c-slick .slick-slide {
        width:263px;
    }
    .recommend-contents-area .p-carousel-image .fs-pt-carousel__slide img {
        width:263px;
    }
    .fs-c-slick .slick-slide {
        margin: 0 16px;
    }
}
