@charset "UTF-8";

/* テキストの自動拡大を無効化 */
body {
-webkit-text-size-adjust: none;
text-size-adjust: none;
}


/* ==================ページ全体の設定=================== */

/* rem設定のため、ベースを10pxにする

（以下、font-sizeはpxとremを併記する　※IE8でrem未対応のため）*/

html {
font-size: 62.5%;
}

/* 余白、ボーダーをすべて削除 */
* {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
box-sizing: border-box;
}

/* リスト装飾を削除 */
li { 
list-style-type: none;
line-height: 1;
}

body {
background-color: ivory;/* #fffff0 */
font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
font-size: 15px;
font-size: 1.5rem;
font-weight: 300;
color: #333333;
margin: 0 auto;
line-height: 1
}

img {
width: 100%;
height: auto;
pointer-events: none;
display: block;
margin: 0 auto;
}

a {
text-decoration: none;
}
a:hover {
text-decoration: none; 
}

p  {
line-height: 1.9;
letter-spacing: 0.06em
}


/* 改行位置の設定のためのspanのinline-block */

.inline-block {
display: inline-block;
}
.inlineb {
display: inline-block
}


/* 強制改行 */

.br-a::after {
content: "\A";
white-space: pre;
}
.br-b::before {
content: "\A";
white-space: pre;
}


/* リンクつき画像のクリック時 */

a img {
transition: .5s;
}
a:hover img {
-webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
box-shadow: 0px 10px 13px -2px rgba(128,128,128,.5);
box-shadow: 0px 10px 13px -2px rgba(169,169,169,.5);
}


/* 画像のキャプション */

figcaption {
font-size: 13px;
font-size: 1.3rem;
letter-spacing: 0.05em;
line-height: 1.5;
}

/* 画像のキャプションがURLでリンクの場合 */

figcaption a {
color: grey;
font-size: 12px;
font-size: 1.2rem;
}
figcaption a:hover {
color: grey;
text-decoration: underline;
}


/* サイト名のロゴマーク */

.logo-box {
margin: 6px auto 7px;
display: inline-block;
}
.logo-box a {
text-decoration: none;
}
.logo-box a:hover {
text-decoration: none;
}

.site-name-logo {
background-color: ivory;
padding: 0;
margin: 0px auto;
font-family: 'Marcellus', serif;
font-size: 17px;
font-size: 1.7rem;
font-weight: bold;
font-weight: normal;
letter-spacing: 0.025em;
}
.logo-color {
color: #db0404;
color: #CE0404;
color: #CE0404;
opacity: 0.9;
}

.logo-jp {
font-size: 10px;
font-size: 1rem;
font-family: 'Sawarabi Mincho', sans-serif;
margin-top: 3px
}
.logo-color-jp {
color: grey;
}


/* ヘッダー */
  
header {
padding: 0px 15px;
text-align: center;
}


/* フッター */

footer {
font-size: 13px;
font-size: 1.3rem;
text-align: center;
color: grey;
margin: 0 auto;
padding: 20px 0;
}
footer p {
line-height: 1.7;
}
footer li:after {
content: '｜';
padding: 0 3px;
line-height: 1.7;
}
footer li:last-child:after {
content: '';
}


/* mainのmax-width
（mainの中のwrapは個別cssで設定。
wrap-2というのもあるが、
写真の横幅をスマホ画面一杯に表示したいページで使用する：category-index、client各ページ）
*/
main {
margin: 0 auto;
}


/* ナビ（nav-）：about-us */

.nav-about-us {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
list-style: none;
}
.nav-about-us a {
color: #333;
font-size: 13px;
font-size: 1.3rem;
font-weight: 500;
letter-spacing: .15em;
}
.nav-about-us a:hover {
text-decoration: underline darkgrey;
}


/* パンくずリスト①頁上部にあるもの */

.breadcrumb {
margin: 6px auto 10px;
padding: 0 15px;
display: flex;
flex-wrap: wrap;
justify-content:center;
align-items:center;
}

.breadcrumb li {
font-size: 11px;
font-size: 1.1rem;
color: darkgrey;
display: inline-block;
}

.breadcrumb li:after {
content: '>';
padding: 0 5px;
color: darkgrey;
}
.breadcrumb li:last-child:after {
content: '';
}

