p {
  margin: 0;
}

body {
  background-color: #3287D31A;
  width: 100vw;
}

h2 {
  font-weight: 400; 
}

@media screen and (min-width: 769px) {

  .buttons {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 10px;
    text-align: center;
    z-index: 100;
  }

  .read-more a {
    display: block;
    background-image: url(/wp-content/uploads/top/pc/btn_read_off_pc.png);
    -webkit-background-size: 291px 59px;
    -o-background-size: 291px 59px;
    background-size: 291px 59px;
    width: 291px;
    height: 59px;
    margin: 0 auto;
  }

  .read-more a:hover {
    background-image: url(/wp-content/uploads/top/pc/btn_read_on_pc.png);
  }

  .contents,
  .information {
    width: 100%;
    /* margin: 0 auto; */
  }

  .contents section,
  .information section {
    padding-bottom: 50px;
  }

  h2,
  h3 {
    text-align: center;
    padding: 50px 0 30px;
    margin: 0;
  }

  .title {
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    font-size: 40px;
    text-align: center;
    color: #075BA2
  }

  .discription {
    color: #075BA2;
    text-align: center;
  }

       .top_h2 {
        font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
        font-size: 50px;
        text-align: left;
        color: rgb(7, 91, 162);
    }

  .main-visual {
    position: relative;
  }

  .main-visual .scroll-image {
    position: absolute;
    bottom: 50px;
    left: 50%;
  }

  .main-visual .scroll-image p {
    text-align: center;
  }

  .main-visual .scroll-image img {
    position: absolute;
    top: 0;
  }

  .main-visual .bx-wrapper {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
  }

  .main-visual .bx-viewport {
    left: 0;
    box-shadow: none;
    border: none;
  }

  .main-visual .slider {
    margin: 0;
    padding: 0;
  }

  .main-visual .slider li {
    width: 100%;
    min-width: 960px;
    height: 100vh;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  .about-drgene {
    background-image: url('/wp-content/uploads/top/pc/top_img_sunshine.jpg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
    height: 560px;
    overflow: hidden;
  }

  .about-drgene-pc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 525px;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 60px;
    gap: 40px;
    box-sizing: border-box;
  }

  .about-drgene-text {
    flex: 0 1 auto;
    max-width: 440px;
  }

  .about-drgene .introduction {
    text-align: left;
    font-size: 16px;
    line-height: 40px;
    margin-top: 5px;
    color: #075BA2;
  }

  .about-drgene-buttons {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .hero-btn-row {
    display: flex;
    gap: 20px;
    justify-content: center;
  }

  .hero-btn,
  .hero-btn:visited,
  .hero-btn:active,
  .hero-btn:focus {
    width: 190px;
    padding: 20px 20px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    transition: opacity 0.2s;
  }

  .hero-btn:hover {
    opacity: 0.85;
    color: #fff;
  }

  .hero-btn-title {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    color: inherit;
  }

  .hero-btn-sub {
    font-size: 11px;
    opacity: 0.9;
    white-space: nowrap;
    color: inherit;
  }

  .hero-btn-gene {
    background-color: #7d96e8;
  }

  .hero-btn-flora {
    background-color: #ea7b86;
  }

  .hero-btn-ecurl {
    background-color: #b44c7b;
  }

  .hero-btn-oem,
  .hero-btn-oem:visited,
  .hero-btn-oem:active,
  .hero-btn-oem:focus {
    display: block;
    width: 600px;
    max-width: 100%;
    padding: 10px 20px;
    background-color: #66bb6a;
    color: #fff;
    text-align: center;
    border-radius: 999px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: opacity 0.2s;
  }

  .hero-btn-oem:hover {
    opacity: 0.85;
    color: #fff;
  }

  .button_content_title {
    margin: 10px;
    font-size: 150
  }

  .content_button .title {
    margin: 10px;
    font-size: 150%;
  }

  .content_button .sumarry {
    vertical-align: middle;
    text-align: center;
  }

  .content_button .button_content_text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .flora_button {
    background-color: #FF907C;
    margin-left: 160px;
  }

  .gene_button {
    background-color: #44AAF2;
    margin-left: 20px;
  }

  .top_content.viewPc {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
  }

  .kit_add {
    padding-top: 50px;
    text-align: center;
  }

  .kit_add.viewPc {
    width: 75%;
    margin: 0 auto;
  }

  .top_content.viewPc .kit_add a {
    display: block;
    overflow: hidden;
  }

  .top_content.viewPc .kit_add img {
    width: 60%;
    max-width: 1317px;
    height: auto;
    clip-path: inset(10px);
  }

  .top_content.viewPc .news {
    width: 50%;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
  }

  .viewPc .news_inner_content {
    margin-top: 30px;
    margin-left: 70px;
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
  }

  .viewPc .news_inner_content ul {
    margin: 0 auto !important;
  }

  .viewPc .news_inner_content li {
    margin: 5px 0;
  }

  .top_content.viewPc .news .news_title {
    padding: 0;
    text-align: center;
  }

  .top_content.viewPc .kit_add {
    margin: 0 auto;
    float: none;
  }


  .col .col-box.hakase1 a:hover img {
    content: url('/wp-content/uploads/top/pc/bnr_hakase1-2_pc.png');
  }

  .col .col-box.hakase2 a:hover img {
    content: url('/wp-content/uploads/top/pc/bnr_hakase2-2_pc.png');
  }

  .col .col-box.hakase3 a:hover img {
    content: url('/wp-content/uploads/top/pc/bnr_hakase3-2_pc.png');
  }

  .select_because {
    width: 100vw;
    background-color: #fff;
    margin: 10px auto;
  }

  .select_because .content>p {
    text-align: center;
  }

  .select_because .step {
    overflow: hidden;
    margin: 0 auto;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .select_because .step_col {
    float: inline-start;
    margin: 30px 35px;
    width: 25%;

  }

  .select_because .step.viewPc .step_col img {
    width: auto;
    max-width: 100%;
    max-height: 150px;
    height: auto;
    display: block;
    margin: 0;
  }

  .service .title {
    text-align: center;
  }

  .service .container {
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 20px;
  }

  .service .content {
    flex: 1;
    background-color: #fff;
    max-width: 415px;
    padding-bottom: 20px;
    margin: 0 auto;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
  }

  .service .content > a {
    margin-top: auto;
    display: block;
  }

  .service .content .content_title {
    font: 30px Source Han Sans JP;
    border-bottom: solid 6px;
    margin: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .service .content .flora_color {
    color: #FF7E67;
  }

  .service .content .gene_color {
    color: #44AAF2;
  }

  .service .content .ecurl_color {
    color: #b44c7b;
  }

  .service .image_description {
    position: relative;
    overflow: visible;
    height: auto;
  }

  .service .gene .description p {
    font-size: 13px;
  }

  .service .image_description .photo_logo {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .service .description {
    position: static;
    padding: 10px 30px;
    font: Bold 15px/25px Source Han Sans JP;
  }

  .service .flora .description {
    background-color: #FFBBAFB3;
  }

  .service .gene .description {
    background-color: #A5CBF7CC;
  }

  .service .equro .description {
    background-color: #b44c7bB3;
  }

  .service .flora .title {
    color: #FF7E67;
  }

  .service .gene .title {
    color: #44AAF2;

  }

  .service .flora .flora_image {
    display: block;
    margin: 25px auto;
    max-width: 100%;
    height: auto;
  }

  .service .gene .gene_image {
    display: inline-block;
    margin: 25px 0 18px 0;
    width: 45%;
    height: auto;
  }

  .service .gene .image {
    text-align: center;
  }

  .service .equro .equro_image {
    display: block;
    margin: 25px auto;
    max-width: 80%;
    height: auto;
  }

  .service .content .button {
    border: 1px solid #707070;
    border-radius: 5px;
    text-align: center;
    width: 214px;
    margin: 10px auto;
    padding: 10px;
    font-weight: bold;
  }

  /* 新デザイン：遺伝子博士カード */
  .gene-redesign {
    padding: 0;
  }

  .gene-rd-inner {
    padding: 22px 20px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
  }

  .gene-rd-category {
    display: block;
    color: #44AAF2;
    font-size: 19px;
    letter-spacing: 0.05em;
    border-bottom: 1.5px solid #44AAF2;
    padding: 0 9px 12px;
    margin: 0 0px 10px;
    text-align: center;
  }

  .gene-rd-title {
    font-size: 45px;
    font-weight: bold;
    color: #075BA2;
    margin: 6px 0 8px;
    padding: 0;
    text-align: center;
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", serif;
  }

  .gene-rd-tagline {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin: 0 0 6px;
  }

  .gene-rd-desc {
    font-size: 15px;
    color: #000000;
    line-height: 1.5;
    margin: -3px 0 0px;
  }

  .gene-rd-analysis-title {
    color: #44AAF2;
    font-size: 16px;
    margin: 10px 0 10px;
  }

  .gene-rd-analysis-row {
    display: flex;
    align-items: center;
    margin: 0px 69px 32px;
    padding-top: 0px;
    border-top: 0px solid #d9d9d9;
    text-align: left;
  }

  .gene-rd-icon-wrap {
    flex: 0 0 70px;
    text-align: center;
    margin-right: 14px;
  }

  .gene-rd-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

  .gene-rd-icon-label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #000000;
    margin-top: 4px;
    white-space: nowrap;
  }

  .gene-rd-analysis-row + .gene-rd-analysis-row .gene-rd-icon-label {
    color: #000000;
  }

  .gene-rd-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .gene-rd-list li {
    font-size: 14px;
    color: #000000;
    line-height: 1.3;
    white-space: nowrap;
  }

  .gene-rd-list li::before {
    content: "・";
  }

  .gene-rd-kits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: auto -40px 16px;
  }

  .gene-rd-kits img {
    width: 66%;
    max-width: none;
    height: auto !important;
  }

  .gene-rd-btn,
  .gene-rd-btn:link,
  .gene-rd-btn:visited,
  .gene-rd-btn:active,
  .gene-rd-btn:focus {
    display: block;
    position: relative;
    width: 72%;
    max-width: 320px;
    margin: 1px auto;
    box-sizing: border-box;
    border: 2.9px solid #4481b7;
    border-radius: 13px;
    padding: 12px 48px;
    color: #4481b7;
    text-decoration: none;
    font-size: 17px;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
  }

  .gene-rd-btn:hover {
    background-color: #4481b7;
    color: #fff;
  }

  .gene-rd-btn-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* 横並びアイコングリッド（腸内博士・エクウロ博士） */
  .kit-rd-icons {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 6px;
    margin: 0px 0 0px;
  }

  .kit-rd-icon-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .kit-rd-icon-cell img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f4f4f4;
    margin-bottom: 8px;
  }

  .kit-rd-icon-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    white-space: nowrap;
  }

  .kit-rd-icon-sub {
    display: block;
    font-size: 10px;
    color: #000000;
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
  }

  /* 腸内博士は 2x2 グリッド */
  .flora-redesign .kit-rd-icons {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 23px;
    row-gap: 7px;
  }

  .flora-redesign .kit-rd-icon-cell {
    flex: 0 0 110px;
  }

  .flora-redesign .gene-rd-kits img,
  .equro-redesign .gene-rd-kits img {
    width: 60%;
    max-width: 280px;
  }

  /* カラーバリエーション：腸内博士（ピンク） */
  .flora-redesign .gene-rd-category,
  .flora-redesign .gene-rd-title,
  .flora-redesign .gene-rd-analysis-title {
    color: #ec5e94;
  }

  .flora-redesign .gene-rd-category {
    border-bottom-color: #ec5e94;
  }

  .flora-redesign .gene-rd-btn,
  .flora-redesign .gene-rd-btn:link,
  .flora-redesign .gene-rd-btn:visited,
  .flora-redesign .gene-rd-btn:active,
  .flora-redesign .gene-rd-btn:focus {
    color: #ec5e94;
    border-color: #ec5e94;
  }

  .flora-redesign .gene-rd-btn:hover {
    background-color: #ec5e94;
    color: #fff;
  }

  /* エクウロ博士は逆三角配置（上2 + 下1中央） */
  .equro-redesign .kit-rd-icons {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 8px;
    row-gap: 18px;
  }

  .equro-redesign .kit-rd-icon-cell {
    flex: 0 0 110px;
  }

  .equro-redesign .kit-rd-icon-cell:nth-child(3) {
    flex: 0 0 100%;
  }

  /* カラーバリエーション：エクウロ博士（マゼンタ） */
  .equro-redesign .gene-rd-category,
  .equro-redesign .gene-rd-title,
  .equro-redesign .gene-rd-analysis-title {
    color: #c4498e;
  }

  .equro-redesign .gene-rd-category {
    border-bottom-color: #c4498e;
  }

  .equro-redesign .gene-rd-btn,
  .equro-redesign .gene-rd-btn:link,
  .equro-redesign .gene-rd-btn:visited,
  .equro-redesign .gene-rd-btn:active,
  .equro-redesign .gene-rd-btn:focus {
    color: #c4498e;
    border-color: #c4498e;
  }

  .equro-redesign .gene-rd-btn:hover {
    background-color: #c4498e;
    color: #fff;
  }

  .shop {
    width: 100vw;
    background-color: #fff;
  }

  .shop .shop_btn {
    width: 420px;
    padding: 10px;
    margin: 35px auto;
    text-align: center;
    background-color: #3287D3;
    color: #fff;
    border-radius: 5px;
  }

  .media {
    text-align: center;
  }

  .media .container {
    display: inline-block;
    overflow: hidden;
    margin: 0 auto;
  }

  .media .media_content {
    background-color: #fff;
    width: 170px;
    height: 356px;
    float: left;
    text-align: left;
    margin: 0 15px;
    padding: 20px 25px;
  }

  .media .media_content .description {
    color: #075BA2;
    font-size: 14px;
  }

  .media .media-table {
    border-collapse: separate;
    border-spacing: 0px 20px;
  }

  .corporate-content {
    background-color: #F7F7F7;
  }

  .discription-aboved {
    color: #075BA2;
    text-align: center;
    font-size: 16px;
    margin: 10px 0 30px;
  }

  .corporate-content .discription {
    color: #075BA2;
    text-align: center;
    font-size: 16px;
    margin: 30px 0 15px;
  }

  .corporate-inner {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 0px; 
    background-color: #fff; 
   /* border: 1px solid #E6E6E6;*/
  }

  .corporate-sp-only{
    display: none;
  }
  .corporate-note {
    background-color: transparent;
    border: none;
    width: 500px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
/*
  .corporate-note .note-logo {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 64px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #111;
  }
*/

  .corporate-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .corporate-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #075BA2;
  }

  .corporate-list li::before {
    content: ""; 
    position: absolute; 
    left: 0; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 15px; 
    height: 15px; 
    background-color: #cccccc; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
/*
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: #7FA6D8;
    font-weight: bold;
*/
  }

  .corporate-list li::after { 
    content: ""; 
    position: absolute; 
    left: 3px; 
    top: 7px; 
    width: 8px; 
    height: 6px; 
    border-left: 2px solid #fff; 
    border-bottom: 2px solid #fff; 
    transform: rotate(-45deg); 
  }

  .corporate-btn {
    display: block;
    width: 320px;
    margin: -3px auto 0;
    background-color: #3287D3;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
  }


  .viewSp {
    display: none !important;
  }

  .analysis-delay {
    margin: 75px auto 0 auto;
    border: 2px solid #F00;
    padding: 35px;
    width: 70%;
  }
}


@media screen and (max-width: 768px) {

  .viewPc {
    display: none !important;
  }

  .viewSp {
    display: block !important;
  }

  .buttons {
    position: fixed;
    right: 3%;
    bottom: 10px;
    z-index: 100;
  }

  .corporate-content {
    background-color: #F7F7F7;
    padding: 30px 0 40px;
  }
  .discription-aboved {
    color: #075BA2;
    text-align: center;
    font-size: 16px;
    margin: 10px 0 30px;
  }
  .corporate-content .discription {
    color: #075BA2;
    text-align: center;
    font-size: 14px;
    margin: 40px 0 0px;
    padding: 0 16px;
  }

  .corporate-inner {
    display: block;
    margin: 0 16px;
    background-color: transparent;
    border: none;
    padding: 0;
  }

  .corporate-note {
    background-color: #fff;
    /*border: 1px solid #E6E6E6;*/
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:25px 0px 20px 0px;
  }
/*
  .corporate-note .note-logo {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #111;
  }
*/

  .corporate-sp-only{
    display:inline;  
}

  .corporate-list {
    background-color: transparent; 
  }

  .corporate-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: 320px;
    padding-left: 50px;
  }

  .corporate-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 16px;
    color: #075BA2;
  }

  .corporate-list li::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 8px;
    width: 9px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
  }

  .corporate-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 52%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-color: #cccccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

