@charset "UTF-8"; /*コードの文字化けを防ぐ*/
.wrapper{
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
}
/*ロゴの下線をなくした*/
a{
    text-decoration: none;
}
/*HOME
----------------------------------*/
.home-content{
    text-align: center;
    margin-top: 10%;
}
.home-content p{
    font-size: 1.125rem;
    margin: 10px 0 42px;
}


/*見出し*/
.page-title{
    font-size: 3rem;
    font-family: 'fantasy', 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
}
/*大きな背景画像*/
.big-bg{
    background-size: cover;
    background-position: center top;
}
#home{
    background-image: url(../images/main-bg.jpg);
    min-height: 100vh;
}
#home .page-title{
    text-transform: none;
}
/*共通部分P181
----------------------------------*/
html{
    font-size: 100%;
}
body{
    font-family:Yu-gothic 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.7;
    color: #432;
}
/*重複しているので a{
    text-decoration: none;
} */
img{
    max-width: 100%;
}
.wrapper {
    max-width: 1300px;/*1100→1300*/
    margin: 0 auto;
    padding: 0 4%;
}
/*HeaderP182
--------------------------------------*/
.logo{
    /* width: 210px; */
    margin-top: 14px;
}
.main-nav{
    display: flex;
    font-size: 1.25rem;
    text-decoration: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li{
    margin-left: 36px;
}
.main-nav a{
        color: #432;
}
.main-nav a:hover{
    color: #0bd;
}
.page-header{
    display: flex;
    justify-content: space-between;
}
/*P184レイアウト崩れた*/
/* .wrapper{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
} */

/* トップの画像切り替えここに追加 */
.container{
    margin-top: 100px;
    height: 500px;
    width: 500px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }
  
  .image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    background-size: cover;
    background-position: center center;
    
    animation: image-switch-animation 15s infinite;
  }
  .src1 {
    background-image: url(../images/pc001.png);
  }
  .src2 {
    background-image: url(../images/pc002.png);
  }
  .src3 {
    background-image: url(../images/pc003.png);
  }
 
  @keyframes image-switch-animation {
    0%{ opacity: 0;}
    5%{ opacity: 1;}
    25%{ opacity: 1;}
    30%{ opacity: 0;}
    100%{ opacity: 0;}
  }
  .image:nth-of-type(1) {
    animation-delay: 0s;
  }
  .image:nth-of-type(2) {
    animation-delay: 5s;
  }
  .image:nth-of-type(3) {
    animation-delay: 10s;
  }
    /* トップの画像切り替えここに追加 　ここまで--------------*/


/* パソコン質問箱のページquestion
----------------------------------*/
#question{
        background-image: url(../images/question-bg.jpg);
        height: 270px;
        margin-bottom: 2rem;
}
#question .page-title {
    text-align: center;
}
.question-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}
/*記事部分-------------------------*/
article{
    flex: 3;
    /* width:74%; */
}
/*パソコン質問箱　アコーディオンFAQ*/
.faq {
    font-family: Arial, sans-serif;
}

.qa-list {
    text-align: left;
}

.qa {
    border-bottom: 1px solid rgb(0 178 157);
    padding: 10px 0;
    cursor: pointer;
}

.qa:last-child {
    border-bottom: none;
}

.question {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
    padding: 10px;
}
.number{
    color:rgb(0 178 157);
    padding-right: 20px;
}
.answer {
    display: none; /* 初期状態で非表示 */
    padding: 10px;
    padding-left: 4.5rem;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}
