@keyframes gradient {
  0% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; }
  100% {
    background-position: 0% 50%; } }
@-webkit-keyframes gradient {
  0% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; }
  100% {
    background-position: 0% 50%; } }
#contents #family .name {
  display: flex;
  align-items: center;
  position: relative; }
  #contents #family .name .relationship {
    width: 75px;
    line-height: 75px;
    padding-right: 5px;
    padding-bottom: 5px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    font-size: 1.625rem;
    color: #fff;
    text-align: center;
    margin-right: 20px; }
  #contents #family .name.r-c1 .relationship {
    background-image: url(../../family/images/relationship_blue.png); }
  #contents #family .name.r-c2 .relationship {
    background-image: url(../../family/images/relationship_red.png); }
  #contents #family .name.r-c3 .relationship {
    background-image: url(../../family/images/relationship_orange.png); }
  #contents #family .name.r-c4 .relationship {
    background-image: url(../../family/images/relationship_green.png); }
  @media screen and (max-width: 768px) {
    #contents #family .name .relationship {
      width: 60px;
      line-height: 60px;
      font-size: 1.375rem;
      margin-right: 15px; } }
#contents #family-lead {
  margin-bottom: 60px; }
  #contents #family-lead p {
    margin-bottom: 10px; }
    #contents #family-lead p strong {
      color: #1d95ff; }
    #contents #family-lead p.text-note {
      font-size: 0.8125rem;
      margin-left: 1em;
      text-indent: -1em;
      margin-top: 15px;
      margin-bottom: 0; }
#contents #family .fig {
  margin-right: 40px;
  overflow: hidden;
  border-radius: 300px;
  display: flex;
  position: relative; }
  #contents #family .fig figure {
    overflow: hidden;
    border-radius: 300px; }
    #contents #family .fig figure img {
      transition: all 0.3s ease; }
  #contents #family .fig::before, #contents #family .fig::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1; }
  #contents #family .fig::before {
    right: 50%; }
  #contents #family .fig::after {
    left: 50%; }
  #contents #family .fig.b-l-c1::before, #contents #family .fig.b-r-c1::after {
    background: #0099d9; }
  #contents #family .fig.b-l-c2::before, #contents #family .fig.b-r-c2::after {
    background: #ea5520; }
  #contents #family .fig.b-l-c3::before, #contents #family .fig.b-r-c3::after {
    background: #f5a200; }
  #contents #family .fig.b-l-c4::before, #contents #family .fig.b-r-c4::after {
    background: #25a739; }
  @media screen and (max-width: 768px) {
    #contents #family .fig {
      margin-right: 20px; } }
#contents #family-list .box {
  position: relative;
  border-bottom: 1px solid #1d95ff;
  padding-bottom: 40px; }
  #contents #family-list .box:nth-child(n+2) {
    margin-top: 40px; }
  #contents #family-list .box .fig {
    width: 320px;
    padding: 10px; }
    @media screen and (max-width: 768px) {
      #contents #family-list .box .fig {
        width: 280px; } }
    @media screen and (max-width: 480px) {
      #contents #family-list .box .fig {
        margin: 0 auto 20px; } }
  #contents #family-list .box-text {
    flex-shrink: 9999; }
    #contents #family-list .box-text .name dl {
      flex-shrink: 9999; }
      #contents #family-list .box-text .name dl dt {
        font-size: 1.875rem;
        font-weight: 500;
        line-height: 1;
        margin-bottom: 5px; }
      #contents #family-list .box-text .name dl dd {
        font-size: 0.875rem;
        line-height: 1.6; }
    #contents #family-list .box-text .name:nth-child(n+2) {
      padding-top: 40px; }
      #contents #family-list .box-text .name:nth-child(n+2)::before, #contents #family-list .box-text .name:nth-child(n+2)::after {
        content: "";
        position: absolute;
        top: 0;
        left: 150px;
        width: 5px;
        height: 40px;
        background: #1d95ff; }
      #contents #family-list .box-text .name:nth-child(n+2)::before {
        transform: rotate(45deg); }
      #contents #family-list .box-text .name:nth-child(n+2)::after {
        transform: rotate(-45deg); }
    @media screen and (max-width: 768px) {
      #contents #family-list .box-text .name dl dt {
        font-size: 1.5rem; }
      #contents #family-list .box-text .name dl dd {
        font-size: 0.75rem; }
      #contents #family-list .box-text .name:nth-child(n+2)::before, #contents #family-list .box-text .name:nth-child(n+2)::after {
        width: 4px;
        height: 32px; } }
    @media screen and (max-width: 480px) {
      #contents #family-list .box-text .name:nth-child(n+2)::before, #contents #family-list .box-text .name:nth-child(n+2)::after {
        left: 50%; } }
  #contents #family-list .box a {
    display: flex;
    align-items: center;
    color: #000;
    text-decoration: none; }
    #contents #family-list .box a .bt {
      position: absolute;
      bottom: 40px;
      right: 0;
      width: 120px;
      display: block;
      text-align: center;
      font-size: 1.125rem;
      font-family: din-2014, sans-serif;
      line-height: 40px;
      border-radius: 30px;
      border: 1px solid #1d95ff;
      color: #1d95ff;
      background: #fff;
      transition: all 0.3s ease; }
      #contents #family-list .box a .bt i {
        margin-left: 10px; }
    #contents #family-list .box a:hover .fig figure img {
      transform: scale(1.2); }
    #contents #family-list .box a:hover .bt {
      padding-right: 0;
      background: #1d95ff;
      color: #fff; }
    @media screen and (max-width: 1024px) {
      #contents #family-list .box a:hover .fig figure img {
        transform: none; } }
    @media screen and (max-width: 768px) {
      #contents #family-list .box a {
        align-items: flex-start; } }
    @media screen and (max-width: 480px) {
      #contents #family-list .box a {
        display: block; }
        #contents #family-list .box a .bt {
          position: static;
          margin: 25px auto 0; } }