.breadcrumb li a {
color: darkgrey;
}
.breadcrumb li a:hover {
text-decoration: underline darkgrey;
}


/* パンくずリスト②頁下部にあるもの */

.parent-of-wrap {
text-align: center;
margin-bottom: 30px
}

.breadcrumb-bottom-wrap {
display: inline-block;
}

.breadcrumb-bottom {
display: flex;
flex-wrap: nowrap;
flex-direction: column;
text-align: left;
}

.breadcrumb-bottom li {
font-size: 16px;
font-size: 1.6rem;
color: gray;
letter-spacing: 0.08em;
}

.breadcrumb-bottom li:before {
content: '>';
padding-right: 15px;
color: gray;
}

.breadcrumb-bottom li a {
color: grey;
line-height: 2;
font-weight: 300
}
.breadcrumb-bottom li a:hover {
text-decoration: underline grey;
}


/* 「この記事を見る」（汎用性が高いのでcommon cssに記載） */

.view-this-page {
font-weight: 300;
color: firebrick;
font-size: 16px;
font-size: 1.6rem;
}
.view-this-page a {
color: firebrick;
}
.view-this-page a:hover {
text-decoration: underline;
}


/* 見出し装飾に使う色 */

.color-1 {
background: -moz-radial-gradient(#EEDAD6 35%, ivory 60%);
background: -webkit-radial-gradient(#EEDAD6 35%, ivory 60%);
background: radial-gradient(#EEDAD6 35%, ivory 60%);
background: radial-gradient(#fbe6e1 35%, ivory 60%);
background: radial-gradient(#eee0da 35%, ivory 60%);
}

.color-2 {
background: -moz-radial-gradient(#e5ebee 35%, ivory 60%);
background: -webkit-radial-gradient(#e5ebee 35%, ivory 60%);
background: radial-gradient(#e5ebee 35%, ivory 60%);
}

.color-3 {
background: -moz-radial-gradient(#EEE6D6 35%, ivory 60%);
background: -webkit-radial-gradient(#EEE6D6 35%, ivory 60%);
background: radial-gradient(#EEE6D6 35%, ivory 60%);
}

.color-4 {
background: -moz-radial-gradient(#e6e6d8 35%, ivory 60%);
background: -webkit-radial-gradient(#e6e6d8 35%, ivory 60%);
background: radial-gradient(#e6e6d8 35%, ivory 60%);
}

.color-5 {
background: -moz-radial-gradient(#EAEED6 35%, ivory 60%);
background: -webkit-radial-gradient(#EAEED6 35%, ivory 60%);
background: radial-gradient(#EAEED6 35%, ivory 60%);
}

.color-6 {
background: -moz-radial-gradient(#ffffd7 35%, ivory 75%);
background: -webkit-radial-gradient(#ffffd7 35%, ivory 75%);
background: radial-gradient(#ffffd7 35%, ivory 75%);
}

.color-7 {
background: -moz-radial-gradient(#f3f3e4 35%, ivory 60%);
background: -webkit-radial-gradient(#f3f3e4 35%, ivory 60%);
background: radial-gradient(#f3f3e4 35%, ivory 60%);
}


/* 見出しの色・大きさ・太さ・影の指定・lineの高さを指定、
余白とdisplayは個別cssで指定*/

h1 {
color: #491a00;
text-shadow: 0 0 3px silver;
font-weight: 500;
letter-spacing: 0.05em;
font-size: 25px;
font-size: 2.5rem;
line-height: 1;
}

h2 {
color: maroon; /* #800000 */
text-shadow: 0 0 4px silver;
line-height: 1;
}

h3 {
font-size: 18px;
font-size: 1.8rem;
font-weight: 400;
color: #332929;
color: #332626;
letter-spacing: 0.05em;
line-height: 1.6;
}

h4 {
line-height: 1.5;
}



/* ===== width 1100 以上 ===== */

@media (min-width: 1100px) {

h1 {
font-size: 28px;
font-size: 2.8rem;
}

h2 {
font-size: 20px;
font-size: 2rem;
}

h3 {
font-size: 19px;
font-size: 1.9rem;
}

}