/*
  .corporate-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: #7FA6D8;
    font-weight: bold;
  }
*/

  .corporate-btn {
    display: block;
    width: 70%;
    margin: 10px auto 30px;
    background-color: #3287D3;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
  }

  .page-top {
    display: none;
    text-align: center;
  }

  .contents,
  .information {
    width: 100%;
    padding-bottom: 50px;
    margin: 0 auto;
  }

  .contents section,
  .information section {
    padding-bottom: 10px;
  }

  .main-visual {
    position: relative;
  }

  .pickup-new {
    text-align: center;
    margin: 20px 0 0 0;
  }

  .pickup-new-text {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 4.6vw;
    line-height: 1.4;
  }

  .bnr_pic0_pc {
    width: 74%;
    display: inline-block;
  }

  .pickup .col {
    margin: 0;
  }

  .pickup .image {
    text-align: center;
  }

  .about-drgene {
    background-image: url('/wp-content/uploads/top/pc/top_img_sunshine.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 100%;
    height: 816px;
    background-position-x: -42px;
    overflow: hidden;
  }

  .top_h2,
  .title {
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    font-size: 40px;
    text-align: center;
    color: #075BA2;
    font-weight: normal;
  }


  .about-drgene .introduction {
    text-align: center;
    font-size: 13px;
    line-height: 29px;
    padding: 0 20px;
    color: #075BA2;
  }

  .about-drgene .content_button {
    text-align: center;
    margin-top: 44px;
  }

  .about-drgene .content_button img {
    margin: 10px;
  }

  .about-drgene .content_button .sp-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    margin: 10px 0 0;
  }

  .about-drgene .content_button .sp-button {
    width: 70%;
    max-width: 320px;
    border-radius: 999px;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .about-drgene .content_button .sp-button-title {
    font-size: 1.8rem;
    font-weight: bold;
  }

  .about-drgene .content_button .sp-button-sub {
    font-size: 12px;
    color: #fff;
  }

  .about-drgene .content_button .sp-button-oem .sp-button-sub {
    color: #2F6FB2;
  }

  .about-drgene .content_button .sp-button-gene {
    background-color: #7d96e8;
    color: #fff;
  }

  .about-drgene .content_button .sp-button-flora {
    background-color: #ea7b86;
    color: #fff;
  }

  .about-drgene .content_button .sp-button-ecurl {
    background-color: #b44c7b;
    color: #fff;
  }

  .about-drgene .content_button .sp-button-oem {
    background-color: rgba(245, 245, 245, 0.6);
    color: #2F6FB2;
    border: 1px solid #C9D9EA;
  }

  .about-drgene .button_plus {
    background-color: #3287D3;
    color: #fff;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    margin: 10px 2%;
  }

  .about-drgene .button_plus p {
    font-size: 16px;
  }

  .about-drgene-sp {
    margin-bottom: 20px;
  }

  .kit_add {
    text-align: center;
    background-color: #fff;
    padding: 21px 1px;
  }

  .kit_add img {
    margin: 15px auto;
    width: 90%;
    max-width: 420px;
    height: auto;
    clip-path: inset(0px 0px);
  }

  .kit_add.viewSp a {
    display: block;
    overflow: hidden;
  }

  .news .news_inner_content {
    background-color: #fff;
    margin: 0 10px;
    border-radius: 5px;
  }

  .news .news_inner_content .news_title {
    text-align: center;
  }

  .news .news_inner_content ul {
    margin: 0 !important;
    padding: 0 5px !important;
    text-align: left;
  }


  .select_because {
    background-color: #fff;
    padding: 10px 5px;
  }

  .select_because .discription {
    color: #075BA2;
    font-size: 16px;
    margin: 0 40px;
  }

  .select_because .step {
    margin: 10px 5px;
    text-align: center;
    display:flex;
    justify-content: center;
  }

  .select_because .step_col {
    margin: 20px 35px;
  }

  .select_because .step_col p {
    text-align: left;
    font-size: 16px;
  }

  #service .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 10px auto;
    gap: 0;
  }

  #service .content_title {
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: "Helvetica Neue",
      Arial,
      "Hiragino Kaku Gothic ProN",
      "Hiragino Sans",
      Meiryo,
      sans-serif;
    font-size: 24px;
  }

  #service .content {
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 8px;
    padding-bottom: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  #service .content > a {
    margin-top: auto;
    display: block;
  }

  #service .container .content:last-child {
    margin-bottom: 0;
  }

  #service .content img {
    margin: 2px auto;
  }

  #service .button {
    margin: 10px auto;
    border: solid 1px;
    border-radius: 5px;
    padding: 10px;
    width: 60%
  }

  #service .flora_color {
    color: #FF7E67;
  }

  #service .gene_color {
    color: #44AAF2;
  }

  #service .ecurl_color {
    color: #b44c7b;
  }

  #service .flora .content_title {
    border-bottom: solid 4px;
    padding: 5px;
    color: #FF7E67;
  }

  #service .gene .content_title {
    border-bottom: solid 4px;
    padding: 5px;
    color: #44AAF2;
  }

  #service .equro .content_title {
    border-bottom: solid 4px;
    padding: 5px;
    color: #b44c7b;
  }

  #service .content .description p {
    font-size: 13px;
    text-align: left;
  }

  #service .content .image_description {
    position: relative;
    overflow: visible;
    height: auto;
  }

  #service .content .image_description img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 !important;
  }

  #service .content .image_description .description {
    position: static;
    padding: 10px;
  }

  #service .flora .image_description .description {
    background-color: #FFBBAFB3;
  }

  #service .gene .image_description .description {
    background-color: #A5CBF7CC;
  }

  #service .equro .image_description .description {
    background-color: #b44c7bB3;
  }

  #service .equro .equro_image {
    display: block;
    width: 80%;
    margin: 15px auto;
    height: auto;
  }

  #shop {
    background-color: #fff;
    padding: 30px 0;
  }

  #shop .discription {
    color: #075BA2;
    font-size: 16px;
    margin: 20px;
  }

  #shop .shop_btn {
    background-color: #3287D3;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    margin: 20px 15px;
  }

  #media .media_content {
    background-color: #fff;
    margin: 15px;
  }

  #media .media_content .description {
    color: #075BA2;
    width: 60%;
    margin: 10px;
    float: right;
  }

  #media .media_content .description p {
    font-size: 14px;
  }


  .analysis-delay {
    margin: 10px auto 0 auto;
    border: 2px solid #F00;
    width: 90%;
    padding: 10px;
  }
}

