@charset "UTF-8";
/*--------------------------------------
  Reset
--------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}
ul[class],
ol[class] {
    padding: 0;
}
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
@media (max-width: 1023px) {
    html {
        font-size: 12px;
    }
}
@media (min-width: 1024px) {
    html {
        font-size: 16px;
    }
}
body {
    min-height: 100vh;
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
}
ul[class],
ol[class] {
    list-style: none;
}
a:not([class]) {
    text-decoration-skip-ink: auto;
}
img {
    max-width: 100%;
    display: block;
}
article > * + * {
    margin-top: 1em;
}
input,
button,
textarea,
select {
    font: inherit;
}
/*--------------------------------------
  body
--------------------------------------*/
body.bf-home {
    line-height: 1.6;
    color: #333;
    background: #fff;
    font-family: 游ゴシック体,"游ゴシック Medium","Yu Gothic Medium","游ゴシック体",YuGothic,"ヒラギノ角ゴシック Pro","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",FontAwesome,sans-serif;
    font-size: 1.125rem;
}
/*--------------------------------------
  header
--------------------------------------*/
/*nav*/
.bf-nav {
    max-width: 1110px;
    margin: 0 auto;
}
.bf-nav__list {
    display: flex;
    flex-wrap: nowrap;
}
.bf-nav__list li:nth-child(7),
.bf-nav__list li:nth-child(8) {
    display: list-item;
}
.bf-nav .menu-item {
    position: relative;
}
.bf-nav__list>.menu-item:not(:last-child):after {
    position: absolute;
    top: 10px;
    right: 0;
    width: 0.5px;
    height: 60px;
    background: #1f9dda;
    content: "";
}
.bf-nav .sub-menu {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}
/* diverではdescが表示されてしまうため非表示 */
.bf-nav .menu_desc {
    display: none;
}
@media (min-width: 1024px) {
.bf-nav .menu-item:before {
    display: inline-block;
    position: absolute;
    bottom: -10px;
    left: calc(50% - 8px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    content: "";
}
.bf-nav__list > .menu-item:hover:before {
    bottom: -6px;
    background-color: #1f9cda;
    transition: 0.3s ease-out;
}
.bf-nav__list > .menu-item > a {
    display: inline-block;
    width: 185px;
    line-height: 80px;
    color: #333;
    text-align: center;
    text-decoration: none;
    transition: 0.3s ease-out;
}
.bf-nav__list > .menu-item a:hover {
    color: #1f9dda;
}
.bf-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 999;
    width: max-content;
    visibility: hidden;
    opacity: 0;
    font-size: 0.875rem;
    transform: translateX(-50%);
    transition: 0.3s ease-out;
}
.bf-nav .menu-item:hover > .sub-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}
.bf-nav .sub-menu .menu-item {
    border-bottom: 1px solid #fff;
    background-color: #1f9dda;
    transition: 0.3s ease-out;
}
.bf-nav .sub-menu .menu-item:hover {
    background-color: #68b7de;
}
.bf-nav .sub-menu .menu-item:first-child {
    border-radius: 8px 8px 0 0;
}
.bf-nav .sub-menu .menu-item:last-child {
    border-radius: 0 0 8px 8px;
}
.bf-nav .sub-menu .menu-item a {
    display: inline-block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
}}
@media (min-width: 1024px) and (max-width: 1100px) {
.bf-nav {
    max-width: 1020px;
}
.bf-nav-link {
    width: 170px;
}
.bf-nav__list > .menu-item > a {
    width: 170px;
}
.bf-nav .sub-menu .menu-item a {
    width: 100%;
}}
@media (max-width: 1023px){
.bf-nav-area {
    margin: 1rem;
}
.bf-nav__list {
    flex-wrap: wrap;
    justify-content: center;
}
.bf-nav .menu-item {
    flex-basis: 48%;
    margin: 1%;
    border-radius: 22px;
    background: #edf7fc;
}
.bf-nav .menu-item a {
    display: inline-block;
    width: 100%;
    line-height: 44px;
    color: #1f9dda;
    text-align: center;
    text-decoration: none;
}
.bf-nav .menu-item:not(:last-child):after {
    display: none;
}}
@media (min-width: 768px) and (max-width: 1023px) {
.bf-nav .menu-item {
    flex-basis: 31%;
}}
@media (min-width: 768px){
.bf-nav__list > li:nth-child(7),
.bf-nav__list > li:nth-child(8) {
    display: none;
    }
.bf-nav .menu-item:nth-child(6):after {
    display: none;
}}
/*--------------------------------------
  main
--------------------------------------*/
/*section*/
.bf-setion {
    padding: 2rem 1rem 4rem;
}
.bf-setion--bgc-thin {
    background-color: #edf7fc;
}
.bf-viewport {
    position: relative;
    max-width: 1110px;
    height: 100%;
    margin: 0 auto;
}
.bf-section-titlearea {
    margin-bottom: 2rem;
    color: #1f9dda;
    text-align: center;
}
.bf-section__title {
    font-size: 1.5rem;
}
.bf-section__title:before {
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto;
}
.bf-section__title--pickup:before {
    content: url(../images/category-icon-pickup.svg);
}
.bf-section__title--category:before {
    content: url(../images/category-icon-category.svg);
}
.bf-section__title--tag:before {
    content: url(../images/category-icon-tag.svg);
}
.bf-section__title--new:before {
    content: url(../images/category-icon-new.svg);
}
.bf-section__title--camera:before {
    content: url(https://train-cycling.com/wp-content/themes/diver_child/bfdh-library/images/category-icon-camera.svg);
}
.bf-section__title--japan:before {
    content: url(https://train-cycling.com/wp-content/themes/diver_child/bfdh-library/images/category-icon-japan.svg);
}
.bf-section__title--train:before {
    content: url(https://train-cycling.com/wp-content/themes/diver_child/bfdh-library/images/category-icon-train.svg);
}
.bf-section__title--bicycle:before {
    content: url(https://train-cycling.com/wp-content/themes/diver_child/bfdh-library/images/category-icon-bicycle.svg);
}
.bf-section__subtitle {
    opacity: 0.38;
}
@media (max-width: 767px) {
.bf-section__title:before {
    width: 32px;
    height: 32px;
}}
/*4col*/
.bf-4col{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.bf-4col__item {/*width-255pxになるように%調整*/
    width: 22.973%;
    margin-bottom: 1rem;
}
.bf-card {
    min-height: 255px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.16);
    background-color: #fff;
    transition: 0.3s ease-out;
}
.bf-card:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transform: translateY(-4px);
}
.bf-card__linkarea{
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.bf-card__figure{
    position: relative;
    overflow: hidden;
    padding-bottom: 61.961%;
}
.bf-card__img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-out;
}
.bf-card__textarea{
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
}
.bf-card__title {
    max-height: 4rem;
    overflow-y: hidden;
    color: #333;
}
/*3-col*/
.bf-3col{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.bf-3col__item {/*width-350pxになるように%調整*/
    width: 31.532%;
    margin-bottom: 1.5rem;
}
.bf-linkimg{
    box-shadow: 0 2px 4px rgba(0,0,0,0.16);
}
.bf-linkimg__linkarea{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.bf-linkimg__figure {
    position: relative;
    overflow: hidden;
    padding-bottom: 65.4286%;
}
.bf-linkimg__img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-out;
}
.bf-linkimg__img:hover {
    transform: scale(1.1);
}
@media (min-width: 768px) and (max-width: 1023px) {
.bf-card {
    min-height: 180px;
}}
@media (max-width: 767px) {
.bf-3col__item,
.bf-4col__item {
    width: calc(50% - 0.5rem);
    }
.bf-card {
    min-height: auto;
}}
/* search */
.bf-setion-search {
    display: flex;
    max-width: 730px;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 2.5rem;
    border-radius: 4px;
    background: #edf7fc;
}
.bf-section--search-padding {
    padding-bottom: 0;
}
.bf-setion-search__label {
    display: flex;
    position: relative;
    padding: 0 2rem;
    color: #1f9dda;
    font-weight: 600;
    font-size: 1.5rem;
}
.bf-setion-search__label:before {
    display: inline-block;
    width: 32px;
    height: 32px;
    align-self: center;
    margin-right: 0.5rem;
    content: url(../images/search-icon.svg);
}
.bf-setion-search input.bf-search__input {
    max-width: 285px;
    flex: 1;
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.15);
    background-color: #fff;
}
button.bf-search__submit {
    border: none;
    padding: 0 1rem;
    background-color: #1f9dda;
    margin-left: .5rem;
    line-height: 36px;
    transition: opacity .3s ease-out;
}
button.bf-search__submit:hover {
    text-shadow: none;
    opacity: .7;
    background-color: #1f9dda;
}
@media (max-width: 767px) {
.bf-setion-search {
    flex-wrap: wrap;
    }
.bf-setion-search__label {
    margin-right: auto;
    padding: 0 0 1.5rem 0;
    }
.bf-setion-search input.bf-search__input {
    width: 400px;
    }
}
/*tag*/
.bf-tag__checkbox {
    display: none;
}
.bf-tag__checkbox-label {
    display: inline-block;
    margin: 0 1rem 1rem 0;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    color: #707070;
    background: #f3f3f3;
    font-size: 0.875rem;
}
.bf-tag__checkbox:checked + .bf-tag__checkbox-label {
    color: #fff;
    background: #1f9dda;
}
@media (max-width: 1023px){
.bf-tag__checkbox-label {
    margin: 0 0 1rem 0;
    font-size: 0.75rem;
}}
/*acdon*/
.bf-acdon {
    text-align: center;
}
.bf-acdon-box {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}
.bf-acdon__input {
    display: none;
}
.bf-acdon__label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid;
    border-radius: 30px;
    color: #1f9dda;
    text-align: center;
    transition: 0.3s ease-out;
    cursor: pointer;
}
.bf-acdon__label:hover {
    background-color: #edf7fc;
}
.bf-acdon__openbox {
    display: block;
    position: relative;
    height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
    transition: 0.3s ease-out;
}
.bf-acdon__input:checked ~ .bf-acdon__openbox {
    height: auto;
    overflow: visible;
    opacity: 1;
}
.bf-acdon__input:checked ~ .bf-acdon__label {
    background-color: #edf7fc;
}
.bf-tag__search{
    text-align: center;
}
.bf-tag__search .bf-btn{
    border: none;
}
.bf-home button.bf-btn {
    display: inline-block;
    padding: 1rem 4rem;
    border-radius: 30px;
    color: #fff;
    background: #1f9dda;
    text-decoration: none;
    transition: 0.3s ease-out;
}
.bf-tag__search .bf-btn:hover{
    background: #1f9dda;
}
.bf-btn:hover {
    color: #fff;
    transform: translateY(4px);
}
/*bf-newlist*/
.bf-newlist {
    padding: 1.5rem 4rem;
    border-radius: 8px;
    background-color: #fff;
}
.bf-newlist__item {
    padding: 0 0.5rem;
    border-bottom: 1px solid #d2ebf8;
    transition: 0.3s ease-out;
}
.bf-newlist__item:hover {
    background-color: #edf7fc;
}
.bf-newlist__linkarea {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.bf-newlist__date {
    padding-top: 0.5rem;
    color: #ccc;
}
.bf-newlist__title {
    padding: 0.5em 1rem 0.75rem 0;
    color: #333;
}
.bf-newlist__title:before {
    margin-right: 0.5rem;
    color: #1f9dda;
    font-family: "fontawesome";
    font-weight: 600;
    content: "\f0da";
}
.bf-newlist-textlinkbox {
    padding: 2rem;
    text-align: center;
}
.bf-newlist-textlinkbox__textlink {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid;
    border-radius: 30px;
    color: #1f9dda;
    text-decoration: none;
    transition: 0.3s ease-out;
}
.bf-newlist-textlinkbox__textlink:hover {
    background-color: #edf7fc;
}
/*Cycle wear*/
.bf-section__title--cyclewear:before {
    content: url(../images/category-icon-cyclewear.svg);
}
.bf-btnbox {
    padding: 1rem;
    text-align: center;
}
.bf-setion--bdb-cfcf {
    position: relative;
}
.bf-setion--bdb-cfcf:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(90deg, #f3f3f3,#f3f3f3 8px,transparent 8px,transparent 16px);
    content: "";
}
/*Cycling report*/
.bf-section__title--cyclingreport:before {
    content: url(../images/category-icon-cyclingreport.svg);
}
/*Bicycle goods*/
.bf-section__title--bicyclegoods:before {
    content: url(../images/category-icon-bicyclegoods.svg);
}
/* CAMERA YOUTUBE & BY REGION*/
.bf-2col{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.bf-2col__item{
    width: 48%;
    margin-bottom: 1rem;
}
.bf-titlebox {
    position: relative;
    padding: 3rem 0 2rem;
    color: #1f9dda;
    text-align: center;
}
.bf-titlebox:before {
    display: inline-block;
    position: absolute;
    top: 0;
    left: calc(50% - 175px);
    z-index: -1;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: #edf7fc;
    content: "";
}
@media (max-width: 767px) {
.bf-viewport > .bf-2col > .bf-2col__item{
    width: 100%;
}
.bf-viewport > .bf-2col > .bf-2col__item:first-child {
    margin-bottom: 2rem;
    padding-bottom: 3rem;
    border-bottom: 4px dashed #f3f3f3;
}
.bf-setion__sp-btm {
    padding-bottom: 2rem;
}
.bf-titlebox:before {
    display: none;
}
.bf-titlebox {
    padding: 0 0 2rem;
}}
/*profile*/
.bf-profbox {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.bf-profbox__logo {
    display: flex;
}
.bf-profbox__logofigure {
    display: inline-block;
    width: 160px;
}
.bf-profbox__content {
    max-width: 540px;
    padding: 0.625rem;
    border-radius: 80px;
    background-color: #e8f5fb;
}
.bf-roundbox {
    display: flex;
    align-items: center;
}
.bf-roundbox__figure {
    display: inline-block;
    width: 140px;
}
.bf-roundbox__textbox {
    flex: 1;
    padding: 1rem;
}
.bf-roundbox__name{
    font-weight: 600;
    font-size: 1.25rem;
}
.bf-roundbox__text{
    font-size: 0.875rem;
}
.bf-roundbox-btnbox__btn {
    display: inline-block;
    padding: 0.5rem 2.5rem;
    border-radius: 20px;
    color: #1f9dda;
    background-color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: 0.3s ease-out;
}
.bf-roundbox-btnbox__btn:hover {
    box-shadow: 0 0 2px 1px #1f9dda;
}
.bf-setion--bdb-blue {
    position: relative;
}
.bf-setion--bdb-blue:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background: repeating-linear-gradient( 135deg, #1f9cdb, #1f9cdb 10px, #63bbe5 10px, #63bbe5 13px);
    content: "";
}
@media (max-width: 767px) {
.bf-profbox {
    flex-wrap: wrap;
}
.bf-profbox__logo {
    width: 100px;
    margin-bottom: 1rem;
}
.bf-roundbox__figure {
    width: 100px;
}
.bf-setion--bdb-blue {
    border-top: 2px dashed #1f9dda;
}}
/*SITE MAP*/
.bf-section__title--sitemap:before {
    content: url(../images/category-icon-sitemap.svg);
}
ul.bf-4col--categorylist {
    padding-left: 1rem;
}
.bf-4col--categorylist>li {
    margin-bottom: 1rem;
}
.bf-4col--categorylist>li>a:before {
    content: "";
    position: absolute;
    width: 6px;
    height: 1.5rem;
    background: #1f9dda;
    left: -1rem;
    top: 0;
    border-radius: 3px;
}
.bf-4col .cat-item {
    font-weight: 600;
}
.bf-4col .cat-item a {
    line-height: 2.5;
    position: relative;
}
.bf-4col .cat-item a:hover {
    color: #1f9dda;
    text-decoration: underline;
}
.bf-4col .children .cat-item {
    font-weight: 500;
    font-size: 0.95rem;
}
/* focus */
.bf-tag__search .bf-btn:focus {
    outline: none;
}
a.bf-btn:focus {
    color: #fff;
}

/* 新着アイキャッチ対応 */
.bf-newlist__imgtitle {
    display: flex;
    align-items: center;
}
.bf-newlist__img {
    width: 180px;
    height: 140px;
    margin-bottom: .5rem;
    margin-right: .5rem;
}
.bf-newlist__img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.bf-newlist__title {
    flex: 1;
}
@media (max-width: 767px){
    .bf-newlist__img {
        width: 80px;
        height: 80px;
        margin-right: .5rem;
        margin-bottom: 0;
    }}
.bf-newlist__title:before {
    display: none;
}

/* 調整 */
.bf-setion-search {
    border: 1px solid #1f9dda;
}
.bf-newlist {
    border: 2px solid #edf7fc;
}
.bf-tag__checkbox-label {
    background: #ffffff;
}
@media (max-width: 767px) {
    .bf-newlist {
        padding: 1.5rem 1rem;
    }}

a {
    color: #000;
    text-decoration: none;
    transition: all 250ms ease-out;

}

a:hover, a:focus {
    color: #6495ED;
    text-decoration: none;
}

.bf-home input[type="text"] {
    margin: 0;
    padding: 8px 4px;
    width: 80%;
    outline: none;
    border-radius: 2px;
    color: #777;
    vertical-align: bottom;
    font-size: 13px;
}
.bf-home button {
    display: inline-block;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.bf-btn {
    display: inline-block;
    padding: 1rem 4rem;
    border-radius: 30px;
    color: #fff;
    background: #1f9dda;
    text-decoration: none;
    transition: 0.3s ease-out;
}
@media (max-width: 767px){
.bf-setion-search {
    flex-wrap: wrap;
}
.bf-setion-search input.bf-search__input {
    width: 400px;
}
button.bf-search__submit {
    margin-left: 0;
    margin-top: 1rem;
    width: 98%;
}}
@media (min-width: 768px){
.bf-setion--bdb-blue .bf-4col__item:before {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    background: white;
    left: -16px;
    border-radius: 2px;
}
.bf-setion--bdb-blue .bf-4col__item {
    position: relative;
    margin-left: 16px;
}}