/*
Theme Name: first_originaltheme
Description: どいやさんぽのオリジナルブログテーマ
Version: 3.0.0
Author: iori
*/

@charset "utf-8";

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    color: #000;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 2px;
    text-align: center;
    box-sizing: border-box;
    color: #ffff;
    list-style: none;
    background-color: #cccccc;
}

.inner {
    width: 100%;
}

#header .inner {
    box-sizing: border-box;
}

#header .inner img {
    width: 100%;
    vertical-align: bottom;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #705147;
    padding: 0 15px;
}

.menu li {
    font-size: 14px;
    list-style: none;
}

.menu li a {
    display: inline-block;
    line-height: 50px;
    height: 50px;
    padding: 0 30px;
    color: #ffff;
}

.menu li:hover {
    background-color: #8D746C;
}

#main {
    padding: 60px 11.11%;
    background-color: #f4f2f2;
}

.wrapper {
    display: flex;
    justify-content: space-between;
    /*max-width: 1125px;*/
    max-width: 78.125vw;
    margin: 0 auto;
    box-sizing: border-box;
    color: #000;
}

.content {
    width: 55.56vw;
    background-color: #ffff;
    box-sizing: border-box;
    padding: 35px;
}

.content-ttl {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.content-ttl li+li {
    margin-left: 10px;
}

.content-ttl li {
    color: #000;
    display: block;
    width: 170px;
    height: 40px;
    line-height: 40px;
    background-color: #f7f7f7;
    border-radius: 2px;
    box-shadow: 1px 3px 6px #d4d4d4;
    cursor: pointer;
    font-size: 13px;
}

.content-ttl .clicked {
    background-color: #3b4675;
    color: #ffff;
    position: relative;
}

.content-ttl .clicked::after {
    content: "";
    position: absolute;
    display: inline-block;
    border: 13px solid transparent;
    border-top: 13px solid #3b4675;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.content-ttl,
.content-list {
    list-style: none;
}

.content-list li {
    border-bottom: 2px solid #e6e6e6;

}

.content-list li:first-of-type {
    border-top: 2px solid #e6e6e6;
}

.content-list a {
    padding: 35px 20px;
    display: flex;
    justify-content: left;
}

.content-list a:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* ホバー時に影を表示 */
}

.pic {
    flex: 0 0 260px; /* 幅を固定 */
}

.content-list .pic img {
    width: 100%;
}

.content-list .detail {
    box-sizing: border-box;
    text-align: left;
    margin-left: 30px;
}

.content-list .detail p {
    margin: 15px 0;
    font-size: 14px;
}

.sidebar {
    box-sizing: border-box;
    width: 20.14vw;
    margin-left: 3.47vw;
    position: relative;
}

.profile,
.newcontent,
.ranking {
    background-color: #ffff;
}

.sidebar .profile .pro-pic {
    width: 100%;
    height: 150px;
    border-radius: 50%;
}

.pro-pic .pic1 {
    width: 100px;
    border-radius: 50%;
    position: relative;
    top: 100px;
    border: 3px solid #ffff;
    z-index: 2;
}

.pic2 {
    width: 100%;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
}

.pro-detail {
    padding: 75px 20px;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.fa-brands {
    position: absolute;
    left: 50%;
    top: 90%;
    transform: translate(-50%, -50%);
}

.pro-detail .name {
    text-align: center;
    margin-bottom: 18px;
}

.newcontent,
.ranking {
    margin-top: 30px;
}

.newcontent-list,
.ranking-list {
    padding: 25px 20px;
}

.newcontent-list p,
.ranking-list p {
    font-size: 14px;
    margin-top: 10px;
}

.newcontent li,
.ranking li {
    list-style: none;
    max-width: 265px;
    margin-bottom: 28px;
    display: inline-block;
    width: 100%;
}

.newcontent h2 {
    background-color: #705147;
    color: #ffff;
    padding: 10px 15px;
    text-align: left;
}

.post-content {
    width: 100%;
    text-align: left;
}

.newcontent img,
.ranking img {
    width: 100%;
    transition: transform 0.3s;
    /* ホバー時のトランジションを設定 */
}

.newcontent img:hover,
.ranking img:hover {
    transform: scale(1.05);
    /* ホバー時に拡大する */
}

.ranking h2 {
    background-color: #705147;
    color: #ffff;
    padding: 10px 15px;
    text-align: left;
}

#footer {
    padding: 45px 0 15px;
}

#footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#footer li {
    border-left: 1px solid #ffff;
    border-right: 1px solid #ffff;
    padding: 0 10px;
}

#footer a {
    color: #ffff;
}

#footer small {
    margin-top: 20px;
}

.highlight {
    background-color: #ffeb3b;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: bold;
  }




.custom-tab-box {
    border: 2px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.custom-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 2px solid #ddd;
}

.custom-tabs li {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f1f1f1;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.custom-tabs li.active {
    background: white;
    font-weight: bold;
    border-bottom: 2px solid white;
}

.custom-tab-content {
    display: none;
    padding: 10px;
    background: white;
}

.custom-tab-content.active {
    display: block;
}

  

