/* Add your css code here */
/*
Variable Definitions:
  --r-bg: Sets the background color.
  --r-tx: Sets the text color.
  --r-h1: Sets the color for h1, h2, and h3 headings.
  --r-lk: Sets the link text color.
  --r-lk-h: Sets the hover color for link text.
  --r-br: Sets the border color.
  --r-bg-fr: Sets the background color for input forms.
  --r-tx-lk: Sets the menu link text color.
  --r-tx-lk-h: Sets the hover color for menu link text.
  --r-bg-lk: Sets the background color for menu links.
  --r-bg-lk-h: Sets the hover background color for menu links.
  --r-tx-bt: Sets the button text color.
  --r-tx-bt-h: Sets the hover color for button text.
  --r-bg-bt: Sets the button background color.
  --r-bg-bt-h: Sets the hover background color for buttons.
*/

/*
Regions Names, each region has an ID and a Class with the same name.
You can use .page-wrapper or #page-wrapper
#page-wrapper {}
#primary-sidebar-menu {}
#fixed-search-block {}
#popup-login-block {}
#header {}
#primary-menu {}
#welcome-text {}

#top-container {}
#top-box-first {}
#top-box-second {}
#top-box-third {}

#system-messages {}
#breadcrumb {}
#page-title {}

#main-container {}
#sidebar-box-first {}
#sidebar-box-main {}
#sidebar-box-second {}

#bottom-container {}
#bottom-box-first {}
#bottom-box-second {}
#bottom-box-third {}
#bottom-box-fourth {}

#footer-container {}
#footer-box-first {}
#footer-box-second {}
#footer-box-third {}

#footer-menu {}
#copyright {}

Examples:

#page-wrapper {
  background-color: var(--r-bg);
  color: var(--r-tx);
  border-color: var(--r-br);
}

h1, h2, h3 {
  color: var(--r-h1);
}

a:not(li.nav__menu-item a) {
  color: var(--r-lk);
  color: var(--r-lk-h);
}

input:not(.button) {
  background-color: var(--r-bg-fr);
}

li.nav__menu-item a {
  color: var(--r-tx-lk);
  background-color: var(--r-bg-lk);
}

li.nav__menu-item a:hover {
  color: var(--r-tx-lk-h);
  background-color: var(--r-bg-lk-h);
}

button:not(li.nav__menu-item button) {
  color: var(--r-tx-bt);
  background-color: var(--r-bg-bt);
}

button:not(li.nav__menu-item button):hover {
  color: var(--r-tx-bt-h);
  background-color: var(--r-bg-bt-h);
}
https://www.drupal.org/docs/extending-drupal/themes/contributed-themes/solo/instructions-for-developers-on-using-colors-in-solo-theme
*/

/*
 * Youtubeのiframe埋め込み用の調整.
 */
.field--name-body .youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.field--name-body .youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/*
 * コンテンツ本文中の先頭パラグラフの上マージン調整
 */
#sidebar-box-main p:first-child {
  margin-top: 0;
}

/*
 * 試用申込みフォームの日時指定ボックスの幅調整
 */
#edit-order-fieldscheckout-field-meetdate2-0-value,
#edit-order-fieldscheckout-field-meetdate1-0-value {
  width: 90%;
}

/*
 * カートフォームの商品名とバリエーション名の間のマージン調整
 */
.cart-form .commerce-product-entity {
  margin-bottom: 0;
}

/*
 * ステータスメッセージ中リンク体裁調整
 */
.messages-list .messages__content a {
  font-weight: bold;
}

.messages-list .messages__content a:hover {
  color: var(--solo-blue) !important;
  font-weight: bold;
}

/*
 * ログイン／カート等ナビアイコンの配置とサイズ設定
 */
nav.account-menu {
  position: absolute;
  z-index: 501;
}

nav.account-menu,
nav.account-header {
  margin-top: 12px;
  margin-left: 12px;
}

nav.account-menu a.login-link,
nav.account-menu a.cart-link,
nav.account-menu a.account-link,
nav.account-menu a.logout-link {
  font-size: 24px;
  color: #fff;
  padding-right: 12px;
}

nav.account-header a.login-link,
nav.account-header a.cart-link,
nav.account-header a.account-link,
nav.account-header a.logout-link {
  font-size: 24px;
  padding-right: 12px;
}

/*
 * ブロックタイトルの上マージン除去と体裁調整
 */
.block h2:first-child,
.solo-block h2:first-child {
  margin-top: 0;
  font-size: var(--solo-px24);
}

#sidebar-box-first .block h2:first-child,
#sidebar-box-second .block h2:first-child,
#sidebar-box-first .solo-block h2:first-child,
#sidebar-box-second .solo-block h2:first-child {
  border-left: solid 8px #8fabd6;
  background: #eef2f9;
  padding: 0.5em;
  color: #333;
}

#footer-box-first .solo-block h2:first-child,
#footer-box-second .solo-block h2:first-child,
#footer-box-third .solo-block h2:first-child {
  font-size: var(--solo-px20);
  padding-left: 0.2em;
}

#top-box-first .solo-block h2:first-child,
#top-box-second .solo-block h2:first-child,
#top-box-third .solo-block h2:first-child,
#sidebar-box-main header.view-header h2 {
  font-size: var(--solo-px20);
  border-left: solid 8px #8fabd6;
  padding-left: 0.4em;
  color: #333;
}

/*
 * メインリージョンの見出し文字サイズ
 */
#sidebar-box-main h2 {
  font-size: var(--solo-px24);
}

#sidebar-box-main h3 {
  font-size: var(--solo-px20);
}

/*
 * 本文中の見出しの体裁
 */
#sidebar-box-main article h2:first-child {
  margin-top: 0;
}

#sidebar-box-main article h2 {
  color: #333;
  background: linear-gradient(transparent 60%, #eef2f9 60%);
}

#sidebar-box-main article h3 {
  color: #222;
}

/*
 * 三段ボックス内アイキャッチバナーと枠のスタイル
 */
div.eyecatch-banner-box {
  margin: 1em 0.5em;
}

div.eyecatch-banner-box img {
  border: 5px solid #FFF;
  box-shadow: 0 0 5px #999;
}

/*
 * トップページの記事一覧テーブルのスタイル
 */
#sidebar-box-main .view-blog-entries th.views-field {
  background-color: #eee;
}

/*
 * 商品ページに表示する価格と在庫数のスタイル
 */
article .field--type-commerce-price {
  font-size: 2em;
  font-weight: bold;
  color: orangered;
}

article .field--type-commerce-price label {
  font-size: 1rem;
  font-weight: normal;
  color: #333;
  vertical-align: sub;
}

article .field--name-field-stock-level {
  text-align: right;
  color: #666;
}

article .field--name-field-stock-level div,
article .field--name-field-stock-level label.field__label {
  display: inline-block;
  float: none;
}

/*
 * ボタンのスタイル再定義
 */
.page-wrapper a.button,
.page-wrapper input.button,
.page-wrapper .search-button-close button,
.block-user-login-block form+.item-list ul li a {
  --r-bg: #223a5e;
  --r-tx: white;
}

.page-wrapper a.button:hover,
.page-wrapper input.button:hover,
.page-wrapper .search-button-close button:hover,
.block-user-login-block form+.item-list ul li a:hover {
  --r-bg: #365c96;
  --r-tx: white;
}