#contents #family-head {
  display: flex;
  align-items: center;
  position: relative; }
  #contents #family-head::after {
    content: "";
    position: absolute;
    top: -40px;
    left: 280px;
    width: 240px;
    height: 170px;
    background: url(../../family/images/family_title.png) no-repeat right top/100%; }
  #contents #family-head .fig {
    width: 420px;
    padding: 15px; }
  @media screen and (max-width: 1024px) {
    #contents #family-head::after {
      left: 220px;
      width: 200px;
      height: 142px; }
    #contents #family-head .fig {
      width: 360px; } }
  @media screen and (max-width: 768px) {
    #contents #family-head {
      display: block; }
      #contents #family-head::after {
        left: 50%;
        margin-left: 20px; }
      #contents #family-head .fig {
        margin: 0 auto 30px; } }
  @media screen and (max-width: 480px) {
    #contents #family-head::after {
      left: auto;
      right: 10px;
      margin-left: 0;
      width: 170px;
      height: 120px; }
    #contents #family-head .fig {
      width: auto;
      padding: 10px; } }
  #contents #family-head-intro {
    flex-shrink: 9999; }
    #contents #family-head-intro .name {
      flex-wrap: wrap; }
      #contents #family-head-intro .name:nth-child(n+2) {
        margin-top: 30px; }
      #contents #family-head-intro .name p {
        font-size: 2.25rem;
        font-weight: 500;
        line-height: 1; }
        #contents #family-head-intro .name p span {
          font-size: 1rem;
          margin-left: 15px;
          font-weight: normal; }
      #contents #family-head-intro .name .position {
        width: 100%;
        margin-top: 8px;
        border-left: 1px solid #000;
        padding-left: 20px;
        padding-bottom: 3px; }
        #contents #family-head-intro .name .position li {
          line-height: 1.6; }
      #contents #family-head-intro .name.r-c1 .position {
        border-color: #0099d9; }
      #contents #family-head-intro .name.r-c2 .position {
        border-color: #ea5520; }
      #contents #family-head-intro .name.r-c3 .position {
        border-color: #f5a200; }
      #contents #family-head-intro .name.r-c4 .position {
        border-color: #25a739; }
    @media screen and (max-width: 768px) {
      #contents #family-head-intro {
        display: flex;
        justify-content: space-between; }
        #contents #family-head-intro .name {
          width: 50%; }
          #contents #family-head-intro .name:nth-child(n+2) {
            margin-left: 20px;
            margin-top: 0; }
          #contents #family-head-intro .name p {
            font-size: 1.75rem; }
            #contents #family-head-intro .name p span {
              font-size: 0.875rem; }
          #contents #family-head-intro .name .position {
            padding-left: 15px; }
            #contents #family-head-intro .name .position li {
              font-size: 0.875rem; } }
    @media screen and (max-width: 480px) {
      #contents #family-head-intro {
        display: block; }
        #contents #family-head-intro .name {
          width: auto; }
          #contents #family-head-intro .name:nth-child(n+2) {
            margin-left: 0;
            margin-top: 20px; }
          #contents #family-head-intro .name p {
            font-size: 1.625rem; }
            #contents #family-head-intro .name p span {
              font-size: 0.8125rem; } }
