@charset "utf-8";
/* CSS Document */

/* 基本スタイル */
body { font-family: sans-serif; margin: 0; padding-bottom: 100px; }
ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: #333; display: block; padding: 15px; }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 0 20px;
  position: relative;
}

.m-t2 {
  margin-top: 20px;
}
.m-t5 {
  margin-top: 50px;
}
.m-t10 {
  margin-top: 100px;
}
.m-l3 {
    margin-left: 30px;
}
.t-c {
  text-align: center;
}

.f-s1{
  font-size: .8em;
}
.red{
  color: #f00;
}

.w-content{
  margin: 50px auto;
  width: 100%;
  max-width: 1000px;
}


ul.flex-2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start; 
}

ul.flex-2 li {
    margin-bottom: 20px;
    width: 100%;
}

@media print, screen and (min-width: 960px) {
    ul.flex-2 li {
        width: 49%;
    }
}

/*--------------------------*/
.inline {
	display: inline-block;
    letter-spacing: -.4em;
}

ul.inline li {
	display: inline-block;
    letter-spacing: 0;
    padding: 3px 0;
    margin-right: 10px;
}


table {
  margin: auto;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  max-width: 800px;
}


table td {
	border-left: 1px solid #999;
	border-bottom: 1px solid #999;
	padding: 7px 3px;
	vertical-align: top;
}

@media screen and (max-width: 960px) {

  .table tr {
    display: block;
  }
  .table th , .table td  {
    display: block;
    padding: 10px;
  }

}

.parent-container {
    text-align: center;
}

a.category-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 270px;

    margin: 3px;
    padding: 10px 10px 10px 15px;
    background: #009ec2;
    color: #fff;
    font-size: 1.2em;
    border-radius: 20px;
    transition: .3s ease;

}
a.category-btn:hover {
    opacity: .8;
}

.waku {
    padding: 10px;
    border: 1px dashed #ccc;
}



/* PC用メニュー（768px以上） */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav-links { display: flex; }
  
  .has-dropdown { position: relative; }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 10;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
  }

  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
  }
}

/* スマホ用メニュー（767px以下） */
@media (max-width: 767px) {

  .nav-links {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); 
    
    transition: all 0.4s ease-out;

    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown { background: #f0f0f0; }
  .dropdown a { padding-left: 30px; }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
  }
}


