@charset "UTF-8";

/* 共通部分
-------------------- */
html {
    font-size: 100%;
}
body {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

#home {
    background-image: url(../images/main-bg.png);
    min-height: 100vh;
}
#home .page-title {
    text-transform: none;
}

/*各ページのメニュー部分*/
.contents-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.contents-nav li {
    margin-left: 36px;
}
.contents-nav a {
    color: #432;
}
.contents-nav a:hover {
    color: #8490c8;
}


/* HEADER
-------------------- */
.logo {
    width: 210px;
    margin-top: 14px;
}

.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #8490c8;
}

.page-header {
    display: flex;
    justify-content: space-between;
}

.post-info {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}

.post-number {
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 30px;
}

.post-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 2rem;
    font-weight: normal;
    border-bottom: 1px #0bd solid;
    border-left: 30px #0bd solid;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}


/* HOME
-------------------- */
.home-content {
    text-align: left;
    margin-top: 10%;
}
.home-content p {
    font-size: 1.125rem;
    margin: 20px 0 42px;
}

/* 見出し */
.page-title {
    font-size: 3rem;
    font-family: 'philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
    background-color: rgba(255,255,255,0.4)
}

/* ボタン */
.button {
    font-size: 1.375rem;
    background: #3289a4;
    color: #fff;
    border-radius: 5px;
    padding: 18px 32px;
}
.button-mawari {
    margin-top: 30px;
}
.button:hover {
    background: #8490ca;
}

/* 大きな背景画像 */
.big-bg {
    background-size: cover;
    background-position: center top 70px;
    background-repeat: no-repeat;
}
.bg-text-decoration {
    text-align: center;
    padding: 80px;
    border: 2px;
}

/* 大きな背景画像内の文字飾り */
.phrase {
    margin-top: 30px;
    background-color: rgba(255,255,255,0.4);
    width: 420px;
    padding: 10px; 
}

/* menuタイトルの文字設定 */
h1 {
    text-align: center;
    font-size: 2.5rem;
    font-family: Impact, 'philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 60px;
}

/* purposeの文字設定 */
.purpose {
    text-align: left;
    padding: 15px 8px 15px 8px;
}

/* gridの並べ方 */
.grid {
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    margin-top: 5%;
    margin-bottom: 30px;
    text-align: left;
}
/* grid内の文字設定 */
.item {
    padding: 15px 8px 15px 8px;
    border: 1px #8490ca solid;
}
/* grid内のtitleの文字設定 */
h3 {
    text-align: center;
    margin-top: 30px;
}

img {
    width: 85%;
    margin: auto;
    display: block;
}

.home-description {
    width: 85%;
    margin: auto;
    display: block;
}

/*BLOG下のページナビ*/
.page-nav {
    display: flex;
    font-size:  1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.page-nav li {
    margin-left:  36px;
    display: block;
		width: 130px;
		float: left;
}
.page-nav a  {
    font-size: 16px;
		color:  #fff;
		background: #0bd;
		display: block;
		line-height: 3.0;
		padding: px 0;
		border-left: 1px solid #fff;
		border-radius: 800px;
		text-align: center;
}
.page-nav a:hover {
    color:  #0bd;
}

/* Footer
-------------------- */
footer {
    background: #432;
    text-align: center;
    padding: 20px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/* 記事部分 */
article {
    width: 74%;
}
/* サイドバー */
aside {
    width: 22%;
}
.blog-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #0bd solid;
    font-weight: normal;
}
aside p {
    padding: 12px 10px;
}
.sub-menu {
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu li {
    border-bottom: 1px #ddd solid;
}
.sub-menu a {
    color: #432;
    padding: 10px;
    display: block;
}
.sub-menu a:hover {
    color: #0bd;
}

.pr img {
    width: 25px;  /* 横幅を25pxに */
    height: 25px;
    display: inline-block
}
.pr {
    color: #036;
}

/* english
------------------------------*/
#english {
    background-image: url(../images/english-bg.jpg);    
    height: 450px;
    margin-bottom: 40px;
}
#english .page-title {
    text-align: center;
    margin-top: 10%;
}
h2 {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}
.kiji {
    margin-top: 50px;
    margin-bottom: 30px;
}

/* reading
------------------------------*/
#reading {
    background-image: url(../images/reading-bg.jpg);    
    height: 450px;
    margin-bottom: 40px;
}
#reading .page-title {
    text-align: center;
    margin-top: 10%;
}

/* life
------------------------------*/
#life {
    background-image: url(../images/life-bg.png);    
    height: 450px;
    margin-bottom: 40px;
}
#life .page-title {
    text-align: center;
    margin-top: 10%;
}

/* life-finance
------------------------------*/
#life-finance {
    background-image: url(../images/life-finance-bg.jpg);    
    height: 450px;
    margin-bottom: 40px;
}
#life .page-title {
    text-align: center;
    margin-top: 10%;
}

#document {
    text-align: center;
    width: 120px; 
}

/* life-fortune
------------------------------*/
#life-fortune {
    background-image: url(../images/life-fortune-bg.jpg);    
    height: 450px;
    margin-bottom: 40px;
}
#life .page-title {
    text-align: center;
    margin-top: 10%;
}

/* life-kimono
------------------------------*/
#life-kimono {
    background-image: url(../images/life-kimono-bg.jpg);    
    height: 450px;
    margin-bottom: 40px;
}
#life .page-title {
    text-align: center;
    margin-top: 10%;
}



/*  CONTACT
------------------------------*/
#contact {
    background-image: url(../images/contact-bg.jpg) ;
    height: 450px;
    margin-bottom: 40px;
}
#contact .page-title {
    text-align: center;
    text-transform: none;
    padding-top: 50px;
}
.contact-wrapper {
    text-align: center;
}