    /*
    Theme Name: edithack
    */




@charset "UTF-8";
abbr, address, article, aside, audio, b, blockquote, body, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, p, pre, q, samp, section, small, span, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video {
    font-family: ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Hiragino Sans,メイリオ,Meiryo,ＭＳ Ｐゴシック,MS PGothic,sans-serif;
    font-size: 100%;
    font-style: normal;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #f2f2f2;
    color: #303335;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    -webkit-text-size-adjust: 100%;
    font-weight: 500;
}



/*--------------------------

ヘッダー

---------------------------*/
.edithackheader{
    height:60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #343b3e;
    z-index: 20;
    background: #0f2350;
}


.edithackheader-logo {
 top: 14px;
 left: 30px;
 width: 180px;
 position: absolute;
}


.edithackheader-logo img{
   max-width: 100%;
    height: auto;
    vertical-align: bottom;
}


.gnavi__lists {
   display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

span.searchlist{
    color:#fff;
}

.gnavi__list a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #1b4059;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: all .3s;
}

.gnavi__list {
   margin-right: 30px;
    font-size: 14px;
}

.gnavi__wrap {
    position: absolute;
    left: 260px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    line-height: 1;
}

/*--------------------------

ボディ

---------------------------*/

#contents {
    margin: 0 20px;
    padding: 120px 0px 80px;
    text-align: center;
}

.contents:after {
    clear: both;
}


#archive-wrap h2 {
    position: relative;
    font-size: 24px;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: -5px;
}

/*--------------------------

記事一覧

---------------------------*/
.article {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}


.wrap {
    zoom: 1;
}


.wrap {
        position: relative;
        margin: 0 -10px;
    }

.wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}


.wrap:before, .wrap:after {
    content: "";
    display: table;
    height: 0;
    visibility: hidden;
}


.item {
    text-align: left;
}

.item {
        float: left;
        width: 31.4%;
        padding: 30px 10px 0;
    }

.item a {
    position: relative;
    display: block;
}

    a {
        opacity: 1;
        backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transition: all 0.3s;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
          color: #3d3c3a;
    text-decoration: none;
    }

.item dt a {
    line-height: 1.5;
    display: inline;
    color: #3d3c3a;
    font-weight: 600;
    font-size: 16px;
}


img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}



.item img {
    width: 100%;
}


.item dl {
        margin-top: 20px;
    }

.item dt {
        margin-bottom: 15px;
        font-weight: 600;
        line-height: 1;
    }



.item dt.article_ttl {
    line-height: 1.5;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


.item dd p, .interview__item dd p {
    display: inline;
    color: #3d3c3a;
    line-height: 1.7;
    font-size:14px;
}

.item dd span, .interview__item dd span {
    margin-left: 10px;
    color: #7f8891;
    font-weight: 500;   
    font-size: 15px;
}


.linkbutton-warp {
    width: fit-content;
}

.linkbutton-warp {
    margin: 0 auto;
}


.link-button {
    --background-color: #191F4D;
    --color: #fff;
    --border-color: #191F4D;
    background-color: var(--background-color);
    color: var(--color);
    border: solid 1px var(--border-color);
    width: 100%;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
}

.link-button {
        line-height: 2;
        font-size: 16px;
        padding: 8px 30px;
        margin-top:40px;
    }

.link-button {
    --background-color: #fff;
    --color: #191F4D;
}

#archive-wrap{
    padding-bottom: 60px;
}


/*--------------------------

フッター

---------------------------*/

#footer {
    padding: 50px 0;
    background: #0f2350;
    text-align: center;
    margin-top: auto;
}

#footer #foot-link li {
    display: inline-block;
    padding: 0 10px;
    border-right: 1px solid #dde0e4;
    font-size: 13px;
    line-height: 1;
}

#footer #foot-link a {
    color: #dde0e4;
    text-decoration: none;
}

#footer #foot-link li:last-child {
    border-right: none;
}

#footer #copyright {
    color: #dde0e4;
    font-size: 13px;
    padding-top: 40px;
}