/* プレスリリース TOPセクション */
@media screen and (min-width: 769px) {
  .press-release-top {
    background-color: #fff;
    padding: 50px 0 40px;
    text-align: center;
  }
  .press-release-top-list {
    list-style: none;
    margin: 30px auto;
    padding: 0;
    width: 760px;
    text-align: left;
  }
  .press-release-top-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 14px 0;
    font-size: 16px;
  }
  .press-release-top-date {
    color: #9D9D9D;
    margin-right: 20px;
    font-size: 14px;
  }
  .press-release-top-item a {
    color: #1F5EA8;
    text-decoration: none;
  }
  .press-release-top-item a:hover {
    text-decoration: underline;
  }
  .press-release-top-btn-wrap {
    margin-top: 30px;
  }
  .press-release-top-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #1F5EA8;
    color: #1F5EA8;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
  }
  .press-release-top-btn:hover {
    background-color: #1F5EA8;
    color: #fff;
  }
  .press-release-top-empty {
    color: #9D9D9D;
    padding: 20px 0 30px;
  }
}
@media screen and (max-width: 768px) {
  .gene-redesign {
    padding: 0;
  }

  .gene-rd-inner {
    padding: 14px 20px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
  }

  .gene-rd-category {
    display: block;
    color: #44AAF2;
    font-size: 19px;
    letter-spacing: 0.05em;
    border-bottom: 1.5px solid #44AAF2;
    padding: 0 9px 12px;
    margin: 0 0px 10px;
    text-align: center;
    white-space: nowrap;
  }

  .gene-rd-title {
    font-size: 45px;
    font-weight: bold;
    color: #075BA2;
    margin: 6px 0 8px;
    padding: 0;
    text-align: center;
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", serif;
    white-space: nowrap;
  }

  .gene-rd-tagline {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin: 0 0 6px;
  }

  .equro-redesign .gene-rd-tagline {
    font-size: clamp(11px, 4.2vw, 20px);
    white-space: nowrap;
  }

  .gene-rd-desc {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    line-height: 1.5;
    margin: 11px 0 23px;
  }

  .gene-rd-analysis-title {
    color: #44AAF2;
    font-size: 16px;
    margin: 0px 0 12px;
  }

  .gene-rd-analysis-row {
    display: flex;
    align-items: center;
    margin: 0 70px 18px;
    padding-top: 4px;
    border-top: 0px solid #d9d9d9;
    text-align: left;
  }

  .gene-rd-icon-wrap {
    flex: 0 0 70px;
    text-align: center;
    margin-right: 14px;
  }

  .gene-rd-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

  .gene-rd-icon-label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #000000;
    margin-top: 4px;
    white-space: nowrap;
  }

  .gene-rd-analysis-row + .gene-rd-analysis-row .gene-rd-icon-label {
    color: #000000;
  }

  .gene-rd-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .gene-rd-list li {
    font-size: 16px;
    color: #000000;
    line-height: 1.3;
    white-space: nowrap;
  }

  .gene-rd-list li::before {
    content: "・";
  }

  .gene-rd-kits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: auto -40px 16px;
  }

  .gene-rd-kits img {
    width: 66%;
    max-width: none;
    height: auto !important;
  }

  .gene-rd-btn,
  .gene-rd-btn:link,
  .gene-rd-btn:visited,
  .gene-rd-btn:active,
  .gene-rd-btn:focus {
    display: block;
    position: relative;
    width: 80%;
    max-width: 320px;
    margin: 0 auto;
    box-sizing: border-box;
    border: 2.9px solid #4481b7;
    border-radius: 13px;
    padding: 12px 52px;
    color: #4481b7;
    text-decoration: none;
    font-size: 17px;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
  }

  .gene-rd-btn:hover {
    background-color: #4481b7;
    color: #fff;
  }

  .gene-rd-btn-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* 横並びアイコングリッド（腸内博士・エクウロ博士） */
  .kit-rd-icons {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 4px;
    margin: 0px 0 0px;
  }

  .kit-rd-icon-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .kit-rd-icon-cell img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f4f4f4;
    margin-bottom: 6px;
  }

  .kit-rd-icon-label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #000000;
    line-height: 1.3;
    white-space: nowrap;
  }

  .kit-rd-icon-sub {
    display: block;
    font-size: 9px;
    color: #000000;
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
  }

  /* 腸内博士は 2x2 グリッド */
  .flora-redesign .kit-rd-icons {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 8px;
    row-gap: 18px;
  }

  .flora-redesign .kit-rd-icon-cell {
    flex: 0 0 110px;
  }

  .flora-redesign .gene-rd-kits img,
  .equro-redesign .gene-rd-kits img {
    width: 60%;
    max-width: 280px;
  }

  /* カラーバリエーション：腸内博士（ピンク） */
  .flora-redesign .gene-rd-category,
  .flora-redesign .gene-rd-title,
  .flora-redesign .gene-rd-analysis-title {
    color: #ec5e94;
  }

  .flora-redesign .gene-rd-category {
    border-bottom-color: #ec5e94;
  }

  .flora-redesign .gene-rd-btn,
  .flora-redesign .gene-rd-btn:link,
  .flora-redesign .gene-rd-btn:visited,
  .flora-redesign .gene-rd-btn:active,
  .flora-redesign .gene-rd-btn:focus {
    color: #ec5e94;
    border-color: #ec5e94;
  }

  .flora-redesign .gene-rd-btn:hover {
    background-color: #ec5e94;
    color: #fff;
  }

  /* エクウロ博士は逆三角配置（上2 + 下1中央） */
  .equro-redesign .kit-rd-icons {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 8px;
    row-gap: 18px;
  }

  .equro-redesign .kit-rd-icon-cell {
    flex: 0 0 110px;
  }

  .equro-redesign .kit-rd-icon-cell:nth-child(3) {
    flex: 0 0 100%;
  }

  /* カラーバリエーション：エクウロ博士（マゼンタ） */
  .equro-redesign .gene-rd-category,
  .equro-redesign .gene-rd-title,
  .equro-redesign .gene-rd-analysis-title {
    color: #c4498e;
  }

  .equro-redesign .gene-rd-category {
    border-bottom-color: #c4498e;
  }

  .equro-redesign .gene-rd-btn,
  .equro-redesign .gene-rd-btn:link,
  .equro-redesign .gene-rd-btn:visited,
  .equro-redesign .gene-rd-btn:active,
  .equro-redesign .gene-rd-btn:focus {
    color: #c4498e;
    border-color: #c4498e;
  }

  .equro-redesign .gene-rd-btn:hover {
    background-color: #c4498e;
    color: #fff;
  }

  .press-release-top {
    background-color: #fff;
    padding: 40px 0 30px;
    text-align: center;
  }
  .press-release-top-list {
    list-style: none;
    margin: 20px 20px;
    padding: 0;
    text-align: left;
  }
  .press-release-top-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    font-size: 14px;
  }
  .press-release-top-date {
    display: block;
    color: #9D9D9D;
    font-size: 12px;
    margin-bottom: 4px;
  }
  .press-release-top-item a {
    color: #1F5EA8;
    text-decoration: none;
  }
  .press-release-top-btn-wrap {
    margin-top: 20px;
  }
  .press-release-top-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid #1F5EA8;
    color: #1F5EA8;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
  }
  .press-release-top-empty {
    color: #9D9D9D;
    padding: 10px 0 20px;
  }
}