/*サイドバー-------------------------*/
aside{
    flex: 1;
    /* width: 22%; */
}
/*記事とサイドバーを横並びに-------------------------*/
.question-contents{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
/*日付の装飾-------------------------*/
h4 {
	position: relative;
	padding: 1rem 2rem;
	border: solid 2px rgb(0 178 157);
    font-size: 1.2rem;
}
h4:after {
	position: absolute;
	content: "Category";
	top: -10px;
	left: 15px;
	background: #fff;
	font-size: 0.75rem;
	color: rgb(0 178 157);
	padding: 0 10px;
}
/* .post-info{
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}
.post-date{
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.3rem;
    text-align: center;
    position: absolute;
    top:0;
    padding-top: 10px;
}
.post-date span{
    font-size: 1rem;
    border-top: 1px rgba(255,255,255,0) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title{
    font-family: "YuMincho",serif;
    font-size: 2rem;
    font-weight: normal;
}
.post-title, 
.post-cat{
    margin-left: 120px;
}
article img{
    margin-bottom: 20px;
}
article p{
    margin-bottom: 1rem;
} */
/*サイドバー-------------------------*/
.sub-title{
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px rgb(0 178 157);
    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: rgb(0 178 157);
}
/*ITスキルガイドのページ-------------------------*/
#skill{
    background-image: url(../images/skill-bg.jpg);
    height: 270px;
    margin-bottom: 40px;
}
h2{
    text-align: center;
}

/*トピックスのページ-------------------------*/
#news{
    background-image: url(../images/news-bg.png);
    min-height: 100vh;
}
.news-contents{
    max-width: 560px;
    margin-top: 10%;
}
.news-contents .page-title{
    text-align: center;
}
.news-contents p{
    font-size: 1.125rem;
    margin: 10px 0 0;
}
.grid{
    display: grid;
    gap: 26px;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 6%;
    margin-bottom: 50%;
}
.sei{
    border:  rgb(0 178 157) solid 2px;
    border-radius: 10px;
    width: 400px;
    height: 300px;
    object-fit: cover;
  }
/*トピックスの各ページ--------topic01.html～-----------------*/
.topix-title{
        position: relative;
        padding: 1.5rem 2rem;
        border: 3px dotted  rgb(0 178 157);
        font-size: 1.2rem;
}
h5:after {
	position: absolute;
	content: "Topix";
	top: -10px;
	left: 15px;
	background: #fff;
	font-size: 0.75rem;
	color: rgb(0 178 157);
	padding: 0 10px;
}
.topix{
    margin-left: 2%;
    margin-right: 5%;
}
 .title-6{
    position: relative;
    padding: 0.7rem 1.5rem;
    border-left: 5px solid  rgb(119, 117, 115);
    border-bottom: 2px solid  rgb(119, 117, 115);
    font-size: 1.2rem;
    margin: 3% 0%;
 }
 .haba600{
    width: 600px;
    border:#000 1px solid;
    margin: 3% 0%;
 }
 .haba400{
    width: 400px;
    border:#000 1px solid;
    margin: 3% 0%;
 }

/*練習のページ-------------------------*/
#practice{
    background-image: url(../images/practice-bg.jpg);
    height: 270px;
    margin-bottom: 40px;
}
h2{
    text-align: center;
}

/*フッター-------------------------*/
footer{
    background: rgb(0 178 157);
    text-align: center;
    padding: 20px 0;
}
/* モバイル版
------------------------------- */
@media (max-width: 600px) {
    .page-title {
        font-size: 2.5rem;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }

    /* HEADER */
    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
    }
    .main-nav li {
        margin: 0 20px;
    }

    /* HOME */
    .home-content {
        margin-top: 20%;
    }

    /* NEWS */
    .news-contents {
        flex-direction: column;
    }
    #news .page-title {
        margin-top: 30px;
    }
    article,
    aside {
        width: 100%;
    }
    aside {
        margin-top: 60px;
    }
    .post-info {
        margin-bottom: 30px;
    }
    .post-date {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    .post-date span {
        font-size: 0.875rem;
        padding-top: 2px;
    }
    .post-title {
        font-size: 1.375rem;
    }
    .post-cat {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    .post-title,
    .post-cat {
        margin-left: 80px;
    }

    /* MENU */
    .menu-content {
        margin-top: 20%;
    }

    /* CONTACT */
    #contact .page-title {
        margin-top: 40px;
    }

    /* フォーム */
    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }

    /* 店舗情報・地図 / SNS */
    #location .wrapper,
    #sns .wrapper {
        flex-direction: column;
    }
    .location-info,
    .location-map,
    .sns-box {
        width: 100%;
    }
    .sns-box {
        margin-bottom: 30px;
    }
}