/*--------------------------

パンクズ

---------------------------*/


.breadcrumbs {
    margin: 0 auto;
    width: 1160px;
    font-size:12px;
    padding:75px 0 5px 0;
}

.breadcrumbs a:link{
text-decoration:underline;
}


/*--------------------------

　ランキングゾーン

---------------------------*/

.container {
    display: block;
    position: relative;
    overflow: visible;
}


.rankingzone:nth-child(n+2) {
    margin-top: 24px;
    width:1160px;
}



.rankingzone li{
position: relative;
counter-increment: ranking; /* ここでカウントアップ */
}



.rankingzone li::before {
  content: "";
  position: absolute;
 opacity: .75;
  top: -0.5px;
  left: 0;
  width: 50px;
  height: 50px;
  background: #000;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 10;
}

/* 数字のラベルを別要素で作り、水平表示 */
.rankingzone li::after {
  content: counter(ranking);
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  z-index: 20;
  user-select: none;
}


/* 1位 */
.rankingzone li:nth-child(1):before {
    background: #9a8d4b;
    color: #fff;
}
/* 2位 */
.rankingzone li:nth-child(2):before {
    background: #919cab;
    color: #fff;
}
/* 3位 */
.rankingzone li:nth-child(3):before {
    background: #886e59;
    color: #fff;
}
/* 4位以降の色 */
.rankingzone li:nth-child(n + 4):before{
    background: #6c96e4;
    color: #fff;
}

/* 10位の数字の位置 */
.rankingzone li:nth-child(n + 10):after{
  content: counter(ranking);
  position: absolute;
  top: 10px;
  left: 5px;
 background: #6c96e4;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  z-index: 20;
  user-select: none;
}


.rankingzone {
    display: flex;
    overflow: hidden;
    width: 100%;
    padding: 35px 10px 4px;
    counter-reset: ranking;
    position: relative;
}


.rankingslider {
    padding: 0;
    overflow: visible;
}



.rankingzone__item--recommend {
  min-height: 223px;
  box-sizing: border-box;
  border-radius: 2px;
  width: 371px; /* remove !important */
  height: auto;
  margin-left: 24px; /* すべてにマージンをつける */
}

.rankingzone__item--recommend:first-child {
  margin-left: 0; /* 最初のスライドだけ左マージンなし */
}


.rankingzone__link {
    cursor: pointer;
    display: flex;
    height: 100%;
    flex-direction: column;
}



.rankingzone__link {
    cursor: pointer;
    display: flex;
    height: 100%;
    flex-direction: column;
}



.rankingzone__item--recommend img {
    width: 100%;
    height: 223px;
    font-family: "object-fit: cover;";
    object-fit: cover;
    background-color: #f4f4f5;
}


.rankingzone__information {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin-top: 20px;
}



.rankingzone__dentalclinic {
    flex: 1 1 auto;
}


.rankingzone__dentalclinic-name {
    text-overflow: ellipsis;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    word-wrap: break-word;
    text-align: left;
}


.rankingzone__dentalclinic-name--small {
    font-size: 16px;
}


.rankingzone__link {
    cursor: pointer;
    display: flex;
    height: 100%;
    flex-direction: column;
}


.rankingzone__item--recommend:nth-of-type(n+2) {
    margin-left: 24px;
}

.slick-list {
    position: relative;
    display: block;
    overflow: visible !important;
    margin: 0;
    padding: 0;
}


.slick-list {
    position: relative;
    display: block;
    overflow: visible !important;
    margin: 0;
    padding: 0;
}


.rankingslider {
  position: relative;
}

.custom-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.rankingslider .slick-prev {
  left: 0px;
}

.rankingslider .slick-next {
  right: 19px;
}

.custom-arrow svg {
  display: block;
}

/* 🔁 デフォルトの太い矢印は完全に消す */
.slick-prev:before,
.slick-next:before {
  content: none !important;
  display: none !important;
}

/* 🔸端にいるときは矢印を薄く見せる */
.custom-arrow.slick-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none; /* 無効化もするなら */
}
