@charset "Utf-8";

body {
    color:dimgray;
    background-color:ghostwhite;
}
header {
    width:980px;
    margin: auto;
}

/*ハンバーガー　PCでは非表示******************************/
#header_mb{
    display:none;
}

/***ロゴ******************************************************/
header #top{
    border-radius: 10px;
    display: inline-block;
}

header #top img,h1{
       margin: auto;
       vertical-align: middle;
       font-family: 'Italianno', cursive;
       font-weight:500;
       font-size:40px;
}

header #top a {
    text-decoration: none;
    color:dimgrey;
}
/*目次部分**パソコンのみ*******************************************************/
#global_navi {
    width:980px;
    clear:both;
    overflow:hidden
}

#global_navi ul{
    list-style: none;
}

#global_navi ul li{
    width:170px;
    float:left;
    margin-right:3px;
    text-align: center;
}

#global_navi ul li a {
    display: block;
    background-color: white;
    color:hotpink;
    text-decoration: none;
    border: solid 1px;
    padding: 5px;
    border-radius: 5px;
}

#global_navi ul li.current a {
    display: block;
    background-color:hotpink;
    color: white;
}
/********グローバルナビおわり***********************************************************/

#wrapper {
    width:980px;
    margin: auto;
    background-color: white;
    border-radius: 10px;
}
/*******名前の変換********************************************************************/
#section0 {
  background-color: white;
  border-radius: 10px;
}

#section0 h3 {
    font-size:18;
    font-weight:500; 
    font-style:italic;
    background-color:mediumpurple;
    color: white;
    }

/*******漢字になった外国人の名前********************************************************************/
#section3 {
  background-color: white;
  border-radius: 10px;
}

#section3 h3 {
    font-size:18;
    font-weight:500; 
    font-style:italic;
    background-color:mediumpurple;
    color: white;
    }


#iframemb {
    display: none;
}

/**月ごとの人気名前*******************************************************************/
#section1 {
  width: 980px;
  margin: auto;
  background-color: white;
  border-radius: 10px;
}

#section1 h3 {
    font-size:18;
    font-weight:500; 
    font-style:italic;
    background-color:mediumpurple;
    color: white;
    }

#section1 ul{
    list-style: none;
}

#section1 ul li {
    font-size:15px;
    display: inline;
    margin-right: 20px;
}

/****かるがもsee more********************/
#section1 p {
    font-family: 'Lobster', cursive;
    font-size:22px;
}

.item_mb {
    display: none;
}

/**下段*******************************************************************/
#bottom {
    width:980px;
    margin: 0 auto;
    overflow: hidden;
}

/********ニュース*************************************************************/
aside {
  width:600px;
  #padding-top: 10px;
  background-color: white;
  border-radius: 10px;
  float:left;
}

aside h3 {
    font-size:18;
    font-weight:500; 
    font-style:italic;
    background-color:mediumpurple;
    color: white;
    }

aside dd {
   font-size:18px;
   font-style: italic;
}

aside a {
    text-decoration: none;
    color:dimgrey;
    font-weight:600;
}
/**自己紹介*******************************************************************/
#section2 {
  width:370px;
  height: 300px;
  #padding-top: 10px;
  background-color: white;
  border-radius: 10px;
  float:right;
}

#section2 h3 {
    font-size:18;
    font-weight:500; 
    font-style:italic;
    background-color:mediumpurple;
    color: white;
    }

#komasa {
 font-family: 'Lobster', cursive;
   font-size:25px;
   font-weight:400; 
   text-align: center;
   margin-bottom: 0;
   margin-top: 0;
}

#komasa1 {
 font-family: 'Lobster', cursive;
   font-size:20px;
   font-weight:400;
   margin-top: 0;
}
/*links*****SNS******************************************************************/
#links{
 width:300px;
 margin: 20px auto 0 auto;
 clear:both;
}

#links ul {
    text-align: center;
}

#links ul li {
    display: inline;
    margin-right: 10px;
    vertical-align: middle;
}

/*footer******************************************************************/
footer {
    background-color: hotpink;
    text-align: center;
}

footer #footer_nav {
    background-color: white;
    padding: 10px 0;
}

footer #footer_nav ul {
    list-style: none;
    margin: 0;
    padding:0;
}

footer #footer_nav ul li {
    display: inline;
    border-left: solid 1px hotpink;
    margin-left: 8px;
    padding-left: 8px;
    font-size:smaller;
    }

footer #footer_nav ul li a {
    text-decoration: none;
    color:hotpink;
}

footer #footer_nav li:last-child {
    border-right: solid 1px hotpink;
    padding:0 8px;
}

footer small {
    display: block;
    padding: 8px 0;
    color: white;
}

footer small a {
    text-decoration: none;
    color:white;
}
/*ここからスマホ******************************************************************/
@media screen and (max-width:768px){
 header,#wrapper{
    width:100%;
    }   
    
/*ハンバーガー*********************************************************************************/
#header_mb{
        display: block;
    }

#header_mb {
  position: fixed;
  width: 100%;
  height: 70px;
  background:hotpink;
}

#nav{
  position: absolute;
  height: 100vh;
  width: 80%;
  left: -85%;
  top: 0;
  background-color:white;
  transition: .7s;
}
#nav ul{
  padding-top: 80px;
}
#nav ul li{
  list-style-type: none;
  font-size: 20px;
  color: white;
}
#nav a{
  display: block;
  text-decoration: none;
  color: hotpink;
  margin: 0 15px;
  padding: 10px;
  transition: .5s;
}
#nav li a:hover{
  color: #ffffff;
  background: hotpink;
  border-bottom: none;
}
#hamburger {
  display: block;
  position: absolute;
  top: 20px;
  left: 30px;
  width: 50px;
  height: 44px;
  cursor: pointer;
  transition: 1s;
}
.inner_line {
  display: block;
  position: absolute;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #ffffff;
  transition: 1s;
  border-radius: 4px;
}
#line1 {
  top: 0;
}
#line2 {
  top: 15px;
}
#line3 {
  bottom: 10px;
}
#header_mb h1 {
  text-align: center;
  line-height: 70px;
  color: hotpink;
  font-size:30px;
}

.in{
  transform: translateX(100%);
}

.line_1,.line_2,.line_3{
  background: hotpink;
}
.line_1 {
  transform: translateY(20px) rotate(-45deg);
  top: 0;
}
.line_2 {
  opacity: 0;
}
.line_3 {
  transform: translateY(-11px) rotate(40deg);
  bottom: 0;
}    
/*********ハンバーガー終わり**************************************************************/   
 /******ロゴのトップマージン*************************/     
    #top {
        margin-top: 85px;
    }
    
    #iframemb {
        width:100%;
    }
    
    #iframepc{
        display:none;
    }
    
    #iframemb {
    display: block;
     }
    
    #section1{
        width:100%;
    }
        
/*グローバルナビ非表示***************************/    
    #global_navi{
        display: none;
    }
    
    .item_pc{
        display:none;
    }
    
    .item_mb {
        display: block;
    }
    
    #bottom,#section2,aside {
        width:100%;
    }
        
    #links {
        clear:none;
    }
    
}