#contents #family-post {
  margin-top: 60px; }
  @media screen and (max-width: 768px) {
    #contents #family-post {
      margin-top: 40px; } }
  #contents #family-post .box {
    padding: 60px 0; }
    @media screen and (max-width: 768px) {
      #contents #family-post .box {
        padding: 40px 0; } }
    #contents #family-post .box-inner {
      background: #fff;
      padding: 40px;
      border-radius: 40px; }
      @media screen and (max-width: 768px) {
        #contents #family-post .box-inner {
          padding: 40px 20px; } }
    #contents #family-post .box .name .relationship {
      width: 60px;
      line-height: 60px;
      font-size: 1.375rem;
      margin-right: 15px; }
    #contents #family-post .box .name p {
      font-size: 1.875rem;
      font-weight: 500;
      line-height: 1; }
    @media screen and (max-width: 768px) {
      #contents #family-post .box .name .relationship {
        width: 50px;
        line-height: 50px;
        padding-right: 3px;
        padding-bottom: 3px;
        font-size: 1.125rem; }
      #contents #family-post .box .name p {
        font-size: 1.5rem; } }
    #contents #family-post .box-text {
      margin-top: 20px; }
      #contents #family-post .box-text p {
        text-indent: 1em; }
        #contents #family-post .box-text p.question {
          font-weight: bold;
          text-indent: 32px;
          position: relative; }
          #contents #family-post .box-text p.question::before {
            content: "";
            position: absolute;
            top: 15px;
            left: 0;
            width: 30px;
            height: 1px; }
    #contents #family-post .box-fig {
      margin: 30px 0; }
      #contents #family-post .box-fig:last-child {
        margin-bottom: 0; }
      #contents #family-post .box-fig figure {
        border: 10px solid #fff;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); }
      #contents #family-post .box-fig.fr {
        float: right;
        max-width: 40%;
        margin-left: 30px;
        margin-bottom: 20px; }
      #contents #family-post .box-fig ul {
        display: flex;
        justify-content: space-between; }
        #contents #family-post .box-fig ul li:nth-child(n+2) {
          margin-left: 20px; }
      @media screen and (max-width: 480px) {
        #contents #family-post .box-fig.fr {
          float: none;
          max-width: 100%;
          margin-left: 0;
          margin-bottom: 30px; }
        #contents #family-post .box-fig ul {
          display: block; }
          #contents #family-post .box-fig ul li:nth-child(n+2) {
            margin-top: 20px;
            margin-left: 0; } }
    #contents #family-post .box.b-c1 {
      background: #0099d9; }
      #contents #family-post .box.b-c1 p.question {
        color: #0099d9; }
        #contents #family-post .box.b-c1 p.question::before {
          background: #0099d9; }
    #contents #family-post .box.b-c2 {
      background: #ea5520; }
      #contents #family-post .box.b-c2 p.question {
        color: #ea5520; }
        #contents #family-post .box.b-c2 p.question::before {
          background: #ea5520; }
    #contents #family-post .box.b-c3 {
      background: #f5a200; }
      #contents #family-post .box.b-c3 p.question {
        color: #f5a200; }
        #contents #family-post .box.b-c3 p.question::before {
          background: #f5a200; }
    #contents #family-post .box.b-c4 {
      background: #25a739; }
      #contents #family-post .box.b-c4 p.question {
        color: #25a739; }
        #contents #family-post .box.b-c4 p.question::before {
          background: #25a739; }
#contents #family #bt-back {
  margin-top: 60px;
  display: inline-block; }
  #contents #family #bt-back a {
    display: flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    border: 1px solid #1d95ff;
    padding: 0 20px 2px;
    font-size: 0.875rem;
    line-height: 40px;
    border-radius: 8px; }
    #contents #family #bt-back a::before {
      content: "";
      width: 16px;
      height: 16px;
      margin-right: 7px;
      margin-bottom: -1px;
      background: url(../images/icon_arrow.png) no-repeat center center/100%;
      transform: rotate(180deg);
      transition: all 0.3s ease; }
    #contents #family #bt-back a:hover {
      background: #1d95ff;
      color: #fff; }
      #contents #family #bt-back a:hover::before {
        -webkit-filter: brightness(0) invert(1);
        filter: brightness(0) invert(1); }