/* Service card image/text separation override */
.service .image_description,
#service .content .image_description {
  height: auto !important;
  overflow: visible !important;
}

@media screen and (min-width: 769px) {
  #service .container.viewPc .content > .content_title {
    display: block;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
}

.service .image_description .photo_logo,
#service .content .image_description img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

.service .image_description .description,
#service .content .image_description .description {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: block;
}

.service .flora .flora_image,
.service .gene .gene_image,
.service .equro .equro_image,
#service .flora .flora_image,
#service .gene .gene_image,
#service .equro .equro_image {
  max-width: 100% !important;
  height: auto !important;
}

.service .equro .equro_image,
#service .equro .equro_image {
  width: 45% !important;
  max-width: 222px !important;
  height: auto !important;
  display: block;
  margin: 25px auto;
}

@media screen and (max-width: 768px) {
  .service .equro .equro_image,
  #service .equro .equro_image {
    max-width: 175px !important;
    margin: 15px auto;
  }
}


/* ==========================================================================
 * CLS対策で <img> に width/height 属性を入れた箇所のうち、
 * 親要素の CSS で幅指定が無い画像が原寸を主張して viewport を
 * 膨張させない様に最小限の制約を追加。
 * (汎用 img ルールはモバイルメニューに影響が出たため、限定セレクタで対応)
 * ========================================================================== */
.media .media_content img,
#media .media_content img,
.corporate-note img,
#corporate-content .corporate-note img,
#service .content img {
  max-width: 100%;
  height: auto;
}