/* header footer color */
.primary-bg-color {
    background-color: #eee;
}
#header {
    background-color: #fff;
}
#footer {
    background-color: #3B72D0;
}
.logo {
    width: 150px;
    height: auto;
}

/* button color */
.btn-outline-primary {
    background: aliceblue;
}
.action-icon-btns a:hover .ico-container i {
  color: #3B72D0;
}

/* breadcrumb color */
.master-breadcrumb {
    background-color: #3B72D0;
}
.master-breadcrumb .breadcrumb {
    background-color: #3B72D0;
}
.master-breadcrumb .breadcrumb-item {
    color: #ffffff;
}
.master-breadcrumb .breadcrumb-item a {
    color: #ffffff;
}
.master-breadcrumb .breadcrumb-item a:hover {
    color: #ffcc00;
}
.master-breadcrumb .breadcrumb-item.active {
    color: #ffa696;
}

/* cart icon color */
ul.navbar-nav.toolbar li.nav-item a.cart-btn {
    color: #333333;
    font-weight: bold;
}
ul.navbar-nav.toolbar li.nav-item a.cart-btn:hover {
    color: #007bff;
}
ul.navbar-nav.toolbar li.nav-item a.cart-btn .badge-info {
    color: #ffffff;
    background-color: #007bff;
}

/* footer padding */
#footer {
    padding-top: 24px;
    padding-bottom: 24px;
}
#footer ul.list-inline, #footer ul.nav {
    margin-bottom: 5px;
}
#footer ul.nav .nav-item .nav-link, #footer ul.list-inline .list-inline-item button {
    padding-top: 5px;
    padding-bottom: 5px;
}
footer.footer .copyright {
	margin-top: 0;
}

/* customer top page  */
/* 4row */
@media (min-width: 992px) {
    .card-columns.home {
        column-count: 4;
    }
}
/* smart phone */
.card-columns.home {
    column-count: 1;
}
/* tablet */
@media (min-width: 576px) {
    .card-columns.home {
        column-count: 2;
    }
}
/* small desk top */
@media (min-width: 768px) {
    .card-columns.home {
        column-count: 3;
    }
}
/* large desk top */
@media (min-width: 992px) {
    .card-columns.home {
        column-count: 4;
    }
}

/* 全体のフォントスタイルを共通に指定 */
body, 
html, 
h1, h2, h3, h4, h5, h6, 
p, 
a, 
ul, ol, li, 
button, 
input, select, textarea {
    font-size: 16px; /* 基本のフォントサイズを指定 */
    line-height: 1.6; /* 行間を調整 */
}
/* ヘッダーのタイトルを少し大きく */
h1, h2, h3 {
    font-size: 20px;
    font-weight: bold; /* 太字にする */
}
/* 小見出しのフォントスタイル */
h4, h5, h6 {
    font-size: 18px;
    font-weight: normal; /* 通常の太さにする */
}
/* リンクのスタイル（デフォルトの下線や色） */
a {
    text-decoration: none; /* 下線を消す */
    color: #0066cc; /* リンクの色を指定 */
}
a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
    color: #0044aa; /* ホバー時の色 */
}
/* ボタンやフォーム要素の共通フォントスタイル */
button, input, select, textarea {
    font-family: inherit; /* 親要素のフォントスタイルを継承 */
    font-size: 16px; /* フォントサイズを調整 */
}
/* ナビゲーションメニューのフォントスタイル */
.navbar, .menu, .panel-sidebar {
    font-size: 16px; /* メニューやサイドバーのフォントサイズを指定 */
}

/* .orgボタンの装飾 */
.featured-tld .price.org {
    background-color: #42AC60;
    color: #fff;
}
.featured-tld .price.biz {
    background-color: #4a6380;
    color: #fff;
}
.featured-tld .price.info {
    background-color: #ff6000;
    color: #fff;
}

/* プラン選択画面のプランタイトル背景色 */
#order-standard_cart .products .product[id^="product"] header {
    background-color: #666666;
}
#order-standard_cart .products .product[id^="product"] header span {
    color: #ffffff;
    font-weight: bold;
}

/* サブメニューの下線 */
.custom-underline {
    display: inline-block;
    position: relative;
    margin-bottom: 16px; /* 下の余白 */
    padding-bottom: 8px; /* 文字と線の間隔 */
}

.custom-underline::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px; /* 線の太さ */
    background-color: #ccc; /* 線の色 */
    bottom: -6px; /* 下部の線の位置 */
}

/* メインメニューの縦幅を広げて、マウスホバー領域を確保 */
.d-block.dropdown > a {
    padding-bottom: 15px; /* メインメニュー項目の縦方向の余白を増やす */
    padding-top: 15px; /* 必要に応じて調整 */
    line-height: 1.8; /* 縦方向の調整をさらに行う場合に使用 */
}

/* ドロップダウンメニューの位置調整 */
.dropdown-menu {
    margin-top: 5px; /* サブメニューの表示位置をメインメニューに近づける */
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2); /* 右下方向の薄い影 */
}

/* ドロップダウンメニューをホバーで表示する設定 */
.d-block.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ドメイントップページ下部追加箇所の装飾 */
.domain-addon-intro {
    background-color: #f8f8f8;
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 20px;
    border-radius: 8px;
}
.addon-item {
    margin-bottom: 15px;
}
.addon-item h4 {
    margin: 0 0 10px;
    color: #007bff;
}
.addon-item p {
    padding-left: 24px;
}

header.header .toolbar .nav-link {
  color: darkblue !important;
}
